Date: Sat, 1 Feb 1997 20:02:01 -0800 (PST) From: Joseph Stein <joes@spiritone.com> To: freebsd-questions@freebsd.org Cc: joes@joes.users.spiritone.com Subject: Using demand PPP generates errors: Message-ID: <199702020402.UAA06149@joes.users.spiritone.com>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
I have cron configured to dial up my ISP on a every 30 minute basis,
and user PPP configured properly. It all works (apparently flawlessly)
but this evening, I was going through my log files (they sure do get big!)
and found several messages (count later) like this:
Jan 31 11:05:25 joes routed[58]: IP_ADD_MEMBERSHIP ALLHOSTS: Address \
already in use
Jan 31 11:05:25 joes routed[58]: setsockopt(IP_ADD_MEMBERSHIP RIP): \
Address already in use
This particular log I'm looking at starts at 09:35:26 31 Jan 97 (with these two
messages) and ends at 18:35:27 01 Feb 97. The two messages (yes, both) are
repeated thirty four times, and as well, on rebooting, I get these two:
Feb 1 02:08:45 joes routed[58]: IP_DROP MEMBERSHIP ALLHOSTS: Can't assign \
requested address
Feb 1 02:08:45 joes routed[58]: IP_ADD_MEMBERSHIP ALLHOSTS: Address already \
in use
Feb 1 02:08:45 joes routed[58]: setsockopt(IP_ADD_MEMBERSHIP RIP): Address \
already in use
Any help, ideas, or suggestions? My ppp.conf file, ppp.linkup, /etc/sysconfig
and kernel configuration file are listed below...
**** /etc/ppp/ppp.conf ****
default:
set device /dev/cuaa1
set speed 115200
disable lqr
deny lqr
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
spiritone:
set phone 2205080
set login "TIMEOUT 10 gin:-BREAK-gin: LoginID word: PassWord"
set timeout 900
set ifaddr 205.139.111.224 205.139.108.254/24
**** /etc/ppp/ppp.linkup ****
205.139.111.224:
delete ALL
add 0 0 HISADDR
**** /etc/sysconfig ****
#!/bin/sh
#
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
# $Id: sysconfig,v 1.52.2.2 1996/12/10 16:53:55 joerg Exp $
######################### Start Of Local Configuration Section ###########
# Location of local startup directories.
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"
######################### End Of Local Configuration Section #############
######################### Start Of Syscons Section #######################
# Choose keyboard map from /usr/share/syscons/keymaps/* or NO if default.
keymap=NO
# Set keyboard rate to: slow, normal, fast or NO if default.
keyrate=NO
# Change function keys default values (or no change if NO)
# Syntax: "<funkey_number> <new_value> [<funkey_number> <new_value>]..."
keychange=NO
# Desired cursor type {normal|blink|destructive}, NO if no change
cursor=NO
# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none)
scrnmap=NO
# Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default)
font8x16=NO
# Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default)
font8x14=NO
# Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default)
font8x8=NO
# Set blank time (in seconds) or "off" to turn it off (or NO for default)
blanktime="600"
# Set to screen saver desired: blank, green, snake, star (or NO for none)
saver="star"
# Set to
# {microsoft|mousesystems|mmseries|logitech|busmouse|mouseman|ps/2|mmhittab}
# to activate system mouse cursor support (or NO for none)
# Use 'vidcontrol -m on' command to activate it on particular screen
mousedtype=NO
############## Next block activated only if mousetype != NO ################
# Set to your mouse port (required)
# Use real device here, because /dev/mouse usually linked with /dev/sysmouse
mousedport=/dev/cuaa0
# Moused options:
# -s: 9600 baud mouse
# -c: enable ChordMiddle
# see moused usage info for complete options list
mousedflags=""
######################### End of moused block ##############################
# General Russian setup for example:
# (koi8-r keyboard with cp866 screen font mapped to koi8-r)
#
# keymap=ru.koi8-r
# keyrate=fast
# keychange="61 [K"
# cursor=destructive
# scrnmap=koi8-r2cp866
# font8x16=cp866b-8x16
# font8x14=cp866-8x14
# font8x8=cp866-8x8
# blanktime=600
# saver=snake
# mousedtype=mousesystems
# mousedport=/dev/cuaa0
# mousedflags=""
######################### End Of Syscons Section #######################
######################### Start Of Netconfig Section #######################
# Set to the name of your host - this is pretty important!
hostname=joes.users.spiritone.com
# 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
# If you're running PCNFSD or anything else which requires mountd to allow
# non-root requests for NFS mounts, set this to YES.
weak_mountd_authentication=NO
#
# Set to the list of network devices on this host. You must have an
# ifconfig_${network_interface} line for each interface listed here.
# Extra addresses may be specified with sequentual _alias<N> lines. IPX
# addresses may be specified with an ifconfig_${network_interface}_ipx
# line.
#
# 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"
# ifconfig_lo0="inet 127.0.0.1"
# ifconfig_ed0_alias0="inet 10.0.2.1 netmask 0xffffff00"
# ifconfig_ed0_alias1="inet 10.0.2.2 netmask 0xffffffff"
# ifconfig_ed0_ipx="ipx 0x1234"
#
# Alternatively, /etc/start_if.${network_interface} is run if it exists.
# This script can be used as an alternative to the ifconfig_<xxx> lines.
#
network_interfaces="lo0"
ifconfig_lo0="inet 127.0.0.1"
#
# 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 (unless
# static_routes is set to "" - do NOT use ``NO'' to denote a lack of static
# routes!).
#
#static_routes="foo multicast"
#route_foo="woofo woofo-gw"
#route_multicast="224.0.0.0 -netmask 0xf0000000 -interface 10.0.0.1"
static_routes=""
# Set to the host you'd like set as your default router, or NO for none.
# This is the same as adding a ``default'' entry to static_routes.
defaultrouter=NO
# This is the routing daemon you want to use. Possible options are
# currently NO (for none), `routed' and `gated'. Also see `routerflags'
# for startup flags.
router=routed
# These are the flags you'd like to start the routing daemon with
routerflags=-q
# mrouted flags, or NO if you don't want to start mrouted. Needs kernel
# options enabled before it will work.
mrouted=NO
# YES will switch routing on in the kernel. You need to switch this on
# if this machine has to act as a IPX router. You need to build a
# kernel with IPX support for this to work.
ipxgateway=NO
# IPXrouted flags. NO if you don't want to start it. Do "man IPXrouted"
# to get more information on the flags.
ipxrouted=NO
# 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 synchronize your clock from (gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate=tock.usno.navy.mil
# Set to YES if you want to run rwhod
rwhod=NO
# Set to NO if don't want to run lpd
lpd=YES
# 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. The commented-out entry
# provides a reasonable default, using the sample amd.map config file from the
# /usr/src/etc directory.
amdflags="NO"
#amdflags="-a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map"
# 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"
# Name of host to ypset to, if no YP server on this wire
nis_ypsetflags="NO"
# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"
# Set to appropriate flags for rpc.ypxfrd. This should only be
# run on NIS master servers.
ypxfrdflags="NO"
# Set to appropriate flags for rpc.yppasswdd. This should only be
# run on NIS master servers.
# Typical flags might be "-t /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 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 an additional swapfile you'd like to have added to preallocated swap
# space during system boot (or NO for none).
swapfile=NO
# Set to YES if you want to run Kerberos authentication
kerberos_server=NO
# If you want this host to be a gateway, set to YES.
gateway=NO
# If you want this host to be a firewall or otherwise filter IP, set to YES.
firewall=NO
# Set to YES if you wish to check quotas.
check_quotas=YES
# Set to YES to turn on accounting.
accounting=NO
######################### End Of Netconfig Section #######################
######################### Start Of PC-card Section #######################
# If you want to enable APM BIOS driver, set to YES
# (The APM BIOS driver is not configured into GENERIC kernel b/c of bugs)
apm_enable=NO
# If you want to use PC-card package, set to YES
# (PC-card support is not configured in the GENERIC kernel)
pccard_enable=NO
# If you want to specify the address of memory used by PCIC,
# set this address (DEFAULT=0xd0000)
pccard_mem=DEFAULT
# If you want to use Etnerent PCMCIA cards, specify the ifconfig portion
# here. (card-specific flags like connector selection should be written in
# the card-specific entry in /etc/pccard.conf). Set to DHCP if you want to
# use a DHCP server to determine your IP address (not implemented).
#
# Set to NO if you don't want to configure your PC-CARD ethernet controller.
#
# for example:
#
# pccard_ifconfig="131.113.32.126 netmask 0xffffff00"
# or
# pccard_ifconfig="DHCP"
#
pccard_ifconfig=NO
######################### End Of PC-card Section #######################
######################### Start Of Misc Section #######################
# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO
# Set to YES if you want Linux a.out emulation loaded at startup
linux=NO
# Set to a string representing the interrupts you are going to use
# for generating entropy in the kernel (or NO to ignore).
# If the machine is networked, the Ethernet card IRQ is good.
# The IRQ on an intelligent hard disk controller is good.
# The IRQ's on most sound devices are good.
#
# The following choices are BAD:
# The IRQ's on COM-ports (SIO devices), the IRQ used by a "classic"
# IDE disk or cdrom (Intelligent controllers seem to be OK), and
# the IRQ on the system clock.
#
# Experiment with the rest. The best interrupts are the ones that
# happen fairly irregularly, and never occur in very high-speed bursts.
#
# You'll have it right when you have a good supply of numbers from
# /dev/random, and no problems on your system, like slowdowns,
# Sluggish net/disk activity, perhaps even errors.
# For example - if you have a sound blaster on IRQ5, an ethernet card
# on IRQ10 and a SCSI controller on IRQ11 (eg ADAPTEC 1542) you might
# try this:
#
# rand_irqs="-s 5 -s 10 -s 11"
rand_irqs="NO"
**** /usr/src/sys/i386/conf/JOES ****
#
# JOES -- Modified for i486/120
#
#
machine "i386"
#cpu "I386_CPU"
cpu "I486_CPU"
#cpu "I586_CPU"
ident JOES
maxusers 25
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
#options NFS #Network Filesystem
#options MSDOSFS #MSDOS Filesystem
#options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3
options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device
#options BOUNCE_BUFFERS #include support for DMA bounce buffers
#options UCONSOLE #Allow users to grab the console
options QUOTA
#options USERCONFIG #boot -c editor
#options VISUAL_USERCONFIG #visual boot -c editor
options SYSVSHM
options SYSVSEM
options SYSVMSG
config kernel root on wd0
controller isa0
#controller eisa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
#disk fd1 at fdc0 drive 1
#tape ft0 at fdc0 drive 1
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
#disk wd1 at wdc0 drive 1
#controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk wd2 at wdc1 drive 0
#disk wd3 at wdc1 drive 1
#options ATAPI #Enable ATAPI support for IDE bus
#device wcd0 #IDE CD-ROM
#controller ncr0
#controller ahb0
#controller ahc0
#controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
controller scbus0
#device sd0
#device st0
device cd0 #Only need one of these, the code dynamically grows
#device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
#controller matcd0 at isa? port 0x230 bio
#device scd0 at isa? port 0x230 bio
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
#options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1
options XSERVER # include code for XFree86
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std
# Mandatory, don't remove
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
#
# Laptop support (see LINT for more options)
#
#device apm0 at isa? # Advanced Power Management
#options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
#device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
#device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
device lpt0 at isa? port? tty vector lptintr
#device lpt1 at isa? port? tty
#device mse0 at isa? port 0x23c tty irq 5 vector mseintr
#device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
#device fxp0
#device vx0
#device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 1
# ijppp uses tun instead of ppp device
#pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
*********** END OF ATTACHED FILES *************
Thanks in advance for any help...
Joe
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMvQRnMpxzTVzgr+lAQG93wP8CBjBOWT8tvyuwO5FvlSlwP5BJm3lugLP
BFl6juxtzBnWP6qAh1n01hSThYlTqwmekghHg7fggZIbfmzoF4Zc7yqWagaOxaDb
3JKvwCkREhQvSNUrwizD9EFaimXYW67Cm478VCSG2C6jMOKdt/3Co0v5LnS9y/yq
bj0PDPT+viQ=
=vgXj
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702020402.UAA06149>
