Re: [gentoo-user] Hotel WiFi does not like my Gentoo

2006-12-19 Thread Mick
On Monday 18 December 2006 23:19, Norberto Bensa wrote:
 Mick wrote:
  # 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

 Have you tried:

 # iwconfig wlan0 essid The Cairngorm Hotel
 # dhcpcd wlan0

I did not try specifying the essid manually, given that it is the only essid 
in the vicinity and iwconfig shows that my machine has already associated 
with it.

However, I've tried the dhcpcd wlan0 but it eventually times out.  :(

 Do you have Windows installed? Do you get an IP address on Windows?

No I don't.  This is a Gentoo-only laptop.  But other WinXP machines appear to 
get an IP address and connect happily to the Internet at both hotels.

What else should I try?  Would perhaps dhcpcd -S be needed to get the router 
to assign an IP address?  I do not have much experience with wirelless 
connections because up until now I've been lucky enough to always connect to 
public (and private) WiFi routers effortlessly.
-- 
Regards,
Mick


pgp9FCxKmXBQl.pgp
Description: PGP signature


Re: [gentoo-user] Hotel WiFi does not like my Gentoo

2006-12-19 Thread Ed Santiago
   Mick wrote:
# 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=3D0004ed7ab5fa
  
   Have you tried:
  
   # iwconfig wlan0 essid The Cairngorm Hotel
   # dhcpcd wlan0
  
  I did not try specifying the essid manually, given that it is the only essid
  in the vicinity and iwconfig shows that my machine has already associated
  with it.

This is a stupid thing to write, and it may not help, but:

Are you running wpa_supplicant?  If so, have you tried stopping it?

^E
-- 
Ed Santiago   Toolsmith   [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Hotel WiFi does not like my Gentoo

2006-12-18 Thread Mick
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


Re: [gentoo-user] Hotel WiFi does not like my Gentoo

2006-12-18 Thread Norberto Bensa
Mick wrote:
 # 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


Have you tried:

# iwconfig wlan0 essid The Cairngorm Hotel
# dhcpcd wlan0

?

Do you have Windows installed? Do you get an IP address on Windows?

Regards,
Norberto


pgpr3f8TbKbt3.pgp
Description: PGP signature