| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-01-2005, 10:10 AM
|
#1
|
|
Member
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Rep:
|
Connect to Wireless Network
I need help connecting to my wireless network. I run the following command
iwconfig eth1 essid <ssid> key s:<key>
I try to ping a site, and it doesn't work. Any ideas?
|
|
|
|
08-01-2005, 03:24 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
that's quite a big jump there, from inputting a command to getting a dns resolved network? care to actually break it down a little... does the iwconfig command even work?? do you get an ip address from DHCP if needed?
|
|
|
|
08-01-2005, 04:28 PM
|
#3
|
|
Member
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Original Poster
Rep:
|
Let me rephrase that. I have a WEP key enabled access point I am trying to connect to with my laptop. How do I do so via a shell prompt? Could you please provide detailed instructions?
|
|
|
|
08-02-2005, 06:00 PM
|
#4
|
|
Member
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Original Poster
Rep:
|
Ok. I tried connecting with iwconfig/ifup and with a program called Wireless Assistant (wlassistant). Wireless Assistant works fine when there is no WEP key enabled. Once I enable it, iwconfig/ifup and wlassistant both hang on getting the IP address. I know the key is correct as I am using it on another computer. I do not have MAC address filtering enabled (or else I wouldn't be able to connect w/o the WEP key as I did). Any ideas?
|
|
|
|
08-04-2005, 08:36 PM
|
#5
|
|
Member
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Original Poster
Rep:
|
Help!
|
|
|
|
08-04-2005, 10:36 PM
|
#6
|
|
Member
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66
Rep:
|
Try setting the key before anything else, and the use dhcpcd to request an ip address...
iwconfig eth1 enc your_key
iwconfig eth1 essid "network_name"
dhcpcd eth1 -d
Try man iwconfig, man dhcpcd for an explanation of these commands.
Cheers,
Jacob
Last edited by shotwellj; 08-04-2005 at 10:40 PM.
|
|
|
|
08-05-2005, 06:22 PM
|
#7
|
|
Member
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Original Poster
Rep:
|
Thanks. That worked.
|
|
|
|
11-18-2007, 05:55 PM
|
#8
|
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Rep:
|
I have the same problem
hi,
I have the same problem
~# iwconfig ath0 enc 1234567890
Error for wireless request "Set Encode" (8B2A) :
invalid argument "1234567890"
Help!: )
10x
|
|
|
|
11-19-2007, 01:55 AM
|
#9
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
please don't drag up dead threads. start a new one for a new question.
|
|
|
|
| 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 11:53 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
|
|