LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 05-31-2005, 07:25 AM   #1
JayBox
LQ Newbie
 
Registered: May 2005
Location: United Kingdom
Distribution: Debian Sarge 3.1
Posts: 7

Rep: Reputation: 0
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!
 
Old 05-31-2005, 08:50 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Output of iwconfig please? Also the output of ifconfig as well? And any more details on your setup, network setup is always helpful.
 
Old 05-31-2005, 09:23 AM   #3
JayBox
LQ Newbie
 
Registered: May 2005
Location: United Kingdom
Distribution: Debian Sarge 3.1
Posts: 7

Original Poster
Rep: Reputation: 0
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 Managementff
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.

Last edited by JayBox; 05-31-2005 at 03:57 PM.
 
Old 05-31-2005, 11:36 AM   #4
JayBox
LQ Newbie
 
Registered: May 2005
Location: United Kingdom
Distribution: Debian Sarge 3.1
Posts: 7

Original Poster
Rep: Reputation: 0
Nevermind, all fixed now
 
Old 05-31-2005, 11:52 AM   #5
jfryman
Member
 
Registered: Dec 2004
Location: Newport News, Virginia
Distribution: CentOS 4, FC4, Ubuntu Breezy/Dapper, Arch 0.7.1
Posts: 40

Rep: Reputation: 15
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
 
Old 05-31-2005, 12:51 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-31-2005, 03:59 PM   #7
JayBox
LQ Newbie
 
Registered: May 2005
Location: United Kingdom
Distribution: Debian Sarge 3.1
Posts: 7

Original Poster
Rep: Reputation: 0
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 modepen
Power Managementff
[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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hostap doesnt bring up wlan0 chuck2 Linux - Wireless Networking 2 10-29-2005 02:58 PM
wlan0: device not found anarchyprevails Linux - Wireless Networking 1 09-13-2005 03:48 PM
Failed to bring up wlan0 jon_k Linux - Software 2 12-31-2004 05:56 PM
how do I create the wlan0 device? veritas Linux - Wireless Networking 6 08-09-2004 04:09 PM
Bring 'up' wlan0 Haon Linux - Wireless Networking 1 02-21-2004 04:29 PM


All times are GMT -5. The time now is 07:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration