View previous topic :: View next topic |
Author |
Message |
siguru1 n00b
Joined: 31 Aug 2012 Posts: 11
|
Posted: Sat Sep 01, 2012 12:22 am Post subject: authenticating with peap-mschapv2 on cabled net |
|
|
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 |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sat Sep 01, 2012 12:39 am Post subject: |
|
|
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 |
|
|
siguru1 n00b
Joined: 31 Aug 2012 Posts: 11
|
Posted: Sat Sep 01, 2012 7:40 pm Post subject: |
|
|
thanks |
|
Back to top |
|
|
siguru1 n00b
Joined: 31 Aug 2012 Posts: 11
|
Posted: Sat Sep 01, 2012 10:11 pm Post subject: |
|
|
it worked like a charm
/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 & |
|
|
Back to top |
|
|
|