ppp -auto my_provider

Tom Huppi thuppi at huppi.com
Wed Feb 2 00:02:05 PST 2005

On Wed, 2 Feb 2005, Alexander Bubnov wrote:

> could you help me, please? (I have FreeBSD 5.3)
> this question:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ppp.html#PPP-AUTO-NOREASONDIAL
> Why does ppp(8) dial for no reason in -auto mode?

I've fought the same irritating issue now and again.  As for
diagnosis, the most useful thing I've found is to turn on full
logging (in ppp.conf), then grep (or tail -f or whatever) the log
looking for the dial trigger after a spurious dial.  I'm not on
the machine from which I have the misfortune of needing to use a
modem so I can't say off-hand the exact string to look for, but
it's not any of the four lines you've posted.

If you need more info about the nature of the transaction, try
'tcpdump -i tun0'.  I used this recently to determine that various
operations on NAT machines behind my gateway were generating
spurious (and obviously failing) reverse DNS lookups and thus, an
unwanted dial.  I never reached a conclusion about how to deal
with this other than to set up a cacheing-only DNS server, but I
shouldn't even mention it here since it's probably not related to
a solution for you (...or is it?)

BTW, and totally unrelated, does anyone know of a graphical dial
utility for ppp(8) (aka, user-ppp?)  I see two in the ports
collection for 'pppd', but I know 'user-ppp' slightly better.  My
goal is to set up a machine for a completely computer non-literate
friend, and I would rather use FreeBSD than any of the Linux
distros that may also be suitable.  I would need to make his
system very user-friendly.


 - Tom

> I used the following line for log-file:
> set log tcp/ip
> /var/log/ppp.log includes next text:
> Feb  1 10:24:04 fatal ppp[894]: Phase: Using interface: tun0
> Feb  1 10:24:04 fatal ppp[894]: Phase: deflink: Created in closed state
> Feb  1 10:24:04 fatal ppp[895]: TCP/IP: OUT <0>: fe80::2c0:26ff:fea4:b6b0 ---> ff02::1:ffa4:b6b0 (72)
> Feb  1 10:24:04 fatal ppp[895]: TCP/IP: OUT ICMP: :::135 ---> ff02::1:ffa4:b6b0 (16/64)
> (I install FreeBSD 5.3 from mini-install disk and I do not have samba)
> also I used next:
> /etc/ppp/ppp.conf:
> default:
> ...
>   set filter dial 1 deny udp src eq 53
>   set filter dial 2 deny udp dst eq 53
>   set filter dial 3 permit 0/0 0/0
> ...
> my_provider:
> ...
> and I killed sendmail, typing killall sendmail
> These ways did not help me :(
> What do I need to do to solve a problem?
> When ppp begins to dualup 'netstat -rn' outputs next:
> Internet6:
> Destination                       Gateway                       Flags      Netif Expire
> ::1                               ::1                           UH          lo0
> fe80::%rl0/64                     link#1                        UC          rl0
> fe80::2c0:26ff:fea4:b6b0%rl0      00:c0:26:a4:b6:b0             UHL         lo0
> fe80::%lo0/64                     fe80::1%lo0                   U           lo0
> fe80::1%lo0                       link#3                        UHL         lo0
> ff01::/32                         ::1                           U           lo0
> ff02::%rl0/32                     link#1                        UC          rl0
> ff02::%lo0/32                     ::1                           UC          lo0
> ff02::%tun0/32                    fe80::2c0:26ff:fea4:b6b0%tun0 UC         tun0
> this string adds when 'ppp -auto my_provider' dialups:
> ff02::%tun0/32                    fe80::2c0:26ff:fea4:b6b0%tun0 UC         tun0
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list