*BSD News Article 62613


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!charnel.ecst.csuchico.edu!waldorf.csc.calpoly.edu!decwrl!hookup!nic.wat.hookup.net!news
From: Thomas Schroecker <thomas@canadian-agra.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: SLIP drives me cRaZY (only works on good days)
Date: 28 Feb 1996 22:33:11 GMT
Organization: C.A. Project Development Corp.
Lines: 43
Message-ID: <4h2l77$6hg@nic.wat.hookup.net>
NNTP-Posting-Host: slip5.sos.on.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (Windows; I; 16bit)

Hi there...
I've got FreeBSD 2.1, and am trying to get SLIP to work properly quite 
unsucessfuly.  It seems to work fine as soon as the computer is rebooted, 
but after the machine is up for a while things go weiered.  #1 POP 
connecdiefn up after itself (ie leaves routes up)
#3 sometimes the users can't log in at all...they receive a NO CARRIER 
message after they log in...#4 sometimes it works extremely fast (3500cps 
over 28.8's) sometimes it works extremely slow (500cps over 28.8's) 
downloading stuff from our local server.

Just little weired things like that to make my day lousy.  here are my 
login & logout scripts for slip incase it makes a difference.

#slip.login
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/usr/sbin/arp -d $5 #get rid of the IP address incase its still around
/sbin/ifconfig sl$1 inet $4 $5 netmask $6
# Answer ARP requests for the SLIP client with ourEthereess incase its still around
/sbin/ifconfig sl$1 inet $4 $5 netmask $6
# Answer ARP requests for the SLIP client with our Ethernet addr
/usr/sbin/arp -s $5 00:20:c5:e2:07:f4 pub

#slip.logout
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig sl$1 down
/sbin/ifconfig sl$1 delete
# Quit answering ARP requests for the SLIP client
/usr/sbin/arp -d $5

Anyhow any help would be extremely appreciated.

Thanks a lot

Thomas

PS.  When users get a NO CARRIER MESSAGE right after they log in, I get 
the message Sliplogin exited at signal 255 or 256...what does 255 or 
256 mean?

Thanks