*BSD News Article 19181


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!headwall.Stanford.EDU!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!dhess
From: dhess@Xenon.Stanford.EDU (Drew Hess)
Subject: OK, NetBSD installed, now SLIP....
Message-ID: <dhess.744491038@Xenon.Stanford.EDU>
Sender: news@CSD-NewsHost.Stanford.EDU
Organization: Computer Science Department, Stanford University, California, USA
Date:  4 Aug 93 19:03:58 GMT
Lines: 54

Thanks to all those who replied regarding my NetBSD problems with a DOS
partition.  Setting the extended DOS partition type to 0xA5 using pfdisk
worked just fine and NetBSD installed with no problems.

Now I'm having problems getting SLIP to work.  I have dialup access to a 
Cisco SLIP server, which assigns dynamic IP addresses.  After I installed 
NetBSD off the floppies, I dialed up the SLIP server under DOS, entered
SLIP mode, and took down the necessary info.  (Yes, I know this is possible
with tip, but I had no man pages on tip at the time.)  I rebooted into
NetBSD, and did the following:

slattach /dev/com1 38400
ifconfig sl0 36.173.0.91 36.173.0.91 netmask 0xffff0000
route add default 36.173.0.14

36.173.0.91 is the IP address I was assigned by the Cisco server, and
36.173.0.14 is the gateway for this particular address.

I then FTPed to agate.berkeley.edu and everything worked just fine.  I
downloaded all the distribution files, extracted them, and then configed
the machine.  When prompted for a machine name, I replied with
"elsie.stanford.edu" (my machine is a Gateway, and Elsie is the most famous
cow I know of); when asked if my machine had an Ethernet interface, I
replied no.  Then I rethought this and configed again, saying this time that
I had an Ethernet interface (I just configured it as sl0, the SLIP interface).
This didn't seem to work, but I figured I could correct any problems.

Anyways, to make a long story short, I now do this:

slattach -s 38400 /dev/com1
ifconfig sl0 36.173.0.91 36.173.0.91 netmask 0xffff0000
reoute add default 36.173.0.14

and I can't get anyone to respond to pings, nor can I FTP or telnet anywhere.
This is with the base08, misc08, etc. distributions installed.  I have not
recompiled the kernel (this is 0.8a GENERICISA).  I have tried all sorts
of host files, all kinds of hostname.sl0 files, and I just can't get it
to work.  Does anyone have any advice?

BTW, I bring the connection down occasionally, so I won't always have the
same IP address; my Cisco server supports BOOTP -- is there a way to get
NetBSD to use BOOTP so I don't have to manually change my hosts file each
time I get a new address?  And does it matter that I've named my machine
"elsie", when "elsie" obviously isn't recognized by the nameserver?
(The correct name is tip-mpN-ncs-X, where N and X vary according to what
port you're assigned upon login to the Cisco server.  I have tried setting
the myname and hosts files with the correct name but this doesn't seem to
work either.)

Thanks for all the help,

-dwh-
dhess@cs.stanford.edu