LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 05-26-2008, 01:58 AM   #1
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
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
 
Old 05-26-2008, 04:20 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 49
Uh ... what distro have you got and are you using WEP or WPA-PSK?
 
Old 05-26-2008, 07:48 AM   #3
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pinniped View Post
Uh ... what distro have you got and are you using WEP or WPA-PSK?
Slackware 12 and its WEP
 
Old 05-26-2008, 08:06 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 49
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.
 
Old 05-26-2008, 09:54 AM   #5
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 05-27-2008, 04:05 AM   #6
megerdin
Member
 
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176

Rep: Reputation: 31
Do you have the chance to use GUI wireless tools.
Sometimes its help u then command line.
 
Old 05-27-2008, 04:13 AM   #7
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by megerdin View Post
Do you have the chance to use GUI wireless tools.
Sometimes its help u then command line.
that pretty much made no since... lol
 
Old 05-27-2008, 04:15 AM   #8
megerdin
Member
 
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176

Rep: Reputation: 31
Do you have the chance to use GUI wireless tools.
Sometimes its help u then command line.
 
Old 05-27-2008, 04:18 AM   #9
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 05-28-2008, 04:05 AM   #10
megerdin
Member
 
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176

Rep: Reputation: 31
It should be
did u put 0x before your wep key?

like 0xahfahjfsakhfjashfklhsajfh
 
Old 05-28-2008, 12:08 PM   #11
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by megerdin View Post
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.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless setting up help. paperbag Slackware 25 12-18-2007 12:38 PM
Setting up wireless - please help! penguin tech Linux - Newbie 23 08-16-2005 09:39 AM
Setting up my wireless network. Ashran Linux - Hardware 2 03-16-2005 11:39 AM
setting up wireless drewm3525 Linux - Wireless Networking 1 12-19-2004 09:51 PM
Setting up Wireless.... SiliconToad Linux - Wireless Networking 2 07-03-2004 07:31 AM


All times are GMT -5. The time now is 07:57 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
Open Source Consulting | Domain Registration