Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ukma!nrl-cmf!ames!ptsfa!rtech!hoptoad!gnu From: gnu@hoptoad.UUCP Newsgroups: comp.protocols.tcp-ip Subject: Re: dial-up SLIP Message-ID: <3362@hoptoad.uucp> Date: Fri, 20-Nov-87 07:46:13 EST Article-I.D.: hoptoad.3362 Posted: Fri Nov 20 07:46:13 1987 Date-Received: Sun, 22-Nov-87 06:42:44 EST References: <8711192329.AA03145@ucbvax.Berkeley.EDU> Organization: Nebula Consultants in San Francisco Lines: 92 UC Davis was doing a summer project with dialup slip. Their software is available on ucdavis.ucdavis.edu in the "pub/dialslip" directory, as I recall (don't you hate it how NOBODY gives a full and correct path for stuff available by anonymous ftp?). I haven't tried any of it yet. John Here's the README from ucdavis: This directory contains the first distribution of software used at UC Davis for dialin SLIP connections for the UCD Network. The complete system is a combination of patches for 4.3bsd and the CMU/IP software, plus new software for the dialin capability. The software comes in five tar files. Here is a description of what is in each tar file. 1. tiocgetu.tar This file contains patches and a new function for the 4.3bsd IO. A problem existed with 4.3 in the linkage of a SLIP interface and the actual device. The problem was this: The normal procedure to set up a SLIP was to ifconfig the interface to the desired parameters then slattach the device to this interface, BUT the slattach just grabs the first available interface which may or may not be the one that you just ifconfig'ed. This really becomes a problem when multiple SLIPs are comming and going randomly. To solve this problem, a patch was added to slattach to return the interface to which the device was connected. The returned interface can then be ifconfig'ed AFTER slattach has been connected to it. This makes sure that the associated device and interface are coordinated. To make things even easier, there is a new function included in this tar that does the the whole process, slattach and ifconfig, in one call. 2. dialslip.tar This file contains the software necessary to manage the dialin SLIP connections. The procedure for establishing a SLIP connection is to logon to the 4.3 computer and enter the slip command. After the command has been issued, the line becomes a SLIP connection. Disconnection is accomplished when the serial connection is lost (no carrier detect) and the line is then reset to a normal login line. Address assignment and security is provided by a file that associates an IP address with the usercode. A connection for a given IP address can only be made from the usercode to which that address is assigned in the configuration file. Of course the computer dialing in must also be configured for this address. The software also maintains a file of current connections that can be displayed to see wht SLIP connections are currently logged in. This file is also used by the system to make sure that the IP address is not already connected before making a new connection. If a person logs in on the same usercode twice at the same time, only the first SLIP connection will succeed. NOTE: the patches in tiocgetu.tar must be installed before the software in this tar will work. 3. cmuslip.tar These are patches to the CMU/IP software that do two things. One, makes the com port on the pc setable from the CUSTOM program, and two, fixes a bug that would briefly drop DTR on the com port during a SLIP connection. (for us that caused immediate disconnection :-}) 4. sterm.tar This is the CMU/IP terminal program with a script capability added. The script can be setup to allow connection to the network by automatically sending the sequence needed to dial the modem, logon, and send commands to connect to SLIP. The script can also wait for given strings to return to allow testing, timing out, and branching depending on what response is returned. 5. cmumakes.tar This file contains a new set of MAKE files for the CMU/IP software that are better (or at least different) than the standard ones. This tar also contains a new tarread program that allows extraction so subsets of the files in a tar file. The abbreviated IP packet software working but still has a couple of bugs we want to get out before releasing it. It should be ready in another week or so, but we wanted to make this available for those that want to get started. Russell Hobby Data Communications Manager U. C. Davis Computing Services BITNET: RDHOBBY@UCDAVIS Davis Ca 95616 UUCP: ...!ucbvax!ucdavis!rdhobby (916) 752-0236 INTERNET: rdhobby@ucdavis.edu -- {pyramid,ptsfa,amdahl,sun,ihnp4}!hoptoad!gnu gnu@toad.com Love your country but never trust its government. -- from a hand-painted road sign in central Pennsylvania