Laptop Setup

From projects/MBV-INFX410
Jump to: navigation, search

Laptop setup and connection to Unix server

In order to set up your laptop you need to have an active and full (not temporary) UiO user account. If you do not have a UiO user account or if you have forgotten your user name or password, check here (unfortunately only in Norwegian) and/or contact one of the helpers/teachers. If at all possible, you should get your UiO user account sorted out before the first day of the course!

When you have a UiO user account, your password and you laptop with the WiFi turned on you can connect to the UiO wireless network, By the way, if you already are connected, you might still check the links below. You might learn something useful... If your computer has been set up by UiO, you should not change the WiFi settings.

Choose the Eduroam network, for the reasons described here. You may also use the UiO network. At the right hand side on that webpage under "Koble til uio- eller eduroam-nettet fra:", choose the correct link according to the operating system of your computer. Use "Automatisk oppsett" if possible. If you get stuck, ask some of the helpers/teachers.

Make sure you are actually connected to the web by opening in your web browser. Also check that you can read your e-mail.

You must have access to an administrator account on your computer. Do you have that? If not, make sure you get it (or tell Jon what the problem is...)

Check that you have Java running on your computer. Go to the Java website and click on "Do I have Java?" If you have (updated) Java, everything is fine. If not, you should most likely follow the instructions and install Java. However, check with one of the helpers/teachers first.  

Now we need to get you connected to a Unix computer. Everyone with a valid UiO user account already has a Unix account on the computer Most likely this computer will be around for a long time, and in the future you can use this Unix server if you need one. However, for this present course, we will instead use the Unix server How you connect, will depend on your laptop:

Linux laptop

You are already on a Unix machine, and most likely you know what you are doing. Open a terminal window and use ssh to log on to

If you get stuck, ask one of the helpers/teachers

Mac laptop

Unless your Mac is more than 10 years old, it has an OS X operating system. This means you are already on a Unix machine. OS X is a Unix variant. 

Launch the program "Terminal". Most likely you will find it in "Launchpad" under "Other" or in "Finder", "Applications", "Utilities". Then type, in the terminal,




where USERNAME is your UiO user name. Answer "yes" to the stuff about "authenticity". You should now be connected.

If you get stuck, ask one of the helpers/teachers

Windows laptop installed with a UiO image (setup by USIT or Lokal IT at UiO)

Click on "Start" (lower, left hand corner on your desktop), choose "All Programs", and open the "PuTTY" directory. Double click on "PuTTY" to start the program. In the "PuTTY Configuration" you must type in the "Host name". Type "", the name of the computer you want to log on to. Make sure "SSH" is ticked. If you also type "" under "Saved Sessions" and click on "Save", you get a saved session. Double click on this and you get opened a terminal window. You will be asked for your UiO user name and password. Answer "yes" to the stuff about "authenticity". You should now be connected.

If you get stuck, ask one of the helpers/teachers   

Windows laptop not with a UiO setup

If you have PuTTY, or some other remote shell client installed, jump to the previous entry in this table and log on as described there.

If not, you need to install PuTTY. Download PuTTY from here. Choose the "Installer" version, just below "A Windows installer for everything except PuTTYtel" and use the latest version, that is 0.63).

If you are unsure about what to do or you are not comfortable installing software like this, talk to Jon or one of the other helpers/teachers.

Now run PuTTY and log in on as described in the previous entry in this table.     

The first time you log on to a new Unix computer you get a message like this:

"The authenticity of host "" can't be established. RSA key fingerprint is 42:c0:1f:.."

If you trust the machine, you click "yes". UiO computers are certainly trustworthy, so there is no problem here.

Now you are ready to start using Unix!

This has been the "first exercise" of this course. Are you sure you would be able to set up a new laptop like this on your own now? If not, it is a good idea to go back and find out what you didn't actually understand.

You should also get access to your UiO home area on your laptop. If you do not have that already, information about how to get that you will find here. For Windows users, a good option is to use WebDrive as described here. Try it out!

For intructions on how to set up printing, check out this link.

Other useful links are to the UiO X-Win32 instructions, Trond Hasle Amundsens UiO guide to Linux and Unix, and in particular the overview webpages for UiO IT services. Unfortunately, the English webpages have much less useful linked information.