*BSD News Article 14006


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!wupost!uunet!pipex!bnr.co.uk!zaphod.axion.bt.co.uk!lessen
From: lessen@axion.bt.co.uk (Lee Essen)
Newsgroups: comp.os.386bsd.questions
Subject: Dial Back Slip
Date: 5 Apr 1993 10:30:42 GMT
Organization: British Telecom Research Labs
Lines: 46
Distribution: world
Message-ID: <1993Apr5.111939@axion.bt.co.uk>
Reply-To: lessen@axion.bt.co.uk (Lee Essen)
NNTP-Posting-Host: jammy.axion.bt.co.uk


Before I tried to load cgd's com drivers I have a working (ish!) serial
port and was trying to get some form of dial-back Slip going.

This is what I did....am I doing it right?

	machine at work	  132.146.99.1      (sun with PC-NFS slip)

	machine at home   132.146.99.2      (386bsd with std. slip)

From home, using tip, dial into our dialback system. Wait for call back.
Connect to the machine at work. I've got a script which does something like...

	sleep 20
	echo atdt <number>  > /dev/ttyb
	sleep 30
	slattach /dev/ttyb 132.146.99.1 132.146.99.2 9600
	route add host 132.146.99.2 132.146.99.1 0

(This is only temporary until I can prove it works, then it will get C'd)

Once the script is started, disconnect and wait for dial back, the machine 
dials back. Exit from tip and...

	slattach /dev/com1 9600

	ifconfig sl0 132.146.99.2 132.146.99.1 netmask 0xffffff00
	route add default 132.146.99.2 0

The modem send and receive lights flash a bit. If I ping 132.146.99.1
the transmit light flashes a bit, the receive light starts after a while
and then nothing!

netstat -i will show a few sent packets and an incomming error!

I'm not 100% confident in the error-free state of the link, but I left it
going for quite a while and never had one valid incoming packet!

I wonder whether one end is doing header compression and the other end not?

Can anyone help?

Thanks,

Lee.