4

I am currently attempting to install Debian on my laptop computer. During the network configuration stage, I am prompted to "enter a passphrase for WPA/WPA2 PSK authentication". Unfortunately, I am on my school's network which requires both a username and a password, with the MS-CHAPv2 authentication protocol. What should I enter at the prompt?

I have an Ubuntu computer which can connect to this network. Here are the contents of /etc/NetworkManager/system-connections/NetworkName:

[ipv6]
method=auto

[connection]
id=NetworkName
uuid=3e728a68-a877-4681-bc0e-1e64b2ff6434
type=802-11-wireless

[802-11-wireless-security]
key-mgmt=wpa-eap
auth-alg=open

[802-11-wireless]
ssid=NetworkName
mode=infrastructure
mac-address=84:A6:C8:A9:67:DA
security=802-11-wireless-security

[802-1x]
eap=ttls;
identity=username
phase2-auth=mschapv2
password-flags=1

[ipv4]
method=auto

Curiously enough, the password I enter to connect to NetworkName doesn't appear anywhere.

EDIT 2: Screenshot of network connection process (in a live-boot Ubuntu) Screenshot

  • Is it possible that you are behind a captive portal at your school? – user86969 May 25 '15 at 19:51
  • @Nasha My experience with captive portals is that you must first open a browser and then connect; that doesn't happen with my network, so I don't think there's a captive portal. – Alessandro Power May 25 '15 at 20:06
  • I suppose, your school is using Eduroam. Is this right? What I'd do is to use another image with proper desktop to install debian. There pretty clear guides on installing debian this way on debian-wiki. Eduroam and such networks, using PEAP-MSCHAPv2 model of authorization, are pretty easy to configure with any distribution using NetworkManager. – Mikhail Krutov May 25 '15 at 20:24
  • @MikhailKrutov Actually Eduroam is a separate network I can connect to, and is reserved for visiting students/academics. – Alessandro Power May 25 '15 at 20:28
  • @AlessandroPower, still I assume that your network is using same authentication model, and IMO non-gui configuration for NetworkManager is a huge pain. Please provide more details on how do you connect & authenticate. – Mikhail Krutov May 25 '15 at 20:32
0

I doubt the live-cd has the full fledged wpa-supplicant package on board. I would suggest putting the bigger cd/usb image so you can install without network. After that you can configure wpa_supplicant with the following config:

network={
    ssid="eduroam"
    proto=RSN
    key_mgmt=WPA-EAP
    eap=TTLS
    identity="yourusername@institute.com"
    password="yourpassword"
    phase2="auth=MSCHAPV2"
}

instead of your password in plaintext you can change the entry with: password=hash:yourhash where yourhash was obtained by running your password through:

echo -n "yourpassword" | iconv -t utf16le | openssl md4

Different institutes have different settings but this usually works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.