Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
authenticating with peap-mschapv2 on cabled net
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
siguru1
n00b
n00b


Joined: 31 Aug 2012
Posts: 11

PostPosted: Sat Sep 01, 2012 12:22 am    Post subject: authenticating with peap-mschapv2 on cabled net Reply with quote

Hello people.

i am in the process of installing gentoo onto an old HP pavillion dv5000.


i have access to a cabled internet connection, but i need to connect via mschapv2 to get my base system installed. ive had no luck gentting internet so far.

so far i have solved it by setting up a identical system with the livedvd shell in vmware player on my newer computer running on win7.
i use it to fetch all distfiles, for so transferring them via a usb hard drive to the HP. this process is time consuming and if i change anything i suddently dont have the neccesary distfiles.

the question is: how do i set up the cabled network to authenticate using peap-mschapv2?

i was hoping anyone could point me in the right direction, i have been googling and installing all day.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1658
Location: Berlin, Germany

PostPosted: Sat Sep 01, 2012 12:39 am    Post subject: Reply with quote

wpa_supplicant does support wired ethernet too. So create a wpa_supplicant.conf for peap/mschapv2, then invoke it with -D wired parameter.
Back to top
View user's profile Send private message
siguru1
n00b
n00b


Joined: 31 Aug 2012
Posts: 11

PostPosted: Sat Sep 01, 2012 7:40 pm    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message
siguru1
n00b
n00b


Joined: 31 Aug 2012
Posts: 11

PostPosted: Sat Sep 01, 2012 10:11 pm    Post subject: Reply with quote

it worked like a charm :D

/etc/conf.d/net
Code:

modules="wpa_supplicant"
wpa_supplicant_eth0="-Dwired"



/etc/wpa_supplicant/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
ap_scan=0
fast_reauth=1
network={
        key_mgmt=IEEE8021X
        eap=PEAP
        pairwise=CCMP TKIP
        identity="username@domain.com"
        anonymous_identity="username@domain.com"
        password="password"
        phase2="auth=MSCHAPV2"
        priority=2
}


then commands:
Code:
wpa_supplicant -D wired -i eth0 /etc/wpa_supplicant/wpa_supplicant.conf &

Code:
dhcpcd -i eth0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum