Some time ago updated to Debian Wheezy - and wi-fi worked unstably for some time, and then switched off finally. What's my configuration:
- OS: Debian Wheezy, Gnome as window manager (or whatever right name it has);
- wi-fi router: D-Link DIR-300;
- wi-fi network protected, WPA2 (of course, I know password and type it correctly);
- wi-fi card: D-Link DWA-525;
- all tunings done through GUI Network Manager, there is no such files as /etc/network/interfaces, /etc/wpa_supplicant.conf and so on - they are deleted.
Now router is switched to my computer by ethernet cable - and everything works fine. I can do following:
1. log in to router, open log page;
2. switch off wired interface by Network Manager. Then - swich on wireless interface. Network Manager icon changes, showing that connection establised, and shows proper network name (SSID). There is no questions about password or key, or messages that it is incorrect.
3. Then I try to ping my router. 100% pings are lost.
That's ifconfig output:
Code:
wlan0 IEEE 802.11bgn ESSID:"homenet"
Mode:Managed Frequency:2.412 GHz Access Point: 1C:BD:B9:28:1C:3E
Bit Rate=43.3 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off - what is it?!!
Power Management:off
Link Quality=70/70 Signal level=-39 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:1 Missed beacon:0
Why there is a string "Encryption key: off"? My network is protected! But I think Network Manager must ask a question about it...
ifconfig:
Code:
eth1 Link encap:Ethernet HWaddr 00:25:22:e7:27:cf
inet6 addr: fe80::225:22ff:fee7:27cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12215 errors:0 dropped:0 overruns:0 frame:0
TX packets:6795 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16339442 (15.5 MiB) TX bytes:895457 (874.4 KiB)
Interrupt:42 Base address:0xe000
wlan0 Link encap:Ethernet HWaddr 1c:af:f7:7b:48:33
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::1eaf:f7ff:fe7b:4833/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2678 (2.6 KiB) TX bytes:11790 (11.5 KiB)
Nothing useful, as I can see...
4. Well, network is not working. Now I switch it off by Network Manager, switch on wired interface and update router log page. Here it's contents:
Code:
"Jun 10 22:33:53 ","DHCP: Server sending ACK to 192.168.0.100. (Lease time = 86400)"
"Jun 10 22:33:53 ","DHCP: Server receive REQUEST from 00:25:22:e7:27:cf."
"Jun 10 22:32:06 ","DHCP: Server sending ACK to 192.168.0.102. (Lease time = 86400)"
"Jun 10 22:32:06 ","DHCP: Server receive REQUEST from 1c:af:f7:7b:48:33."
"Jun 10 22:32:06 ","DHCP: Server sending OFFER of 192.168.0.102."
"Jun 10 22:32:04 ","DHCP: Server receive DISCOVER from 1c:af:f7:7b:48:33."
"Jun 10 22:32:04 ","DHCP: Server sending NAK to 1c:af:f7:7b:48:33."
"Jun 10 22:32:04 ","DHCP: Server receive REQUEST from 1c:af:f7:7b:48:33."
Does router say that everything is fine? But why nothing working?