Date: Fri, 21 Jan 2000 18:46:54 +1100 From: "Lomax" <L0max@bigpond.com> To: <freebsd-questions@FreeBSD.org> Subject: PPP keeps redialing! Message-ID: <NDBBJHJJELICJKPAPFBGAEDOCBAA.L0max@bigpond.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I've set up ppp and run it using ppp -alias -auto pmdemand on a system
running FreeBSD 3.2 (NO X-Windows).
If I run ppp any other way (ie. substitute -auto with -interactive
or -background) ppp does not work.
My actual problem is, I cant seem to stop ppp from always reconnecting if
the link goes down. If the link goes down, I DO NOT want my unix box to try
to dial up again and re-establish the link. I have tried the lines:
set redial 0 1
set reconnect 0 0
but these seem to have no effect - my unix box will always dial up over and
over (changing the timeout figures do seem to have an effect). The above
two lines are in the correct place in ppp.conf. Is there something I'm
missing? Is it something to do with the fact I'm running ppp in auto mode?
Please find attached my ppp.conf file.
Any info appreciated.
Regards,
Lomax
[-- Attachment #2 --]
################################################################
# PPP Configuration File ('/etc/ppp/ppp.conf')
#
# Default settings; These are always executed always when PPP
# is invoked and apply to all system configurations.
################################################################
default:
set device /dev/cuaa0
set speed 38400
set log +connect
disable pred1
deny pred1
disable lqr
deny lqr
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
set filter dial 0 deny icmp
set filter dial 1 permit 0 0
set timeout 0
set redial 0 1
set reconnect 0 0
#
#
################################################################
#
# For interactive mode use this configuration:
#
# Invoke with `ppp -alias interactive`
#
################################################################
interactive:
set authname spearce
set authkey myPasswordGoesHere!
set phone 63276666
set openmode active
accept chap
#
################################################################
#
# For demand-dial (automatic) mode we'll use this configuration:
#
# Invoke with: 'ppp -auto -alias demand'
#
################################################################
demand:
set authname spearce
set authkey myPasswordGoesHere!
set phone 63276666
set login "TIMEOUT 15 sername:-\\r-sername: spearce \ word: \\P comp> ppp"
set openmode active
#accept chap
set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
add 0 0 127.2.2.2
################################################################
# End of /etc/ppp/ppp.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJHJJELICJKPAPFBGAEDOCBAA.L0max>
