ITS doesn't support network access for Linux systems, but it is possible to connect Linux to the campus network. This page contains some tips we have collected.
Installing Linux on an former macOS or Windows computer
If the device was previously on the network as a macOS or Windows system and is being reimaged as Linux, Submit a help request to remove the previous identification record so the Linux machine can be identified correctly.
Dual Boot Systems
When using a dual boot system you will need to randomize the MAC addresses on one of the operating systems, as both systems cannot use the same MAC Address.
Install openconnect, a SSL VPN client that works with the Cisco Anyconnect VPN servers used by Swarthmore. The example below was done using Ubuntu 18.04. Other versions of Linux might require different commands.
- Open a terminal window
$ sudo apt-get update
$ sudo apt install network-manager-openconnect-gnome
To run from the command line (cli), it must run as root, so use the sudo option:
- Open a terminal window.
$ sudo openconnect swatvpn.swarthmore.edu
- Accept the certificate, even with the error "signer not found".
- Enter your username, password (first PASSCODE prompt), and "push" without the quotes (at the second PASSCODE prompt, used for DUO 2FA prompt).
- Once DUO has successfully completed, it will finish connecting and show "Connected as 130.58.#.#, using SSL"
- Leave terminal open to maintain the VPN connection. Use web browser or another terminal window to access the network via the VPN tunnel.
- CTRL-C to end the VPN session.
Option 2 (deprecated)
To use Swarthmore's VPN system from Linux install the Cisco AnyConnect client for Linux. Submit a help request to ask for the AnyConnect Linux installer then enter the following in a terminal window.
tar -zxvf anyconnect-linux64-<version number>-predeploy-k9.tar.gz cd anyconnect-linux64-<version number> cd vpn sudo ./vpn_install.sh
Ubuntu apt-get errors
Swarthmore's network can cause problems for some Ubuntu systems when installing software via apt-get. To avoid the problem, use the following instructions.
Create a file on the system called
99something) and add the following lines:
Acquire::http::Pipeline-Depth 0; Acquire::http::No-Cache true; Acquire::BrokenProxy true;