Subject: NetBSD and ppp
To: port mac 68k <port-mac68k@netbsd.org>
From: Kadari Mayson <kmayson@viconet.com>
List: port-mac68k
Date: 02/03/2000 10:06:46
This is a multi-part message in MIME format.

------=_NextPart_000_0005_01BF6E2E.60F9D540
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When trying to do a pppd call my isp I get this
      =20
Aug 17 16:48:30 testbench0 pppd[579]: Serial connection established.
Aug 17 16:48:31 testbench0 pppd[579]: Using interface ppp0
Aug 17 16:48:31 testbench0 pppd[579]: Connect: ppp0 <--> /dev/tty01
Aug 17 16:48:31 testbench0 pppd[579]: Modem hangup
Aug 17 16:48:31 testbench0 pppd[579]: Connection terminated.
Aug 17 16:48:33 testbench0 pppd[579]: Exit.

     =20
my /etc/ppp/chat-script is the one at
http://www.macbsd.com/macbsd/howto/pppnat/ with the exception that it
doesn't output PPP after spitting out username and password.

my /etc/ppp/options.tty01 contains
lock
crtscts
115200
modem
my /etc/ppp/peers/StarNet contains
tty01 115200
connect '/etc/ppp/chat-script "9184700"' # connect script
crtscts                         # use hardware flow control
defaultroute                    # add default routing when link comes up
lock                            # lock the modem port on connect
modem                           # use full modem control
noipdefault                     # no local defaults for IP addresses
mtu 1500                        # maximum transmission size for link

Any suggestions would be appreciated, I have also tried the configs =
listed
at http://www.netbsd.org/Documentation/network/index.html#ppp with the
same error. I just started useing NetBSD and havent tried to get PPP
working before, useing Minicom I can dial in fine useing the same modem
and port so It doesnt appear to be a physical connection issue or a =
modem
to modem conneection issue nor an username/password issues since it does
connect and appears to authenticate.

I also get the same error message with kppp.

thanks in advance.

------=_NextPart_000_0005_01BF6E2E.60F9D540
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.3825.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New">When trying to do a pppd call my isp I =
get=20
this<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>Aug 17 16:48:30 =
testbench0=20
pppd[579]: Serial connection established.<BR>Aug 17 16:48:31 testbench0=20
pppd[579]: Using interface ppp0<BR>Aug 17 16:48:31 testbench0 pppd[579]: =

Connect: ppp0 &lt;--&gt; /dev/tty01<BR>Aug 17 16:48:31 testbench0 =
pppd[579]:=20
Modem hangup<BR>Aug 17 16:48:31 testbench0 pppd[579]: Connection=20
terminated.<BR>Aug 17 16:48:33 testbench0 pppd[579]:=20
Exit.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>my /etc/ppp/chat-script =
is the=20
one at<BR></FONT><A =
href=3D"http://www.macbsd.com/macbsd/howto/pppnat/"><FONT=20
face=3D"Courier =
New">http://www.macbsd.com/macbsd/howto/pppnat/</FONT></A><FONT=20
face=3D"Courier New"> with the exception that it<BR>doesn't output PPP =
after=20
spitting out username and password.<BR><BR>my /etc/ppp/options.tty01=20
contains<BR>lock<BR>crtscts<BR>115200<BR>modem<BR>my =
/etc/ppp/peers/StarNet=20
contains<BR>tty01 115200<BR>connect '/etc/ppp/chat-script "9184700"' # =
connect=20
script<BR>crtscts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
# use hardware flow=20
control<BR>defaultroute&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# add default routing when link comes=20
up<BR>lock&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
# lock the modem port on=20
connect<BR>modem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
# use full modem=20
control<BR>noipdefault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# no local defaults for IP addresses<BR>mtu=20
1500&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# maximum transmission size for link<BR><BR>Any suggestions would be=20
appreciated, I have also tried the configs listed<BR>at </FONT><A=20
href=3D"http://www.netbsd.org/Documentation/network/index.html#ppp"><FONT=
=20
face=3D"Courier =
New">http://www.netbsd.org/Documentation/network/index.html#ppp</FONT></A=
><FONT=20
face=3D"Courier New"> with the<BR>same error. I just started useing =
NetBSD and=20
havent tried to get PPP<BR>working before, useing Minicom I can dial in =
fine=20
useing the same modem<BR>and port so It doesnt appear to be a physical=20
connection issue or a modem<BR>to modem conneection issue nor an=20
username/password issues since it does<BR>connect and appears to=20
authenticate.<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New">I also get the same error message with=20
kppp.</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New">thanks in =
advance.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01BF6E2E.60F9D540--