LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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

Closed Thread
 
Search this Thread
Old 08-01-2005, 10:10 AM   #1
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Rep: Reputation: 30
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?
 
Old 08-01-2005, 03:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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?
 
Old 08-01-2005, 04:28 PM   #3
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
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?
 
Old 08-02-2005, 06:00 PM   #4
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
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?
 
Old 08-04-2005, 08:36 PM   #5
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
Help!
 
Old 08-04-2005, 10:36 PM   #6
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
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.
 
Old 08-05-2005, 06:22 PM   #7
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Original Poster
Rep: Reputation: 30
Thanks. That worked.
 
Old 11-18-2007, 05:55 PM   #8
adduser1
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
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
 
Old 11-19-2007, 01:55 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
please don't drag up dead threads. start a new one for a new question.
 
  


Closed Thread


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
cannot connect to secure wireless network with Fedora 3 raindogs Linux - Wireless Networking 5 09-15-2005 10:30 AM
can't connect to my wireless network hedpe Linux - Wireless Networking 14 01-28-2005 02:47 PM
cannot connect to wireless network anartz Linux - Wireless Networking 13 10-27-2004 10:38 AM
Wireless cannot connect to network/Internet in SuSE 9.1 Hironaga Linux - Wireless Networking 13 09-02-2004 11:00 PM
Getting Suse 9.1 to connect to a Wireless network MDBlueIce Linux - Newbie 0 08-14-2004 11:07 PM


All times are GMT -5. The time now is 12:06 PM.

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