public inbox for gentoo-user-ru@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-ru] wifi iwl3945
@ 2009-01-19 14:32 ddipp
  2009-01-19 15:57 ` Mike Kazantsev
  2009-01-19 17:27 ` Ilya Pirogov
  0 siblings, 2 replies; 8+ messages in thread
From: ddipp @ 2009-01-19 14:32 UTC (permalink / raw
  To: gentoo-user-ru

Здравствуйте.
Очередная трабла.
Первый раз сталкиваюсь с настройкой wifi в gentoo и не могу победить.
Сеть с шифрованием WAP-PSK.
Раньше пользовался ubuntu, а в ней использовал NetworkManager где все
настраивалось "мышом". Тут в NetworkManager интерфейс другой и я не
нашел добавления новой сети и соответственно параметров настройки.
С помощью wireless-tools так же не получилось:
#iwconfig wlan0 essid dip
#iwconfig wlan0 key s:my_net_key
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.


В ядро драйверы вкомпилены и карточка видна:
#iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:"dip"  
          Mode:Managed  Frequency:2.412 GHz  Access Point:
Not-Associated   
          Tx-Power=15 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ddipp # lspci 
....
05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)
....

Заранее спасибо.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 14:32 [gentoo-user-ru] wifi iwl3945 ddipp
@ 2009-01-19 15:57 ` Mike Kazantsev
  2009-01-19 17:27 ` Ilya Pirogov
  1 sibling, 0 replies; 8+ messages in thread
From: Mike Kazantsev @ 2009-01-19 15:57 UTC (permalink / raw
  To: gentoo-user-ru

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

On Mon, 19 Jan 2009 19:32:25 +0500
ddipp <dmitryrw@ya.ru> wrote:

> Сеть с шифрованием WAP-PSK.

...

> В ядро драйверы вкомпилены и карточка видна:
> #iwconfig 
> lo        no wireless extensions.
> 
> wmaster0  no wireless extensions.
> 
> wlan0     IEEE 802.11abg  ESSID:"dip"  
>           Mode:Managed  Frequency:2.412 GHz  Access Point:
> Not-Associated   
>           Tx-Power=15 dBm   
>           Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
>           Encryption key:off
>           Power Management:off
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Разве "Encryption key:off" не говорит о том, что сеть не WPA-PSK?

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 14:32 [gentoo-user-ru] wifi iwl3945 ddipp
  2009-01-19 15:57 ` Mike Kazantsev
@ 2009-01-19 17:27 ` Ilya Pirogov
  2009-01-19 18:42   ` -_-
  2009-01-19 18:53   ` ddipp
  1 sibling, 2 replies; 8+ messages in thread
From: Ilya Pirogov @ 2009-01-19 17:27 UTC (permalink / raw
  To: gentoo-user-ru

On Mon, Jan 19, 2009 at 17:32, ddipp <dmitryrw@ya.ru> wrote:
>
> Здравствуйте.
> Очередная трабла.
> Первый раз сталкиваюсь с настройкой wifi в gentoo и не могу победить.
> Сеть с шифрованием WAP-PSK.
> Раньше пользовался ubuntu, а в ней использовал NetworkManager где все
> настраивалось "мышом". Тут в NetworkManager интерфейс другой и я не
> нашел добавления новой сети и соответственно параметров настройки.
> С помощью wireless-tools так же не получилось:
> #iwconfig wlan0 essid dip
> #iwconfig wlan0 key s:my_net_key
> Error for wireless request "Set Encode" (8B2A) :
> SET failed on device wlan0 ; Invalid argument.

Попробуйте использовать пакет net-wireless/wpa_supplicant. Настройки
самих WiFi сетей производятся либо через wpa_gui, либо ручками в
/etc/wpa_supplicant/wpa_supplicant.conf, как написанно в хэндбуке
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4
(только, соответственно, нужно использовать generic драйвер, опция
-Dwext, а не madwifi)

# emerge net-wireless/wpa_supplicant
# vim /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
fast_reauth=1

network={
    ssid="my_lan"
    psk="password"
    priority=5
}

# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
...
# dhcpcd wlan0
Или ручками
# ifconfig wlan0 ...

Если ничего не напутал, то примерно так.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 17:27 ` Ilya Pirogov
@ 2009-01-19 18:42   ` -_-
  2009-01-19 18:53   ` ddipp
  1 sibling, 0 replies; 8+ messages in thread
From: -_- @ 2009-01-19 18:42 UTC (permalink / raw
  To: gentoo-user-ru

[-- Attachment #1: Type: text/plain, Size: 2339 bytes --]

2009/1/19 Ilya Pirogov <iam.stalk@gmail.com>

> On Mon, Jan 19, 2009 at 17:32, ddipp <dmitryrw@ya.ru> wrote:
> >
> > Здравствуйте.
> > Очередная трабла.
> > Первый раз сталкиваюсь с настройкой wifi в gentoo и не могу победить.
> > Сеть с шифрованием WAP-PSK.
> > Раньше пользовался ubuntu, а в ней использовал NetworkManager где все
> > настраивалось "мышом". Тут в NetworkManager интерфейс другой и я не
> > нашел добавления новой сети и соответственно параметров настройки.
> > С помощью wireless-tools так же не получилось:
> > #iwconfig wlan0 essid dip
> > #iwconfig wlan0 key s:my_net_key
> > Error for wireless request "Set Encode" (8B2A) :
> > SET failed on device wlan0 ; Invalid argument.
>
> Попробуйте использовать пакет net-wireless/wpa_supplicant. Настройки
> самих WiFi сетей производятся либо через wpa_gui, либо ручками в
> /etc/wpa_supplicant/wpa_supplicant.conf, как написанно в хэндбуке
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4
> (только, соответственно, нужно использовать generic драйвер, опция
> -Dwext, а не madwifi)
>
> # emerge net-wireless/wpa_supplicant
> # vim /etc/wpa_supplicant/wpa_supplicant.conf
>
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> fast_reauth=1
>
> network={
>    ssid="my_lan"
>    psk="password"
>    priority=5
> }
>
> # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
> ...
> # dhcpcd wlan0
> Или ручками
> # ifconfig wlan0 ...
>
> Если ничего не напутал, то примерно так.
>
Может немного продублирует, вот вариант искоробочного лайвовского быстрого
коннекта с таким чипсетом:

wpa_passprase essid password > /etc/wpa_supplicant/wpa_supplicant.conf

wpa_supplicant -i wlan0 -Dwext -c /etc/wpa_supplicant/wpa_supplcant.conf

dhcpcd wlan0  с соседней консоли.

[-- Attachment #2: Type: text/html, Size: 2985 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 17:27 ` Ilya Pirogov
  2009-01-19 18:42   ` -_-
@ 2009-01-19 18:53   ` ddipp
  2009-01-19 20:03     ` -_-
  1 sibling, 1 reply; 8+ messages in thread
From: ddipp @ 2009-01-19 18:53 UTC (permalink / raw
  To: gentoo-user-ru

То же самое:

localhost ddipp # cat /etc/wpa_supplicant/wpa_supplicant.conf
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
fast_reauth=1

network={
  ssid="dip"
  psk="MYKEY"
  priority=5
}


network={
	key_mgmt=NONE
	priority=-9999999
}

localhost ddipp # wpa_supplicant -Dwext -iwlan0
-c/etc/wpa_supplicant/wpa_supplicant.conf
SIOCSIFFLAGS: No such file or directory
Could not set interface 'wlan0' UP
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - l2_packet_receive - recvfrom: Network is
down
ioctl[SIOCSIWSCAN]: Network is down
Failed to initiate AP scan.
ioctl[SIOCSIWSCAN]: Network is down
Failed to initiate AP scan.
ioctl[SIOCSIWSCAN]: Network is down
Failed to initiate AP scan.

Причем с загрузочного диска ubuntu все работает через NetworkManager.
Ubuntu использует тот же модуль iwl3945


В Пнд, 19/01/2009 в 20:27 +0300, Ilya Pirogov пишет:
> On Mon, Jan 19, 2009 at 17:32, ddipp <dmitryrw@ya.ru> wrote:
> >
> > Здравствуйте.
> > Очередная трабла.
> > Первый раз сталкиваюсь с настройкой wifi в gentoo и не могу победить.
> > Сеть с шифрованием WAP-PSK.
> > Раньше пользовался ubuntu, а в ней использовал NetworkManager где все
> > настраивалось "мышом". Тут в NetworkManager интерфейс другой и я не
> > нашел добавления новой сети и соответственно параметров настройки.
> > С помощью wireless-tools так же не получилось:
> > #iwconfig wlan0 essid dip
> > #iwconfig wlan0 key s:my_net_key
> > Error for wireless request "Set Encode" (8B2A) :
> > SET failed on device wlan0 ; Invalid argument.
> 
> Попробуйте использовать пакет net-wireless/wpa_supplicant. Настройки
> самих WiFi сетей производятся либо через wpa_gui, либо ручками в
> /etc/wpa_supplicant/wpa_supplicant.conf, как написанно в хэндбуке
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4
> (только, соответственно, нужно использовать generic драйвер, опция
> -Dwext, а не madwifi)
> 
> # emerge net-wireless/wpa_supplicant
> # vim /etc/wpa_supplicant/wpa_supplicant.conf
> 
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> fast_reauth=1
> 
> network={
>     ssid="my_lan"
>     psk="password"
>     priority=5
> }
> 
> # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
> ...
> # dhcpcd wlan0
> Или ручками
> # ifconfig wlan0 ...
> 
> Если ничего не напутал, то примерно так.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 18:53   ` ddipp
@ 2009-01-19 20:03     ` -_-
  2009-01-19 20:14       ` ddipp
  0 siblings, 1 reply; 8+ messages in thread
From: -_- @ 2009-01-19 20:03 UTC (permalink / raw
  To: gentoo-user-ru

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

1) Версии ядер в студию.

2) Вывод

ifconfig wlan0 up

iwlist wlan0 scan

[-- Attachment #2: Type: text/html, Size: 133 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 20:03     ` -_-
@ 2009-01-19 20:14       ` ddipp
  2009-01-19 20:44         ` -_-
  0 siblings, 1 reply; 8+ messages in thread
From: ddipp @ 2009-01-19 20:14 UTC (permalink / raw
  To: gentoo-user-ru

localhost ddipp # uname -a
Linux localhost 2.6.27-gentoo-r7 #1 SMP PREEMPT Tue Jan 20 00:05:08 YEKT
2009 i686 Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz GenuineIntel
GNU/Linux

localhost ddipp # ifconfig wlan0 up
SIOCSIFFLAGS: Нет такого файла или каталога

localhost ddipp # iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down


В Пнд, 19/01/2009 в 22:03 +0200, -_- пишет:
> 1) Версии ядер в студию. 
> 
> 
> 2) Вывод 
> 
> ifconfig wlan0 up
> 
> iwlist wlan0 scan
> 




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user-ru] wifi iwl3945
  2009-01-19 20:14       ` ddipp
@ 2009-01-19 20:44         ` -_-
  0 siblings, 0 replies; 8+ messages in thread
