====== Wireless Network for Linux at the University of Newcastle, Australia ====== The current configuration only uses PEAP authentication and WPA & WPA2 Enterprise security. ==== Preamble ==== The University of Newcastle does not officially support Linux (http://www.newcastle.edu.au/unit/it/wireless/Wireless_network_upgrade.pdf). This document assumes you have some basic knowledge of Linux and that your wireless card works with non-encrypted and WPA encrypted networks. If your wireless card doesn't work start with the basics before you try this. If you are looking for connection settings for Windows or Mac OS X then go here: http://www.newcastle.edu.au/unit/it/wireless/index.html. ==== GNOME Network Manager Applet ==== These instructions have been proven to work on Ubuntu Desktop 9.04 //Jaunty Jackalope//, Ubuntu 8.04 //Hardy Heron// and Ubuntu Netbook Remix 9.04 //Jaunty Jackalope//, but should work for any distribution if you have the GNOME Network Manager installed. Once you have entered these settings for the first time you will not need to enter them again and you will be automatically connected when you are in range of the wireless network while on campus. Start and run your //GNOME Network Manager// applet in Ubuntu. It should automatically run at boot. Find your network manager, it's normally located near the clock. Select **newcastle.edu.au** from the drop-down menu. {{selectnm.png|network Manager}} A window should appear. Fill in the details as follows: ===Ubuntu 9.04 and Newer Versions of Network Manager=== {{settingsnm904.png|9.04 settings}} Of course replacing the **cXXXXXXX** with your student or staff ID that you use to login to the computers on campus, and enter your password. Click on **Connect** and you will be connected to the wireless network. ===Ubuntu 8.04 and Older Versions of Network Manager=== {{settingsnm.png|Settings}} Of course replacing the **cXXXXXXX** with your student or staff ID that you use to login to the computers on campus, and enter your password. Click on **Login to Network** and you will be connected to the wireless network. **Note**: Error in screenshot above. "Phase2 Type" should be **MSCHAPv2** ==== KDE KNetworkManager Applet ==== ===Kubuntu 8.04 or KDE 3.5 and Older Versions of KNetworkManager=== These instructions have been proven to work on Kubuntu 8.04 //Hardy Heron//, but should work for any distribution if you have the //KNetworkManager// installed. Once you have entered these settings for the first time you will not need to enter them again and you will be automatically connected when you are in range of the wireless network while on campus. Start and run your //KNetworkManager//. It should automatically run at boot. Find and left click on your network manager icon in the system tray, normally located near the clock. Select **newcastle.edu.au** from the pop-up menu. {{knetworkmanager.jpg|Networks}} A window should appear. Fill in the details as follows: {{knetworkmanager1.jpg|Settings}} In the **Encryption** field choose **WPA Enterprise** and replace **cXXXXXXX** with your student or staff ID that you use to login to the computers on campus, and enter your password. Click on **Connect** and you will be connected to the wireless network. ==== Command Line wpa_supplicant === If you wish to configure your wireless card manually to connect to the Wifi then you need to write your own wpa_supplicant configuration file. An example that works with the new University wireless network is provided below network={ ssid="newcastle.edu.au" key_mgmt=WPA-EAP IEEE8021X pairwise=CCMP TKIP group=CCMP TKIP eap=PEAP identity="cXXXXXXX" password="YYYYYYY" phase1="peaplabel=0" phase2="auth=MSCHAPV2" } Replace the **cXXXXXXX** with your student or staff ID that you use to login to the computers on campus and the **YYYYYYY** with your password. ==== Xandros OS on Asus EeePC ==== Adapted from http://ventex.net.au/pipermail/login_ventex.net.au/2008-March/001293.html. You need to reinstall wpa_supplicant and reinstall the drivers. Follow the steps outlined here http://wiki.eeeuser.com/wpa_default_xandros until you get to **Create a wpa_supplicant.conf_MINE for your secure network**. * Create a **wpa_supplicant.conf** file in your **etc** folder, use the configuration file described above. To set up the connection: * Launch **Network Connections** in **Launch** menu, or **Start** menu, under **Control Centre** if using Advanced mode. If in Standard mode (Easy mode), right click on the icon in the system tray. Click **Create**, which opens up a connection wizard. * Select **Local Area Network** and choose **Wireless**. Click **Next**. * Select the **Hardware Device** and choose **Atheros Communications on the EeePC**. Click **Next**. * Select **Dynamic IP Address**. Click **Next**. * In **Network Name (SSID)** enter **newcastle.edu.au**. Leave other settings as **Auto**. Click **Next**. * Choose **Any** for wireless channel. Click **Next**. * Enable encryption. Choose **WPA**. in Key enter **00000000** or any other 8 ASCII characters until you see **WPA256 type in ASCII format** printed in the **Format** row. Click **Next**. * Name the connection **UoN**. Click **Next**. * Click **Finish**. * When at an access site enable the wireless (Fn key + F2), right click on network symbol in system tray. Highlight **UoN** and choose **Connect**. It should connect to the wireless network in approximately 20-30 seconds. ==== Proxy and Access Control ==== === Proxy === You can follow the Windows and Mac OS X instructions for most browsers. == Manual Proxy == //proxy.newcastle.edu.au:8080// Or including your authentication details: //cXXXXXXX:password@proxy.newcastle.edu.au:8080// Where **cXXXXXXX** is your student or staff ID that you use to login to the computers on campus, and **password** is your password. == Automatic Proxy Configuration URL == http://proxy.newcastle.edu.au/proxy.pac == Firefox == A useful tool for switching between proxy quick and easy is [[http://foxyproxy.mozdev.org|Foxy Proxy]]. Foxy Proxy is able to automatically switch between proxy's by using your own *.pac file. http://foxyproxy.mozdev.org/faq.html#proxy-based-on-IP It's a pending feature for native support. == Gentoo == To emerge through a proxy you need to run this command: export http_proxy="http://cXXXXXXX:password@proxy.newcastle.edu.au:8080" This will set the variable until you reset next. If you also want to be able to use rsync you have to also run: export RSYNC_PROXY="http://cXXXXXXX:password@proxy.newcastle.edu.au:8080" == Arch Linux == To use pacman through a proxy you need to run this command: export ftp_proxy="http://cXXXXXXX:password@proxy.newcastle.edu.au:8080" ==== Working Laptops ==== ^ Laptop model ^ Wireless Card ^ Driver ^ OS ^ | Toshiba Satellite Pro | Intel | ipw2200 | Ubuntu 7.10| | Asus | Intel | IWL4965 | Gentoo | | Asus | Intel | 3945 | Archlinux | | Acer Aspire | Atheros | madwifi | Kubuntu 7.04 | | Acer TravelMate 4230 | Intel | iwl3945 | Ubuntu 9.04 | |Compaq Presario | Broadcom | bcm43xx | Ubuntu 7.10| | Asus EeePC | Atheros | non factory madwifi | Xandros| | Asus EeePC 701 4G | Atheros | ath5k | Ubuntu 9.04 & Ubuntu NBR 9.04 | | Dell D410 | Broadcom | b43-fwcutter | (K)ubuntu 8.04+| | Dell Inspiron 1525 | Intel | ?? | Ubuntu 9.04, 9.10| === Will my card work? === If you've tried the above and it doesn't work for you, check if your wireless card supports 802.1x connections. Open a terminal and type in: iwlist eth1 auth //eth1// may changed depending on the card. Replace it with whatever comes up with most settings when you type iwconfig. You will be looking for //802.1X// and //TKIP//. If that does not appear then you will not be able to connect with your wireless card. ====== EduRoam ====== EduRoam is a international wireless network based at most university's see http://www.eduroam.org/ for more details there are plenty of guides on the net on how to connect with linux. Guides: * http://www.ncl.ac.uk/iss/linux/network/eduroam/ * http://ipv6.niif.hu/m/Wireless_Eduroam_Linux_Debian_wpasupplicant * http://www.eduroam.si/en/osebni-dostop/navodila-za-povezavo/navodila-za-linux-fc/