Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 1998 23:48:54 -0800
From:      Bill Trost <trost@cloud.rain.com>
To:        stable@FreeBSD.ORG
Subject:   problems with PPP
Message-ID:  <19980314080045.7637.qmail@jli.com>

next in thread | raw e-mail | index | archive | help
I sync'd up with stable a couple of days ago and
I am having problems with ppp (used with -auto).  If the IP address is not
explicitly specified in ppp.conf, then outgoing packets get sent with a source
address of 0.0.0.0, even though the inteface appears to be configured correctly:

bash# tcpdump -n -i tun0
tcpdump: listening on tun0
23:40:00.184347 0.0.0.0.53 > 128.9.0.107.53: 58951 A? internic.net. (30)
23:40:01.194388 0.0.0.0.53 > 192.33.4.12.53: 58948 A? internic.net. (30)
^C
bash# ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 131.252.218.8 --> 204.203.69.20 netmask 0xffff0000 


The relevant bits of /etc/ppp/ppp.conf are as follows:

default:
 set device /dev/cuaa1
 set speed 57600
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set ctsrts on
server:
 set ifaddr 0 204.203.69.20
 add default HISADDR


I probably should be including something else, but I don't recall what....

I have tried using both the 2.2.6-BETA kernel and an earlier (January-ish)
kernel that I had installed before the upgrade, but that didn't help (thereby
suggesting the bug is not a recent addition to the kernel).  I tried cvsupping
and rebuilding ppp, but that didn't help.  I tried talking to a PPP server
where my IP address is statically assigned, so I could set my own ifaddr, and
that *did* help.

Useful comments appreciated.  I might try throwing away the ppp and/or netinet
sources and rebuilding, but I do not have the network bandwidth to do that
available at the moment -- something about PPP problems.... (-:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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