Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Wifi access using VPN client or 802.1x client

    Reply
    TVD | # 1 | 2006-02-02, 12:03 | Report

    How can I connect to internet with my 770 on my university using a VPN client or a 802.1x client? On a windows laptop you need to install a Cisco VPN client or a 802.1x SecureW2 client, the last one is prefered.

    On Maemo.org I found VPNC client and OpenVPN, you need to make some config file for the last one with the following information:

    remote 192.168.1.2
    dev tun
    ifconfig 10.8.0.2 10.8.0.1
    secret static.key

    But the only information I have to fill in on a windows machine is my loginname and password and then it works

    Can somebody explain which program I should use and how on the 770, if there is any?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    henry | # 2 | 2006-02-02, 12:21 | Report

    I think openvpn (as client) is only able to connect to an openvpn server. So unless your university is running one, I doubt you can build a vpn connection with it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Gourmet | # 3 | 2006-02-02, 13:25 | Report

    Originally Posted by TVD
    How can I connect to internet with my 770 on my university using a VPN client or a 802.1x client? On a windows laptop you need to install a Cisco VPN client or a 802.1x SecureW2 client, the last one is prefered.

    [...]

    But the only information I have to fill in on a windows machine is my loginname and password and then it works
    Of course, you laptop is preconfigured. Have you to configure it you would not be able to : you need a certificate (or a shared secret) as well as a bunch of Ip addresses and netmasks.
    Cisco VPN implements IPSEC (or LEAP) as VPN system. I say system because IPSEC is far more than a simple protocol.
    As always in order to establish a comm between a client and a server you need common rules (protocols, exchanges rules, etc). On the opposite way if you have already the rules and want to use them you need both sides that understand them.
    There are very many softwares capable of IPSEC today : Cisco, 3Com, Nortel, Huwaï equipments, MS-windows, Checkpoint software, NAI Raptor, etc as well as OpenSWan, racoon, ISAKMP in the world of open-source softwares. And, in general there are all able to establsih comm between each others being client or server.
    But ... up to now, no IPSEC client (openswan for example) is ported to N770. Not very complicated (the essential parts are now in the 2.6 kernel) but it has to be done !
    For now you have only vpnc and openvpn. openvpn is an excellent software but only able to talk with himself.
    Surely it's not the case of your university.

    db

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dirk | # 4 | 2006-02-05, 21:12 | Report

    Being from NL myself and also wanting to use the 770 at my University (TU Delft), I asked about this on the mailing lists. It seems Nokia has not implemented EAP-TTLS yet. But they asked to be emailed if people needed it, so please do! (See first link to mailing list)
    For the time being you can use the cisco vpn client:
    maemo: vpnc - client for cisco3000 VPN Concentrator
    I have just updated the howto to include a menu shortcut:
    Maemo wiki: VPNC

    see here for more info from the mailing lists:
    maemo-users: wpa+ttls
    maemo-developers : wavemon...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dirk | # 5 | 2006-02-06, 10:37 | Report

    To automatically connect after the connection manager has gotten a dhcp address:

    in file : /etc/udhcpcd/udhcpcd.script

    on line 34 before "dbus...CONNECTED"
    and after "deconfig)" en "notresponding)":
    add the lines:
    ----------------
    # custom script:
    /var/lib/install/usr/bin/after-connect-dhcp.sh $1
    ----------------


    add the script: /var/lib/install/usr/bin/after-connect-dhcp.sh
    ----------------
    #/bin/sh

    UDHCP_STATE="$1"
    ESSID_CHECK="Wnet1"

    if [ Xrenew = X$UDHCP_STATE -o Xbound = X$UDHCP_STATE ];
    then
    # Check if I am at the TU Delft:
    if [ x$ESSID_CHECK = x`iwconfig wlan0 | head -n 1 | cut -f2 -d\"` ];
    then
    if [ xrenew = x$UDHCP_STATE ];
    then
    # first stop vpn maybe?
    true
    fi
    # start vpn
    LD_LIBRARY_PATH=/var/lib/install/usr/lib \
    /var/lib/install/usr/sbin/vpnc-connect tudelft
    fi
    elif [ Xdeconfig = X$UDHCP_STATE -o Xnotresponding = X$UDHCP_STATE ];
    then
    # Check if vpn needs disconnecting:
    ifconfig tun0 >/dev/null 2>/dev/null
    [ x$? = x0 ] && /var/lib/install/usr/sbin/vpnc-disconnect
    fi

    exit
    ----------------

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Gourmet | # 6 | 2006-02-06, 11:22 | Report

    Fine !
    I'll check it as soon as possible.

    Thks

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout