Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
...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.
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.