Subject: Re: NetBSD and ppp
To: Kadari Mayson <kmayson@viconet.com>
From: Erik Winkler <ewinkler@erols.com>
List: port-mac68k
Date: 02/03/2000 10:59:54
--------------E46C3F7F6BEB672113ECFFE1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Looks like you have the serial port speed set to high.  Try 57600 or
38400 instead of 115200.  You can run the serial ports faster, but you
need a patched kernel.

Erik

Kadari Mayson wrote:

> When trying to do a pppd call my isp I get this
>
> 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.
>
>
> 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.

--------------E46C3F7F6BEB672113ECFFE1
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
Looks like you have the serial port speed set to high.&nbsp; Try 57600
or 38400 instead of 115200.&nbsp; You can run the serial ports faster,
but you need a patched kernel.
<p>Erik
<p>Kadari Mayson wrote:
<blockquote TYPE=CITE><style></style>
<font face="Courier New">When trying
to do a pppd call my isp I get this</font>
<p><font face="Courier New">Aug 17 16:48:30 testbench0 pppd[579]: Serial
connection established.</font>
<br><font face="Courier New">Aug 17 16:48:31 testbench0 pppd[579]: Using
interface ppp0</font>
<br><font face="Courier New">Aug 17 16:48:31 testbench0 pppd[579]: Connect:
ppp0 &lt;--> /dev/tty01</font>
<br><font face="Courier New">Aug 17 16:48:31 testbench0 pppd[579]: Modem
hangup</font>
<br><font face="Courier New">Aug 17 16:48:31 testbench0 pppd[579]: Connection
terminated.</font>
<br><font face="Courier New">Aug 17 16:48:33 testbench0 pppd[579]: Exit.</font>
<br>&nbsp;
<p><font face="Courier New">my /etc/ppp/chat-script is the one at</font>
<br><font face="Courier New"><a href="http://www.macbsd.com/macbsd/howto/pppnat/">http://www.macbsd.com/macbsd/howto/pppnat/</a>
with the exception that it</font>
<br><font face="Courier New">doesn't output PPP after spitting out username
and password.</font>
<p><font face="Courier New">my /etc/ppp/options.tty01 contains</font>
<br><font face="Courier New">lock</font>
<br><font face="Courier New">crtscts</font>
<br><font face="Courier New">115200</font>
<br><font face="Courier New">modem</font>
<br><font face="Courier New">my /etc/ppp/peers/StarNet contains</font>
<br><font face="Courier New">tty01 115200</font>
<br><font face="Courier New">connect '/etc/ppp/chat-script "9184700"' #
connect script</font>
<br><font face="Courier New">crtscts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# use hardware flow control</font>
<br><font face="Courier New">defaultroute&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# add default routing when link comes up</font>
<br><font face="Courier New">lock&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# lock the modem port on connect</font>
<br><font face="Courier New">modem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# use full modem control</font>
<br><font face="Courier New">noipdefault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# no local defaults for IP addresses</font>
<br><font face="Courier New">mtu 1500&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# maximum transmission size for link</font>
<p><font face="Courier New">Any suggestions would be appreciated, I have
also tried the configs listed</font>
<br><font face="Courier New">at <a href="http://www.netbsd.org/Documentation/network/index.html#ppp">http://www.netbsd.org/Documentation/network/index.html#ppp</a>
with the</font>
<br><font face="Courier New">same error. I just started useing NetBSD and
havent tried to get PPP</font>
<br><font face="Courier New">working before, useing Minicom I can dial
in fine useing the same modem</font>
<br><font face="Courier New">and port so It doesnt appear to be a physical
connection issue or a modem</font>
<br><font face="Courier New">to modem conneection issue nor an username/password
issues since it does</font>
<br><font face="Courier New">connect and appears to authenticate.</font><font face="Courier New">I
also get the same error message with kppp.</font>&nbsp;<font face="Courier New">thanks
in advance.</font></blockquote>

</body>
</html>

--------------E46C3F7F6BEB672113ECFFE1--