Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running an Asus M6800N with a 1.7 MHz Pentium M and Intel Centrino chip set. I have the IPW-2200 wireless radio. I'm currently running Fedora Core 4 (kernel 2.6.12-1.1398) as it come from Fedora all upgraded done using yum (so it's plain vanilla kernel).
When I disable the security I can get on my wireless access point and wander my network and the web.... However I want to run wpa encryption on this network (okay, call me parinoid..... but I want to). When I enable the wpa encryption on the AP I get strange errors for wpa_supplicant. For the record, the AP works correctly because the windoze boxes on the network can access it.
Here is the output of wpa_supplicant:
[root@localhost ~]# wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf -dd
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=8):
62 65 72 67 79 6e 65 74 bergynet
proto: 0x1
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='bergynet'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: Operation not supported
Own MAC address: 00:0e:35:46:e0:0a
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
This never, never links up with an access point. It continues to report that no suitable access point is found. I am concerned with the reports in red above. Wpa_supplicant is a build of 0.4.2 that I compiled myself because none of the rpm's I could find supported the HP "native Linux" IPW driver.
Any thoughts about why these setup commands fail? This appears to be why I cannot access my wireless network.
I'm making some guesses based on doing things with XSupplicant, but I've not used wpa_supplicant so take this for what it's worth.
This stuff and the other errors make me think the interface never really initializes:
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Do you have SSID broadcast disabled on the AP? If so, turn it on.
Can you try manually bringing up the interface before running wpa_supplicant?
Sorry, the real world got in the way.... Something about a kid turning 9 and thinking he should have a party......
I have just reinstalled the driver and the firmware to be sure of what I've got. I followed the instructions at http://www.ces.clemson.edu/linux/fc2-ipw2200.shtml I have IPW2200-1.0.6 and IPW2200.fw.2.3 installed. As noted before I followed the instructions at the site listed above in the notes for kernel 2.6.12-1.1398_FC4 (which is the patch level of kernel I'm running)
Add the pairwise=TKIP, becuase you want to use TKIP.
Now hop into the router and go to wireless security and check your WPA settings, change the setting to TKIP only, not AES+TKIP. Check your passphrase, mine had a ^ symbol in it and wpa_supplicant choked until I remove. I suggest using straight ASCII characters until you get it working. No go back and run Make, copy your wpa_supplicant.conf file to the /etc directory and copy the 2 other files wpa_supplicant.sh and wpa_passphrase.sh to the recommended directory outlined in the README file.
Okay, following your instructions I rebuilt wpa_supplicant with only the ipw active. I copied the files to /usr/local/bin as the readme suggested. I added the "pairwise=TKIP" to the wpa_supplicant.conf.
At the bottom of the console window the final message is:
This suggests to me that I'm connected. Is this true?????
I tried to ping the AP and failed. I tried to ping the network printer driver and it failed too.
What am I missing now??????
Yes, that is what you are looking for. You mentioned you couldn't ping the AP, did you try opening a browser window???
About the pings, check the firewall and see if it is blocking them.
IronMike74 provided the path in the posts above. After that, as I reported things didn't work. Then it hit me, order matters! So I started wpa_supplicant and then went into the Network Manager tool (yes I am a GUI junky) and started eth1 (my wireless card) and it found an IP address. I can ping my network AP and printer. I can access the web and e-mail. Life appears to be good.
I followed those instructions and now I can use Network Manager to start either the wireless network or the wired network depending on what I have. When I start the wireless, wpa_supplicant starts too. When I stop the wireless, wpa_supplicant stops too.
The final part will be when school starts later this month to enable the school networks in my wpa_supplicant.conf so that I can associate with them too.
Thanks IronMike74 for your suggestions and direction. This linux newbie is much happier now!!
Glad to be of some help. Hopefully your school is either running a open network or just using TKIP. If it is running some other security, you will have to recompile the wpa_supplicant.conf file. One thing to remember if you do have to recompile, remove the 3 previous made files, passphrase.sh, wpa_cli.sh, and wpa_supplicant.sh. That way when you run "Make" you will see the new files created and can copy them other to the proper directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.