*BSD News Article 98825


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-peer.gsl.net!news.gsl.net!usenet.eel.ufl.edu!huron.eel.ufl.edu!usenet
From: "James N. Grace" <afn45694@afn.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: User PPP and my local ISP...
Date: Wed, 02 Jul 1997 00:15:26 -0400
Lines: 106
Message-ID: <33B9D51D.167EB0E7@afn.org>
NNTP-Posting-Host: dialup60.afn.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.2-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43801

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...


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