[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: не поднимается точка доступа



On Sun, 08 Feb 2009 10:00:59 +0300
San_Sanych <ssanych@gmail.com> wrote:

> > Сетка на клиенте видится, но подключиться не удаётся.
> > В логи постоянно валится:
> > Feb  7 21:33:14 nstar hostapd: ath0: STA 00:1b:9e:83:61:1c IEEE
> > 802.11: associated
> > Feb  7 21:33:17 nstar hostapd: ath0: STA 00:1b:9e:83:61:1c
> > IEEE 802.11: deauthenticated due to local deauth request 
> > Feb  721:33:17 nstar hostapd: ath0: STA 00:1b:9e:83:61:1c IEEE
> > 802.11: disassociated
> > Feb  7 21:33:20 nstar hostapd: ath0: STA 00:1b:9e:83:61:1c IEEE
> > 802.11: associated 
> > Feb  7 21:33:23 nstar hostapd: ath0: STA 00:1b:9e:83:61:1c IEEE
> > 802.11: deauthenticated due to local deauth request 
> > Feb  7 21:33:23 nstar hostapd: ath0: STA 00:1b:9e:83:61:1c IEEE
> > 802.11: disassociated
> >
> > Гугленье дало какой-то старый regression между hostapd и madwifi.
> > nsdiswrapper ставить не хочется.
> >
> > Что делать?
> >
> >   
> давненько ставил в качестве точки доступа, сейчас поставил железку,
> но с драйвером madwifi-ng (который сейчас на сайте madwifi.org)
> это происходит примерно так:
> modprobe ath_pci autocreate=none
> /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode ap
> /sbin/iwpriv ath0 mode 2
> iwconfig ath0 rate 54M essid HS
> 
> что-то типа того...

Драйверы брал из пакетов.

"wlanmode ap" добавил как параметр модуля
options ath_pci autocreate=ap

sudo iwpriv ath0 get_mode
ath0      get_mode:11g

Настройки карты вроде правильно устанавливаются с таким конфигом, разве
что rate где-то прописать надо.
yuray@nstar:~$ sudo iwconfig ath0
ath0      IEEE 802.11g  ESSID:"D-NETWORK"  Nickname:""
          Mode:Master  Frequency:2.412 GHz  Access
Point:06:21:91:94:4C:C0
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:xxxxxxxxxxxxxxxx [2] Security mode:open 
          Power Management:off 
          Link Quality=0/70  Signal level=-96 dBm Noise level=-96 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0 
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

-- 
Regards,
Yuri Kozlov


Reply to: