Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 1997 00:07:50 -0800 (PST)
From:      David Lowe <dlowe@sirius.com>
To:        questions@freebsd.org
Subject:   ppp strangeness
Message-ID:  <Pine.NXT.3.95.970317233701.27712A-100000@venus>

next in thread | raw e-mail | index | archive | help
Hey people -

I'm having annoying problems setting up ppp (using user ppp.)

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.
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

Any help (especially with problem #1!) would be most appreciated....

Thanks,

					David Lowe	

-- /etc/ppp/ppp.conf ---
default:
 set device /dev/modem
 set speed 38400
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK
\\dATDT\\TTIMEOUT 40 CONNECT"
foo:
 set phone *70,,xxxxxxx
 set login "TIMEOUT 10 gin:-BREAK-gin: xxx word: xxx"
 set timeout 0
 set ifaddr 10.255.255.254/0 10.255.255.255/0 255.255.255.0
 delete ALL
 add 0 0 HISADDR
 set openmode active

-- /etc/ppp/ppp.linkup ---
MYADDR:
 set timeout 0
 add 0 0 HISADDR








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NXT.3.95.970317233701.27712A-100000>