Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 13:19:03 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Doug Young' <dougy@gargoyle.apana.org.au>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: PPP Stuff
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105BDC@site2s1>

next in thread | raw e-mail | index | archive | help
'man ppp' does nothing?  Do you have the man pages installed???  That's
another issue.

> -----Original Message-----
> From:	Doug Young [SMTP:dougy@gargoyle.apana.org.au]
> Sent:	Monday, August 23, 1999 11:46 PM
> To:	Christopher Michaels
> Cc:	freebsd-questions@freebsd.org
> Subject:	Re: PPP Stuff
> 
> > > > >show ipcp
> > > >
> > > Would you please explain what this does ??
> > >
> > Technically, I don't know exactly what it does other than display
> > some IP information.  The purpose of this was to determine the ip
> address on
> > the other side of the link... which you appear to already know.
> 
> OK .... so do I need to do anything about "IPCP" or not ..... its
> listed in my ppp.conf file in the "set log" section but thats all as far
> as I know ....... where else should it be listed. ??
> 
	Don't worry about it then, it doesn't need to appear in the config
file.

> > > > Whatever is listed as his address type in the following
> > > > >add 0 0 HIS_IP_ADDRESS
> > >
> > Ok, so 'add 0 0 203.3.126.1', this can be added to the config file,
> > but that can be dealt with at a later time.
> >
> My ppp.conf file now goes
> 
> pmdemand
>  set phone "32524971"
>  set login (rest as standard)
> 
	"rest as standard"? This NEEDS to be modified to your specific login
process.

>  set timeout 12000                 (what to put here for permant
> connection ??)
> 
	set timeout 0

>  set ifaddress 203.3.126.129 203.3.126.1
> 
	set ifaddress 203.3.126.129 203.3.126.1 255.255.255.248 (is that the
proper subnet mask?  You clipped it out of the reply and I don't remember.)

>  add 0 0 203.3.126.1            (I don't have a ppp.linkup file so HISADDR
> is irrelevant)
> 
	ppp.linkup is irrelevant.  You have a static ip on the other side of
the link so you can put it in like you have, otherwise typing HISADDR will
have ppp automatically determine that ip upon connection.

>  enable dns
> 
> Does this look OK ??
> 
> Now about that "ddial" stuff ...... there isn't anything about it in
> ppp.conf, so exactly what do I need to do ...... typing "MAN ppp" just
> tells me "No
> Manual entry for ppp". I printed out the PPP MAN from FreeBSD.org,  trying
> fairly
> unsuccessfully to make some headway with it
> 
	I'm sorry you have so much trouble understanding man pages.  The ppp
one is in my opinion, one of the easier ones to understand.  But I've
already muddled my way through the ppp configuration.

	ddial doesn't appear in the config file anywhere.  PPP needs to be
started with that as a parameter.  e.g. ppp -ddial pmdemand

	-ddial means always stay connected.

> What I (and probably most people new to this stuff) need to be able to
> comprehend what to do is simple "step by step" instructions, not heaps of
> MAN pages
> that are apparently written in some language I never learned
> 
> > What does auto do you ask?  It automatically dials the isp whenever
> > a connection is requested, and generally drops the connection after lack
> of
> > use.  Since you want the connection to be 24/7 you use -ddial instead,
> which
> > will attempt to stay dialed 24/7.   ENTRY_IN_PPPCONF refers the the
> enter in
> > /etc/ppp/ppp.conf that you need to create for this to work.
> 
> OK ..... at least in theory ...... but the info in the PPP MAN doesn't
> tell
> me anything about just how to set autodial up .... doesn't anyone who
> writes this stuff
> ever think that just maybe someone reading it is doing so in order to
> actually find how
> to set things up ?? Its OK for those who know exactly what they are doing,
> but
> useless for those who don't.
> 
	Do me a favor and stop bitching about the man page, it's starting to
get old.  I'm sorry you find it so hard to read, but move on man.  Attack it
systematically and if you genuinely can't grasp a consept then ask.  You've
got a 1000 questions, and they are all dependent on one another.

	man ppp does exactly what all man pages are intended to do, gives
you information on how to use the program, config options, command line
options.  It's not a FAQ.  And it's actually a hell of a lot more
informative than most man pages I've read.  And I'm far from a UNIX guru,
I'm an average user, I just happen to have more experience in this than you
do because I've been through it before.

> Since its way beyond my ability to even think about messing with chat
> scripts at this point, is there any reason to confuse myself any further
> with autodial if it
> involves chat stuff ??
> 
	I guess not.  You need either the chat stuff or the PAP/CHAP to use
autodial.  Did you bother asking your isp if PAP/CHAP is supported?

> > As I said, you want ddial (dedicated dial) instead of auto since
> > ddial will attempt to keep the connection up as long as possible.
> 
> Simple question ...... does "ddial" require knowledge of  chatscripts or
> not ??
> 
	Yes, ddial is the same as autodial except it never hangs up.

> If so ..... its something I better leave alone til I have time and
> inclination to mess with it as I've never been able to understand anything
> about chatscripts.
> Maybe someone will port some ppp setup utility like wvdial to BSD before I
> go
> through that trauma.
> 
	Maybe it's time your ISP moved into the late 90's and got pap/chap.
Then login is automated and you don't have to deal with chat scripts.  :)  I
hate to break it to you but this isn't a failing in ppp or FreeBSD.  If you
were running the king of user friendly, windows 9x, you would have the exact
same problem.  I've scripted a login for win before my isp finally started
supporting PAP.  Ohmygod, if you think that chat script is bad...

	Anyway... I think you need to take a step back, attack one concept,
and only one concept, at a time and then ask for help when you get stuck.

	-Chris


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105BDC>