Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 1997 14:43:43 -0700 (MST)
From:      Softweyr LLC <softweyr@xmission.com>
To:        dlowe@sirius.com
Cc:        questions@freebsd.org
Subject:   Re: ppp strangeness
Message-ID:  <199703192143.OAA08645@xmission.xmission.com>
In-Reply-To: <Pine.NXT.3.95.970317233701.27712A-100000@venus> from "David Lowe" at Mar 18, 97 00:07:50 am

next in thread | previous in thread | raw e-mail | index | archive | help
Davide Lowe recently lamented:
> I'm running FreeBSD 2.2-970310-GAMMA on a 486-80 with 12MB ram.  The modem
> in question is a USRobotics 28.8 Sportster.
> 
> I used to run user ppp without problems.  Things that have changed since
> then: upgraded from 14.4 Sportster.  upgraded from 2.1.5-RELEASE.  and
> changed to an ISP with dynamic IP allocation :(
> 
> The problems are as follows:
> 
> 1 - The connection dies after some seemingly random interval.  However,
>     the line doesn't get hung up, the routes stay in place, and the
>     interface stays marked as up.  The ppp process starts going crazy
>     and slurps up memory; doesn't respond to keys.  At this point I kill
>     -9 it from another shell, down the interface, delete the dead route,
>     and re-do (all manually, so far).  Not much fun.

This is most likely a modem problem; you need to tell your modem to 
hangup when carrier detect goes away.  Also, be sure to use a cuax
device to connect on in your configuration file.

> 2 - A problem that seems more strange.  'ppp -auto foo' seems to behave
>     strangely.  It claims to be working fine, but it ups the interface
>     with a bogus route immediately (i.e.:
> 	# ifconfig tun0
> 	tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1006
> 	# ppp -auto foo
> 	<output seems to be happy...>
> 	# ifconfig tun0
> 	tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1006
> 		inet 10.255.255.254 --> 10.255.255.255 netmask 0xffffff00

When you run ppp -auto, it brings up the tun0 interface immediately so
you can route packets to it.  If it gets a packet and doesn't have the
interface up, it will bring it up and fix the addresses and/or routes.
If the interface wasn't up, you couldn't route packets to it!

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703192143.OAA08645>