*BSD News Article 66119


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!news.midusa.net!not-for-mail
From: jgoerzen@complete.org (John Goerzen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP problems
Date: 15 Apr 1996 12:55:04 GMT
Organization: Communications Centre (+1 316 367 8490)
Lines: 174
Message-ID: <4ktgv8$pgu@news.midusa.net>
NNTP-Posting-Host: node1.moundridge.midusa.net
To: freebsd-questions@freebsd.org
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

Hi,

I'm having problems with PPP demand dialing.  It seems to require that I
have run PPP in non-demand mode once before since the last reboot.  Then,
sometimes it will cause the remote to hang up sometimes....

Here are relevant configs.

ppp.conf:
default:
 set device /dev/cuaa1
 set speed 115200
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
netspace:
 set phone 3679000
 set login "TIMEOUT 10 Username: jgoerzen word: xxxxx oundridge ppp\\sdefault"
 set timeout 300
 set ifaddr 0 206.28.168.21
# add 0 0 206.28.168.21

ppp.linkup:
#
# Otherwide, simply add peer as default gateway.
#
MYADDR:
 add 0 0 HISADDR

ppp.secret: I know that one is OK.

In case you are curious, I am a UUCP-connected site -- complete.org

hosts:
127.0.0.1		complete.org complete


127.0.0.1		localhost
127.0.0.1		www.complete.org www
127.0.0.1		news.complete.org news
127.0.0.1		ftp.complete.org

sysconfig
# Set to the name of your host - this is pretty important!
hostname="complete.org"

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#	network_interfaces="ed0 sl0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="cuaa0 lo0"
ifconfig_cuaa0="inet   netmask 255.255.255.0"
ifconfig_lo0="inet localhost"

#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"


# Set to the host you'd like set as your default router, or NO for none.
defaultrouter=NO

# These are the flags you'd like to start the routing daemon with
# routedflags="-q"
routedflags="-q"

# timed flags, or NO if you don't want to start the time daemon
timedflags=NO

# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags="NO"

# this is inoperative unless xntpd is enabled; NO to disable
tickadjflags="-Aq"

# Set to the site you'd like to syncronize your clock from (gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate="NO"

# Set to YES if you want to run rwhod
rwhod=NO

# Default sendmail flags.  -bd is pretty mandatory, -q<n>m sets the queue scan
# time in minutes.  If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"

# Set to appropriate flags if you want to use AMD
amdflags="NO"

# Set to YES if this machine will be an NFS client
nfs_client=NO

# Set to YES if this machine will be an NFS server
nfs_server=NO

# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"

# Set to host to ypset to if you need to do that
nis_ypsetflags="NO"

# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"

# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"

# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
namedflags="NO"

# Set to YES if you run PC-NFSD (see /usr/ports/net/pcnfsd) for
# sharing filesystems with DOS/Windows PCs.
pcnfsd=NO

# Set to YES if you have the Apache WEB server (see /usr/ports/net/apache)
# installed and want to run it at system startup time (this is better than
# running it from inetd if you're running a dedicated WWW server).
apache_httpd=NO

# Set to YES if you want to run the X-10 power controller daemon
xtend=NO

# Set to the name of the device for kernel crashdumps, or `off' to
# disable any statically configured dumpdev, or NO for no change.
# The device should normally be one of the swap devices specified
# in /etc/fstab.
dumpdev=NO

# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO

# Set to YES if you want to run Kerberos authentication
kerberos_server=YES

# If you want this host to be a gateway, set to YES.
gateway=NO

# Set to YES if you want to run gated
gated=NO

# Set to YES if you wish to check quotas.  NOTE:  For now this probably
# doesn't work and should be left disabled.
check_quotas=YES

# Set to YES to turn on accounting.  NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO

-- 
John Goerzen  Custom programming   | Preserve our 1st Amendment Rights   |
                                   | Free Power!  Run you computer faster|
Main e-mail: jgoerzen@complete.org | with FreeBSD! http://www.freebsd.org|