*BSD News Article 81342


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!newsfeed.internetmci.com!realtime.net!mail.ballistic.com!jackh
From: "Jack J. Harris Jr." <jackh@ballistic.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: iij-ppp Need help, cant someone make a manual that makes sense?
Date: Tue, 22 Oct 1996 21:06:17 -0500
Organization: Real/Time Communications Internet customer posting
Lines: 100
Message-ID: <Pine.BSD/.3.91.961022210317.15425A-100000@mail.ballistic.com>
NNTP-Posting-Host: mail.ballistic.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-RTcode: 6652f0aa327a2503546d7c9f

Dear Dialers,

Sorry to impose but, Ive got a question.
Everthing dials and connects and ppp goes to PPP, so I know Im 
connected, but I cant ping my ppp assigned address. only my 
ethernet address.
I eventually want it to be able to do dial on demand but I cant 
seem to get the basic setup.
I want to be able for all pc's on my local net to access the 
internet through the ppp line. Will I HAVE to have internet ip 
addresses or can I translate.
Im using FreeBSD 2.1.0
It seems to work fine.
Please let me know.

Here is what my netconfig section looks like,
________________________________________
#       network_interfaces="ed0 sl0 lo0"
#       ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#       ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="ed0 sl0 lo0"
ifconfig_ed0="inet 129.53.1.2  netmask 255.255.0.0"
ifconfig_lo0="inet localhost"
________________________________________

My ppp.conf looks like this,
________________________________________
default:
 set device /dev/cuaa1
 set speed 57600
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 
OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"

simplesite:
 set phone 8830196
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set timeout 600
(ive got my username and password in place of "ppp" on the real 
file.

papsite:
 set phone 8830196
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 deny chap
# accept pap
 enable pap
 set authname ppp
 set authkey  ppp

ondemand:
 set phone 8830196
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set timeout 120
 set ifaddr 192.244.185.226 192.244.176.44
 add 0 255.255.255.0 192.244.176.44

pmdemand:
 set phone 8830196
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set timeout 120
 set ifaddr 0 192.244.176.44
 add 0 255.255.255.0 192.244.176.44

users:
 disable pap
 enable chap
 enable  proxy
 set authname ppp-server
 set ifaddr 192.244.176.44 292.244.184.31

ppptelnet:
 set escape 0xff
ppptcp:
 set device 192.244.191.33:2400
_____________________________________

My ppp.linkup looks like this,
_____________________________________

simplesite:
 delete ALL
 add 0 0 HISADDR
#
# Otherwide, simply add peer as default gateway.
#
MYADDR:
 add 0 0 HISADDR
_____________________________________
Please someone suggest some areas of help!!!
Regards,
         
 

Jack Harris

jackh@ballistic.com