*BSD News Article 99152


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!128.230.129.112!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!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: Novice PPP, freebsd  questions, please help
Date: Mon, 7 Jul 1997 15:14:05 +0100
Organization: Awfulhak Ltd.
Lines: 91
Message-ID: <djtqp5.8c.ln@shift.utell.net>
References: <868216205.23956@dejanews.com>
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
cc: anon5f6b@nyx.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44054

In article <868216205.23956@dejanews.com>,
	anon5f6b@nyx.net writes:
> I am trying to configure PPP on my freebsd system at home. I presently
> have access to the internet via 3 different ISPs. I have the following
> questions. Please bear with me as I am new to freebsd, PPP stuff !
> 
> 1. Is it possible to setup PPP so that my pc acts as though it
>    can resolve things (hosts, domains) automatically
>    for commands such as:
> 
>    telnet hostname.ibm.net,
>    mail username@ibm.net,
>    etc.

man resolv.conf

> 2. I DO NOT have an ethernet card in my machine. Do I need to have
>    one (PPP primer documentation assumes a LAN, which I do not
>    have at home) ? What steps do I need to take to circumvent
>    this issue if I am following the PPP primer ?

What issue ?

> 3. What PPP modes should I consider, if I want it to somehow
>    connect to my ISP in the background, while running say, X,
>    on my freebsd machine.

Any except -direct.  Check out the man page.  Links to the current
docs can be found on http://www.awfulhak.org/ppp.html.

> 4. I can successfully connect to my ISP, but for some reason,
>    the username and password setting that I specify in my
>    ppp.conf file may not be working properly. I think I am
>    using pap mode.

You'll have to know what mode you're using.  They're both disabled
by default.  Again, see the current docs.

> 5. What is the best protocol for PPP: chap or pap or any other ?

Again, see the current docs.  CHAP is better because it's
challenge based and doesn't send passwords around public networks.

> 6. Is the order of commands in the ppp.conf file important ?

Maybe.  It's the same as the order they're executed, so

  add 0 0 x.x.x.x
  delete ALL

isn't quite the same as

  delete ALL
  add 0 0 x.x.x.x

> 7. I do not fully understand the significance of ppp.linkage
>    file. I am also not sure how to get a key value ? Does the
>    ISP provide this ? What about the IP addresses ? I am confused
>    since I am using dynamic PPP and do not have a fixed
>    IP address.

Yet again, see the docs.  There's some reasonable examples there.

> 8. Finally, how can I specify an IP address for my machine ?
>    There may be several issues here, meaning get a fixed IP
>    from my ISP (in which case, how will it work with other
>    ISPs, since I may be using dynamic PPP in that scenario).
>    Also, I can setup a mock domain on my PC at home. I am
>    not sure how this will work without appropriate registration
>    with interNIC ?

The current docs.

Also, see my posting on the "Hostname for box w/ part time internet
connection" thread.

> I would appreciate your EMAIL answers. If I get any/enough
> responses, I will post them in future.

What, to an anonymous address ?  A sig with your real address would
be nice, but I've cc'd to your from address.

> Thanks !!
> 
> -------------------==== Posted via Deja News ====-----------------------
>       http://www.dejanews.com/     Search, Read, Post to Usenet

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