From owner-freebsd-questions Fri Feb 6 12:34:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20986 for questions-outgoing; Fri, 6 Feb 1998 12:34:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20900 for ; Fri, 6 Feb 1998 12:34:25 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id UAA21712; Fri, 6 Feb 1998 20:28:39 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199802062028.UAA21712@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: David Babler cc: freebsd-questions@FreeBSD.ORG Subject: Re: User PPP/PAP/static IP help In-reply-to: Your message of "Thu, 05 Feb 1998 18:32:15 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Feb 1998 20:28:39 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" [.....] > Everything seems to be okay - the modem answers, PAP works and the user > can ping anywhere and I can ping him from this network. The syslog > entries, though, shows: > > Feb 5 17:41:52 Rigel routed[62]: IP_ADD_MEMBERSHIP ALLHOSTS: Address > already in use > Feb 5 17:41:52 Rigel routed[62]: setsockopt(IP_ADD_MEMBERSHIP RIP): > Address already in use > Feb 5 17:41:52 Rigel routed[62]: punt RTM_ADD without gateway > Feb 5 18:04:15 Rigel routed[62]: interface tun0 to xxx.xxx.xxx.9 turned off > > I have no way of checking if the REST of the world will see the user's > correct address, however - will this work? Yep - assuming your upstream provider routes packets for .100 to you. > The other oddity is that I've enabled seperate logging, as: > > ---- /etc/syslog.conf > !ppp > *.* /var/log/ppp.log > > And that was working (found/fixed a lot of problems) except after I > deleted the file - now all the info gets logged in the main message file > instead. Creating a new /var/log/ppp.log by touching it results in it > staying a 0-byte file. Killing PPP and/or restarting init seem to make no > difference. How did I break the log? It's owned by syslog(8). Check the man page. If you do anything with any of these log files, you have to `killall -HUP syslogd'. Look into newsyslog if you want to rotate them. > Thanks in advance! > > -Dave > -- Brian , , Don't _EVER_ lose your sense of humour....