Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 24/25 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!
Register All Albums FAQ Today's Posts Search

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th March 2006, 12:30 AM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Network Manager, IPW-2200/2915, WPA/WPA2 FC5 Issues Solved

This might be a little long winded but I have solved the WPA/WPA2 connections issues with NetworkManager, Wpa_Supplicant and a laptop with an Intel 2915 wireless module. I am using the default drivers that come with FC5, ie ipw2200-1.0.8, ieee80211-1.1.7 and the wpa_supplicant-0.4.8. Here are the steps:

1. I turned on NetworkManager, go to "Services" and turn NetworkManager and NetworkManager Dispatcher on for runlevels 3 and 5, and rebooted. Plugged in my ethernet cable and checked connectivity.

2. Next I downloaded the the firmware for the driver, it is on sourceforge...
http://ipw2200.sourceforge.net/firmware.php If you are using the the 2200/2915 you need the 2.4 version as the 3.0 version will not work the the default drivers. Unzip the files and copy them into /lib/firmware and reboot.

3. Open System -->Admin -->Network, Click on the "New" tab and select wireless connection. Does your card show up ?? If not check to see if the firmware is in /lib/firmware. If your card does show up go ahead and create the connection and enter your info. One thing that I do is TURN OFF the "activate on boot" option for both the ethernet and wireless connections.

4. Next comes the wpa_supplicant config files, go to the directory /etc/wpa_supplicant. Using a editor open the "wpa_supplicant.conf" and edit it, here is mine

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1 <--------This is because I'm broadcasting SSID, If not broadcasting it will be 2
update_config=1
network={
ssid="mesa_wifi" <-----You need the quote marks
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP <-----This is AES, you can use TKIP also
psk="my password!" <-----Plain text, with quotes
}

ONE NOTE, it seems WPA_SUPPLICANT doesn't like weird control characters in the password!.

Save and exit.

5. Next go to /etc/sysconfig With a editor open wpa_supplicant mine looks like this:

# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-ieth1" <----Changed to correspond to my interface with quotes
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dwext" <-----Added this as I couldn't get -Dipw to work with quotes

BIG NOTE, even with FC4 I could not get the -Dipw option to work, I had to switch to the -Dwext which is Fedora's wireless extension.


6. Rebooted to get rid of the garbage and clear any hiccups that I might have caused. Now the fun, I left clicked on the NetworkManager icon to see if it was picking up any wireless networks, it was and I selected mine and hit enter. The 1st thing that popped up was a dialog box asking for the "Network Key" which is your encryption key in plain text. The 2nd thing that popped up was a dialog box asking for the "Key Ring Manager" password this is used to store keys and passwords, enter whatever password you want.

Now when I click on my SSID in NetworkManager it asks for the keyring manager, I enter the password and it connects. A couple notes that I noticed, when you reboot the computer NetworkManager sort of remembers the last connection you had so it automatically pops up the keyring manager, if you don't want to connect to the network select deny. Another note, In the "services" menu there is a process to start wpa_supplicant, there is no need to put a check mark in the box for the service as NetworkManager will start it as it deems necessary.

I typed this whole thing wireless with AES-CCMP and hopefully this helps some people that are having issues with NetworkManager, WPA_Supplicant, IPW cards. One more I am using static IP with these but should work with DHCP..

Last edited by Iron_Mike; 12th July 2006 at 04:33 AM.
Reply With Quote
  #2  
Old 29th March 2006, 01:07 AM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 42
Posts: 4,175
after trying this out still unable to connect
ipw2200
essid NOT Brodcasted

iwlist scan shows this
Quote:
eth1 Scan completed :
Cell 01 - Address: 00:0F:66:21:10:45
ESSID:"<hidden>"
Protocol:IEEE 802.11b
Mode:Master
Channel:6
Encryption key:on
Bit Rates:11 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 11
Quality=87/100 Signal level=-42 dBm
Extra:wpa_ie=dd160050f20101000050f20201000050f2020 1000050f20 2
Extra: Last beacon: 60ms ago


Cell 02 - Address: 00:12:17B:77:A4
ESSID:"linksys"
Protocol:IEEE 802.11bg
Mode:Master
Channel:6
Encryption key:off
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=55/100 Signal level=-68 dBm
Extra: Last beacon: 48ms ago
attached screenshot is the settings on my router
Attached Thumbnails
Click image for larger version

Name:	SEC-Settings.png
Views:	524
Size:	9.3 KB
ID:	7704  
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #3  
Old 29th March 2006, 01:21 AM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Jim,

I am broadcasting the SSID so NetworkManager picks up the name. I click on the name, if you don't broadcast the SSID NetworkManager will not see it.....
Reply With Quote
  #4  
Old 29th March 2006, 01:30 AM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 42
Posts: 4,175
I added a new network specifing the name.
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #5  
Old 29th March 2006, 01:42 AM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 42
Posts: 4,175
Ok for giggles, i set the ssid to broadcast still no go

EDIT
in both cases I get the login prompt
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Wireless Network Key Required.png
Views:	502
Size:	25.0 KB
ID:	7705  
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?

Last edited by fedorajim; 29th March 2006 at 01:46 AM.
Reply With Quote
  #6  
Old 29th March 2006, 01:45 AM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Does the dialog box come up asking for the key and the type?? And does the Keyring Manager popup as for a password?? The biggest issue was even if you had the 2200BG or the 2915ABG, and you tried to speciify the -Dipw driver it crashed and burned, but as soon as you used the -Dwext for the wireless extension routines it worked like a champ. It was like this in FC4 also. Also a note if you are not broadcasting the SSID you need to set "ap_scan=2" in wpa_supplicant.conf. I turned broadcasting on to eliminate various varibles to get it working.



