1 |
I am not sure I can explain this: |
2 |
|
3 |
I can connect to an AP (using WEP), but only after I run |
4 |
|
5 |
# iwconfig wlan0 ap auto |
6 |
|
7 |
Within the next few seconds I get an IP via dhcpcd and I can immediately |
8 |
connect to the Internet, but very unreliably. Within a few seconds it seems |
9 |
that the link goes down, i.e. I can no longer ping Internet addresses, or the |
10 |
AP, despite iwconfig showing that all is fine connection wise: |
11 |
|
12 |
# iwconfig wlan0 |
13 |
wlan0 IEEE 802.11g ESSID:"daddy" |
14 |
Mode:Managed Frequency:2.442 GHz Access Point: 00:18:4D:AE:55:2C |
15 |
Bit Rate=12 Mb/s Tx-Power=27 dBm |
16 |
Retry min limit:7 RTS thr:off Fragment thr=2346 B |
17 |
Encryption key:8B7B-9671-89 |
18 |
Link Quality=31/100 Signal level=-56 dBm |
19 |
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 |
20 |
Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
21 |
|
22 |
wpa_cli also shows that the connection is OK: |
23 |
|
24 |
> status |
25 |
bssid=00:18:4d:ae:55:2c |
26 |
ssid=daddy |
27 |
id=2 |
28 |
pairwise_cipher=WEP-40 |
29 |
group_cipher=WEP-40 |
30 |
key_mgmt=NONE |
31 |
wpa_state=COMPLETED |
32 |
ip_address=192.168.0.9 |
33 |
|
34 |
Ping-ing the AP has some ridiculous latency, or it fails completely: |
35 |
|
36 |
$ ping -c 3 192.168.0.1 |
37 |
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. |
38 |
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=6737 ms |
39 |
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=6725 ms |
40 |
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=7736 ms |
41 |
|
42 |
--- 192.168.0.1 ping statistics --- |
43 |
3 packets transmitted, 3 received, 0% packet loss, time 2009ms |
44 |
rtt min/avg/max/mdev = 6725.875/7066.811/7736.602/473.648 ms, pipe 3 |
45 |
|
46 |
This is what's in the wpa_supplicant conf: |
47 |
|
48 |
network={ |
49 |
ssid="daddy" |
50 |
bssid=00:18:4D:AE:55:2C |
51 |
key_mgmt=NONE |
52 |
# mode="managed" |
53 |
wep_key0=8B7B967189 |
54 |
# wep_key1="BA6889DB39" |
55 |
# wep_key2="D3D68AA753" |
56 |
# wep_key3="35116656AB" |
57 |
wep_tx_keyidx=0 |
58 |
group=WEP40 |
59 |
priority=4 |
60 |
} |
61 |
|
62 |
Any idea? |
63 |
-- |
64 |
Regards, |
65 |
Mick |