maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   how to connect eduroam on n900 (https://talk.maemo.org/showthread.php?t=54238)

archimonde 2010-05-28 12:58

how to connect eduroam on n900
 
Hi,

i want to connect eduroam. But i cant.

my university's eduroam connection ssid name is eduroam. When i trying to connect eduroam, asks WEP key. So i go to the settings->internet connections, then connections. i selected new, and next,next. it asks scan for available wi-fi networks. i selected yes. then i selected eduroam. it asks wep key. i entered qwert. And finished.

After that, i selected which i recently created and clicked edit. i clicked next and here is security method. i turned it WEP to WPA with EAP.

and i made other settings.

But still when i trying to connect eduroam it asks WEP password. Why it doesnt use settings?

i wish i could tell my problem.

thanks.

aeon 2010-05-28 13:25

Re: how to connect eduroam on n900
 
I have eduroam working in my N900. My settings are:

SSID: eduroam

Network mode: Infrastructure
Security method: WPA with EAP

EAP type: PEAP

Select Certificate: None
EAP method: EAP MSCHAPv2

User name: ...@...

Now, very important, go to Advanced -> EAP tab

Use manual user name: checked
Manual user name: ...@... (same as User name)

archimonde 2010-05-28 14:50

Re: how to connect eduroam on n900
 
Ok, i setup this settings.

but when i trying to connect it asks WEP password.

but i set up settings about this ssid.

hydr0g3n 2010-05-28 14:53

Re: how to connect eduroam on n900
 
I tried exactly the same settings as you but it does not work here.

Even though I configure it properly in "Settings > Connections", whenever I select the "eduroam" network in the connection manager its asks again for the settings...

PradaBrada 2010-05-28 15:00

Re: how to connect eduroam on n900
 
same problem here

I asked the tech support guy at my uni and he said the phone needs EAP method: PAP, which isn't selectable lol

I did find a method somewhere on the web which activates it via the terminal, but cba to find it again and try

aeon 2010-05-28 15:19

Re: how to connect eduroam on n900
 
For me the problem was in the advanced settings. But i think different universities use different eduroam configurations.
You must check what is the configuration for your University, for mine it's described here

Also i didn't try PR1.2, only the previous one.

tripmckay 2010-05-28 15:31

Re: how to connect eduroam on n900
 
You might want to look into this bug report: https://bugs.maemo.org/show_bug.cgi?id=1635

Specifically for PR1.2 Janne Ylälehto from Nokia has written a small Qt app which enables the "hidden" PAP support: https://bugs.maemo.org/show_bug.cgi?id=1635#c107

hydr0g3n 2010-05-28 20:58

Re: how to connect eduroam on n900
 
aeon > My University is actually using the same settings as yours (WPA - PEAP - MSChap v2). Before reading your post, I did not think of activating manual username setting. However, enabling it and inputing the correct username does not help here.

One difference is that I'm using PR 1.2 already.

magdesh 2010-06-15 17:54

Re: how to connect eduroam on n900
 
Quote:

Originally Posted by aeon (Post 685619)
I have eduroam working in my N900. My settings are:

SSID: eduroam

Network mode: Infrastructure
Security method: WPA with EAP

EAP type: PEAP

Select Certificate: None
EAP method: EAP MSCHAPv2

User name: ...@...

Now, very important, go to Advanced -> EAP tab

Use manual user name: checked
Manual user name: ...@... (same as User name)

it works! you have to go to settings -> internet connections, and then create a profile there for the network name. Remember, the name must be exactly the same!

extechop 2010-08-23 12:41

Re: how to connect eduroam on n900
 
Sorry, I don't think I can help you with the specifics of your problem, but here's a dump of the settings I have for working eduroam in my "Internet connections":

Connection name: Eduroam
Connection type: WLAN
Network name (SSID): eduroam
Network is hidden: [ ]
Network mode: Infrastructure
Security method: WPA with EAP
EAP type: PEAP
Select certificate: None
EAP method: EAP MSCHAPv2
Username: (my username with domain)
Password: (my password)
Prompt password at every login: [ ]
Advanced/EAP
Use manual user name: [×]
Manual user name: (my username with domain)
Require client authentication: [ ]

The one problem with this setup I have is that the "use manual user name" bit is really needed for it to work, but it means that the N900 never automatically connects to Eduroam, you have to manually connect. And if you drop out of WLAN range or something, you'll get switched back to phone network until you again manually connect. It'd be cool if someone who understood EAP could eliminate this problem, is it a "feature" of the N900 implementation?

Edit: found out that the non-connectivity is Bug 3399

substance33 2010-08-24 15:47

Re: how to connect eduroam on n900
 
I don't know if it helps, but I will share my experiences with eduroam on PR 1.2. My institution uses WPA with EAP(TTLS) with inner PAP authentication and needs a GTE certificate.
You need to enable TTLS/PAP by downloading WLAN Tool from http://talk.maemo.org/showpost.php?p...1&postcount=13 and then enable the setting through the tools interface and reboot.
If a certificate is need download it and install it on the device.
Next comes setting up the connection. This has to be done manually, my setting are dumped below. There are a few things that confused me, firstly you can not select the appropriate certificate from the dropdown box, but this does not matter as the correct one is automatically selected. Secondly in the advanced settings section I had to supply the EAP username which is not yours but a anonymous identity.

Connection name: Eduroam
Connection type: WLAN
Network name (SSID): eduroam
Network is hidden: [ ]
Network mode: Infrastructure
Security method: WPA with EAP
EAP type: TTLS
Select certificate: None
EAP method: EAP PAP
Username: (user@domain)
Password: (password)
Prompt password at every login: [ ]
Advanced/EAP
Use manual user name: [×]
Manual user name: (anonymous@domain)

PradaBrada and others, I hope this helps. I would find out exactly what authentication protocols your institution uses and the anonymous username if needed. Oh and yes the non-connectivity bug is very annoying.

ionitacornell 2010-09-13 14:36

Re: how to connect eduroam on n900
 
Hy substance33,

I've used the exact same settings, I am sure that the University of Groningen is using TTLS-PAP security, I've activated it using the WLAN tool, I've installed the certificate they provide for linux platforms, available here http://www.rug.nl/rechten/faculteit/...nux_man_wpasup , but when I select to connect to eduroam over here, it still asks for the WEP key. I don't know exactly the anonymous username required. I've tried "anonymous", "anonymous@rug.nl" and "anonymous@student.rug.nl".

Here is the wpa_supplicant.conf file they are using for linux:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

update_config=1
eapol_version=1
fast_reauth=1

network={
ssid="RuG-FN2"
scan_ssid=0
mode=0
eapol_flags=3
id_str="rug"
key_mgmt=IEEE8021X
auth_alg=OPEN
eap=TTLS
identity="p<number>@staff.rug.nl" (or s<number>@student.rug.nl)
anonymous_identity="anonymous"
password="<password>"
ca_cert="/etc/certs/ca.pem"
phase2="auth=PAP"
}

RuG_FN2 and eduroam are the same thing.
Could you help me with this? Thank you!

ionitacornell 2010-09-13 15:07

Re: how to connect eduroam on n900
 
Also, i have tried to connect directly to the saved connection through the dbus-send --print-reply --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"86ca9d79-120d-496f-9d42-e239e5c7f430" uint32:0 code, of course after I found the IAP with gconftool --all-dirs /system/osso/connectivity/IAP and it says
Error com.nokia.icd.error.iap_not_available: Failed to establish requested IAP

Hope to solve it soon...:(

ionitacornell 2010-09-13 15:26

Re: how to connect eduroam on n900
 
And of course, if anyone else can help me, I am happy to try anything...
Btw, I am sure that I copied the IAP correctly.

substance33 2010-09-14 10:42

Re: how to connect eduroam on n900
 
Hmm,
It sounds like a problem with wpa_supplicant.conf or it may be this bug. Are there any messages in the log?
Also have you created a profile with the wizard? If so can you dump the variables in a post.

About the anonymous username .etc, this is only for Eduroam not RUG NET (I think), it looks like they employ different settings.

ionitacornell 2010-09-14 12:51

Re: how to connect eduroam on n900
 
These are the settings from the profile I created with the wizzard?
Connection name: eduroam
Connection type: WLAN
SSID: eduroam
Network is hidden [ ]
Network mode: Infrastructure
Security method: WPA with EAP
EAP type: TTLS
Select certificate: None
EAP method: EAP PAP
Username: s205****@student.rug.nl
Password: ************
Prompt password at every login: [ ]
Advanced:> EAP> Use manual user name: [x]
Manual user name: anonymous

Also tried Use manual user name: [x]
Manual user name: anonymous@student.rug.nl ; anonymous@rug.nl; s205*****@student.rug.nl ;

Also tried Use manual user name: [ ]
Manual user name: _______________

I couldn't connect dirrectly through the terminal, see previous post.
When I tap the status bar> Internetion connection> eduroam, it just asks for a WEP key.
It's not the bug you mentioned.

I've just asked the guy from IT Service and he said that the WEP layer is an extra-protection layer. Windows computers need extra-software to be able to access the network, Apple computers can be configured without any software and Linux needs the wpa_supplicant.conf which I listed in a post above.

I had previously installed Auto-Disconnect and WiFi Switcher, but I uninstalled both of them... Still not able to connect.
I would try the following: reset the WLAN adapter (I am noob, so don't know what code to use in the X-Terminal, couldn't find it on the web).
Also I am now trying to find a way to bypass the first WEP layer so the phone goes directly to the second WPA layer.

Another thing I tried, but with no success:
Actually created wpa_supplicant folder in /etc and copied the wpa_supplicant.conf to the folder. Did this by running gpe-filemanager in x-terminal with rootsh: rootsh gpe-filemanager.
I even installed the linux certificate ca.pem they provide on the website. No difference.

Any opinions?
Thank you!
I still cannot connect

ionitacornell 2010-09-14 13:29

Re: how to connect eduroam on n900
 
Only found some ways to crack a WEP network, a bit difficult, haven't tried... There is no WEP key for accesing the network, so it would be no use...

Furthermore, I used gconftool -R /system/osso/connectivity/IAP
to find the IAP and try again to connect directly. It displays the configuration details of the saved connection. And instead of "EAP_PAP_username" it displays "EAP_MSCHAPV2_username". This is truly strange. Again, in the settings wizard it is configured as WPA with EAP, TTLS, EAP PAP.
Any ideas?

ionitacornell 2010-09-14 13:47

Re: how to connect eduroam on n900
 
Furthermore, when I try to connect to any saved connections, through dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"[ANY]" uint32:0
, it says that "No saved connections available".

I'm completely out of ideas... :(

singpolyma 2010-11-24 00:52

Re: how to connect eduroam on n900
 
Quote:

Originally Posted by aeon (Post 685619)
Now, very important, go to Advanced -> EAP tab

Use manual user name: checked
Manual user name: ...@... (same as User name)

I just did this for eduroam at my University, and it worked! Does anyone know what "manual user name" means? How is this different from the username manually entered in the other place?

Henque19 2010-11-30 13:06

Re: how to connect eduroam on n900
 
I have eduroam working, but it won't autoconnect.
While searching this problem, I found this.

Can anyone with more compiling-skills please compile this? I don't know if it will help, but worth a try I reckon...

Thanks

Renkon 2010-12-02 22:26

Re: how to connect eduroam on n900
 
Quote:

Originally Posted by singpolyma (Post 881669)
I just did this for eduroam at my University, and it worked! Does anyone know what "manual user name" means? How is this different from the username manually entered in the other place?

Eduroam includes an anonymous outer identity. For all non encrypted messages OTA this will be used to conceil your true identity from eavesdroppers (which could try to bruteforce your password if they'd know your username).

raily 2010-12-04 08:54

Re: how to connect eduroam on n900
 
works as described in post #1 here at TU Dresden using EAP method "EAP-MSCHAPv2".

EDIT: autoconnect bug still present :(

Henque19 2010-12-07 11:29

Re: how to connect eduroam on n900
 
Quote:

Originally Posted by raily (Post 888947)
works as described in post #1 here at TU Dresden using EAP method "EAP-MSCHAPv2".

EDIT: autoconnect bug still present :(

No, no.. It's a feature, not a bug (according to Nokia anyway...). ;)


All times are GMT. The time now is 04:01.

vBulletin® Version 3.8.8