Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 1998 20:28:39 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        David Babler <dbabler@Rigel.orionsys.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: User PPP/PAP/static IP help 
Message-ID:  <199802062028.UAA21712@awfulhak.org>
In-Reply-To: Your message of "Thu, 05 Feb 1998 18:32:15 PST." <Pine.BSF.3.96.980205180512.11157B-100000@Rigel.orionsys.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
[.....]
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802062028.UAA21712>