Subject: Re: aargh, I'm ready to throw the mac out the window
To: Alex Ardalich <alex@dove.mtx.net.au>
From: Angel Orille-Franz <Angel.Orille@extern.lrz-muenchen.de>
List: port-mac68k
Date: 01/31/1996 17:41:34
On Wed, 31 Jan 1996, Alex Ardalich wrote:
> Hi All,
>
> Has 'lots' of people managed to get ppp to work? :/
>
> I tried entering the files in a previuos posting...
> I get the connecting....done
> but pppd doesn't even run.
> ...
> Alexander Ardalich
> Adelaide, South Australia
>
Hi,
I have my Linux-Box and NetBSD connected trough the serial ports
using ppp at 57600 baud.
You might use the ATD... command to dial out.
Here is the NetBSD-Script:
(note: /dev/modem is a link to /dev/tty00)
The IP of the Mac is: 172.16.1.2 ; the one of the Linux-Box: 172.16.1.1
<---->
#!/bin/bash
(
/bin/stty -f /dev/modem 57600 crtscts -echo
if chat -t 5 -v ABORT "incorrect" "" "\r" ogin: mac ssword: mac
then
pppd file /etc/ppp/options /dev/modem 172.16.1.2:172.16.1.1 &
sleep 2
echo "PPP-Network is running." 1>&2
exit 0
else
echo "PPP conection failed." 1>&2
exit 1
fi
) < /dev/modem > /dev/modem
<----->
Here what's in the profile of the user "mac" in the Linux-Box:
<--->
stty -echo
mesg n
pppd file /etc/ppp/mac/options.mac
<--->
The options.mac file:
<---->
passive -detach crtscts /dev/ttyS3 asyncmap 200a0000 172.16.1.1:
<---->
Have fun,
Angel Orille