Network User Guide | Network Services
Network Services
File Server
The TRLabs file server, BSDSAMBA, is available in the workgroup WORKGROUP for Windows clients. It also exports user files via NFS to the Unix server, ssh.win.trlabs.ca, and the G4 Mac. Initially, you will be allocated 500MB of disk space in your home directory on the file server. This limit could be increased if you need more space later on.
Your home directory on the file server is automatically backed up everyday. It is strongly recommended that you regularly store backup copies of important files like your thesis, project source code on your home directory in the file server.
If you need to store large files (e.g. a CD image) temporarily on a network drive, you can use the tmp share on BSDSAMBA. This folder is also mounted on the /usr/local/tmp directory on the Unix server, ssh.win.trlabs.ca. I will try to avoid deleting this space without notice but, I won't make any guarantees.
If you would like to mount the fileserver from a UNIX station the following command may work for you, when in doubt consult the man page:
mount -t smbfs -o username='user_name',password='my_pass_word' //Bsdsamba/user_name /samba
For receiving email, configure your favorite email client to use the TRLabs IMAP server, imap.win.trlabs.ca. For sending mail, use the SMTP server smtp.win.trlabs.ca.
While not recommended, you may also POP3 for receiving mail; The POP server is pop.win.trlabs.ca.
You can also access TRLabs email from a Web browser at http://www.win.trlabs.ca/webmail/
Printing
There are two network printers, named colour1, and colour2.
| Printer Name | Model |
| colour1 | HP Color LaserJet 4650DN |
| colour2 | HP Color LaserJet 4700DTN |
Coulour1 Printer Setup on Windows XP
- From the Start menu, select Printers and Faxes.
- On the left side of the window, in the Printer Tasks section, click on the link for Add a Printer.
- In the Add Printer Wizard window, click Next.
- In the Local or Network Printer window, select Network Printer.
- In the URL field enter http://colour1.win.trlabs.ca
- Click Finish. It may take a few moments before the next window appears.
- From the Manufacturers list, select HP. From the Printers list, select
Hp Color LaserJet 4550(the 4650 diver doesn't work) . Click Next. - In the Printer name field, type the printer's queue name (e.g., colour1). If this is the printer you will be using most often, select Yes to use this printer as your default printer; otherwise, select No. Click Next.
- When you are asked whether to print a test page, select No.
- Click Next; Click Finish.
Colour2 Printer Setup on Windows XP
- Download http://www.win.trlabs.ca/colour2.exe and follow the directions
- When prompted enter
colour2.win.trlabs.caas the hostname
Printer Setup on Linux (Fedora Core)
Remote Access
If you have an Internet connection at home or when you are traveling, you can use an ssh client to remotely log in to ssh.win.trlabs.ca.
Using ssh and ssh tunnels you can run any number of services remotely. For example you could tunnel a VNC connection to your desktop at trlabs. To do this you will need a VNC server running on your desktop and a client on the remote machine. You will need to know the port number of VNC server on your desktop. From there it's just a matter of starting the SSH tunnel. For example you could tunnel local port 6000 to a remote host such as your desktop using ssh.win.trlabs.ca to reach your desktops VNC server.
VPN Access
VPN access is available using SSL based OpenVPN, a Windows GUI is available. For windows download the "Stable" release that includes the "tap" driver. Install the OpenVPN client.
In the start menu find the new item called "OpenVPN configuration file directory". Download the following configuration files from \\bsdsamba\tmp\vpn\ on the internal files server and place them in your client OpenVPN configuration directory.
You will need:
- ca.crt
- client.crt
- client.key
- trlabs.ovpn
Once these are in your OpenVPN configuration directory you should be ready to go.
Right-Click on the OpenVPN icon in you system tray (bottom right hand corner). Select "connect". When you connect, the OpenVPN client will ask you for your username and password. These will be the same as your network / email username and password.
Spam
Anti-Spam setup using Bogofilter, SpamAssassin, and Procmail » Quick Start
* Log in to ssh.win.trlabs.ca
* Run the following commands in your home directory
cp /usr/local/tmp/antispam/.procmailrc . mkdir ~/.bogofilter cp /usr/local/tmp/antispam/wordlist.db ~/.bogofilter
* You are ready to go!
» How does this work?
See the article: Frying Spam » Training Bogofilter
Bogofilter is not perfect! It will occasionally fail to catch spam or mark valid messages as Spam. In such cases, you can instruct bogofilter to undo the prior registration of a message as spam or non-spam.
To undo the registration of valid messages bogofilter marked as spam:
* Log in to ssh.win.trlabs.ca
* Run the command
pine -f ../Spam
* Save all the valid messages that are non-Spam to a mail folder (e.g. nonspam)
* Run the command
bogofilter -Sn < nonspam
This command tells Bogofilter to the mark the messages as valid, and so that similar messages will not be filtered in the future.
To register a spam message that bogofilter missed:
* From your mail client, save all the Spam that is uncaught by bogofilter to a mail folder (e.g. myspam).
* Copy the mail folder to ssh.win.trlabs.ca
* Log in to ssh.win.trlabs.ca
* Run the command
bogofilter -Ns < myspam
to tell Bogofilter to mark similar messages as spam.