Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] XpressConnect Installation

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
hex9
Posts: 15
Joined: 2013-03-28 14:47

Re: XpressConnect Installation

#21 Post by hex9 »

I'll attempt that on monday and let you know of my results

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: XpressConnect Installation

#22 Post by llivv »

verahill
I'm aware of how many things could be going wrong with the use of the script,
but being half way around the world from the schools lan
there is not way I'm going to get a signal here to test with :lol:
the reason I posted the authentication issue
was that I believe that is all the OP is going to need to inform the schools IT about
when the OP talks to them.
Who knows, some sites make the user call support anyways just
as a direct verification.

hex9
I think you are doing a great job of debugging your issue.
Let's keep our fingers crossed
that you will have enough data for your schools IT department
so they wouldn't have to bark at you
and tell you
you can only use their script with ubuntu.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
verahill
Posts: 332
Joined: 2012-05-29 07:03
Location: Australia

Re: XpressConnect Installation

#23 Post by verahill »

llivv,
You don't need access to the OPs campus lan to test this (I'm half a city away) since the errors occur well before even attempting to look for a signal -- have a look at it, since you might have better ideas than I have.

The step the script fails at is getting information about the NICs from network-manager under debian and arch, but not ubuntu. dbus may be involved too.

To see what happens, try

Code: Select all

cd ~/Downloads
wget http://hosted.cloudpath.net/Xavier/Production/tools/XpressConnect-Linux.tar
tar xvf XpressConnect-Linux.tar
./XpressConnect-DoubleClickToRun 
The XpressConnect-DoubleClickToRun file is nothing more than a shell script which determines whether the machine is 32 or 64 bit, and then downloads a tar file in /tmp. The main content of the tar file is a precompiled and dynamically linked* binary, XpressConnect-x64,suitable for the architecture of the machine (i.e. 32 or 64 bit).

The XpressConnect-DoubleClickToRun shell script will launch the XpressConnect-x64 binary in /tmp, but once it's downloaded you can also launch it directly (/tmp gets cleaned out between reboots though). On running, it generates a log file in /tmp, xpressconnect.log -- and if successful, a netdata.txt file with information about the wireless device is also generated. I won't repost the out since it's found in previous posts.

That's why the authentication failure message isn't relevant (it's simple the last item in a list over all the error message that MAY be returned -- the same list is echoed in the expressconnect.log) -- the issue with xpressconnect is at the NIC discovery stage. I've had no issues with ubuntu in a VM in spite of there being no network to connect to.

Again, the issue is that ubuntu returns

Code: Select all

Checking hardware information.
Looking for extra NIC data.
Found driver name for 'wlan0' from DBus.
and generates a netdata.txt file while debian returns

Code: Select all

Checking hardware information.
Looking for extra NIC data.
Network manager didn't return any NIC details.  Skipping.  (Interface : eth0)
Network manager didn't return any NIC details.  Skipping.  (Interface : wlan0)
Attempting to release lock.
Release processing lock.
I hope the OP can connect to eduroam at Swinburne by manually configuring the network in network manager -- XpressConnect should only create a network-manager configuration file and little more if I understand it correctly.

HOWEVER, given that a lot of universities in the US and Oz are using XpressConnect (try googling for xpressconnect site:*.edu' -- and up till a few days ago I'd never heard of it before) -- I don't think it's entirely irrelevant trying to figure out why it works on ubuntu and not debian or arch (have yet to try the red hat clones).

Ultimately the onus is 1) the unis that pick a technology that's broken and 2) Cloudpath networks for releasing a broken binary.

*The ldd output between 32 bit ubuntu and 64 bit debian is a little bit different

Code: Select all

cat ubuntu_xpress/ldd.log 
	linux-gate.so.1 =>  (0x006a3000)
	libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x007b3000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00c8b000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x008b8000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00da4000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00225000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00480000)
	libz.so.1 => /lib/libz.so.1 (0x00110000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00125000)
	librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00665000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x006f2000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00ac3000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x002d8000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00129000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002fe000)
	libexpat.so.1 => /lib/libexpat.so.1 (0x00148000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00a12000)
	/lib/ld-linux.so.2 (0x00637000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00c7a000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0096f000)

Code: Select all

