Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD and PPP
Date: 10 Dec 1996 05:30:56 -0000
Organization: Coverform Ltd.
Lines: 48
Sender: brian@awfulhak.demon.co.uk
Message-ID: <58isig$aei@anorak.coverform.lan>
References: <58dek3$7is@news.hic.net>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
In article <58dek3$7is@news.hic.net>,
ctilbury@hic.net (Charles A. Tilbury) writes:
: I have a Pertium 90, and a fairly complete install of FreeBSD, but I am
: stumped on getting user PPP to work. I am running the user PPP program
: and logging in manually. I have been through the "RTFM" procedure with all of
: the man pages and the other documentation on disk, but I think I am
: overlooking something simple that perhaps is not in there. Here is a
: description of the problem:
:
: 1. I can dial out and authenticate to the ISP's server.
: 2. When I ping myself, I get packet transfers.
: 3. When I ping the ISP's router, I can see activity on the modem send light,
: but I never see any recieve activity, and all of the packets are lost.
: 4. I do not see any error messages anywhere on the system, including the
: /var/log/ppp.log.
:
: The only thing I can think of is that the ISP thinks it has assigned an
: address, but BSD doesn't know about it. I am using an address that they have
: assigned, but I know that they are dynamically assigning address for some
: other subscribers that use Win95. I have configured the files, such as
: ppp.conf and the hosts file, to look like I an using a permanently assigned
: address. The ISP is using BSDi.
Make sure you've got the lines
ifaddr 127.0.1.1/0 127.0.1.10/0
delete ALL
add 0 0 HISADDR
in /etc/ppp/ppp.conf and
delete ALL
add 0 0 HISADDR
in /etc/ppp/ppp.linkup - in the correct section. With dynamic addresses,
it's important that you "delete ALL" routes after connecting, and add a
default to whatever the other sides address is (add 0 0 HISADDR) once the
link is established (and IPs have been assigned). It's probably better
if you take a guess at what the IPs are rather than using the 127s above.
If all else fails, rebuild a kernel with "pseudo-device bpfilter 1" and
use tcpdump to see what traffic is being sent & received.
--
Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
<http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.