ppp link always dials when started with -auto?
david at carter-hitchin.clara.co.uk
Thu Nov 6 22:51:06 UTC 2003
With lots of help from John Chung I eventually fixed this problem - it was
because ipv6 was configured. I've disabled that in the kernel (I survived
without it for years, so no reason to have it as part of my upgrade).
I clocked up about 15 hours trying to debug this problem - that would have
been cut down to about 30 mins had this been in the FAQ. Can someone
please add this side effect of ipv6 on ppp to FAQ 14.17 or alternatively I
am happy to volunteer to do it myself?
There again if someone knows a cunning way to make ppp and ipv6 sit
happily together that might be a better way forward...
On Sun, 26 Oct 2003, David Carter-Hitchin wrote:
> Hi FreeBSD'ers,
> I've just upgraded to 4.9-RC (from 4.2) and I'm really happy with
> everything except ppp.
> Whenever I start ppp (with ppp -auto pmdemand) it immediately starts to
> dial - after connecting it briefly sends and receives a minimal amount of
> data then sits there idly.
> One other problem I've got with my upgrade is that I'm getting pam errors:
> Oct 26 20:26:25 stoat login: no modules loaded for `login' service
> Oct 26 20:26:25 stoat login: pam_open_session: Permission denied
> I've read the ppp faq and this question is covered and it says sendmail is
> the often the culprit. This rang loud bells as I saw that the more recent
> version of sendmail has depreciated the 'nodns' feature. So I tried
> rebooting without sendmail running, but still the same problem. I tried
> killing off a few daemons including inetd, lpd, usbd.. but no joy.
> I added "log All +tcp/ip" to get the full output, but I don't know enough
> about this stuff to go further. I initially get the following lines in
> the log:
> Oct 26 21:17:32 stoat ppp: tun0: TCP/IP: OUT
> <0>: fe80::240:95ff:fe44:3e11 ---> ff02::1:ff44:3e11 (72)
> Oct 26 21:17:32 stoat ppp: tun0: TCP/IP: OUT ICMP: :::135 --->
> ff02::1:ff44:3e11 (16/64)
> I've uploaded the rest of the conversation to:
> My setup is an isolated workstation (no LAN, occasional dialup). Here are
> some outputs:
> ->uname -a
> FreeBSD stoat.clara.net 4.9-RC FreeBSD 4.9-RC #0: Sat Oct 18 13:56:46 BST
> 2003 david at stoat.clara.net:/usr/obj/usr/src/sys/STOAT i386
> ->cat /etc/ppp/ppp.conf
> #set log Phase Chat LCP IPCP CCP tun command
> set log All
> ident user-ppp VERSION (built COMPILATIONDATE)
> set device /dev/cuaa0
> set speed 115200
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
> \"\" ATM1 OK \\dATDT\\T TIMEOUT 40 CONNECT"
> enable dns
> set timeout 300 # 3 mintue idle timer (the
> set phone XXXXXXXXXXXXXXX
> set authname XXXXX
> set authkey XXXXXX
> add default HISADDR # Add a (sticky) default route
> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
> ->cat /etc/resolv.conf
> nameserver 220.127.116.11
> nameserver 18.104.22.168
> ->cat /etc/hosts
> ::1 localhost localhost.clara.net
> 127.0.0.1 localhost localhost.clara.net stoat.clara.net
> 127.0.0.1 stoat stoat.clara.net
> 127.0.0.1 carter-hitchin.clara.co.uk
> I'd really appreciate some help here - I'm stuck in being able to
> identify precisely what is using the link.
> Many thanks,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-doc