LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-23-2006, 11:26 PM   #1
gloomrider
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
ipw2200 with wpa_supplicant


Hardware: Compaq Presario V4000 notebook w Intel Pro Wireless 2200GB

Software:

FC5 kernel: 2.6.16-1.2122_FC5

Firmware: ipw2200-fw-3.0
Drivers: ieee80211-1.1.13, ipw2200-1.1.2

The first thing I notice is that the device shows up not as something like "eth1", but "dev1804289383"

# cd /sys/class/net
# ls -l
total 0
drwxr-xr-x 4 root root 0 May 23 20:59 dev1804289383
drwxr-xr-x 3 root root 0 May 23 20:59 eth0
drwxr-xr-x 3 root root 0 May 23 20:58 lo
drwxr-xr-x 3 root root 0 May 23 20:58 sit0


From the messages file, firmware seems to load:

May 23 20:58:59 poodle kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

iwconfig seems to recognize:

# iwconfig dev1804289383
dev1804289383 unassociated ESSIDff/any
Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated
Bit Rate=0 kb/s Tx-Power=20 dBm
Retry limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
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


But wpa_supplicant doesn't work. I compiled latest (0.4.9) with "ipw" driver enabled:

./wpa_supplicant -idev1804289383 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dipw
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported

I'm thinking the "dev1804289383" business is an indication the hotplug firmware isn't working right.

Any ideas?

Thanks in advance.
 
Old 05-23-2006, 11:52 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You can use an alias command in /etc/modprobe.d/dev1804289383

alias wlan0 dev1804289383

for example.

I use ndiswrapper, so I'm not sure if there is a dev1804289383 module that needs to be loaded. So the above alias command might be wrong also. "alias wlan0 ipw2200"
ess
Also look at "30-net_persistent_names.rules" if you have it. It might be generated by /lib/udev/rename_interface.
If you have a less /usr/share/doc/packages/sysconfig/README.Persistent_Interface_Names file, read it for instructions on how to change the interface device names.
 
Old 05-24-2006, 08:44 AM   #3
gloomrider
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
You can use an alias command in /etc/modprobe.d/dev1804289383

alias wlan0 dev1804289383

for example.

I use ndiswrapper, so I'm not sure if there is a dev1804289383 module that needs to be loaded. So the above alias command might be wrong also. "alias wlan0 ipw2200"
ess
Also look at "30-net_persistent_names.rules" if you have it. It might be generated by /lib/udev/rename_interface.
If you have a less /usr/share/doc/packages/sysconfig/README.Persistent_Interface_Names file, read it for instructions on how to change the interface device names.
I don't have that rule in /etc/udev/rules.d nor that help file in /usr/share/doc.

But thanks anyway!
 
Old 05-25-2006, 03:36 PM   #4
metabaron
LQ Newbie
 
Registered: Feb 2006
Posts: 11

Rep: Reputation: 0
wext driver, not ipw
 
Old 05-25-2006, 11:43 PM   #5
gloomrider
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by metabaron
wext driver, not ipw
Yes, I figured that out, thanks!

Also, "udevtest" and "udevinfo" were a big help in getting the device renaming done.

But I'm still a little confused about dhclient. I use the wpa_supplicant startup in /etc/init.d, but I'm having to kludge a line in /etc/rc.local like:

/sbin/dhclient -nw <DEVICE>

...to get it all to come up automatically at boot time.

Is there a better way?
 
  


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
IPW2200 and wpa_supplicant -=Graz=- Slackware 7 05-09-2006 06:55 AM
wpa_supplicant addisonzinser Slackware 0 02-04-2006 12:12 AM
wpa_supplicant w/ ipw2200 the-sloth Linux - Wireless Networking 1 11-29-2005 12:49 AM
wpa_supplicant (AGAIN) gbergeson Linux - Laptop and Netbook 10 08-03-2005 08:28 AM
WPA_Supplicant Fraudulent Linux - Wireless Networking 0 10-04-2004 07:07 AM


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