Re: Debian etch присоединить к AP
Alexey Prokopchuk wrote:
iwconfig wlan0 essid "my_essid"
^^^^^^^^^^ это essid мой или той AP, к которой нужно присоединится?
iwconfig channel 11
^^ канал, на котором она доступна или нет?
iwconfig wlan0 key XXXXXX
ну и ключ тут от чего?
Опционально все это можно засунуть в interfaces. Если есть WPA, то
нужно поставить wpasupplificant и поравить пару строчек в
/etc/wpasupplificant. Для таблшутинга полезны iwlist,iwevent,iwspy и kismet.
Вот мне нужно к этой точке подключиться
root@ohta-gw:~# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:15:E9:BA:F1:9B
ESSID:"gaga-home"
Mode:Master
Channel:6
Bit Rates:1 Mb/s
Bit Rates:2 Mb/s
Bit Rates:5.5 Mb/s
Bit Rates:11 Mb/s
Bit Rates:6 Mb/s
Bit Rates:12 Mb/s
Bit Rates:24 Mb/s
Bit Rates:36 Mb/s
Encryption key:on
Quality=59/128 Signal level=-76 dBm Noise level=-99 dBm
Какой из этих? Где узнать?
Driver Description
====== ===========
hostap Host AP driver (Intersil Prism2/2.5/3)
madwifi MADWIFI 802.11 support (Atheros, etc.)
atmel ATMEL AT76C5XXx (USB, PCMCIA)
wext Linux wireless extensions (generic)
ndiswrapper Linux ndiswrapper
ipw Intel ipw2100/2200 driver
wired wired Ethernet driver
test test driver
С wext получается как-то так
Вот как-то так
root@ohta-gw:/etc# /sbin/wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext -B
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 -
И вот еще непоняточка
root@ohta-gw:/etc# iwconfig wlan0 ap 00:15:E9:BA:F1:9B
Error for wireless request "Set AP Address" (8B14) :
SET failed on device wlan0 ; Operation not supported.
root@ohta-gw:/etc# iwlist wlan0 ap
wlan0 Interface doesn't have a list of Peers/Access-Points
Откуда берется этот лист?
--
Peter Teslenko
Reply to: