LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-18-2008, 11:44 AM   #1
robogymnast
Member
 
Registered: Dec 2005
Location: Boston, USA
Distribution: Kubuntu, Debian
Posts: 78

Rep: Reputation: 16
Error for wireless request "Set Nickname"


Trying to get wireless running on slackware 12.1, I've been following Alien Bob's guide but I can't seem to get a connection to my wireless network
Code:
# ping 192.168.1.1
connect: Network is unreachable
Code:
# /etc/rc.d/rc/inet1 wlan0_start
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
Polling for DHCP server on interface wlan0:
No carrier detected on wlan0. Reducing DHCP timeout to 10 seconds.
dhcp: MAC address = 00:1f.....
After running "wpa_supplicant -dw -c/etc/wpa_supplicant.conf -Dwext -iwlan0" and looking in /var/log/messages at that time I see:
Code:
kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
logger: /etc/rc.d/rc.inet1: List of interfaces: `eth0 eth1 eth2 eth3 wlan0 eth5`
logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 mode Managed
logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 nick blackice
logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 channel 6
logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 essid "pandora"
logger: /etc/rc.d/rc.inet1: /sbin/dhcpcp -d -t 30 -h blackice wlan0
kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
ifconfig and iwconfig give:
Code:
# ifconfig wlan0
Link encap:Ethernet HWaddr 00:1f:...
BOADCAST MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3251 (3.1 KiB) TX bytes:888 (888.0 B)

# iwconfig wlan0
IEEE 802.11g ESSID:"pandora"
Mode: Managed  Frequency:2.437 GHz  Access Point: 00:21:29:A1:7D:A3
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr:2346 B
Encryption key:off
Link Quality=74/100 Signal level=-62 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
The card is an EDIMAX EW-7128G PCI wireless card:
Code:
# lspci
05:08.0 Network controller: RaLink RT2561/RT61 802.11g PCI
Can anyone help or at least point me in the right direction? I'm really liking slackware so far but I don't know where to go from here :-(
 
Old 09-19-2008, 11:26 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
If I were in your shoes I would take it a step at a time, and start with the console before jumping into doing a lot of startup configuration. Basically, we need to figure out if this is a driver problem or a config problem.

I would start by temporarily turning off encryption and seeing if you can connect. If you can, then the driver is working and we can move on to figuring out the encryption.

I would then just run wpa_supplicant and see if you can get an association. If you can, then run dhcpcd wlan0 to see if you can get an IP address. If that works, then we can work on how to configure this.

Oh, and actually I lied a bit. I would actually start by either undoing or commenting out any changes you've made in the various /etc/rc.d files. I think you need to start with as pristine a set of startup files as possible.
 
Old 09-22-2008, 06:14 PM   #3
robogymnast
Member
 
Registered: Dec 2005
Location: Boston, USA
Distribution: Kubuntu, Debian
Posts: 78

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Hangdog42 View Post
If I were in your shoes I would take it a step at a time, and start with the console before jumping into doing a lot of startup configuration. Basically, we need to figure out if this is a driver problem or a config problem.

I would start by temporarily turning off encryption and seeing if you can connect. If you can, then the driver is working and we can move on to figuring out the encryption.

I would then just run wpa_supplicant and see if you can get an association. If you can, then run dhcpcd wlan0 to see if you can get an IP address. If that works, then we can work on how to configure this.

Oh, and actually I lied a bit. I would actually start by either undoing or commenting out any changes you've made in the various /etc/rc.d files. I think you need to start with as pristine a set of startup files as possible.
Thanks for the response, I reinstalled from scratch to make sure that I am starting with a fresh environment, and disabled security on my wireless. I was able to connect by using iwconfig to set my essid and channel and then
"ifconfig wlan0 up". Then after running "iwlist wlan0 scan" I could see my network.

Next I ran "dhcpcp wlan0" as you suggested and was able to ping outside the network :-)

Now I'm going to re-enable encryption and see if I can get that working.
 
Old 09-22-2008, 07:14 PM   #4
robogymnast
Member
 
Registered: Dec 2005
Location: Boston, USA
Distribution: Kubuntu, Debian
Posts: 78

Original Poster
Rep: Reputation: 16
w00t it works! :-)

Alright, so I after adding my WPA PSK and SSID to /etc/wpa_supplicant.conf and restarting my wireless card with "/etc/rc.d/rc.inet1 wlan0_stop" and then wlan0_start, I realized that everything seemed to be working except that I had no IP address. So after reading the man page for dhcpcd I found the -n option and ran "dhcpcd wlan0 -n" which forced dhcpcd to renew its lease on the IP address, and now everything appears to be working =)

Thanks for your help hangdog.
 
Old 09-22-2008, 07:37 PM   #5
robogymnast
Member
 
Registered: Dec 2005
Location: Boston, USA
Distribution: Kubuntu, Debian
Posts: 78

Original Poster
Rep: Reputation: 16
Something to add: somewhere along the way I ran "wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf" and switched terminals. When I ended this process (don't ask) I lost my connection and had to restart this process. Wanted to add this info in case anyone else had the same problem.
 
Old 09-23-2008, 07:26 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Something to add: somewhere along the way I ran "wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf" and switched terminals. When I ended this process (don't ask) I lost my connection and had to restart this process. Wanted to add this info in case anyone else had the same problem.
A simple way to solve this is to add the -B flag to your startup line. That causes wpa_supplicant to run as a daemon independent of the console. I also like to add the -w flag which causes wpa_supplicant to wait for the interface if it isn't up.

Congrats on solving this, I hope it keeps working for you!
 
  


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
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
Wireless autoconnect (error for wireless request "set Nickname" (8B1C)) hellasyoda Slackware 7 05-19-2008 01:12 PM
Error for wireless request "Set Mode" on Linksys WPC11 v 3 army180 Linux - Wireless Networking 2 09-04-2006 06:32 PM
Error for wireless request "Set Bit Rate" (8B20) king_scott_2 Linux - Wireless Networking 3 06-26-2006 05:27 PM
Startup Errors with wireless networking Error for wireless request "Set Encode" Cryptoniks Linux - Wireless Networking 1 03-21-2006 07:06 AM


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