wlan0 不能連到 access point

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

wlan0 不能連到 access point

文章anonz » 週五 12月 03, 2004 6:37 am

kernel: 2.6.8
代碼: 選擇全部
dbs:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11b  ESSID:off/any
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:11 Mb/s
          RTS thr:1600 B   Fragment thr:2344 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-98 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


代碼: 選擇全部
dbs:~# iwlist wlan0 scanning
wlan0     Scan completed :
          Cell 01 - Address: 00:0F:66:C2:AD:B1
                    ESSID:"22BrittenClose"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.457 GHz (Channel 10)
                    Quality:0/100  Signal level:-38 dBm  Noise level:-256 dBm
                    Encryption key:on
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
          Cell 02 - Address: 00:0C:41:9B:2D:A4
                    ESSID:"3BrittenClose"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:0/100  Signal level:-78 dBm  Noise level:-256 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0


/etc/network/interfaces
代碼: 選擇全部
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto wlan0
iface wlan0 inet dhcp
 wireless_mode Managed
 wireless_essid 3BrittenClose
 wireless_channel 11
# wireless_key
 wireless_power max

auto eth0
iface eth0 inet dhcp


代碼: 選擇全部
dbs:~# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...Error for wireless request "Set Power Management" (8B2C) :
    too few arguments.
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0c:f1:27:d6:5b
Sending on   LPF/wlan0/00:0c:f1:27:d6:5b
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database.

Exiting.

Failed to bring up wlan0.
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:0a:e4:25:be:8a
Sending on   LPF/eth0/00:0a:e4:25:be:8a
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.103 -- renewal in 43200 seconds.
done.



下iwlist wlan0 scanning 指令是看到那個network
但就是連不上
到google找了一下..找到同類問題..但就是沒有答案
要請各位幫幫忙了
anonz
可愛的小學生
可愛的小學生
 
文章: 44
註冊時間: 週日 12月 29, 2002 2:38 pm

re:wlan0 不能連到 access point

文章anonz » 週五 12月 03, 2004 6:41 am

補充一下:
用的是IBM Thinkpad X40
Wireless: Intel PRO/Wireless 2100 802.11b
用ndiswrapper的方法install的
anonz
可愛的小學生
可愛的小學生
 
文章: 44
註冊時間: 週日 12月 29, 2002 2:38 pm

re:wlan0 不能連到 access point

文章anonz » 週六 12月 04, 2004 9:07 pm

嗯...昨晚再到google
試著把22BrittenClose的WEP(64-bits) encryption 關了
就可以了
然後再開WEP...把key加入 /etc/network/interfaces
把4個key都加進interfaces...成功了
可是...
跟著把設定一下alsa後restart 又不行了 :-(
再嘗試設定wlan..
但隔了沒久就出現kernal panic了 :crying:

不知出了什麼問題

還有就是..其實用ndiswrapper和用linux的driver 哪一個會比較好呢?
anonz
可愛的小學生
可愛的小學生
 
文章: 44
註冊時間: 週日 12月 29, 2002 2:38 pm

re:wlan0 不能連到 access point

文章anonz » 週日 12月 05, 2004 8:47 am

解決了..
發現用WEP一定要用key1..
就算是 key [] 的方式 iwconfig都不會把key轉到2,3,4 :-?
還是wlan driver的問題?
最後改一下router的設定, 讀WEP的key1 就可以了

kernal panic都是因為wlan而出現

呵..alsa原來是自己先前把emulation的modules 都untick掉 :ooops:
再recompile現在有聲音了
anonz
可愛的小學生
可愛的小學生
 
文章: 44
註冊時間: 週日 12月 29, 2002 2:38 pm

re:wlan0 不能連到 access point

文章訪客 » 週六 12月 25, 2004 3:57 pm

Just wonder how is ur setting now ... i am experiencing same problem ... thx. :-?
訪客
 

re:wlan0 不能連到 access point

文章anonz » 週四 12月 30, 2004 4:49 am

以下是我的設定
其實還有一個問題
每次更改設定我用/etc/init.d/networking restart 還是不行的
要重新開機才可以
代碼: 選擇全部
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

auto wlan0
iface wlan0 inet dhcp
  wireless_essid 22BrittenClose
#  wireless_essid 101
# wireless_channel 11
  wireless_key AA27-F685-97
  wireless_channel 10
# wireless_power max

#auto eth0
#iface eth0 inet dhcp
anonz
可愛的小學生
可愛的小學生
 
文章: 44
註冊時間: 週日 12月 29, 2002 2:38 pm

Re: re:wlan0 不能連到 access point

文章訪客 » 週日 3月 26, 2006 6:33 pm

anonz 寫:解決了..
發現用WEP一定要用key1..
就算是 key [] 的方式 iwconfig都不會把key轉到2,3,4 :-?
還是wlan driver的問題?
最後改一下router的設定, 讀WEP的key1 就可以了

kernal panic都是因為wlan而出現

呵..alsa原來是自己先前把emulation的modules 都untick掉 :ooops:
再recompile現在有聲音了


請問一下 你是 四個key 都設定嘛??SU

比如說:

wireless_key1 restricted s:xxxxxx
wireless_key2 restricted s:xxxxxx
wireless_key3 restricted s:xxxxxx
wireless_key4 restricted s:xxxxxx
訪客
 


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:Google [Bot] 和 1 位訪客