Brick Wall on Network Device Congifuration

Dan McGhee beesnees at grm.net
Sun Oct 11 16:51:32 PDT 2009


I have just built a CLFS basic system, but I'm appealing to these lists 
since my experience is that a lot of configuration gurus hang out here.

I have just the basic system plus dhcpcd client and wireless tools.  I 
cannot get connected to the internet with either my internal Atheros 
AR9285 802.11g Wifi Adaptor or my Linksys Wireless USB Adapter with 
Speed Booster.  The former has an Atheros sponsored driver, ath9k, 
available in kernels 2.6.29 and later.  The latter is a Broacom chip 
that's supported by a B4320 (I think) driver in 2.6.30.5.  I want only 
to connect to the internet through my router and be able to connect 
automatically to "hot spots" at motels and interstate rest stops--and at 
family homes.  I can connect in Windoze with either device and with the 
USB device (don't ask) in my Ubuntu-9.04 host system either here at my 
home or at any of the places I mentioned above.  Sooooo, I don't have a 
device or router problem.

It's got to be something very simple and almost insignificant.  I will 
post below the output of iwconfig and iwlist commands for each device.  
No matter what I do when I ping my router I get "network unreachable."  
I've googled myself senseless and tried all the wild Ubuntu work 
arounds--to get comparative results--to no avail.  From what I see below 
it SHOULD work, but it doesn't.  Here goes:

Output from iwconfig wlan0 (Atheros device):

> wlan0     IEEE 802.11bgn  ESSID:""  
>           Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: Not-Associated   
>           Tx-Power=20 dBm   
>           Retry min limit:7   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management: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
Can't get ESSID to change to any.  Maybe ESSID:"" means any.

Output of iwlist wlan0 scan:

> wlan0     Scan completed :
>           Cell 01 - Address: 00:1D:7E:3C:64:F4
>                     Channel:6
>                     Frequency:2.437 GHz (Channel 6)
>                     Quality=64/70  Signal level=-46 dBm  
>                     Encryption key:off
>                     ESSID:"Dandrough"
>                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
>                               24 Mb/s; 36 Mb/s; 54 Mb/s
>                     Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
>                     Mode:Master
>                     Extra:tsf=0000003c087be1e9
>                     Extra: Last beacon: 387ms ago
>                     IE: Unknown: 000944616E64726F756768
>                     IE: Unknown: 010882848B962430486C
>                     IE: Unknown: 030106
>                     IE: Unknown: 2A0104
>                     IE: Unknown: 2F0104
>                     IE: Unknown: 32040C121860
>                     IE: Unknown: DD09001018020015000000
Output of the same commands for the USB device:

> wlan1     IEEE802.11bg  ESSID:off/any  
>           Mode:Managed  Frequency:2.412 GHz  Bit Rate:54 Mb/s   
> Tx-Power=14 dBm   
>           RTS thr=2347 B   Fragment thr=2346 B   
>           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
> wlan1     Scan completed :
>           Cell 01 - Address: 00:1D:7E:3C:64:F4
>                     ESSID:"Dandrough"
>                     Mode:Managed
>                     Frequency:2.437 GHz (Channel 6)
>                     Quality=65/100  Signal level=-54 dBm  
>                     Encryption key:off
>                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
>                               24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
>                               12 Mb/s; 48 Mb/s
>                     Extra:bcn_int=100
>                     Extra:atim=0
I think that the key is that both scans identified my router by MAC 
address and ESSID and channel.

I added 'PRINTIP="yes"' and 'PRINTALL="yes"' to my dhcpcd [in CLFS] 
files, but even when the bootscripts report "OK" for starting dhcpcd on 
wlan{0,1}, I receive no output.

My forehead is bloody from this brick wall, and I'm stumped as how to 
proceed.  I'm looking forward to any replies.

Thanks,

Dan





More information about the lfs-support mailing list