This is what I am getting:
=
# iwconfig
eth0 no wireless extensions.
lono wireless extensions.
dummy0no wireless extensions.
wmaster0 IEEE 802.11g Frequency:2.437 GHz
RTS thr:off Fragment thr=2346 B
wlan0 IEEE 802.11g ESSID:The Cairngorm Hotel
Mode:Managed Frequency:2.437 GHz Access Point: 00:0C:20:03:3B:C5
RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:11:50:18:55:3F
UP NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4864 (4.7 Kb)
Base address:0x1000
# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:0C:20:03:3B:C5
ESSID:The Cairngorm Hotel
Mode:Master
Frequency:2.437 GHz
Encryption key:off
Extra:tsf=0004ed7ab5fa
=
Don't be fooled by the Link Quality:0 Signal level:0 readings. In another
hotel up the road I got 30/100 link quality, and got an IP address, but then
I couldn't connect to the Internet. On the last hotel (with the readings
quoted above) I can't for the life of me get an IP address. What am I doing
wrong here?
BTW this is what tcpdump reveals:
=
# tcpdump -i wlan0
tcpdump: WARNING: wlan0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), capture size 68 bytes
21:39:46.756967 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:39:50.768217 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:39:58.772755 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:40:14.845725 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:40:46.747756 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:40:50.931981 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:40:59.008510 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
21:41:15.013484 IP 0.0.0.0.bootpc 255.255.255.255.bootps: BOOTP/DHCP,
Request [|bootp]
tcpdump: pcap_loop: recvfrom: Network is down
8 packets captured
16 packets received by filter
0 packets dropped by kernel
=
--
Regards,
Mick
pgpI1aJooV4Zp.pgp
Description: PGP signature