LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-25-2006, 04:56 PM   #1
radicalrain
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Using iwconfig to connect to a wireless network. No WEP


Hello.

I'm currently trying to connect to my Wireless Network. I've turned off WEP for the time being to hopefully make the process a little easier. Here are some outputs:
Code:
blackbox@blackbox:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:6B:BF:10:B1
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::209:6bff:febf:10b1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3210 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1913 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2326960 (2.2 MiB)  TX bytes:344382 (336.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:272 (272.0 b)  TX bytes:272 (272.0 b)
Code:
blackbox@blackbox:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:""  Nickname:""
          Mode:Managed  Access Point: 00:00:00:00:00:00   Bit Rate:11 Mb/s
          Tx-Power:off
          Retry limit:3   RTS thr:off   Fragment thr: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

sit0      no wireless extensions.
after running "ifconfig eth1 up" I get:

Code:
blackbox@blackbox:~$ iwlist eth1 scanning
eth1      Scan completed :
          Cell 01 - Address: 00:80:C8:1D:77:9B
                    ESSID:"The Pizza Box"
                    Mode:Master
                    Channel:6
                    Quality:46  Signal level:0  Noise level:0
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:22 Mb/s
And then I do the following to connect:
Code:
blackbox@blackbox:~$ iwconfig eth1  essid "The Pizza Box"
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device eth1 ; Operation not permitted.
Can someone please point out where I'm going wrong. I think it is a syntax thing. Thank you. I am on a xubuntu system, BTW.
 
Old 03-26-2006, 07:24 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
blackbox@blackbox:~$ iwconfig eth1 essid "The Pizza Box"
You need to be root to do this. Trying to set configuration parameters usually isn't allowed for normal users. Since you're running Ubuntu, and Ubuntu is weird about root, try using preceding your commands with sudo. Also, just to rule out funky problems, I would use an SSID that doesn't have spaces.
 
Old 05-03-2008, 10:09 PM   #3
vertago1
LQ Newbie
 
Registered: Sep 2005
Distribution: Kubuntu 8.04 Remix
Posts: 6

Rep: Reputation: 0
Quote:
And then I do the following to connect:
Code:
blackbox@blackbox:~$ iwconfig eth1  essid "The Pizza Box"
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device eth1 ; Operation not permitted.
Can someone please point out where I'm going wrong. I think it is a syntax thing. Thank you. I am on a xubuntu system, BTW.
try: sudo iwconfig eth1 essid "The Pizza Box"
 
  


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
Connect to Wireless Network RySk8er30 Linux - Wireless Networking 8 11-19-2007 01:55 AM
can't connect to my wireless network hedpe Linux - Wireless Networking 14 01-28-2005 02:47 PM
WEP configuration using iwconfig clue=0 Linux - Wireless Networking 1 08-28-2004 08:53 PM
Enabling WEP keys with iwconfig on RH8? NLawrence Linux - Wireless Networking 9 02-26-2004 08:59 PM
How to get on a 40 bit WEP encrypted wireless network with an Intersil Prism2 card? msouden Linux - Wireless Networking 1 11-03-2003 07:02 AM


All times are GMT -5. The time now is 04:05 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