System Name should be no longer than 7 characters and unique on the Edinburgh PremierVet server. Please check with Edinburgh before issuing a name - do not use, vet, vet1, scosysv, dbasics, pvet etc.
Domain - Put the server in the 'uucp' domain unless the client has a registered domain already.
I.P. Addresses - There are IP addresses that are reserved for "private" use -- you can use these addresses so long as they're only used internally to your network. RFC 1918 defines these addresses; they are:
10.0.0.0 - 10.255.255.255 172.16.0.0 - 172.31.255.255 192.168.0.0 - 192.168.255.255
If you use "192.168.3.1", and so forth, for the internal systems, you'll never have an IP address conflict with a real, registered network.
The latest utility CD will automatically allocate a pool of IP addresses for dial-in ppp in the range
XX.XX.XX.150 - XX.XX.XX.160do not allocate those to internal machines/routers etc.
We use UUCP for pro-active monitoring and cross updating as such the remote server MUST be capable of sending and receiving files NOT just dial in. The files needing checking are:
Where Speed is the highest you can get away with, start at 57600 and work down.
- This contain the modem devices, there should be at least one line:
ACU ttyxxA - Speed Dialer e.g. ACU tty1A - 57600 /usr/lib/uucp/atdialMT
- This contains the names of the remote machines. and for Edinburgh this should be:
bdsedin Any ACU Speed 01315563480 ogin: nuucp
This Speed MUST be the same in inittab, Systems and Devices.
Line Access We need the modems to dial Edinburgh periodically, as such all effort should be made to ensure this is possible before leaving site. Options in prefered order:
- Direct Line - Dial in/out no action required
- Swipe Line (share) - Generally treat as direct line, may need cron job to disable when bank dials in.
- Fax Line (share) - Set the modem to answer after 5 rings - if access is required - switch off fax.
- Telephone/Fax Line (share) - Disable the port - access is via the
ctcommand. One of the above must be implemented. Leaving the modem un-plugged and having to phone prior to access is NOT an acceptable option.
Note: Remember to check if you need to prefix the number with a code for an outside line e.g. 9, 41, 42, 91 etc. (add this to the site numbers in /usr/lib/uucp/Systems).
Test before you leave.
Some Modem Don'ts
- Comment out the ACU line in Devices
- Forget to change /etc/conf/init.d/.... when changing /etc/inittab
- Use the lowercase port e.g. tty2a, tty1a use the modem port e.g. tty2A, tty1A
- Use a fixed speed gettydef token
- Muck around with enable/disable in scripts or crontab
- Don't set it to 9,600 baud because it is the 'easy option'.
- Leave the modem switched off/unplugged
We prefer using atdialer, to do this:
- Connect to the modem with cu or xc, set it to default (at&f), set the following: (this assumes a MultiTech)AT Q E1 &D3 &C1 $SB<speed>Where <speed> is that used in Systems/Devices/inittab, save the settings with at&w
/usr/lib/uucp/atdialMTas the dialer in Devices
- Create the file
/etc/default/atdialMTand add the two lines:MDM_SETUP=ATZ MDM_DIALIN=ATQ0
If Windows PC's are being connected onto the system you should at a minimum:
- Be able to ping by machine name from Win -> Unix and from Unix -> Win
/etc/hoststo reflect the names of the machines on the network.
- If a Browser is available on the PC then http://unix-host-name/ should bring up a web page from the Unix host.
- Install VisionFS (current patch level 3.0.921) and ensure that all the PC's can connect and browse the Unix host.