Ubuntu Demon\’s blog

October 18, 2006

Problems connecting to wireless university network (PEAP,WEP)

Filed under: Uncategorized — ubuntudemon @ 8:36 am

The network uses a 128 bit ascii WEP key of 26 numbers you can choose for yourself. For example :
“12345678901234567890123456”

It uses PEAP authentication using my university username and password.

Some other things I know :
-MSCHAPV2
-802.11x authentication

I suspect network-manager isn’t able to handle this type of network yet.

The university isn’t very helpful. I will write an HOWTO when I have figured this out. I’m not going to stop complaining to the university until they link to my HOWTO or provide the information themselves.

This is my first laptop so I’m quite new to wireless networking. I could use some help🙂. You can find a bit more information in this forum thread.

17 Comments »

  1. Now, it doesn’t yet! MSCHAPv2/PEAP means this is two-phase authentication. I’ve asked about similar Uni network on networkmanager-list last week. Core changes for 2phase auth are in NM CVS, but GUI bits are missing.
    It’s sad, because working wpa_supplicant is only 5 or 6 lines long.

    Comment by zdzichu — October 18, 2006 @ 9:11 am

  2. Ah, you need to enter the “wonderful” world of wpa_supplicant. Good luck with that! If I’m more awake later today, I’ll send you a config excerpt that should work

    Comment by Dennis K. — October 18, 2006 @ 9:13 am

  3. Thanks guys!

    Comment by ubuntudemon — October 18, 2006 @ 9:29 am

  4. This is the suggestion by Dennis. I’m going to try it out today and I will keep you updated. Thanks Dennis!

    interfaces :

    iface eth1 inet dhcp
    wpa-driver wext #you might need to replace this
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    

    wpa_supplicant.conf :

    network={
    ssid="MAASnet"
    key_mgmt=NONE
    auth_alg=OPEN
    wep_key0=12345678901234567890123456
    eap=PEAP
    phase2="auth=MSCHAPV2"
    identity="username"
    password="password"
    }
    

    Comment by ubuntudemon — October 18, 2006 @ 10:23 am

  5. “I’m not going to stop complaining to the university”

    Excuse me? All that the university cares about is their security. You come along with an operating system that sucks and then complain too? Do you have any idea how happy the people are, for whom the connection works out of the box?

    For the record, my university uses the same authentication as yours. And it “just works” on Windows and Mac machines.

    Comment by anonymous — October 18, 2006 @ 11:44 am

  6. I was just going to suggest you check out this awesome HOWTO on the forums [1] but it looks like you’ve already got the same info it has. Maybe you can use it to see if others are having problems if it doesn’t work.🙂

    [1] http://ubuntuforums.org/showthread.php?p=1455704#post1455704

    Comment by Amaranth — October 18, 2006 @ 11:44 am

  7. Re: anonymous

    Sure, but this isn’t Windows or Mac; this is Ubuntu.🙂 Some of us value our freedom.

    Comment by Amaranth — October 18, 2006 @ 11:46 am

  8. You might find the following site useful. We have basically the same setup at my university, so we have gone through these problems too. Unfortunately its kind of unstable on the uni network, but windows and macos suffer the same instability.

    http://www.morlug.org/index.php/WVU_Wireless

    Comment by Scott Henson — October 18, 2006 @ 1:20 pm

  9. thanks guys!

    Problems connecting to wireless university network (PEAP,WEP)
    http://www.ubuntuforums.org/showthread.php?t=278603

    my latest post :
    http://www.ubuntuforums.org/showpost.php?p=1635377&postcount=13

    Some things I’m going to try :
    – Maybe this gives a little bit more information :
    $iwlist scanning
    $cat /proc/net/wireless
    -wep_key0=”1234..” vs wep_key0=12345
    -EAP=PEAP vs no line
    -auth_alg=SHARED vs auth_alg=OPEN
    -wpa_supplicant in debugging mode with wext and ipw drivers :

    $sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -ieth1 -Dwext -d
    $sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -ieth1 -Dipw -d

    Comment by ubuntudemon — October 19, 2006 @ 9:18 am

  10. succes!!!!!!!

    network ={
    ssid=”MAASnet”
    key_mgmt=IEEE8021X
    wep_key0=12345…
    phase2=”auth=MSCHAPV2″
    identity=”***”
    password=”***”
    }

    Comment by ubuntudemon — October 19, 2006 @ 11:24 am

  11. I started with Dennis’ configuration. I adapted it with help of /usr/share/doc/wpasupplicant and the debugging mode of wpa_supplicant :
    $sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -ieth1 -Ddrivername -d

    Thanks for all your help everyone!

    Comment by ubuntudemon — October 19, 2006 @ 3:34 pm

  12. On http://wiki.mobbing-gegner.de/AmiloSi1520/Bluetooth?action=edit&editor=text

    i try to figure out these infos. help if you like!

    Thx for the infos. viva opensource🙂

    Comment by macdet — October 21, 2006 @ 8:11 am

  13. to macdet :
    -nice effort!

    -It’s about wifi wireless not about bluetooth
    -The name of my university : University of Maastricht (unimaas)

    -the wpa_supplicant.conf is laptop independent.  /etc/network/interfaces is the place where you specify the driver to be used

    -I will create a wiki page at wiki.ubuntu.com for the unimaas network (MAASnet). You are very welcome to link to it.

    Comment by ubuntudemon — October 21, 2006 @ 9:07 am

  14. I am trying to configure ubuntu for my daughter who is at Edinburgh Uni (UK) and it looks from their sample wpa-supplicant.conf (below) as if they use 2-phase authentication too.

    I have looked at the Network Manager GUI and indeed it does not seem to ask the right questions.

    My question is: if & when I have configured wpa-supplicant.conf successfully manually, will she still be able to use the nice network-manager GUI to select between Home Wired/Home Wireless/Uni Wired & Uni Wireless – believe it or not she will need them all!!

    TIA

    Charles Whittington

    Sample wpa-supplicant.conf form Edinburgh Uni:

    ap_scan=2
    network={
    ssid=”central-wpa”
    auth_alg=OPEN
    key_mgmt=WPA_EAP
    proto=WPA
    pairwise=TKIP
    group=TKIP
    eap=PEAP
    identity=”username”
    password=”password”
    phase1=”peapver=0″
    phase2=”auth=MSCHAPV2″
    eapol_flags=3
    }

    Comment by Charles Whittington — November 2, 2006 @ 9:21 pm

  15. to Charles Whittington :

    First try whether you can connect to the network using network-manager with wpa-enterprise.

    Until network-manager supports these kinds of university networks properly IMHO the easiest solution is to use wpa-supplicant for the university network and network-manager when at home.

    You can disable network-manager (preferences->sessions) and comment relevant interface in the /etc/network/interfaces when at home. When at the university uncomment the relevant interface in /etc/network/interfaces and enable network-manager.

    In the future network-manager will support more types of networks.

    It’s possible to script / program something. But I haven’t looked into that (yet?).

    You can also complain to the university for lack of Linux / Ubuntu wireless guides.

    good luck!

    Comment by ubuntudemon — November 3, 2006 @ 12:49 pm

  16. thx! Give please a chance to develop
    myself🙂

    http://wiki.mobbing-gegner.de/Linux/Netzwerk/Wlan-probleme-connecting-to-wireless-university-network-peapwep?action=edit

    First i collect some Bookmarks. I havent time to write it by my own!

    Comment by macdet — April 17, 2007 @ 6:23 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: