Updated for Ubuntu 9.04. Last done as of 9/4/2009
- Installs quickly, boots quickly, runs very light on modern systems.
- Out-of-the-box full support for majority of common hardware.
- Virtually immune to viruses, doesn't need AV software.
- Very stable.
- Includes OpenOffice suite, Firefox, universal IM client, and other standard apps installed by default.
- "App store" offering thousands of free applications giving functionality from video editing to palm pilot sync.
- WINE Windows Emulator allows Ubuntu to run a limited repertoire of Windows software and games if you aren't afraid of the terminal. (Contact Topher Hunt for help if needed)
- Easy to install alongside Windows as dual-boot. Reads and writes to NTFS (Windows) drives.
Dell D630 is perfectly functional with 9.04 out of the box. No additional drivers or software are neccessary to get any of the major components to work, including everything from the wireless card down to the volume and screen brightness buttons.
Nvidia graphics cards can run off of the default drivers, although you will be prompted to install proprietary drivers if you wish when you first log on. Some other specialized hardware also requires secondary drivers which are generally available from the manufacturer. Or from a random online enthusiast. Or not at all... :(
Configuring for the Middlebury network
Registration with Campus Manager supports Linux by offering a small .sh script for download instead of the RSA.exe file run on Windows. This script must be downloaded and run, requiring that basic compile-related packages be installed (particularly libgcc), so ensure that the necessary packages are installed or available on the default system before trying to register.
As a side note: you can try asking the helpdesk to manually register your machine if you have trouble with the CSA.sh file. Please try to figure out the .sh file first though and realize that your request may be placed near the bottom of the helpdesk's massive pile of requests or you may simply be directed back to the .sh script.
Knowing that midd_secure is a WPA2 Enterprise network from tinkering around Airport and Vista:
- Click on the wireless icon on the Ubuntu panel (looks alot cell-phone reception bars)
- Select Connect to Other Wireless Network...
- For Network Name type midd_secure
- Choose WPA2 Enterprise for Wireless Security
- Choose PEAP for EAP Method
- Leave Key Type and Phase2 Type to their default values
- For Identity type your midd username and your password in the password field
- Leave all the remaining fields blank and click connect
If this does not work:
- Repeat the steps to make sure you have the correct username and password
- Try leaving the password field blank and hitting connect so that you are prompted for the password after a connection is established.
- Make sure that the you are in an area under the covered by the midd wireless network. (This can be checked by clicking on the wireless icon and seeing if midd_secure and midd_unplugged are listed as wireless networks. Also, you may not be able to connect to midd_secure stably if the signal strength meter is less than 50%.)
- If you still have no luck try connecting to midd_unplugged. (If this works then your setting are incorrect. If not you may be in an area with no midd wireless network cover.)
Ubuntu Remote Desktop
Ubuntu has a built in remote desktop client. The client uses VNC to more or less transmit a video of your computers screen to the remote machine. To enable, do the following:
- System menu->Preferences->Remote Desktop
- Check Allow other users to view your desktop
- Check Allow other users to control your desktop
- Not required, but highly recommended: check the Require the user to enter this password box and enter a secure password.
- You can find your computer name and IP address in the yellow box that should appear under Sharing when you check the two boxes in step 2 and 3.
- Connect using the VNC viewer of your choice (tightvnc is a good cross platform choice, vinagre works well from other linux boxes)
- Able to connect successfully but the screen doesn't appear to refresh?
- You need to disable compiz: System->Preferences->Appearance->Visual Effects tab, then check None
- Unable to connect?
- Double check your computer's IP address. If you connect through a router (ie have a 192.168.x.x IP) you may not be able to connect without configuring your router
- Try using your computer's name
Working With File Servers
Note that Linux suffers from the same lack of compatability with our new DFS (read middfiles) system that Macs do, only worse. As of 9/4/09, Linux is almost entirely incompatible with DFS. The exception is a terminal based tool that allows only very basic functionality. There is a workaround, but is inelegant, time consuming, and requires the use of (potentially) large numbers of bookmarks to implement. Here we go:
A few terms:
- Username - This is your Midd username. It is the first part of your Midd email address (i.e. email@example.com)
- Distributed File System - Middfiles is an implementation of DFS. If you don't know what middfiles is and are still trying to find your tigercat or classes folder, try looking here or here.
Finding Middfiles Server Names
The real reason why Linux is incompatible with DFS has to do with what what DFS is. DFS is essentially a set of symbolic links used to connect a bunch of different servers. Linux is incapable at the moment of recognize where these symbolic links point. This means you can connect to one level of middfiles, but as likely or not, when you try to open a new folder, DFS will try to send you on a link to a new server, which Linux can't follow. The solution therefore is to bypass middfiles entirely and connect to the underlying servers directly. The first step then, is to determine the names of the underlying servers:
- Connect to middfiles using your username and password on a Windows System (see below)
- Go to the parent of the folder you are trying to access - e.g. if I want to map my home folder (username sjudd) which is located at middfiles/home/S-Z/sjudd, I would instead navigate to middfiles/home/S-Z
- Right click on the folder you want to be able to access in Linux and click on Properties
- Click on the DFS tab
- Under Path you should see a link in the form \\name\parent, where name is typically an animal (MOOSE, HOUND, ALPACA etc.) and parent is the name of the parent folder you opened in step 2. Record this path.
- Translate: name is the name of the server you are trying to connect to. parent is the name of the share you want to connect to
As a final note: It is likely these server names will change every once in a while. Just because the name of the server on which my home folder is stored happens to be MOOSE now doesn't mean it won't change to PARASTRATIOSPHECOMYIASTRATIOSPHECOMYIOIDES (ok well maybe not that name...) in the future. This is actually a feature of DFS: the overall structure of the filesystem remains stable even when the underlying server names change around. As a result, if you notice that you can't connect to a server that used to work, it may be because the server where the folder you are trying to access had a name change.
Accessing a Windows box from Linux
Neccessary for a number of tasks, including any that require access to exchange but can't be done on webmail (DFS permissions/distribution lists primarily), as well as advanced DFS tools (restore from backups, determining underlying server names).
Your options for getting access to a windows system from Linux (in order of most to least preferable, although option 3 might be more practical than option 2. Then again this is linux, if you wanted practical you would not be using linux):
- Connect to Coal (available to all middlebury users on campus, a remote access windows server) - use the command 'rdesktop coal.middlebury.edu' in a terminal. Enter your middlebury credentials to connect. If the command rdesktop doesn't work, you likely need to look up a way to install rdesktop for your particular distro (sudo apt-get install rdesktop for Ubuntu)
- Connect using rdesktop or a VNC client to another windows box elsewhere on campus...
- Cheat! Use a public lab computer, a friend's computer, dualboot windows, beg and plead from windows using friends
- Consider paying for software like crossover.
Connecting to File Servers
- In the panel: Places -> Connect to Server...
- For Service Type select Windows Share
- For Server enter: the name you looked up in windows
- For Share enter: the name of the parent folder you navigated to windows
- For Folder enter: the name of the folder you want to access (note that this isn't actually neccessary, if you want to access multiple folders on a single share or even if you don't feel like filling it in, you can leave this blank. Only a Server and a Share are strictly neccessary).
- For User Name enter: your middlebury username
- For Domain Name enter: MIDD
- Check Add bookmark if you plan on connecting to this folder repeatedly and name it whatever you would like (best to mention the folder name and the server it is on, but if you want to be a rebel go ahead, it doesn't matter). Note this assumes you are using Nautilus and Ubuntu, may be different for other file managers/distros.
- Ensure you are connected to the network using an ethernet cable or via midd_secure
- Spell the server and share names correctly
- Avoid using any kind of smb:// or / or \ in the server or share name. As long as you select Windows Share for the service type, linux will do all this for you
- Double check that the domain is MIDD, your username is correct, and there isn't a chance your password will have expired (generally once every 6 months, when in doubt check by going to go.middlebury.edu/activate)
Disconnecting to File Servers
If you saved your server as a bookmark: (again for Nautilus and Ubuntu)
- Open Nautilus
- Open the Bookmarks menu and select Edit Bookmarks...
- Select the bookmark for the server folder you want to delete and click Remove
- To disconnect the server for your current session, see below
To disconnect from a server for the current session:
- Right click on the server folder on your desktop (it will appear when you first connect) and select Unmount Volume
- Open Nautilus and click the disconnect symbol next to the server folder name that appears under Places:
Mozilla Firefox 3 is the default web browser on Ubuntu.
Stable and full-featured. In many places, OpenOffice is used as a zero-cost alternative to Microsoft Office.
When setting up anyone with Ubuntu, strongly consider setting document file format defaults. By default, OpenOffice saves documents as .odt, .ods, OpenDocument format. It's a good format but MS Office doesn't support it. In OpenOffice under Tools -> Options, under the Save/Load category, you can set OOo to automatically save documents in the Microsoft format.
The default email client that comes with Ubuntu is Evolution. Thunderbird is a better-known alternative that you may want to consider. Both are good, sturdy email clients and both can connect via IMAP to Midd servers.
Evolution has native support for connecting to MS Exchange servers versions 2000 and 2003 but no native support for connecting to 2007. And yes, we did upgrade to MS Exchange Server 2007. One possible solution to keep an eye on is the evolution-mapi plugin. This will kind of allow you to connect using OWA (mail.middlebury.edu) if you use the IP address (why that would matter, I don't know, but it does). It has a tendency to crash when you try to open calendars (which don't work), it doesn't really allow you access to the global address book, notes and tasks etc. appear to be out, and mail is kind of sketchy. Hopefully evolution or the MAPI plugin will be updated in the near future.
If you need to use exchange, use outlook and windows. See above for suggestions on ways of doing so.
MAPI and Evolution
Configuring the MAPI plugin for Evolution (as of 9/4/09): (remember this is broken, completely broken, but it at least allows you to authenticate, which is more than you can do with the exchange plugin...):
- In Identity - enter required info, ensure your email address is correct nothing else particularly matters
- In Receiving Email - Sever type is Exchange Mapi, Server is the IP address of panther.middlebury.edu, username is your middlebury username, domain name is MIDD. Enter this info, then click authenticate, enter your middlebury password when prompted. After authenticating you can continue.
- In Receiving Options - Most of this doesn't matter ad.middlebury.edu and puma.middlebury.edu are possibilities for the GAL/active directory, under options make sure to check 'Automatically synchronize account locally'
- In Account Management - enter whatever you like
- In Timezone - same as 4
Congrats, you now have a broken exchange client! Careful with the calendar though, if you open it too quickly after opening the MAPI exchange account for the first time the program can crash. If you force quit it, it will probably refuse to start until you delete its config file (no reinstalling won't help).
Since you are using panther.middlebury.edu and ad.middlebury.edu or puma.middlebury.edu, this won't work at all if you go off campus unless you VPN. Of course since it doesn't really work to begin with you might not notice...
For older computers
For older computers, Linux has a host of light-weight programs available as alternatives to the more popular ones. Consider:
- Epiphany Browser, instead of Firefox
- AbiWord and Gnumeric, lightweight word processor and spreadsheet programs that can replace some of OpenOffice's functionality
If the system has 128MB RAM or less, consider the alternative distribution Xubuntu. Xubuntu is great for older/slower systems and comes with many such programs pre-installed.
If you're adventurous, you can get some Windows programs to work great under Linux using Wine Windows Emulator. More details pending...
Greatest thing about Ubuntu is that it has a huge support/fan base and chances are whatever you are stuck trying to figure out, someone has a solution out there. Google and conquer.
There are also a few linux users at the helpdesk and elsewhere on campus. If you have a question or have found a solution to a problem mentioned in this wiki or elsewhere, feel free to share it (at least with me ~Sam).
Unfortunately, Ubuntu is not an officially supported Operating System by the Helpdesk. The level of support that you will receive from the helpdesk will be limited. However, if you are stumped by an issue, you should not hesitate to place a call (email might be somewhat better, you are likely to get the "Ubuntu is not supported" line either way though) or preferably stop by the Walkin section of the Helpdesk for assistance. The knowledge pool of the consultants is pretty impressive and a solution or answer to your problem is likely to be found.