LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-30-2007, 05:25 PM   #1
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Rep: Reputation: 30
How To: Use PEAP with NetworkManager


How to use PEAP with NetworkManager (or how I learned to stop worrying and click the "connect to other network" option)

As many people, I used to have trouble connecting to Networks using PEAP. The trouble is that when you select a network supporting PEAP in network manager, it seems to only offer different types of WEP.

First, what we need is called WPA Enterprise, and as far as I understand mschap v2 needs WPA2 Enterprise.

Second, you'll obviously need:

-wireless tools: wireless-tools
-wpa_supplicant: [URL="http://hostap.epitest.fi/wpa_supplicant/[/URL]
-A configured wireless card (sorry, can't help you there)

For those who don't know, these are tools you'll need to do just about any kind of wireless anything. In addition, some may not have dhcpcd, dhclient, or another dhcp client, but most systems should have one by default.

Ok, so once all that's setup, run

nm-tool

in the command line. You should see three or so lines with WPA, WPA2 etc. Find them: they should all be enabled. If not, make sure that you have wpa_supplicant installed. If that doesn't do the trick, try running:

killall NetworkManager
killall nm-applet
NetworkManager
NetworkManagerDispatcher

Then type alt-F2 and in kde run:

knetworkmanager

and in gnome type alt-F2 run

nm-applet

If that doesn't work, you could try my solution which would be to manually re-compile NetworkManager and nm-applet, but someone else may have a better suggestion.

Assuming that NetworkManager is now operational, left click on the icon. Click on the "Connect to other network..." menu option EVEN IF you see the Access point to which you would like to connect. Now manually enter the essid of your access point. Set the wireless security combo box to WPA Enterprise or WPA2 Enterprise (play around with it and see what works).

Click connect and hope it works. I've noticed that if wpa_supplicant was started at boot, it seems to block NetworkManager.

Good luck.

-Peter
 
  


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
RADIUS PEAP Authentication Problem metallica1973 Linux - Wireless Networking 1 07-07-2008 01:37 AM
FreeRADIUS,PEAP and SSL metallica1973 Linux - Wireless Networking 24 01-27-2007 07:41 PM
Network Manager and PEAP waxhawsam Linux - Networking 0 05-22-2006 04:45 PM
Xsupplicant PEAP Type Handler error y0shi Linux - Wireless Networking 0 11-18-2004 02:19 PM
802.1x, Radius, MSChapv2, PEAP Micah Linux - Wireless Networking 10 11-05-2004 01:10 PM


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