LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Cannot bring up wlan0 device (http://www.linuxquestions.org/questions/linux-wireless-networking-41/cannot-bring-up-wlan0-device-328842/)

JayBox 05-31-2005 08:25 AM

Cannot bring up wlan0 device
 
Hi,

I am trying to bring up my wlan0 device (linksys wusb11 v2.6). I have followed all the instructions from other threads but when i try 'ifup wlan0' i get the following message:

jaybox:/etc/network# ifup wlan0
...
...
Listening on LPF/wlan0/00:06:25:19:37:32
Sending on LPF/wlan0/00:06:25:19:37:32
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database.
Exiting.
Failed to bring up wlan0.

I am running debian, let me know if any more info is required.

Thanks for any help in advance!

trickykid 05-31-2005 09:50 AM

Output of iwconfig please? Also the output of ifconfig as well? And any more details on your setup, network setup is always helpful.

JayBox 05-31-2005 10:23 AM

iwconfig -

wlan0 IEEE 802.11-DS ESSID:"WLAN" Nickname:"jay"
Mode:Managed Frequency:2.462 GHz Access Point: 00:30:BD:67:03:49
Bit Rate:11 Mb/s Tx-Power=15 dBm
Retry limit:8 RTS thr=1536 B Fragment thr=1536 B
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XX Security mode:restricted
Power Management:off
Link Quality=0/0 Signal level=95/255 Noise level=0/0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:0C:76:13:33:7F
inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49123 errors:0 dropped:0 overruns:0 frame:0
TX packets:29765 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61769268 (58.9 MiB) TX bytes:2903557 (2.7 MiB)
Interrupt:11 Base address:0x9000

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:291 errors:0 dropped:0 overruns:0 frame:0
TX packets:291 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24838 (24.2 KiB) TX bytes:24838 (24.2 KiB)

wlan0 Link encap:Ethernet HWaddr 00:06:25:19:37:32
UP BROADCAST 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)

wlan0 is my linksys wusb11 v2.6 wireless USB Network adapter. My network definitely works because I have other computers on the network.

At the minute my /etc/network/interfaces looks as follows:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
mapping hotplug
script grep
map wlan0

iface wlan0 inet dhcp
wireless-mode managed
wireless_essid WLAN
wireless_channel 11
wireless_nick jay
wireless_key XXXX-XXXX-XXX-X-X--X-XX
name Wireless LAN card
# others
iface eth0 inet dhcp
name Ethernet LAN card

iface dsl-provider inet static
provider dsl-provider
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
name Unknown interface type

Thanks again in advance.

JayBox 05-31-2005 12:36 PM

Nevermind, all fixed now :)

jfryman 05-31-2005 12:52 PM

Glad that this is fixed!

However, depending on how paranoid you might be.... you might remove the WEP key from your earlier post.

WEP is not super secure, and that's been proven time and time again, so you might experiment with migrating to WPA using wpa_supplicant now that you have your wireless working, however don't make it any easier for some script kiddie to grab your key and start surfing..

I could be paranoid myself... but just food for thought. Either way, good luck!

Cheers!
-James

david_ross 05-31-2005 01:51 PM

Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

JayBox 05-31-2005 04:59 PM

Hi thanks for the advice,

It is now all working however the output from iwconfig:

wlan0 IEEE 802.11-DS ESSID:"WLAN" Nickname:"jay"
Mode:Managed Frequency:2.462 GHz Access Point: 00:30:BD:67:03:49
Bit Rate:11 Mb/s Tx-Power=15 dBm
Retry limit:8 RTS thr=1536 B Fragment thr=1536 B
Encryption key:XXXXXXXXXXXXXXXXXX Security mode:open
Power Management:off
[b]Link Quality=0/0[b] Signal level=102/255 Noise level=0/0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

shows the link quality to be 0. In most other posts this has been 100/100. Any idea what this problem is?


All times are GMT -5. The time now is 11:42 PM.