LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Using iwconfig to connect to a wireless network. No WEP (https://www.linuxquestions.org/questions/linux-wireless-networking-41/using-iwconfig-to-connect-to-a-wireless-network-no-wep-428467/)

radicalrain 03-25-2006 04:56 PM

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.

Hangdog42 03-26-2006 07:24 AM

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.

vertago1 05-03-2008 10:09 PM

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"


All times are GMT -5. The time now is 10:25 PM.