LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2016, 04:59 AM   #1
redd9
Member
 
Registered: Nov 2013
Location: Canada
Distribution: RHEL, Ubuntu
Posts: 212
Blog Entries: 1

Rep: Reputation: 82
Can't connect to network using PEAP


Hi, during my install of Gentoo using the x86 Minimal Install, I can't seem to connect to my school's network. I know that it must be doable because I did connect my Thinkpad T420 to the wi-fi using the Ubuntu GUI. The settings I had were:

Security: WPA & WPA2 Enterprise
Authentication: PEAP
CA Certificate: No CA Certificate is required
PEAP version: 0
Inner authentication: MSCHAPV2
Username: <username>
Password: <password>

But when I try setting up a connection using wpa_supplicant with these parameters, it fails. I'm not getting any error messages but I'm not able to ping outside of the network.

In /etc/conf.d/net:
Code:
modules="wpa_supplicant"
wpa_supplicant_wlp3s0="Dnl80211"
In /etc/wpa.conf:
Code:
network={
ssid="<SSID>"
key_mgmt=WPA-EAP
identity="<Username>"
password="<Password>"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
Then I try:
Code:
wpa_supplicant -Dnl80211 -iwlp3s0 -c /etc/wpa.conf -B
Which outputs:
Code:
Successfully initialized wpa_supplicant
That's where I'm stuck. Any suggestions would be appreciated.
 
Old 11-19-2016, 08:41 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Why torture yourself with minimal install CD? Use SystemRescueCD, it has superior software compared to minimal, or use Ubuntu install DVD, you already have it. I never understood the idea of minimal CD, never used it either. Did my first install 12+ years ago using Knoppix, nowadays I carry SystemRescueCD USB stick with me anyway.
 
Old 11-19-2016, 12:04 PM   #3
redd9
Member
 
Registered: Nov 2013
Location: Canada
Distribution: RHEL, Ubuntu
Posts: 212

Original Poster
Blog Entries: 1

Rep: Reputation: 82
Thanks for the advice, but I ended up getting it myself. When I tried running wpa_supplicant not as a daemon, I got the error
Code:
CTRL-EVENT-DISCONNECTED ... reason=3
repeatedly. I then tried
Code:
killall wpa_supplicant
and then
Code:
wpa_supplicant -Dnl80211 -iwlp3s0 -c /etc/wpa.conf -B
and was able to get connectivity.
 
  


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
Can't connect to network using PEAP during minimal install redd9 Gentoo 1 11-24-2016 04:33 AM
[SOLVED] Wicd can't connect to WPA2-PEAP 097 Linux - Newbie 1 04-19-2014 10:55 AM
Cannot create working xsupplicant.conf to connect to peap-mschapv2 network Fred_is_dead_7x Linux - Wireless Networking 2 02-07-2009 11:55 AM
DHNET 802.1x PEAP Authentication for wired network InterserveVB Linux - Wireless Networking 3 10-14-2007 01:04 PM
Network Manager and PEAP waxhawsam Linux - Networking 0 05-22-2006 04:45 PM

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

All times are GMT -5. The time now is 04:55 PM.

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