Difference between revisions of "TSL Tips"

From Department of Computer Science
(proxy hints)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== Your F Drive ==
 +
 +
You can access your F Drive through [http://netstorage.uct.ac.za/ NetStorage].
 +
 +
== Quota ==
 +
 +
Every user has a 50MiB quota. To see if you are approaching your quota, open a terminal and run <code>quota</code>:
 +
$ quota
 +
Disk quotas for user abcdef001 (uid 1000):
 +
      Filesystem  blocks  quota  limit  grace  files  quota  limit  grace
 +
tsl.uct.ac.za:/home
 +
                  49880  51200  52224            910    5120    5222       
 +
 +
The numbers you want to look at are the first two. This example shows 49880/51200 = 97% used.
 +
If you see an <code>*</code> next to one of the numbers then you are over quota and programs will start throwing weird errors.
 +
 
== Proxies ==
 
== Proxies ==
  
 
While Firefox is configured to use the normal UCT Wpad configuration, this doesn't work with most Linux programs, as they don't support NTLM authentication.
 
While Firefox is configured to use the normal UCT Wpad configuration, this doesn't work with most Linux programs, as they don't support NTLM authentication.
Each TSL machine has a [http://www.leg.uct.ac.za/howtos/use-isa-proxies CNTLM proxy] running on `localhost:8080`. It's configured in NTLM2Basic mode - many programs *can* use basic authentication.
+
Each TSL machine has a [http://www.leg.uct.ac.za/howtos/use-isa-proxies CNTLM proxy] running on <code>localhost:8080</code>. It's configured in NTLM2Basic mode - many programs '''can''' use basic authentication.
  
 
Some programs, like Epiphany, will prompt you to enter a proxy username and password.
 
Some programs, like Epiphany, will prompt you to enter a proxy username and password.
Line 11: Line 27:
 
== Wget ==
 
== Wget ==
  
Create a file called `.wgetrc`:
+
Create a file called <code>.wgetrc</code>:
 
  proxy-user=ABCDEF001
 
  proxy-user=ABCDEF001
 
  proxy-password=secret-password
 
  proxy-password=secret-password

Latest revision as of 10:43, 14 September 2009

Your F Drive

You can access your F Drive through NetStorage.

Quota

Every user has a 50MiB quota. To see if you are approaching your quota, open a terminal and run quota:

$ quota
Disk quotas for user abcdef001 (uid 1000): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
tsl.uct.ac.za:/home
                  49880   51200   52224             910    5120    5222        

The numbers you want to look at are the first two. This example shows 49880/51200 = 97% used. If you see an * next to one of the numbers then you are over quota and programs will start throwing weird errors.

Proxies

While Firefox is configured to use the normal UCT Wpad configuration, this doesn't work with most Linux programs, as they don't support NTLM authentication. Each TSL machine has a CNTLM proxy running on localhost:8080. It's configured in NTLM2Basic mode - many programs can use basic authentication.

Some programs, like Epiphany, will prompt you to enter a proxy username and password. Others, will just throw an error.

So, you can either configure your UCT Username and Password under System -> Preferences -> Network Proxy -> Details (don't worry - it only applies to your user) or you can choose "Direct Connection" and only access on-campus resources.

Wget

Create a file called .wgetrc:

proxy-user=ABCDEF001
proxy-password=secret-password

Pidgin

  • Configure your accounts to use "No Proxy"

or

  • choose "Gnome Proxy Settings" and configure your GNOME username and password as described above.