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


Reply
  Search this Thread
Old 05-09-2006, 12:04 AM   #1
Irayo
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
wpa_supplicant - ioctl[SIOCSIWAP]: Input/output error


After working for an extremely long time to get my wireless card to work in Linux (which was a bunch of unnessecary time, I should've read the docs) I only have one problem remaining in front of me.

I'd like to use WPA, and wpa_supplicant is giving me problems. iwlist can detect the AP and ifconfig and everything work fine, so it's not any driver problems as far as I can tell.

I'm using a Netgear WG511, at eth1.

wpa_supplicant:

Code:
# wpa_supplicant -Dprism54 -ieth1 -c/etc/wpa_supplicant.conf
wpa_driver_prism54_set_countermeasures - not yet implemented
Trying to associate with 00:12:17:45:c2:c2 (SSID='Home WLAN' freq=2462 MHz)
Authentication with 00:00:00:00:00:00 timed out.
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCGIWSCAN]: Input/output error
ioctl[SIOCGIWSCAN]: Input/output error
... (continued until CTRL+C)
CTRL-EVENT-TERMINATING - signal 2 received
wpa_driver_prism54_set_countermeasures - not yet implemented
ioctl[SIOCSIWAP]: Input/output error
It is worth noting that the last ioctl error is different from the rest. Not that I know what any of these codes means, but any help would be appreciated. The debug output doesn't help much, but the repeating ioctl messages show as this:
Code:
Setting scan request: 1 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Input/output error
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
[repeat]
Perhaps it needs longer to scan? I'm not sure how to set this -- this is my first time with Linux and wireless networks, though I've worked on Linux servers for a few years now. I'm now trying to get it to work on my laptop.

It seems to me that the card is not sending the scan results back to wpa_supplicant. Either it finds no APs (but "iwlist eth1 scan" does) or the card is refusing to communicate properly.

I'd appreciate any help on this issue, and if anyone would like additional information I'll be back later tomorrow.


Edit: In "iwlist eth1 scan" it mentions "Extra:wpa_ie=<hex data>". Is this anything I need to worry about? All my wireless networking experience (and through it WPA experience) is from Windows so I'm not sure.

Last edited by Irayo; 05-09-2006 at 12:07 AM.
 
Old 05-12-2006, 06:20 AM   #2
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
what scanning mode do you have set in wpa-sup.conf? set mode 0 if it isnt already.
 
Old 05-13-2006, 07:50 PM   #3
Irayo
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
I'm sorry, I forgot to post my wpa_supplicant.conf.

However, after many many hours of fiddling with settings and trying to get it to work, I did finally realize that prism54 chipset support isn't fully developed yet (doh).

Sorry for wasting your time :-/
 
  


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
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 12:51 PM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 06:02 AM
Input/Output error sufiah Linux - Hardware 4 04-17-2005 08:03 PM
input/output error c12ayon Linux - Newbie 2 12-27-2003 08:04 AM
Input/Output error Toker Linux - Newbie 4 10-01-2003 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration