Middlebury

Difference between revisions of "Linux"

(Added Ubuntu "features" sales pitch... couldn't resist.)
Line 1: Line 1:
 
Updated for Ubuntu 9.04. Last done as of 9/4/2009
 
Updated for Ubuntu 9.04. Last done as of 9/4/2009
 +
 +
Ubuntu features:
 +
* 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)
  
 
== Hardware  ==
 
== Hardware  ==
  
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. <br>
+
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...&nbsp;:(<br>  
+
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...&nbsp;:(<br>
  
 
== Configuring for the Middlebury network  ==
 
== Configuring for the Middlebury network  ==
Line 11: Line 20:
 
=== Registration  ===
 
=== Registration  ===
  
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.  
+
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:&nbsp;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.  
+
As a side note:&nbsp;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.
  
 
=== midd_secure  ===
 
=== midd_secure  ===
  
Knowing that midd_secure is a WPA2 Enterprise network from tinkering around Airport and Vista:  
+
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)  
+
*Click on the wireless icon on the Ubuntu panel (looks alot cell-phone reception bars)
*Select ''Connect to Other Wireless Network...''  
+
*Select ''Connect to Other Wireless Network...''
*For ''Network Name'' type '''midd_secure'''  
+
*For ''Network Name'' type '''midd_secure'''
*Choose '''WPA2 Enterprise''' for ''Wireless Security''  
+
*Choose '''WPA2 Enterprise''' for ''Wireless Security''
*Choose '''PEAP''' for ''EAP Method''  
+
*Choose '''PEAP''' for ''EAP Method''
*Leave ''Key Type'' and ''Phase2 Type'' to their default values  
+
*Leave ''Key Type'' and ''Phase2 Type'' to their default values
*For ''Identity'' type your midd username and your password in the password field  
+
*For ''Identity'' type your midd username and your password in the password field
 
*Leave all the remaining fields blank and click ''connect''
 
*Leave all the remaining fields blank and click ''connect''
  
If this does not work:  
+
If this does not work:
  
*Repeat the steps to make sure you have the correct username and password  
+
*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.  
+
*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%.'')  
+
*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.'')<br>
 
*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.'')<br>
  
Line 62: Line 71:
 
== Working With File Servers  ==
 
== 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.&nbsp;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:''<br>''  
+
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.&nbsp;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:''<br>''
  
A few terms:  
+
A few terms:
  
*''Username'' - This is your Midd username. It is the first part of your Midd email address (i.e. '''username'''''@middlebury.edu'')  
+
*''Username'' - This is your Midd username. It is the first part of your Midd email address (i.e. '''username'''''@middlebury.edu'')
*''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 [https://mediawiki.middlebury.edu/wiki/LIS/DFS here] or [http://www.middlebury.edu/academics/lis/about/lis_do_you_know/2009/lis_lecturesevents_633792089828837871.htm here]. <br>  
+
*''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 [https://mediawiki.middlebury.edu/wiki/LIS/DFS here] or [http://www.middlebury.edu/academics/lis/about/lis_do_you_know/2009/lis_lecturesevents_633792089828837871.htm here]. <br>
 
*
 
*
  
 
=== Finding Middfiles Server Names<br>  ===
 
=== Finding Middfiles Server Names<br>  ===
  
The real reason why Linux is incompatible with&nbsp;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:<br>  
+
The real reason why Linux is incompatible with&nbsp;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:<br>
  
#Connect to middfiles using your username and password on a Windows System (see below)<br>  
+
#Connect to middfiles using your username and password on a Windows System (see below)<br>
#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<br>  
+
#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<br>
#Right click on the folder you want to be able to access in Linux and click on Properties<br>  
+
#Right click on the folder you want to be able to access in Linux and click on Properties<br>
#Click on the DFS tab<br>  
+
#Click on the DFS tab<br>
#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.<br>  
+
#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.<br>
 
#Translate:&nbsp;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<br>
 
#Translate:&nbsp;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<br>
  
As a final note:&nbsp;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:&nbsp;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.<br>  
+
As a final note:&nbsp;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:&nbsp;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.<br>
  
 
==== Accessing a Windows box from Linux  ====
 
==== Accessing a Windows box from Linux  ====
Line 96: Line 105:
 
=== Connecting to File Servers<br>  ===
 
=== Connecting to File Servers<br>  ===
  
#In the panel: ''Places'' -&gt; ''Connect to Server...''<br>  
+
#In the panel: ''Places'' -&gt; ''Connect to Server...''<br>
#For ''Service Type'' select '''Windows Share'''<br>  
+
#For ''Service Type'' select '''Windows Share'''<br>
#For ''Server'' enter: the name you looked up in windows<br>  
+
#For ''Server'' enter: the name you looked up in windows<br>
#For ''Share ''enter: the name of the parent folder you navigated to windows  
+
#For ''Share ''enter: the name of the parent folder you navigated to windows
#For ''Folder'' enter:&nbsp;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 ''Folder'' enter:&nbsp;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:&nbsp;your middlebury username<br>  
+
#For ''User Name'' enter:&nbsp;your middlebury username<br>
#For ''Domain Name'' enter:&nbsp;MIDD  
+
#For ''Domain Name'' enter:&nbsp;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.
 
#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.
  
Troubleshooting:  
+
Troubleshooting:
  
*Ensure you are connected to the network using an ethernet cable or via midd_secure  
+
*Ensure you are connected to the network using an ethernet cable or via midd_secure
*Spell the server and share names correctly  
+
*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  
+
*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)  
+
*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)
 
*Google!
 
*Google!
  
 
=== Disconnecting to File Servers  ===
 
=== Disconnecting to File Servers  ===
  
If you saved your server as a bookmark: (again for Nautilus and Ubuntu)  
+
If you saved your server as a bookmark: (again for Nautilus and Ubuntu)
  
#Open Nautilus  
+
#Open Nautilus
#Open the Bookmarks menu and select Edit Bookmarks...  
+
#Open the Bookmarks menu and select Edit Bookmarks...
#Select the bookmark for the server folder you want to delete and click Remove  
+
#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 the server for your current session, see below
  
To disconnect from a server for the current session:  
+
To disconnect from a server for the current session:
  
#Right click on the server folder on your desktop&nbsp;(it will appear when you first connect) and select Unmount Volume  
+
#Right click on the server folder on your desktop&nbsp;(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:<br>
 
#Open Nautilus and click the disconnect symbol next to the server folder name that appears under Places:<br>
  
Line 131: Line 140:
 
==== Web browsing  ====
 
==== Web browsing  ====
  
Mozilla Firefox 3 is the default web browser on Ubuntu.  
+
Mozilla Firefox 3 is the default web browser on Ubuntu.
  
 
==== OpenOffice.org  ====
 
==== OpenOffice.org  ====
  
Stable and full-featured. In many places, OpenOffice is used as a zero-cost alternative to Microsoft Office.  
+
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 -&gt; Options, under the Save/Load category, you can set OOo to automatically save documents in the Microsoft format.  
+
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 -&gt; Options, under the Save/Load category, you can set OOo to automatically save documents in the Microsoft format.
  
 
==== Email client  ====
 
