*BSD News Article 99033


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!cs.mu.OZ.AU!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!shift.utell.net!nobody
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: User PPP and my local ISP...
Date: Wed, 2 Jul 1997 16:33:30 +0100
Organization: Awfulhak Ltd.
Lines: 134
Message-ID: <acsdp5.43a.ln@shift.utell.net>
References: <33B9D51D.167EB0E7@afn.org>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43959

In article <33B9D51D.167EB0E7@afn.org>,
	"James N. Grace" <afn45694@afn.org> writes:
> I have just recently switched from MS-DOs/Windows to FreeBSD 2.2.2. I
> have spent many frustrating hours attempting to get User PPP working
> correctly! I am having an odd problem. I can FTP to any site except for
> my ISP's (Internet Service Provider's) FTP site (I can go to -
> ftp.cdrom.com but not - ftp.afn.org -). I can view any WWW page except
> for one that resides with my ISP (I can go to - www.povray.org - but not
> - www.afn.org -). I can get and send email via POP3/SMTP using Netscape
> to anyone using any mail server except for my ISP's (I can use -
> mail.gator.net - but not - smtp.afn.org/pop3.afn.org -). I can PING ANY
> site including my ISP. I have tried PINGing just about every address I
> can think of that belongs to my ISP with success! If I use a different
> ISP to establish the PPP connection then I can get my email and view my
> web page with no problem.
> 
> I have a standard dial-up account. My ISP's info is as follows:
> 
> DNS:    128.227.163.5
> Domain: afn.org
> WWW:    www.afn.org
> POP3:   pop3.afn.org
> SMTP:   smtp.afn.org
>  
> Everything else is dynamic...
> 
> 
> netstat -nr  produces the following output:
> 
> Internet:
> Destination     Gateway         Flags   Refs    Use     Netif Expire
> default         128.227.163.21  UGSc    5       6       tun0
> 127.0.0.1       127.0.0.1       UH      0       0       lo0
> 128.227.163.21  128.227.163.171 UH      6       0       tun0
> 
> 
> here are the setup files:
> 
> 
> [ hosts ]
> 
> 127.0.0.1 localhost
> # 10.0.0.1      localhost.my.domain     localhost
> 
> 
> [ host.conf ]
> 
> bind
> hosts
> 
> 
> [ resolv.conf ]
> 
> nameserver      128.227.163.5
> 
> 
> [ ppp.conf ]
> 
> default:
>  set device /dev/cuaa1
>  set speed 57600
>  disable lqr
>  deny lqr
>  set dial " ... this is obviously correct ... :
>  set redial 1 100
> pmdemand:
>  set phone ... so is this ...
>  set login " ... so is this ... "
>  set timeout 3000
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
> # set ifaddr 10.0.0.1/0 128.227.163.21/24 255.255.255.0
>  delete ALL
>  add 0 0 10.0.0.2
> # add 0 0 128.227.163.21
>  set openmode active
> 
> 
> [ ppp.linkup ]
> 
> pmdemand:
>  delete ALL
>  add 0 0 HISADDR
> 
> 
> [ rc.conf ]
> 
> hostname="localhost.my.domain"
> network_interfaces="lo0 tun0"
> ifconfig_tun0=""
> defaultrouter="NO"
> static_routes=""
> outer_enable="NO"
> router="NO"
> 
> 
> [ start_if.tun0 ]
> 
> ppp -auto pmdemand
> 
> 
> Sorry about the legthy message...

If only everyone would describe their problems like this :-)

The only thing I can see that may be causing problems is this.

>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0

You could *try* the following:

   set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0

But I'd be pretty surprised if it made a difference.

Try "set debug TCP/IP", and see what's happening.  All IP
packets'll get logged in your ppp.log file.

If you see stuff going out with the correct IP numbers and
it gets no reply, then it's your ISPs fault.  If nothing
(or something incorrect) goes out, it's your side.

If it's your side, try the latest ppp on http://www.freebsd.org/~brian
and drop me a line if you continue to have problems.

> --
> James N. Grace  ;-)  afn45694@afn.org
> TBFIS (The Best Free Internet Software)
> http://www.afn.org/~afn45694/
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !