Mam problem z WiFi na GNU/Linuksie (Debian Wheezy): co jakiś czas polecenie ping wyświetla mi komunikat:
Kod: Zaznacz cały
Destination Host Unreachable
Oto co udało mi się zrobić, aby załagodzić sytuację (co nie pomogło w 100%):
- dodaję sterownik ath9k poleceniem modprobe
- uzupełniam plik /etc/rc.local poleceniem
Kod: Zaznacz cały
iwconfig wlan0 rate 54M
- do /etc/modprobe.d/ath9.conf dodaję linijkę z:
aby nie zrywał połączeń
Kod: Zaznacz cały
nohwcrypt=1
Oto wyniki wykonanych poleceń:
http://pastebin.com/9Zw7L3hq
Kod: Zaznacz cały
architecture: i386
Kod: Zaznacz cały
ifconfig
eth0 Link encap:Ethernet HWaddr 70:5a:b6:12:4d:e3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:46
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1812 (1.7 KiB) TX bytes:1812 (1.7 KiB)
wlan0 Link encap:Ethernet HWaddr 90:4c:e5:9e:bc:98
inet addr:192.168.0.159 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::924c:e5ff:fe9e:bc98/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2166 (2.1 KiB) TX bytes:9901 (9.6 KiB)
Kod: Zaznacz cały
iwconfig
wlan0 IEEE 802.11bgn ESSID :( ...)
Mode:Managed Frequency:2.437 GHz Access Point: 00:22:B0:A9:FC :D 2
Bit Rate=54 Mb/s Tx-Power=13 dBm
Retry long limit:7 RTS thr :o ff Fragment thr :o ff
Encryption key :o ff
Power Management :o n
Link Quality=34/70 Signal level=-76 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:24 Missed beacon:0
Kod: Zaznacz cały
lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Acer Incorporated [ALI] Device 022f
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: i801_smbus
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e016
Kernel driver in use: ath9k
03:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)
Subsystem: Acer Incorporated [ALI] Device 022f
Kernel driver in use: atl1c
Kod: Zaznacz cały
uname -a
Linux debian 2.6.38-2-686 #1 SMP Sun May 8 14:49:45 UTC 2011 i686 GNU/Linux