cat debian_xpressconnect/ldd.log 
	linux-vdso.so.1 =>  (0x00007fff50dfb000)
	libdbus-1.so.3 => /lib/libdbus-1.so.3 (0x00007f2bbb807000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f2bbb5fd000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f2bbb3c7000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f2bbb13f000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f2bbaf2d000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f2bbabf1000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f2bba9da000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f2bba7d6000)
	librt.so.1 => /lib/librt.so.1 (0x00007f2bba5cd000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2bba3b1000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f2bba09d000)
	libm.so.6 => /lib/libm.so.6 (0x00007f2bb9e1a000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2bb9c04000)
	libc.so.6 => /lib/libc.so.6 (0x00007f2bb98a2000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f2bb9679000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f2bb945d000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2bbba58000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f2bb9259000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f2bb9054000)
Edit: Going through the logs again there's another major difference:
Ubuntu

Code: Select all

Looking for id : 266
Looking for id : 259
Setting start page.
Moving to widget 0.
Loading configuration page.
Starting configuration parse thread.
Acquire processing lock.
Building NIC data.
Starting configuration parser.
Validating checksum.
Checking license.
License validation checked out properly.
Today is : 04/19/2013
License expires : 
The date validation checked out properly.
Checking for valid networks for this platform.
Only one network configuration found.  Auto-selecting it.
Auto-selected network 'swinwifi'.
Interface : /org/freedesktop/NetworkManager/Devices/0 is in state 8
Interface : /org/freedesktop/NetworkManager/Devices/1 is in state 3
There were no interfaces found that could be autodetected for use.  Checking that there are interfaces of the correct type available.
Found 1 possible interface(s).
Selected interface with object path of /org/freedesktop/NetworkManager/Devices/1
Int type : 2

Set profile index : 11

Going to page 3
Config parser terminated.
Set 'static' window labels.
Debian:

Code: Select all

Looking for id : 266
Looking for id : 259
Setting start page.
Moving to widget 0.
Loading configuration page.
Starting configuration parse thread.
Starting configuration parser.
Acquire processing lock.
Building NIC data.
Unable to get NIC data list.
(note that there's no wifi around that's called swinwifi)
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: XpressConnect Installation

#24 Post by llivv »

I ran the script to get the GUI up and have a look
but I forgot to mention preivously
I don't use wireless.
All my radios are turned "off"
except that damned cell. grrrrr
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
verahill
Posts: 332
Joined: 2012-05-29 07:03
Location: Australia

Re: XpressConnect Installation

#25 Post by verahill »

Edit: I set up network-manager to test it and it still doesn't work.

The only progress is that we now know that you need to install lshw to get the netdata.txt file properly generated. The script also uses iwlist which is in /sbin

Code: Select all

sudo apt-get install lshw
export PATH=$PATH:/sbin
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.

hex9
Posts: 15
Joined: 2013-03-28 14:47

Re: XpressConnect Installation

#26 Post by hex9 »

I've just tested it serveral times, the network keeps asking me for a certificate, upon selecting ignoreit attempts to connect but fails and returns me to the log in screen. Is there a way to manually download the certificate and install it?

hex9
Posts: 15
Joined: 2013-03-28 14:47

Re: XpressConnect Installation

#27 Post by hex9 »

ignore that previous post, i put my email in wrong :lol:

its working fine, thank you so much for all your help verahill and all others!

User avatar
verahill
Posts: 332
Joined: 2012-05-29 07:03
Location: Australia

Re: XpressConnect Installation

#28 Post by verahill »

Edit: fixed XpressConnect now. strace showed that XpressConnect checks for /etc/lsb-release which is a file that doesn't exist on debian. If you copy the /etc/lsb-release file from ubuntu XpressConnect works without issues on Debian. Editing the file to replace all instances of 'ubuntu' with 'debian' breaks it.

Original post:
Googled and couldn't find the CA cert for download.
Someone had similar issues in 2008, before XpressConnect:
https://bbs.archlinux.org/viewtopic.php?id=53375
http://forums.whirlpool.net.au/archive/935800

Don't forget that you still have a few more avenues to try:
1. try the java applet: http://www.its.swin.edu.au/wifi/eduroam ... pplet.html
2. contact IT support.
3. get the CA cert via ubuntu (which should be unnecessary)

I've just tried 1 for you as well, and it doesn't work.

2 is your responsibility and I hope you've already initiated that. Give them the URL to this thread and to this post to show that you've done enough troubleshooting already to deserve a bit of help:http://verahill.blogspot.com.au/2013/04 ... tu-vs.html

