Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
05-26-2008, 01:58 AM
#1
LQ Newbie
Registered: May 2008
Posts: 22
Rep:
Setting up wireless - help please.
Well i finally got the card installed but im having issues getting it to work.
Code:
# ifconfig wlan0 down
# iwconfig wlan0 essid 2WIRE460
# iwconfig wlan0 key mykey
# ifconfig wlan0 up
# dhcpcd wlan0
Error, wlan0: timed out
Warning, wlan0: using IPV4LL address 169.254.218.170
"dhcpcd -d wlan0" gives me
Code:
# dhcpcd -d wlan0
Info, wlan0: dhcpcd 3.1.8 starting
Info, wlan0: hardware address = 00:90:4b:ce:9c:fc
Info, wlan0: DUID = 00:01:00:01:0f:c9:6f:d6:00:09:5b:04:76:7e
Info, wlan0: broadcasting for a lease
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Debug, wlan0: waiting on select for 20 seconds
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Debug, wlan0: sending DHCP_DISCOVER with xid 0x7276c66a
Error, wlan0: timed out
Info, wlan0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-wlan0.info'
Debug, wlan0: sending ARP probe #1
Debug, wlan0: sending ARP probe #2
Debug, wlan0: sending ARP probe #3
Debug, wlan0: sending ARP claim #1
Debug, wlan0: sending ARP claim #2
Warning, wlan0: using IPV4LL address 169.254.218.170
Info, wlan0: adding IP address 169.254.218.170/16
Debug, wlan0: no dns information to write
Debug, wlan0: forking to background
anybody know what im doing wrong?
Last edited by oXiKoTToN; 05-26-2008 at 02:36 AM .
Reason: gave all the debug info
05-26-2008, 04:20 AM
#2
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732
Rep:
Uh ... what distro have you got and are you using WEP or WPA-PSK?
05-26-2008, 07:48 AM
#3
LQ Newbie
Registered: May 2008
Posts: 22
Original Poster
Rep:
Quote:
Originally Posted by
pinniped
Uh ... what distro have you got and are you using WEP or WPA-PSK?
Slackware 12 and its WEP
05-26-2008, 08:06 AM
#4
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732
Rep:
OK, everything looks OK except that you didn't specify the mode (ad-hoc,managed) - I don't know if the default is necessarily what you want.
If you use an access point, you may also want to set 'ap' (not required, but sometimes useful).
Also, check your settings before proceeding to connect:
iwconfig wlan0
A few years ago I encountered some buggy drivers which could only configure some parameters if the interface hadn't been brought up yet - in that case I had to unload the driver, load the driver, configure with iwconfig, then finally bring up the interface.
05-26-2008, 09:54 AM
#5
LQ Newbie
Registered: May 2008
Posts: 22
Original Poster
Rep:
well im pretty sure thats the problem, seems like it inst saving what i put in.
Code:
# ifconfig wlan0 down
# iwconfig wlan0 mode managed
# iwconfig wlan0 essid 2WIRE460
# iwconfig wlan0 ap **:**:**:**:**:**
# iwconfig wlan0 key **********
# ifconfig wlan0 up
# iwconfig wlan0
wlan0 IEEE 802.11g ESSID: off/any Nickname: "localhost"
Mode: Managed Frequency: 2.462 GHz Access Point: Not Associated
Bit Rate=2 Mb/s Tx-Power:22dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key: ********** Security Mode: restricted
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
i tryed a few variations like trying to set it up without the ifconfig up & down but ended up with the same result.
05-27-2008, 04:05 AM
#6
Member
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176
Rep:
Do you have the chance to use GUI wireless tools.
Sometimes its help u then command line.
05-27-2008, 04:13 AM
#7
LQ Newbie
Registered: May 2008
Posts: 22
Original Poster
Rep:
Quote:
Originally Posted by
megerdin
Do you have the chance to use GUI wireless tools.
Sometimes its help u then command line.
that pretty much made no since... lol
05-27-2008, 04:15 AM
#8
Member
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176
Rep:
Do you have the chance to use GUI wireless tools.
Sometimes its help u then command line.
05-27-2008, 04:18 AM
#9
LQ Newbie
Registered: May 2008
Posts: 22
Original Poster
Rep:
i tryed the wireless tool that came preinstalled but it doesnt help much, actually i dont think it does anything.. wont even set my wireless key.
05-28-2008, 04:05 AM
#10
Member
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176
Rep:
It should be
did u put 0x before your wep key?
like 0xahfahjfsakhfjashfklhsajfh
05-28-2008, 12:08 PM
#11
LQ Newbie
Registered: May 2008
Posts: 22
Original Poster
Rep:
Quote:
Originally Posted by
megerdin
It should be
did u put 0x before your wep key?
like 0xahfahjfsakhfjashfklhsajfh
no i didnt ill try in a bit, but if u look at my above post^ the key is pretty much the only thing that set.
Edit: Nope, didnt work... invalid argument.
Last edited by oXiKoTToN; 05-28-2008 at 01:10 PM .
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 07:57 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News