==== Email client  ====
  
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.  
+
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&nbsp;(mail.middlebury.edu)&nbsp;if you use the IP&nbsp;address (why that would matter, I don't know, but it does).&nbsp;It has a tendency to crash when you try to open calendars&nbsp;(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.  
+
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&nbsp;(mail.middlebury.edu)&nbsp;if you use the IP&nbsp;address (why that would matter, I don't know, but it does).&nbsp;It has a tendency to crash when you try to open calendars&nbsp;(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:&nbsp;use outlook and windows. See above for suggestions on ways of doing so.  
+
If you need to use exchange:&nbsp;use outlook and windows. See above for suggestions on ways of doing so.
  
 
===== MAPI and Evolution =====
 
===== MAPI and Evolution =====
  
Configuring the MAPI plugin for Evolution (as of 9/4/09):&nbsp;(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...):  
+
Configuring the MAPI plugin for Evolution (as of 9/4/09):&nbsp;(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 Identity - enter required info, ensure your email address is correct nothing else particularly matters
#In Receiving Email - Sever type is Exchange&nbsp;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.&nbsp;After authenticating you can continue.  
+
#In Receiving Email - Sever type is Exchange&nbsp;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.&nbsp;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 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 Account Management - enter whatever you like
 
#In Timezone - same as 4
 
#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).  
+
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...
 
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...
Line 163: Line 172:
 
==== For older computers  ====
 
==== For older computers  ====
  
For older computers, Linux has a host of light-weight programs available as alternatives to the more popular ones. Consider:  
+
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  
+
*Epiphany Browser, instead of Firefox
 
*AbiWord and Gnumeric, lightweight word processor and spreadsheet programs that can replace some of OpenOffice's functionality
 
*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 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.
  
 
==== Wine  ====
 
==== Wine  ====
  
If you're adventurous, you can get some Windows programs to work great under Linux using Wine Windows Emulator. More details pending...  
+
If you're adventurous, you can get some Windows programs to work great under Linux using Wine Windows Emulator. More details pending...
  
 
== Getting Help  ==
 
== Getting Help  ==
  
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.  
+
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).  
+
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.
 
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.

Revision as of 09:37, 15 October 2009

Updated for Ubuntu 9.04. Last done as of 9/4/2009

Ubuntu features:

  • 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)

Hardware

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

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.

midd_secure

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.)

Remote Access

VPN

Coming soon...

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:

  1. System menu->Preferences->Remote Desktop
  2. Check Allow other users to view your desktop
  3. Check Allow other users to control your desktop
  4. Not required, but highly recommended: check the Require the user to enter this password box and enter a secure password.
  5. 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.
  6. Connect using the VNC viewer of your choice (tightvnc is a good cross platform choice, vinagre works well from other linux boxes)

Troubleshooting

  • 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. username@middlebury.edu)
  • 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:

  1. Connect to middfiles using your username and password on a Windows System (see below)
  2. 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
  3. Right click on the folder you want to be able to access in Linux and click on Properties
  4. Click on the DFS tab
  5. 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.
  6. 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):

  1. 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)
  2. Connect using rdesktop or a VNC client to another windows box elsewhere on campus...
  3. Cheat! Use a public lab computer, a friend's computer, dualboot windows, beg and plead from windows using friends
  4. Consider paying for software like crossover.

Connecting to File Servers

  1. In the panel: Places -> Connect to Server...
  2. For Service Type select Windows Share
  3. For Server enter: the name you looked up in windows
  4. For Share enter: the name of the parent folder you navigated to windows
  5. 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).
  6. For User Name enter: your middlebury username
  7. For Domain Name enter: MIDD
  8. 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.

Troubleshooting:

  • 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)
  • Google!

Disconnecting to File Servers

If you saved your server as a bookmark: (again for Nautilus and Ubuntu)

  1. Open Nautilus
  2. Open the Bookmarks menu and select Edit Bookmarks...
  3. Select the bookmark for the server folder you want to delete and click Remove
  4. To disconnect the server for your current session, see below

To disconnect from a server for the current session:

  1. Right click on the server folder on your desktop (it will appear when you first connect) and select Unmount Volume
  2. Open Nautilus and click the disconnect symbol next to the server folder name that appears under Places:

Applications

Web browsing

Mozilla Firefox 3 is the default web browser on Ubuntu.

OpenOffice.org

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.

Email client

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...):

  1. In Identity - enter required info, ensure your email address is correct nothing else particularly matters
  2. 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.
  3. 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'
  4. In Account Management - enter whatever you like
  5. 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.

Wine

If you're adventurous, you can get some Windows programs to work great under Linux using Wine Windows Emulator. More details pending...

Getting Help

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.

Powered by MediaWiki