Sunday, October 19, 2008

UANA Wireless Certificates available

I think. Connect to UANA-Setup and go through it's suggested steps. At one point, it will start advising that if you're using Windows you should use Internet Explorer to download a certificate. On that page, there is a link for Firefox/Opera/Other users to get the certificate. In Firefox, click the link, and you will be prompted about a certificate. Examine the certificate, which should come up with a window with some tabs. On one of the tabs, there is a button at the bottom called Export, which can be used to save the certificate. Click that, and you'll get a save dialog box. Clicking the Advanced or browse or whatever button will also show the type of file you're saving, which for Ubuntu needs to be an X509 PEM format. Is this the right certificate? Maybe, but I don't have the time today (or this week) to check, so someone else can.

Also, looks like Intel wireless cards iwl4965 & iwl3945 can't connect with Linux to UANA, due to the particular authentication method in use.

Thursday, October 9, 2008

Wireless Access Maps

Map of wireless access at UTas in July 2008's ITR Insight; Sandy Bay on page 5; Newnham on page 6: http://www.utas.edu.au/itr/insight/issues/Insight_Issue3_web0708.pdf

Monday, August 18, 2008

UANA-Setup: Identifying your MAC address on Linux

As part of the UANA-Setup process, you're asked to enter your MAC address. This is the unique identifier for your network hardware.

What is your MAC address? You'll likely have a couple, one for the cable connection and one for wireless.

How do you find the wireless one? Open a terminal (EeePc users click CTRL, ALT and T at the same time, Ubuntu users click Applications > Accessories > Terminal) then type iwconfig and press enter. This will list all the interfaces. The short names on the left are the interface names, and on the right should be whether it's got wireless extensions. If an interface isn't wireless it will appear like this:
eth0 no wireless extensions
If an interface is using wireless, it'll appear like this (followed by more information):
eth1 IEEE 802.11a ESSID:"UANA-Setup"
The above line indicates eth1 is the wireless interface and we're currently connected to UANA-Setup. Now using the interface name for the wireless connection (eth1 in the example above, it could be ath0, eth0, eth1, eth2 or something else) we look up more information by typing:
ifconfig eth1
Replace eth1 with the interface with a wireless connection. It will now display information about that particular interface. You want the MAC address, that's the one prefixed with HWaddr and looks like 31:41:59:26:53:59 (6 pairs of numbers joined by semicolons).
Yay, you have your wireless MAC address.

Thursday, June 12, 2008

Using UANA to update Ubuntu - Ubuntu and Proxy Authentication

UTas runs a firewall that blocks direct access to the Internet, except for a few rare cases (that I don't actually know specifically about). This means that everyone uses a proxy service to access Internet resources, other than UTas resources (eg. UTas email).

When using Ubuntu, a proxy server for Gnome applications is set via System > Preferences > Network Proxy (set to manual; use the same proxy for all protocols; HTTP proxy should be proxy.utas.edu.au with port 8080; click Details and enter UTas username & password) however, at UTas it's a little different from using your ISP's proxy server. The UTas proxy service uses authentication ie. your username and password. This wouldn't be bad, except that it doesn't damn well work in Ubuntu (I'm using versions 7.10 and 8.04).

You may be served fairly well by setting this value, but applications like Synaptic Package Manager don't use the authentication part of the proxy settings, which means Ubuntu won't be updated and Add/Remove Applications won't work.

To fix, open Synaptic Package Manager ( System > Administration > Synaptic Package Manager ). Once it's open, click Settings > Preferences, then Network, then Manual proxy configuration, then enter proxy.utas.edu.au for both the HTTP & FTP proxies, then click Authentication and enter your UTAS username/password. EDIT: 18th August: Set the proxy port to 8080 .

Now Applications > Add/Remove... will work, along with Synaptic Package Manager.

If anyone would like to comment and list the applications that don't work with proxies with authentication, please do.




What happens on a default install of 8.04:
Assuming the Network Proxy is set to proxy.utas.edu.au and port 8080, and correct authentication is entered.
  • Synaptic Package Manager: Clicking Reload results in a "Could not download all repository indexes" window with a 407 Proxy Authentication Required message for each repository index. Fixed as described above.
  • Firefox: On first open, will recognise that authentication is buggered and ask for username and password twice. Once entered, Firefox is fixed, though will re-ask for authentication each time Firefox is re-opened.
  • Sound Juicer: Can't load album information. Silent fail. No workaround.

Thursday, May 29, 2008

UTAS on ASUS eeepc

The _Original_ ASUS eeepc (the one with Linux) doesn't support the UTAS wireless network by default. The network drivers need to be updated, which thankfully has been documented here:

http://wiki.eeeuser.com/wpa_default_xandros

The process requires a few downloads, so it's easier to setup at home first, and then connect later to the UTAS wireless. The wpa_supplicant.conf settings are the same as an earlier post Wireless at Sandy Bay for GNU Linux. If you're truly lazy, you can ignore the CA certificate file (ie. remove the ca_cert line), but it's not particularly a good idea. I'm still not sure how to get the certificate file without using a Windows machine (Update: Try this to get certificates - not sure if it's the right certificate yet).

Wednesday, May 21, 2008

UANA wireless on Ubuntu

Once you've connected to UANA-Setup and gone through the process of adding your MAC address, it's fairly simple to connect to the real UANA.

First, left click the Networks icon near the date.
From the menu which is displayed, click "Connect to Other Wireless Network..."
Enter the name UANA, and then select WPA2 Enterprise from the Wireless Security menu. Many, many options will appear.
For EAP method select TTLS.
For Key Type select Dynamic WEP.
For Phase2 Type select PAP.
For Identity type your username.
For Password type your password.
If you have a CA Certificate (probably not, unless you made one or a friend has one from Windows, see previous post) select that for CA Certificate File.
Click connect.

Connected! Of course, you don't have a direct connection to the internet, so set up Proxy settings (for Firefox, click Edit > Preferences > Advanced > Network > Settings and set Manual Proxy Configuration with HTTP proxy of proxy.utas.edu.au and port of 8080).

From what I hear, the Gutsy release of Ubuntu (7.10) doesn't store the correct wireless information when using WPA2 Enterprise, so you'll need to manually reconnect to the network.
[2008-May-10: Tested, 7.10 is fine. However, doesn't work well with hibernation, requiring a reboot or such to reconnect to the network; also doesn't reconnect if previously set up a UANA connection incorrectly, requiring the deletion of the UANA settings and then re-entry of details]
Thanks to someone for demonstrating how to connect to UANA... I'll remember your name next Tuesday :-P