[ale] dhcpcd woes for wlan0

Tim Watts timtw at earthlink.net
Sat Jul 8 00:02:01 EDT 2006


Hi,

I'm having difficulty getting an IPv4 address assigned to my wireless adapter. 
It works fine on eth0 but not on wlan0. It was working at one point several 
months ago but now it's broken. Here's what I'm doing:

root at dellberry:/home/timtw# iwconfig wlan0
Warning: Driver for device wlan0 has been compiled with version 19
of Wireless Extension, while this program supports up to version 18.
Some things may be broken...

wlan0     IEEE 802.11g  ESSID:"cliftonfarm"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:12:17:12:C3:07
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:7361-6C76-69   Security mode:open
          Power Management:off
          Link Quality=68/100  Signal level=-53 dBm  Noise level=-86 dBm
          Rx invalid nwid:0  Rx invalid crypt:335  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:211   Missed beacon:22

root at dellberry:/home/timtw# dhcpcd -h `hostname` wlan0
root at dellberry:/home/timtw# echo $?
14
root at dellberry:/home/timtw# ifconfig wlan0 up
root at dellberry:/home/timtw# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:13:CE:F5:53:E7
          inet6 addr: fe80::213:ceff:fef5:53e7/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1484 errors:324 dropped:535 overruns:0 frame:0
          TX packets:113 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:1679 (1.6 Kb)  TX bytes:38656 (37.7 Kb)
          Interrupt:7 Memory:dfbff000-dfbfffff

iwconfig always displays that warning -- even when it was working. If all goes 
well dhcpcd should exit with 0. man dhcpcd does not document the exit codes. 
What could be the problem?



More information about the Ale mailing list