I've also done 3 for you. The settings are
Security: WPA & WPA2 Enterprise
Authentication: Tunneled TLS
Anonymous identity: anonymous
CA certificate: swinwifi.der
Inner authentication: PAP
Username: ***@swinburne.edu
Pasword: ******

I can't post swinwifi.der (binary), but swinwifi.pem is below. I generated a .der file using

Code: Select all

openssl x509 -in swinwifi.pem -out test.der -outform DER
and compared the md5sum with that of the one ubuntu downloaded. They're the same.

Here's swinwifi.pem (note that you as a rule should NEVER trust certificates that are provided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kgb2YgVGVjaG5v
bG9neTEMMAoGA1UECxMDSVRTMR4wHAYDVQQDExVyYWRpdXMuY2Muc3dpbi5lZHUu
YXUxIzAhBgkqhkiG9w0BCQEWFG5ldHdvcmtzQHN3aW4uZWR1LmF1ggEAMAwGA1Ud
EwQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEASFZ/5oRvTpgs0yQmdXxczUvJhUam
5KTP8MAb8owh1v65VkBFXLdJ27THEDt0SX3ZzwlYIvKcVMoiJcXjE6uLgZPI4AZv
7ogHIU5TOvQsYXWNeCqQMqOTnZtVQPvZmOcHcM1aqiBCAVX3YhIU1S04SccYdKBA
PaggsSjsagqoZvA=
-----END CERTIFICATE-----
Last edited by verahill on 2013-04-22 00:18, edited 1 time in total.
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.

User avatar
verahill
Posts: 332
Joined: 2012-05-29 07:03
Location: Australia

Re: XpressConnect Installation

#29 Post by verahill »

Glad to hear it's working!

Do the following now:
1. Write a last post in this thread detailing EXACTLY (step by step) what you did so that other people in the same situation can follow your instructions.
2. Edit the title of your first post and change it from "XpressConnect Installation" to "[Solved] XpressConnect Installation"
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.

hex9
Posts: 15
Joined: 2013-03-28 14:47

Re: XpressConnect Installation

#30 Post by hex9 »

Its pretty simple to install. Simply attempt to connect to eduroam and input the following data:

Security: WPA&WPA2Enterprise
Authentication: Protected EAP (PEAP)
Anon. Identity:
CA Certificate: (none)
PEAP version: Automatic
Inner Authentication: MSCHAPv2
Username: myuser@swin.edu.au
Password: mypasswordatswinburne

It will ask for a certificate but you can ignore this.

This should work with all unis etc using XpressConnect, just input you uni user/pass

hex9
Posts: 15
Joined: 2013-03-28 14:47

Re: [UnSolved] XpressConnect Installation

#31 Post by hex9 »

Ok, sorry guys. I have to open this thread again.

I keep getting kicked off the network and eventually got locked out. Now my method of logging in will not work.

I've attempted the ubuntu install after creating the /etc/lsb-release and inputting the following text:

Code: Select all

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
It fails to find the gnome-keyring but after installing it and adding it to my autostart it still hangs

From using Xpressconnect is states :

XpressConnect was unable to configure Network Manager with the required network settings. Please verify that Network Manager is running correctly. Error The keyring is unavaliabe. Please reboot your machine and run the wizard again.

I am also using python-gnomekeyring but im using openbox

User avatar
verahill
Posts: 332
Joined: 2012-05-29 07:03
Location: Australia

Re: [Solved] XpressConnect Installation

#32 Post by verahill »

The quickest solution is to contact IT and ask them what settings you should use to connect to eduroam at Swinburne.

If you want to troubleshoot, consider the following:

Does it work under gnome? Even though you might presently not be interested in using gnome installing it might be necessary to figure out what is causing your issues.

I presume that you have made sure that nm-applet is indeed running?

Anything in dmesg that points towards e.g. missing firmware for your wireless device?

What DM are you using? (e.g. xdm, kdm, gdm)

If this is openbox + gnome-keyring specific, it should probably be a new thread since it has little to do with the installation of xpressconnect.

There's no shortage of posts regarding gnome-keyring and openbox, e.g.
https://bbs.archlinux.org/viewtopic.php?pid=524063
http://ubuntuforums.org/showthread.php?t=2065461

I've had issues with xmonad and gnome-keyring in the past, and ultimately gave up.
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.

Post Reply