This is an old revision of the document!


SCS Linux Network

SCS is using Ubuntu

Here you will find the steps to create and access the SCS Linux network

Introduction

The School of Computer Science is running:

  • Ubuntu 10.04 Desktop
  • has 16 machines on the 'lambda' network (lambda01-16)
  • uses X-Win32 for (X11) connections via the SCS Windows Labs
  • uses access.scs.carleton.ca as the external gateway; the lambda machines are not visible from outside of the school's network
  • user home directories are mounted on all 16 lambda's


Creating a Linux Account and Eligibility

Linux Account eligibility:

  • Any SCS student taking a computer course that requires linux
  • any BCS or SCS graduate student

If you need to create a linux account or simply want to change your linux password (online account system link):

http://www.scs.carleton.ca/webacct/

More information on creating a linux account can be found here: Account Creation Instructions

Logging into the Linux Network

There are two ways to enter the SCS Lambda Linux network:

  1. Connecting to Linux using Windows using an X-emulator (graphical) application
  2. External gateway access.scs.carleton.ca (non-graphical)


Connecting to Linux using the SCS Windows Lab

The simplest way to log into the SCS Linux network is to log into any SCS lab machine then:

  1. click on the 'SCS Linux' desktop icon
  2. choose a lambda host from the chooser
  3. login using your SCS Linux account

This will give you full remote desktop style interface using the X-Emulator X-Win32.

Putty

Putty is an ssh client that is available free of charge for Windows. With putty you can log into the SCS linux/lambda network. Putty is a command line application.

X-Win32

X-Win32 is a Windows X-emulator application. It allows you to launch graphical/X11 linux applications and display them on a Windows machine. X-win32 is installed in the SCS Windows labs 1).

The X-Win32 application can be run in many ways, two of them are as follows:

  1. Run X-Win32 and use putty to launch applications
  2. Run X-Win32 in XDMCP mode that allows you to login remotely
X-Win32 and putty

You can start X-win32 and then use putty-ssh to launch applications from linux. The way you can do this is as follows:

  1. Log onto the SCS Windows machine
  2. Launch X-Win32 (All Programs - Xwin32 8.1 - X-Win32)
  3. Start Putty ssh
  4. Putty Config: Host Name enter: access.scs.carleton.ca
  5. Putty Config: Connection Type: ssh
  6. Putty Config: Category - Connection - SSH - X11 - X11 forwarding - Enable X11 forwarding
  7. Putty Config: Press OPEN
  8. login using your SCS login and password
  9. on the access prompt: ssh -X lambdaXX (where XX is lambda01-16)

Then you can spawn off programs on the putty command line, example: 'xterm &' and they should pop-up on your Windows environment.

Configuring X-Win32 Manually

You can run X-Win32 in XDMCP mode that will allow you to login to the lambda machines remotely. This gives you the same environment as if you were sitting in front of the linux terminal, similar to remote desktop under Windows.

The simplest way to connect to the lambda machines is by clicking the desktop icon called 'SCS Linux' on the desktop. This will launch the chooser for you.

You can configure X-Win32 to run a remote linux session as follows:

  1. Start X-Config: All Programs - X-Win32 8.1 - X-Config
  2. Press the New Session - 'Manual…' Button
  3. Connection Method XDMCP- then press Next
  4. Session Name: lambda
  5. XDMCP Mode: Indirect
  6. Host: Choose one of 134.117.27.XXX, where XXX=30,74,75,76,107,109,111,122,129,130,134,135,188,199,200 Example: 134.117.27.111
  7. Monitor: 1 (default)
  8. Then Save
  9. in the X-Config window click on 'My Session' - lambda and then the Launch button
  10. Once a connection is made you will get a chooser of lambda hosts, select one and press Connect
  11. log into the lambda host using your SCS account and password


External gateway: access.scs.carleton.ca

The lambda machines are behind the SCS firewall, to access them remotely you need to login to the SCS gateway access.scs.carleton.ca.

To log into the lambda's remotely use your favorite ssh client and lambda:

ssh access.scs.carleton.ca -l jdoe
[jdoe@access ~]$ ssh lambda07
============================================================
 __     Welcome to the SCS    __          __              
/\ \                         /\ \        /\ \             
\ \ \         __      ___ ___\ \ \____   \_\ \     __     
 \ \ \  __  /'__`\  /' __` __`\ \ '__`\  /'_` \  /'__`\   
  \ \ \L\ \/\ \L\.\_/\ \/\ \/\ \ \ \L\ \/\ \L\ \/\ \L\.\_ 
   \ \____/\ \__/.\_\ \_\ \_\ \_\ \_,__/\ \___,_\ \__/.\_\
    \/___/  \/__/\/_/\/_/\/_/\/_/\/___/  \/__,_ /\/__/\/_/
                                   Linux Network

          Questions: support@scs.carleton.ca
       Online: http://www.scs.carleton.ca/nethelp/
============================================================
lambda07:~>

Remote Host Identification Error

Do you receive the following error?

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
64:1f:1e:50:76:f1:5d:d3:ff:d0:93:4c:e8:73:a9:56.
Please contact your system administrator.
Add correct host key in /home/4user1/hsimpson/.ssh/known_hosts to get rid of this message.
Offending key in /home/4user1/hsimpson/.ssh/known_hosts:21
RSA host key for lambda01 has changed and you have requested strict checking.
Host key verification failed.

This is due to a software and hardware upgrade. What you need to do is ssh to access.scs.carleton.ca and then delete the file ~/.ssh/known_hosts and the ssh key will be re-generated 2).

Process Killer

There is a process killer installed on the lambda network. It runs once a day and checks for all processes that are:

  • not nice'd
  • older than 24 hrs

If it meets the above criteria it will kill the process.

How to use nice

The nice command assigns a low priority number to your process. Say you want to run your program called my_program then you can run your program nice'd as follows:

nice my_program

If you already have a running process you can renice it. 3)

Hardware

Here are some of the specs for the Linux Network hardware:

  • lambda01-12: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
  • lambda13-16: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
  • 4 GB RAM
  • lambda13-16: ASUS ENGTX480 videocards
1) X-Win32 is a commercial application which means it requires a license
2) You could also edit the known_hosts file and remove the offending key
3) For more info type man renice in a terminal window
Back to top
accounts_and_labs/the_linux_network.1285352807.txt.gz · Last modified: 2010/09/24 14:26 by admin