« More weekend Cable TV outagesThe weekly channel outage... »

CCA weekly login changes, updated login script

01/30/06

  21:07:00 by Joe, Categories: Resnet

Apparently, Resnet recently has done some changes to their CCA configuration.
It used to be that CCA blocked all network access until logged in. The last version of my CCA login script used that by trying to ping or nmap the UCI webserver.
Since a week or so, CCA does not block all network access anymore. Ping now goes through, as does ssh, even when not logged in.
So I changed my script, to use wget to get the main UCI webpage, and determining if the result contains a redirect to the CCA login page.
The updated script is available here.
Program usage:

Usage: cca [logging]
    logging: 1 to log to .resnet in the home directory.
Note: needs wget installed.
Get wget from http://www.gnu.org/software/wget/wget.html

The file can be run directly from crond, e.g., every couple of minutes, to check if the network connection is still available.

1 comment

Comment from: John Hurliman [Visitor]
John Hurliman

If SSH traffic is allowed out, another option (if you have a remote server) would be a VPN listening on port 22 that forwards all traffic through the VPN. It comes with the added bonus of privacy, at the expense of essentially paying for bandwidth twice and a performance hit of varying degree.

09/14/06 @ 19:17


Form is loading...

This blog tries to capture all the gripes about UCI Resident Networking (Resnet) and the switch to UCI-managed Cable TV in on-campus housing.
This site is not affiliated with UCI or UCI Housing.
May 2024
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
 << <   > >>

Search

  XML Feeds

powered by b2evolution