*BSD News Article 94994


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!feeder.chicago.cic.net!su-news-hub1.bbnplanet.com!news.bbnplanet.com!news1.best.com!sdd.hp.com!hamblin.math.byu.edu!usenet
From: rob <rob.abbott@usa.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: silly server
Date: Sat, 10 May 1997 17:46:36 -0600
Organization: Brigham Young University
Lines: 72
Message-ID: <337508DC.41C67EA6@usa.net>
References: <336EE6AB.41C67EA6@usa.net> <5kng9c$k13@ui-gate.utell.co.uk>
NNTP-Posting-Host: dialup-46.byu.itsnet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40699

(my internet connection works...)
> > fine so long as I use the localhost address.  But if I try to access
> > my server my ip address (which is dynamically set when I dial up) or try
> > to ping myself -- no response whatsoever.

....

> You'll need to post the output of "netstat -rn" and tell us what the
> IP number is.  Also, what are you using to dial up (ppp,pppd,slattach
> etc) and what do the config files look like.

....

Ok, here goes.  I'd really like to see if I can get this to work.

----------------------------- netstat ------------------------
bash$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            192.41.96.9        UGSc       16      358      tun0
127.0.0.1          127.0.0.1          UH          0       34       lo0
192.41.96.9        192.41.69.46       UH         16        0      tun0

I am using the program ppp to hook up.  Here are (hopefully)
the relavant files???

---------------------- ppp.conf ------------------------------
 bash$ cat ppp.conf
default:
        set device /dev/cuaa1
        set speed 38400
        disable lqr
        deny lqr
        set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0
OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
its:
        set phone (my provider's number)
        set login "TIMEOUT 10 sername: (my username) word: (my
password)"
        set timeout 120
        set ifaddr 0 0
its_auto:
        set phone (my provider's number)
        set login "TIMEOUT 10 sername: (my username) word: (my
password)"
        set timeout 120
        set ifaddr 10.10.10.10/0 10.10.11.11/0 255.255.255.0
        delete ALL
        add 0 0 HISADDR
        set openmode active

------------------------ ppp.linkup -----------------------------
MYADDR:
   delete ALL
   add 0 0 HISADDR
-------------------------------------------------------------------

To hook up I use 
ppp its    .... then
dial

I haven't been able to get the -auto option for ppp to work at all
(it doesn't seem to respond when I try to access the web)


I suspect there may be other relavant files.  What would they be?


Thanks, rob.