Larry, I got the same error even after adding wlan0 in /etc/network/interfaces file. I set the essid using "sudo iwconfig wlan0 essid linksys" command and restarted network. I tried other essids, but it gives same error. Attached files contain log files. Please advise about solution. How do I disable usb monitoring log, so I can see wlan0 interface log from dmesg? Thanks Sam On 9/14/09, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote: > Vignette consultant wrote: >> Hi >> >> Attached files contain several logs of various commands. The log-1 >> file is before running command and log-2 file is after running >> specific command. >> >> Here are commands that I give as soon as I log in. It's server edition. >> >> $ sudo ifconfig wlan0 up >> $ sudo iwconfig wlan0 ESSID linksys >> $ sudo dhclient wlan0 - results in no IP addr leased > > Your wireless has not associated and has no communication, which is > why it cannot get an IP using DHCP. > > A quick check with Google indicates that Ubuntu uses > /etc/network/interfaces to control the devices. Once that is correct, > you should be able to 'sudo /etc/init.d/networking restart' to start > the network. If the server is properly configured, the network should > start on boot. > > BTW, the dmesg buffer is circular. All that usb monitoring output has > completely filled the buffer, and it contains no useful information. >
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 00:16:44:8f:8f:90 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wmaster0 Link encap:UNSPEC HWaddr 00-16-44-8F-8F-90-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 IEEE 802.11bg ESSID:"linksys" Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated Tx-Power=27 dBm Retry long 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
wlan0 Scan completed : Cell 01 - Address: 00:1F:33:3C:63:C4 Channel:1 Frequency:2.412 GHz (Channel 1) Quality=61/70 Signal level=-49 dBm Encryption key:on ESSID:"net2000" 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=0000003d4af91183 Extra: Last beacon: 1580ms ago IE: Unknown: 00076E657432303030 IE: Unknown: 010882848B962430486C IE: Unknown: 030101 IE: Unknown: 2A0100 IE: Unknown: 2F0100 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: Unknown: 32040C121860 IE: Unknown: DD7C0050F204104A00011010440001021041000100103B00010310470010AA9D0E6D2602AE7039A5776EBF8C70BE1021000D4E4554474541522C20496E632E10230009574E5238333442763210240009574E523833344276321042000230311054000800060050F204000110110009574E52383334427632100800020084 IE: Unknown: DD090010180200F0010000 IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00 Cell 02 - Address: 00:1C:10:32:94:61 Channel:6 Frequency:2.437 GHz (Channel 6) Quality=57/70 Signal level=-53 dBm Encryption key:off ESSID:"linksys" 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=0000009d3efb0184 Extra: Last beacon: 540ms ago IE: Unknown: 00076C696E6B737973 IE: Unknown: 010882848B962430486C IE: Unknown: 030106 IE: Unknown: 050400010000 IE: Unknown: 2A0104 IE: Unknown: 2F0104 IE: Unknown: 32040C121860 IE: Unknown: DD090010180200F4000000 Cell 03 - Address: 00:1B:2F:F6:4F:1E Channel:6 Frequency:2.437 GHz (Channel 6) Quality=45/70 Signal level=-65 dBm Encryption key:on ESSID:"Home" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 12 Mb/s; 24 Mb/s; 36 Mb/s Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000009d3e650181 Extra: Last beacon: 520ms ago IE: Unknown: 0004486F6D65 IE: Unknown: 010882848B960C183048 IE: Unknown: 030106 IE: Unknown: 050400010008 IE: Unknown: 2A0100 IE: Unknown: 32041224606C IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : TKIP CCMP Authentication Suites (1) : PSK Preauthentication Supported IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : TKIP CCMP Authentication Suites (1) : PSK IE: Unknown: DD0900037F0101001DFF7F IE: Unknown: DD0C00037F020101060002A34000 IE: Unknown: DD1A00037F0301000000001B2FF64F1E021B2FF64F1E64002C011D08 Cell 04 - Address: 00:14:BF:7D:27:F8 Channel:6 Frequency:2.437 GHz (Channel 6) Quality=40/70 Signal level=-70 dBm Encryption key:off ESSID:"numberone" 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=0000009d3e4c0183 Extra: Last beacon: 850ms ago IE: Unknown: 00096E756D6265726F6E65 IE: Unknown: 010882848B962430486C IE: Unknown: 030106 IE: Unknown: 050400010000 IE: Unknown: 2A0104 IE: Unknown: 2F0104 IE: Unknown: 32040C121860 IE: Unknown: DD090010180200F4000000
Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/wlan0/00:16:44:8f:8f:90 Sending on LPF/wlan0/00:16:44:8f:8f:90 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 No DHCPOFFERS received. No working leases in persistent database - sleeping.