LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 01-29-2003, 12:38 AM   #1
jiangjiang
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
How to configure PPPoE server authenticate


Hello,I want to build a PPPoE client and server environment so I can set three computers to work with PPPoE: one computer run as PPPoE server, and the other two computers run as PPPoE client.So the two PPPoE clients can communicate with each other throuht PPPoE within Ethernet instead of using ADSL modem. I have some problems which I can not find answers in the manual pages and the document within the source code.

1. The first one is how to set config files. It's easy to use adsl-setup to set PPPoE client, but how can I set PPPoE server so the server can accept my PPPoE client? I find /etc/ppp/pppoe-server-options which is related to PPPoE server, but it only ask for pap with "require-pap", no other infomation which is used to authenticate PPPoE client's username and password. I also read /etc/ppp/pap-secrets, which records "client", "server", "secret" and "IP address". I guess maybe it will not only used by PPPoE client but also PPPoE server. The question is how should I put contents into the file. Maybe the "client" and "secret" should be the PPPoE client's username and password. How can I write "server" field? With "*"? And how shall I write "IP address"? As the PPPoE client's IP address is malloc dynamic, So what's the use of this field?

2. The Second is the relationship between executable files like "pppoe" and shell script files like "adsl-run". I believe that "pppoe" is essential for PPPoE client to run. But how about "adsl-run"? Since the manual page of "pppoe.conf" says that pppoe.conf is used only by the various adsl-* shell scripts, not by pppoe itself. So how "pppoe" get the information which is written in the pppoe.conf? Or "pppoe" does not need the information written in the pppoe.conf, it just need the username and password which is written in /etc/ppp/pap-secrets? And how about if I do not use shell script files? I write configure files manually and run "pppoe" manually, does it OK?

3. I find that /etc/ppp/pppoe.conf has one field named "USER". What is it's relationship between /etc/ppp/pap-secrets's field "client"? Does "USER" essential? How I set this informatin in PPPoE server?
thanks.
 
Old 01-29-2003, 05:44 PM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
...I want to build a PPPoE...so I can set three computers to work with PPPoE... within Ethernet instead of using ADSL
Unless you are making this overly complicated to see if you can set it up, are you sure you don't want to just let one machine do PPPoE to the ADSL box and then let it NAT to the other computers? If you just want them all to use the DSL then there are many threads to search through here on how to do that and many docs over at http://www.tldp.org as well.
 
Old 04-20-2010, 01:52 AM   #3
dhavalshah9898
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Rep: Reputation: 0
i want to know if you have already solve this problem .
because i am working on pppoe and i am facing the same problem.
can you give me some detail how we can set pppoe ?
username and password are given by isp along with service name.
as per my understanding actually i have to set this username and password given by isp is set in /etc/ppp/pap-secret(or chap-secret) file.
and then service name by using pppd.
am i correct?
please correct me if i wrong.
your help is appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure pppoe to use local dns server siva_raju78 Linux - Networking 1 07-10-2005 02:20 PM
Configure my PPPoE Bilal84 Linux - Networking 2 05-06-2005 03:26 PM
rp-pppoe configure file can't run jimesh Linux - Networking 1 08-03-2004 03:16 AM
How to configure your PPPoE ethernet on RedHat 9 NileshDAVID Linux - Newbie 2 06-13-2004 02:24 PM
Use Advanced Server to authenticate cmarkides Linux - Networking 1 02-20-2003 07:41 PM


All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration