Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Wifi connection to wpa2 ttls pap network

    Reply
    Page 1 of 2 | 1   2   | Next
    flyapen | # 1 | 2013-12-17, 07:52 | Report

    Hi everyone,

    I'm new on this forum, just changed from my trusty android phone to a brand new jolla phone. I have a small question regarding wifi.

    Has anyone been able to connect to a wpa2 network with ttls and pap security? I can connect to my home wifi network without any issues but when I try to connect to the wifi network at work I immediately get the message "Sorry. Could not connect to the selected network.".

    Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    taixzo | # 2 | 2013-12-17, 08:04 | Report

    I also have this issue, trying to connect to wpa2 with ttls and mschapv2, using Sailfish on an N9, gives me the same message.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jsiren | # 3 | 2013-12-17, 08:34 | Report

    Same thing with the eduroam network at UEF. https://www.eduroam.org/

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flyapen | # 4 | 2013-12-17, 08:38 | Report

    Originally Posted by jsiren View Post
    Same thing with the eduroam network at UEF. https://www.eduroam.org/
    I'm trying eduroam as well at work.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Raim | # 5 | 2013-12-17, 17:49 | Report

    Same for me with eduroam and also other local WLAN network at the university. There are no new log entries in wpa_supplicant.log when I try it. journalctl does not give much either. Only related entry could be this:

    Code:
    Dec 17 18:47:22 localhost alien_bridge_se[1339]: WifiModel::updateServiceList

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Stuarty | # 6 | 2013-12-18, 11:02 | Report

    The installed packages include wpa_supplicant-2.0-1.2.1.armv7hl
    The Freien Universität Berlin has a page on linux with eduroam. There's a sample eduroam-wireless.conf and instructions. I think I know how to edit the sample .conf for my own university but I don't know how to run wpa_supplicant so that it connects, stays connected through restarts or leaving and then returning to an area served by the network. And I don't know what effect this will have on the battery.

    Basically I feel like I have the jigsaw pieces but don't know how to put them together.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jsiren | # 7 | 2013-12-18, 12:20 | Report

    wpa_supplicant is running anyway, it's what enables you to connect to WLAN at all.

    I edited wpa_supplicant.conf and added this section:

    network={
    ssid="eduroam"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="username@domain"
    ca_cert="/etc/pki/tls/certs/ca-bundle.crt"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
    priority=2
    }

    I haven't tested this in eduroam yet. Restarting wpa_supplicant didn't produce any new errors, and I was still able to connect to my existing WLAN (whew, because while fingerterm is good, nothing beats a full size keyboard and a large screen (or two) for serious admin work). I'll see what happens once I get back to UEF.

    Replace username@domain with your username and the domain of your university as per eduroam's instructions.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gaelic | # 8 | 2013-12-18, 13:49 | Report

    Originally Posted by jsiren View Post
    wpa_supplicant is running anyway, it's what enables you to connect to WLAN at all.

    I edited wpa_supplicant.conf and added this section:

    network={
    ssid="eduroam"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="username@domain"
    ca_cert="/etc/pki/tls/certs/ca-bundle.crt"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
    priority=2
    }

    I haven't tested this in eduroam yet. Restarting wpa_supplicant didn't produce any new errors, and I was still able to connect to my existing WLAN (whew, because while fingerterm is good, nothing beats a full size keyboard and a large screen (or two) for serious admin work). I'll see what happens once I get back to UEF.

    Replace username@domain with your username and the domain of your university as per eduroam's instructions.
    I've tested that already this morning. Not working in my case as (i guess) wpa_supplicant.conf is ignored or overwritten by connection manager.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to gaelic For This Useful Post:
    jsiren

     
    jsiren | # 9 | 2013-12-18, 14:30 | Report

    Originally Posted by gaelic View Post
    I've tested that already this morning. Not working in my case as (i guess) wpa_supplicant.conf is ignored or overwritten by connection manager.
    So it seems. Also, libeap doesn't seem to be installed by default, although it does exist in the repository. connmanctl is also missing.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gaelic | # 10 | 2013-12-23, 10:04 | Report

    have a look at this:

    http://talk.maemo.org/showpost.php?p...postcount=2186

    it worked for me & eduroam:

    a) activate devel-mode
    b) use the terminal on the device or ssh to the device
    c) install vim or any other text editor
    d) vim /var/lib/connman/wifi_eduroam.config

    Code:
    [service_eduroam]
    Type=wifi
    Name=eduroam
    EAP=peap
    CACertFile=/etc/ssl/certs/ca-bundle.crt
    Phase2=MSCHAPV2
    Identity=user@domain
    Passphrase=yoursecret
    e) turn on/off wlan (or reboot phone)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to gaelic For This Useful Post:
    Lirion, richhanz, zlatko

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout