*BSD News Article 20354


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!hal9000!apanix!apanix!not-for-mail
From: hart@apanix.apana.org.au (Leigh Hart)
Newsgroups: comp.os.386bsd.misc
Subject: Re: How do you get slip going?!
Date: 3 Sep 1993 23:20:32 +1030
Organization: APANIX Public Access Unix, Australia, +61-8-373-5485 (3 lines)
Lines: 47
Message-ID: <267eio$1k6@olivaw.apanix.apana.org.au>
References: <25otdr$h5i@uxa.ecn.bgu.edu>
NNTP-Posting-Host: olivaw.apanix.apana.org.au

mccs3108@uxa.ecn.bgu.edu writes:

>I want to dialin to from my pc running 386bsd get a slip connection.

>I use tip to dialin to the server.  I type 'slip' and get assigned
>and ip num, now what do I do?   Exit out of tip with ~^Z  and???

>HelP!


exit out of tip completely (if it hangs up, program your modem to
ignore DTR with something like:

at&d0

after exiting tip, the following should be executed:

slattach sio00 2400

where sio00 is your modem port (/dev/sio00 or /dev/modem, whatever)

and 2400 is the baud rate (19200 if it's 19200, 9600 if it's9600, whatever
your modem port is locked into with tip).

now you need to configure the slip interface:

ifconfig sl0 your_ip_address reomte_ip_address netmast 0xffffff00

where your_ip_address is the address assigned to you by the server,
remote_ip_address is the address of the server.

if you get an error saying something like "No such interface" or whaterver,
then you havn't compiled your kernel to support a slip interface, you
need to do so.

Now you should be slip connected.  you may need to change your
/etc/hosts file to reflect the chanage in your IP number.

dynamic allocation of IP addresses is real dirty, if you plan to
use the link fairly often, the I'd recommend getting a permanent link,
if not, then I'd stick to just using tip to login and then use something
like TERM (SLAP) to give you multiple sessions, or just use "screen"
on the remote host to give you mutliple windows.

Cheers

Leigh