Networking Forums

Networking Forums > Computer Networking > Linux Networking > pppconfig script

Reply
Thread Tools Display Modes

pppconfig script

 
 
Joe R
Guest
Posts: n/a

 
      03-09-2005, 02:17 PM
I have a couple of questions about the pppconfig script. After running it
I have a '/etc/ppp/options' file and a '/etc/ppp/peer/erols' file, when I
use 'pon erols' where does pppd look for it's options? In both? What if an
option appears in both?

There are a couple of options in the '/etc/ppp/peer/erols' file that aren't
described in the man pages, can someone clue me in as to how they work?

user
ipparam
usepeerdns


--
clear skies,
Joe

http://users.erols.com/jringer3/astro1.htm
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      03-09-2005, 05:05 PM
Joe R <(E-Mail Removed)> wrote:
> I have a couple of questions about the pppconfig script. After running it
> I have a '/etc/ppp/options' file and a '/etc/ppp/peer/erols' file, when I
> use 'pon erols' where does pppd look for it's options? In both?


Yes.

What if an
> option appears in both?


Never tried that but I suspect it doesn't matter.

> There are a couple of options in the '/etc/ppp/peer/erols' file that aren't
> described in the man pages, can someone clue me in as to how they work?


Huh? The answers below are in the man pages, pppd versions 2.4.1 and
2.4.2. The user option has been around a looong time.

> user


user name
Sets the name used for authenticating the local
system to the peer to name.
> ipparam


ipparam string
Provides an extra parameter to the ip-up and ip-
down scripts. If this option is given, the string
supplied is given as the 6th parameter to those
scripts.

> usepeerdns


usepeerdns
Ask the peer for up to 2 DNS server addresses. The
addresses supplied by the peer (if any) are passed
to the /etc/ppp/ip-up script in the environment
variables DNS1 and DNS2, and the environment vari-
able USEPEERDNS will be set to 1. In addition,
pppd will create an /etc/ppp/resolv.conf file con-
taining one or two nameserver lines with the
address(es) supplied by the peer.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Better is the enemy of good enough. */
 
Reply With Quote
 
Joe R
Guest
Posts: n/a

 
      03-09-2005, 09:27 PM
On Wed, 9 Mar 2005 12:05:11 -0600, Clifford Kite wrote:
>
>> There are a couple of options in the '/etc/ppp/peer/erols' file that aren't
>> described in the man pages, can someone clue me in as to how they work?

>
> Huh? The answers below are in the man pages, pppd versions 2.4.1 and
> 2.4.2. The user option has been around a looong time.
>

Yep they're there're alright, I must be going blind. I just put Mandrake
on my laptop so hopefully I'll get somewhere with that pcmcia modem.

--
clear skies,
Joe

http://users.erols.com/jringer3/astro1.htm
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy files using filenames from text files with shell script or bash script altariamx2003@gmail.com Linux Networking 4 11-23-2006 08:27 AM
Need for one script Suresh.T Linux Networking 1 10-23-2006 04:43 PM
Initialization script and ssh Christian Christmann Linux Networking 8 10-09-2006 11:20 PM
PPP Script Kevin Brown Linux Networking 2 02-12-2005 08:17 PM
login script over VPN? Jason Wilder Windows Networking 4 04-16-2004 02:28 AM



1 2 3 4 5 6 7 8 9 10 11