*BSD News Article 51495


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!news.sprintlink.net!news.outer.net!buren
From: joshk@tanisys.com (Josh Karnes)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: SLIP woes...  or do I just not know what I am doing :-)
Date: Wed, 20 Sep 95 13:07:14 GMT
Organization: Tanisys Technology
Lines: 47
Distribution: world
Message-ID: <43p6ut$dp6@outer.net>
NNTP-Posting-Host: 204.96.111.250
X-Newsreader: News Xpress Version 1.0 Beta #2.1

OK, so I *definitely* don't know what I am doing...

I've got FreeBSD 2.0.1 (I know...  switch to 2.0.5) running on a 386DX with
8M, etc...  as a http, ftp and smtp server, and I also want it to act as a
SLIP server.  I've been fooling with this for a month or more now with no
luck.  Here's what has happened:

- Installed a Hayes Optima 14.4 on ttyd0 and followed the instructions on
  the freebsd web page for setting up the ttys file, etc...  dial in with a
  terminal and I get garbage on the screen.  Switch to a Microcom 28.8 on
  the same port and it works great...  Dial in with a terminal gives me the
  standard "login:" propmt and everything is hunky dory (no SLIP yet, though)
  both modems were external.

- Set up the slip.hosts and slip.login files properly (I think), and dial in
  with a SLIP client app from my Mac ("MacSLIP"), connects, sends "sliplogin",
  everything works great as long as I only want to communicate with the
  server I am connected to...  like viewing my web page, sending myself mail,
  etc...  also, DNS does not work, can't ping anyone except the SLIP server.

- Got a book on TCP/IP networking and called a buddy who consults on BSD.
  The buddy says that I need a separate subnet for the SLIP hosts, and that
  is the only way to make the ethernet card in the SLIP server communicate
  with the SLIP interface.  Sounds like bunk to me, but what do I know, so
  I got a book and read half of it...  [big book].  I come up with what I
  think is a solution...

- Proposed solution:  routing problem...  The problem is that the SLIP server
  answers ARP requests for the IP number of the SLIP line with the ethernet
  address of the ethernet card (as it should), but then the server does not
  know to forward the packets to the SLIP line.  So I assign an IP number to
  the SLIP interface using ifconfig, same number as the number of the dialup
  SLIP client (my Mac at home :-), and then add the "-s" flag to routed for
  some reason that made sense to me at that time but I can't remember now.
  So, I figure that now it'll work, right?

- Power outage kills the memory in the modem, so the settings are lost before
  I can try it.  Now I dial in with a terminal and get garbage on the screen.

AARRRRRGGGGHHHHHH!!!!!  Somebody save me before I go find a cliff to throw
our server off of!!

_____________________________________________________________________________
Josh Karnes                                                 joshk@tanisys.com
Senior Communications Specialist       http://www.tanisys.com/~joshk/home.htm
Tanisys Technology                                     http://www.tanisys.com
Austin, Texas                                            '72 240Z | IZCC #308