<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; подключение к модему по wi-fi]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=28275&amp;type=atom" />
	<updated>2013-06-07T16:28:30Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=28275</id>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=349204#p349204" />
			<content type="html"><![CDATA[<p>Все это может и не заработать если ваша система не видит Wi Fi модуль.<br />Пример <a href="http://centos.name/?page/howto/Laptops/WpaSupplicant">с сайта</a> рабочий, тестировался на ноутбуке Asus z80, в нем даже при запуске с LiveCD CentOS Wi Fi модуль поддерживается из коробки.</p>]]></content>
			<author>
				<name><![CDATA[alex_sibtone]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12729</uri>
			</author>
			<updated>2013-06-07T16:28:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=349204#p349204</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346595#p346595" />
			<content type="html"><![CDATA[<p>моэет подскажите как через NetworkManager подключиться к wi-fi сети из консоли, очень надо</p>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-21T16:23:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346595#p346595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346587#p346587" />
			<content type="html"><![CDATA[<p>при запуске startx выдает <br />FATAL: Module fbcon not found <br />поэтому в консоли парюсь</p>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-21T14:53:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346587#p346587</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346586#p346586" />
			<content type="html"><![CDATA[<p>man nmcli<br />А что, графики совсем нет? Может всё же в графике настроишь, а потом в консоли работать будешь?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2013-05-21T14:49:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346586#p346586</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346585#p346585" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vascom⇓ пишет:</cite><blockquote><p>nmcli</p></blockquote></div><p> а как с ним работать или ссылку на мануал, я найти не могу<br />ввел nmcli nm <br />Статус&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Оборудование WI-FI&nbsp; &nbsp; &nbsp;WI-FI&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Оборудование WWAN&nbsp; &nbsp; WWAN<br />отключен&nbsp; &nbsp; &nbsp; включен&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; включен&nbsp; &nbsp; &nbsp; &nbsp;включен&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;включен</p>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-21T14:45:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346585#p346585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346416#p346416" />
			<content type="html"><![CDATA[<p>Ну так и НМ тоже<br /></p><div class="codebox"><pre><code>nmcli</code></pre></div><p>P.S. Сперва надо систему настроить, а потом уже в консоли работать. А настроить всё можно и через графику. Но НМ можно и из консоли использовать.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2013-05-20T08:43:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346416#p346416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346415#p346415" />
			<content type="html"><![CDATA[<p>я работаю в консоли</p>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-20T08:42:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346415#p346415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346395#p346395" />
			<content type="html"><![CDATA[<p>Может через NetworkManager попробуешь?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2013-05-20T05:36:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346395#p346395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346359#p346359" />
			<content type="html"><![CDATA[<p>Вот рузультат после выполнения второй строки <br />wpa_supplicant -Dwext -iwlan0 -c/etc/wpa.conf</p><div class="codebox"><pre><code>Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with d0:54:2d:0a:3a:88
WPA: No SSID info found (msg 1 of 4).
CTRL-EVENT-DISCONNECTED bssid=d0:54:2d:0a:3a:88 reason=0
Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with 00:00:00:00:00:00
CTRL-EVENT-DISCONNECTED bssid=d0:54:2d:0a:3a:88 reason=0
Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with d0:54:2d:0a:3a:88
WPA: No SSID info found (msg 1 of 4).
CTRL-EVENT-DISCONNECTED bssid=d0:54:2d:0a:3a:88 reason=0
Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with d0:54:2d:0a:3a:88
WPA: No SSID info found (msg 1 of 4).
CTRL-EVENT-DISCONNECTED bssid=d0:54:2d:0a:3a:88 reason=0
Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with 00:00:00:00:00:00
CTRL-EVENT-DISCONNECTED bssid=d0:54:2d:0a:3a:88 reason=0
Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with 00:00:00:00:00:00
CTRL-EVENT-DISCONNECTED bssid=d0:54:2d:0a:3a:88 reason=0
Trying to associate with d0:54:2d:0a:3a:88 (SSID=&#039;Ar389&#039; freq=2437 MHz)
Associated with 00:00:00:00:00:00</code></pre></div>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-19T16:02:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346359#p346359</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346264#p346264" />
			<content type="html"><![CDATA[<p>после них:<br /></p><div class="codebox"><pre><code># ifconfig
# ifconfig -a</code></pre></div><p>?<br />ы. Вообще вот так:<br /></p><div class="codebox"><pre><code># wpa_passphrase essid password &gt; /etc/wpa.conf
# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa.conf &amp;
# dhcpcd wlan0 &amp;</code></pre></div><p>essid - точка<br />password - и так понятно<br />dhcpcd wlan0 или dhclient wlan0 - в зависимости от того, что установлено.</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2013-05-18T20:27:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346264#p346264</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346236#p346236" />
			<content type="html"><![CDATA[<p>выполнил&nbsp; поочередн ввсе это ничего не выдало <br /></p><div class="quotebox"><cite>zenon⇓ пишет:</cite><blockquote><p>ifconfig wlan0 up&nbsp; <br />wpa_supplicant -B -Dwext -i wlan0 -c /etc/mysupplicant.conf<br />dhclient wlan0</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-18T18:17:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346236#p346236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346234#p346234" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>spirit1086⇓ пишет:</cite><blockquote><p>ifconfig wlan0 up</p><p>iwconfig wlan0 essid mydlink2000<br />sleep 10 </p><p>wpa_supplicant -B -Dwext -i wlan0 -c /etc/mysupplicant.conf<br />dhclient wlan0</p></blockquote></div><p>По-очереди команды в консоль, выхлоп сюда.<br /><em>iwconfig wlan0 essid mydlink2000</em> - лишнее.</p>]]></content>
			<author>
				<name><![CDATA[zenon]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6867</uri>
			</author>
			<updated>2013-05-18T18:00:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346234#p346234</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346229#p346229" />
			<content type="html"><![CDATA[<p>сделал по этому мануалу <a href="http://centos.name/?page/howto/Laptops/WpaSupplicant">http://centos.name/?page/howto/Laptops/WpaSupplicant</a>, перезагрузился, пингую&nbsp; гугловские днс нет ответа, подскажите что не так сделал все так же<br /></p><div class="codebox"><pre><code>1. Создадим в директории /etc конфигурационный файл беспроводной сети:
wpa_passphrase mydlink2000 superking &gt; /etc/mysupplicant.conf

заглянем в него:
network={
    ssid=&quot;mydlink2000&quot;
    #psk=&quot;superking&quot;
    psk=1d52cc95f6a65af36f5d1c584e0ffc44aafa9002743d8cd7a3ee6bf79da413a0
}

Данный конфигурационный файл может распологаться где угодно по вашему желанию.

2. Теперь создадим скрипт, который будет при старте системы поднимать беспроводной интерфейс (расположим его в /usr/bin и обзовем wlan.sh):
#!/bin/bash

ifconfig wlan0 up

iwconfig wlan0 essid mydlink2000
sleep 10 

wpa_supplicant -B -Dwext -i wlan0 -c /etc/mysupplicant.conf
dhclient wlan0

Команда sleep 10 выполняет небольшую паузу в 10 секунд, а dhclient wlan0 получает настройки сети (в примере точка доступа раздает ip адреса автоматически).

3. Добавим наш скрипт в автозагрузку (под рутом выполним):
echo &quot;/usr/bin/wlan.sh&quot; &gt; /etc/rc.local</code></pre></div>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-18T17:04:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346229#p346229</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346227#p346227" />
			<content type="html"><![CDATA[<p>пропишите логин и пароль... а прописать в настройках подключения</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2013-05-18T16:45:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346227#p346227</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[подключение к модему по wi-fi]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=346223#p346223" />
			<content type="html"><![CDATA[<p>Здравствуйте, подскажите как подключиться по вайфай, интерфейс поднят, где и что прописать очень надо, свою точку доступа просканировал вижу</p>]]></content>
			<author>
				<name><![CDATA[spirit1086]]></name>
				<uri>https://linuxforum.ru/profile.php?id=28962</uri>
			</author>
			<updated>2013-05-18T16:18:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=346223#p346223</id>
		</entry>
</feed>