[mmcguire@localhost ~]$ su -
Password:
[root@localhost ~]# iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :
Cell 01 - Address: 00:14:BF:12:41:FA
ESSID:"mesa_wifi"
Protocol:IEEE 802.11g
Mode:Master
Channel:1
Encryption key:on
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=95/100 Signal level=-31 dBm
Extra:wpa_ie=dd180050f20101000050f20401000050f2040 1000050f2020000
Extra: Last beacon: 104ms ago

sit0 Interface doesn't support scanning.

Last edited by Iron_Mike; 29th March 2006 at 01:56 AM.
Reply With Quote
  #7  
Old 29th March 2006, 02:09 AM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 42
Posts: 4,175
Here is what I have

wpa_supplicant.conf
Quote:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1

update_config=1

network={
ssid="HomeWireless"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
psk="*********************************"
#disabled=1
}
wpa_supplicant
Quote:
# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-eth1"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-ipw2200" <--- have tried all types here
See connection info screenshot (attached) Shows driver "ipw2200"


and included all screenshots of all settings
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Wireless Network Key Required.png
Views:	457
Size:	25.0 KB
ID:	7707   Click image for larger version

Name:	Screenshot-Connection Information.png
Views:	530
Size:	24.3 KB
ID:	7708   Click image for larger version

Name:	SEC-Settings.png
Views:	362
Size:	9.3 KB
ID:	7709  
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #8  
Old 29th March 2006, 02:31 AM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Your exactly right and almost there, Did you happen to type in the key for the passphrase dialog box??? This is the same as your PSK key listed in the /etc/wpa_supplicant/wpa_supplicant.conf About the driver showing ipw2200, Actually it should be entered as DRIVERS="-Dipw" But trust me try using DRIVERS="-Dwext" it will still show the driver as ipw2200 under your 2nd screenshot.

Last edited by Iron_Mike; 29th March 2006 at 02:34 AM.
Reply With Quote
  #9  
Old 29th March 2006, 02:36 AM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 42
Posts: 4,175
Same key every time

wpa_supplicant fails to load " e " not a valid option so it is now barking at the -eth1
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #10  
Old 29th March 2006, 03:24 AM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Should be:

# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-ieth1"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dwext"
Attached Thumbnails
Click image for larger version

Name:	Screenshot.jpg
Views:	547
Size:	249.1 KB
ID:	7712  

Last edited by Iron_Mike; 29th March 2006 at 05:04 PM.
Reply With Quote
  #11  
Old 29th March 2006, 12:00 PM
chocobanana Offline
Registered User
 
Join Date: Jun 2005
Posts: 125
You have an error in the /etc/sysconfig/wpa_supplicant config file:
instead of -eth1 you must have -ieth1 since this is a parameter for wpa_supplican inicialization. Also, for me it was mandatory, not an option, to disable the wpa_supplicant service, otherwise it wouldn't connect.

Other than that it's working perfectly. Thanks for your post!
Reply With Quote
  #12  
Old 29th March 2006, 04:50 PM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Quote:
Originally Posted by chocobanana
You have an error in the /etc/sysconfig/wpa_supplicant config file:
instead of -eth1 you must have -ieth1 since this is a parameter for wpa_supplican inicialization. Also, for me it was mandatory, not an option, to disable the wpa_supplicant service, otherwise it wouldn't connect.

Other than that it's working perfectly. Thanks for your post!

Thanks, I fat fingered the -ieth1, I think I mentioned about disabling the wpa_supplicant service and let NetworkManager handle it.....But at least it works
Reply With Quote
  #13  
Old 30th March 2006, 01:17 AM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 42
Posts: 4,175
Well I made the changes and ......... I removed the key I had in my keyring manager and rebooted 3 times ran NetworkManager --no-daemon to see what was happening recorded the desktop while all this was going on and viola i'm freaken connected via wpa-psk Go figure. This has to get much easier to use this wireless encryption. What a PITA
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #14  
Old 30th March 2006, 02:45 AM
jhc Offline
Registered User
 
Join Date: Mar 2006
Posts: 4
Can connect to network, but no web access

Hi, I am able to get through the whole WPA hurdle and can finally connect to my wireless network, but I cannot gain access to the internet . Am I still missing something from my setup? Help/suggestions would be much appreciated.
Reply With Quote
  #15  
Old 30th March 2006, 12:16 PM
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,779
Need to know more info, are you using DHCP, static IP's, hardware, NetworkManager etc....
Reply With Quote
Reply

Tags
fc5, ipw2915, issues, manager, network, solved, wpa or wpa2


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Solved Network Manager WL100 hidden SSID VideoRoy Servers & Networking 3 14th January 2009 12:24 AM
SOLVED: Network Manager problems reappear after newkey update crainey69 Servers & Networking 0 16th September 2008 12:02 AM
Network manager, WPA2 & PPTP Issues lynxus Servers & Networking 8 12th November 2007 07:39 AM
Network Manager Issues jarb Servers & Networking 3 19th June 2007 10:31 AM
network manager fails to properly recognize intel 2915 wifi idiotprogrammer Servers & Networking 16 30th June 2006 07:59 PM


Current GMT-time: 18:39 (Wednesday, 28-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat