1 |
This is what I am getting: |
2 |
========================================================= |
3 |
# iwconfig |
4 |
eth0 no wireless extensions. |
5 |
|
6 |
lo no wireless extensions. |
7 |
|
8 |
dummy0 no wireless extensions. |
9 |
|
10 |
wmaster0 IEEE 802.11g Frequency:2.437 GHz |
11 |
RTS thr:off Fragment thr=2346 B |
12 |
|
13 |
wlan0 IEEE 802.11g ESSID:"The Cairngorm Hotel" |
14 |
Mode:Managed Frequency:2.437 GHz Access Point: 00:0C:20:03:3B:C5 |
15 |
RTS thr:off Fragment thr=2346 B |
16 |
Encryption key:off |
17 |
Link Quality:0 Signal level:0 Noise level:0 |
18 |
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 |
19 |
Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
20 |
|
21 |
# ifconfig wlan0 |
22 |
wlan0 Link encap:Ethernet HWaddr 00:11:50:18:55:3F |
23 |
UP NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 |
24 |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
25 |
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 |
26 |
collisions:0 txqueuelen:0 |
27 |
RX bytes:0 (0.0 b) TX bytes:4864 (4.7 Kb) |
28 |
Base address:0x1000 |
29 |
|
30 |
# iwlist wlan0 scan |
31 |
wlan0 Scan completed : |
32 |
Cell 01 - Address: 00:0C:20:03:3B:C5 |
33 |
ESSID:"The Cairngorm Hotel" |
34 |
Mode:Master |
35 |
Frequency:2.437 GHz |
36 |
Encryption key:off |
37 |
Extra:tsf=00000004ed7ab5fa |
38 |
========================================================= |
39 |
|
40 |
Don't be fooled by the Link Quality:0 Signal level:0 readings. In another |
41 |
hotel up the road I got 30/100 link quality, and got an IP address, but then |
42 |
I couldn't connect to the Internet. On the last hotel (with the readings |
43 |
quoted above) I can't for the life of me get an IP address. What am I doing |
44 |
wrong here? |
45 |
|
46 |
BTW this is what tcpdump reveals: |
47 |
========================================================= |
48 |
# tcpdump -i wlan0 |
49 |
tcpdump: WARNING: wlan0: no IPv4 address assigned |
50 |
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode |
51 |
listening on wlan0, link-type EN10MB (Ethernet), capture size 68 bytes |
52 |
21:39:46.756967 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
53 |
Request [|bootp] |
54 |
21:39:50.768217 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
55 |
Request [|bootp] |
56 |
21:39:58.772755 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
57 |
Request [|bootp] |
58 |
21:40:14.845725 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
59 |
Request [|bootp] |
60 |
21:40:46.747756 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
61 |
Request [|bootp] |
62 |
21:40:50.931981 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
63 |
Request [|bootp] |
64 |
21:40:59.008510 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
65 |
Request [|bootp] |
66 |
21:41:15.013484 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, |
67 |
Request [|bootp] |
68 |
tcpdump: pcap_loop: recvfrom: Network is down |
69 |
8 packets captured |
70 |
16 packets received by filter |
71 |
0 packets dropped by kernel |
72 |
========================================================= |
73 |
-- |
74 |
Regards, |
75 |
Mick |