From: -_- @ 2009-01-19 20:44 UTC (permalink / raw
  To: gentoo-user-ru

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

2009/1/19 ddipp <dmitryrw@ya.ru>

> localhost ddipp # uname -a
> Linux localhost 2.6.27-gentoo-r7 #1 SMP PREEMPT Tue Jan 20 00:05:08 YEKT
> 2009 i686 Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz GenuineIntel
> GNU/Linux
>
> localhost ddipp # ifconfig wlan0 up
> SIOCSIFFLAGS: Нет такого файла или каталога
>
> localhost ddipp # iwlist wlan0 scan
> wlan0     Interface doesn't support scanning : Network is down
>
>
> В Пнд, 19/01/2009 в 22:03 +0200, -_- пишет:
> > 1) Версии ядер в студию.
> >
> >
> > 2) Вывод
> >
> > ifconfig wlan0 up
> >
> > iwlist wlan0 scan
> >
>
>
> Обрати внимание http://gentoo.ru/node/13385 .

[-- Attachment #2: Type: text/html, Size: 1087 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-19 20:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 14:32 [gentoo-user-ru] wifi iwl3945 ddipp
2009-01-19 15:57 ` Mike Kazantsev
2009-01-19 17:27 ` Ilya Pirogov
2009-01-19 18:42   ` -_-
2009-01-19 18:53   ` ddipp
2009-01-19 20:03     ` -_-
2009-01-19 20:14       ` ddipp
2009-01-19 20:44         ` -_-

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox