Author Topic: Wireless Error  (Read 2587 times)

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2682
  • Error #152 - Windows not found: (C)heer (P)arty (D
Wireless Error
« on: December 18, 2009, 07:35:57 AM »
Hi,

I did a re-install the other day and when booting up i see an Error message.

Quote
Bringing up interface wlan0: Error for wireless request "Set Encode" (8B2A):

SET failed on device wlan0: Invalid argument.
ioctl [SIOCSIWAUTH]: Operation not supported WEXT auth param 4 value 0x0 -

Tried google but from the looks no solution so far.

Using a Edimax usb with rt73 driver, which is the right one for it.

Burned another disc just incase there was a problem with the disc, but i'm getting the same Error, even tried another HDD, same thing.

Looked in /etc/wpa_supplicant.config, but it is empty.

Any ideas?

T.I.A

EDIT: Oops, should have been "ROOT" for  /etc/wpa_supplicant.config, so here is what i have

# Wildcard match for SSID (plaintext APs only). This example select any
# open AP regardless of its SSID.
# network={
#    key_mgmt=NONE
# }

network={
    key_mgmt=NONE
    scan_ssid=0
    mode=0
    ssid="linksys"
    priority=1
    wep_key0="none"
    wep_tx_keyidx=0
    auth_alg=OPEN
}

network={
    psk="**********"
    priority=1
    scan_ssid=0
    ssid="dlink"
}

Anything else you would like?
« Last Edit: December 18, 2009, 07:46:08 AM by coolbreeze »
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
Asinus caput tuum a te: et esto vigilans!
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2682
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wireless Error
« Reply #1 on: December 18, 2009, 07:59:58 AM »
Just ran this in "konsole"

Quote
[root@localhost micheal]# wpa_supplicant -B -iwlan0 -Dwext -c/etc/wpa_supplicant.conf
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - [root@localhost micheal]#

Does that mean totally delete the file and reboot? i don't have a clue on that one.
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
Asinus caput tuum a te: et esto vigilans!
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline MaddogF16

  • Hero Member
  • *****
  • Posts: 2711
Re: Wireless Error
« Reply #2 on: December 18, 2009, 08:30:11 AM »
Or rename it and save it then delete the original.
Why?

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2682
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wireless Error
« Reply #3 on: December 18, 2009, 08:36:19 AM »
Or rename it and save it then delete the original.
Just deleted it and re-installed from the repo, still the same error  ???
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
Asinus caput tuum a te: et esto vigilans!
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline MaddogF16

  • Hero Member
  • *****
  • Posts: 2711
Re: Wireless Error
« Reply #4 on: December 18, 2009, 09:07:21 AM »
If you delete that file again, then go into PCC and delete the wireless interface (wlan0), then reboot and go into PCC and set up the interface again does that help at all.
Why?

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2682
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wireless Error
« Reply #5 on: December 18, 2009, 09:45:18 AM »
If you delete that file again, then go into PCC and delete the wireless interface (wlan0), then reboot and go into PCC and set up the interface again does that help at all.

Thanks maddogf16

Deleted the file and wireless, rebooted, no error, good i think, so i set wireless up, rebooted, error is back.

Looking through google it's not just my adapter, so who knows.....   
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
Asinus caput tuum a te: et esto vigilans!
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline MaddogF16

  • Hero Member
  • *****
  • Posts: 2711
Re: Wireless Error
« Reply #6 on: December 18, 2009, 10:01:54 AM »
Reinstall wext and wpa supplicant?
Why?

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2682
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wireless Error
« Reply #7 on: December 18, 2009, 10:27:46 AM »
Reinstall wext and wpa supplicant?
re-Installed wpa supplicant already, no difference. thought wext was part of wpa supplicant.
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
Asinus caput tuum a te: et esto vigilans!
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline Hairyplotter

  • Full Member
  • ***
  • Posts: 52
Re: Wireless Error
« Reply #8 on: April 12, 2010, 02:14:47 PM »
I am aware this is a very old topic, but I found something of major relevance yesterday that I haven't been able to find on any other site.

The cause of the "set encode (8b2a)" are commands issued to iwconfig while initializing the wireless adapter.

I traced the problem to a start up script /etc/sysconfig/network-scripts/ifup-wireless which is called when ifup is used.

In my case I use WPA encryption and the following 2 lines would generate the errors:

iwconfig $DEVICE key off

and later in the script

/sbin/iwconfig $DEVICE key $WIRELESS_ENC_KEY

Once I knew what was causing the problem I went back to google with different search parameters and read a site where it was believed that prior commands to iwconfig was causing the "key" command to generate errors. It was listed as a bug so with any luck, future versions will solve the problem.
My temporary solution was to comment out the offending lines since they are of no consequence in my case. My wireless continues to work flawlessly.

I hope this helps.
« Last Edit: April 12, 2010, 02:16:32 PM by Hairyplotter »
It is rumored that Bill Gates spent the summer of '77 killing hookers in Arizona, and some claim that their screams can still be heard every time Windows boots up.

Hootiegibbon

  • Guest
Re: Wireless Error
« Reply #9 on: April 12, 2010, 02:36:43 PM »

All the error refers to is that one of the modes requested (possibly one of the iwlist modes)is not compatible with the hardware.

This error appears with 90% of the rt73usb chipsets (and others), and should not interfere with its ability to connect to a router

Jase
« Last Edit: April 12, 2010, 02:42:56 PM by Hootiegibbon »

Offline surfinusa555

  • Jr. Member
  • **
  • Posts: 24
Re: Wireless Error
« Reply #10 on: May 20, 2010, 03:17:41 AM »
Hairyplotter - you just enabled me to fix a HUGE problem I've been having with pclos 2009.  That script /etc/sysconfig/network-scripts/ifup-wireless is exactly what was causing my wpa_supplicant to crash linux.  The commenting out didn't work for me, but a simple 'mv ifup-wireless ifup-wireless.original' cured the issue!  The gui netapplet thingy doesn't seem to work without it for anyone reading this, but
Code: [Select]
ifconfig wlan0 up
iwconfig wlan0 essid MYSSID
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
dhclient wlan0
changing MYSSID and wlan0 to suit your system does the trick.

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2682
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wireless Error
« Reply #11 on: May 26, 2010, 06:42:26 PM »
Being as i have now gone on a router since i last posted, should i mark this solved or do you guy's want it left open for further info?
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
Asinus caput tuum a te: et esto vigilans!
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200