LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-04-2004, 06:17 AM   #1
basanta
LQ Newbie
 
Registered: Jun 2004
Posts: 14

Rep: Reputation: 0
pppoe but no dsl modem


Dear Linux gurus,
I have two computers both with redhat 9. I want to try PPPoe. I want to make one pppoe server and other client. I have connected the computers back to back through cross cable.


I have already downloaded and installed rp-ppoe and read all the how-tos.

Whenever I google, I find documentation that says something about dsl modem. I don't understand, can we not do PPPoe without dsl modem?

Please suggest.


basanta
 
Old 07-04-2004, 02:14 PM   #2
markraem
Member
 
Registered: Nov 2003
Posts: 82

Rep: Reputation: 15
You do not need an ADSL modem to do PPPoE between a PPPoE server and a PPPoE client.

Alhough I cannot telle you waht your problem is, I know for sure it is perfectly possible to connect a PC with PPPoE server and a PC with PPPoE client back to back with a crossed Ethernet cable and setup a PPPoE session between them.
 
Old 07-04-2004, 02:53 PM   #3
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
no ADSL modem needed.

edit your
/etc/pppoe.conf
/etc/ppp/pppoe-server.options (something like that)
/etc/pap/pap-secrets or /etc/ppp/chap-secrets for usernames and passwords

then run
pppoe-server

read man pppd for more information.

now configure ur client.

and use tcpdump on server to check the pppoe traffic.
 
Old 07-07-2004, 08:31 AM   #4
basanta
LQ Newbie
 
Registered: Jun 2004
Posts: 14

Original Poster
Rep: Reputation: 0
i created a user test in the pppoe server

#useradd test
#passwd test

-->next I did following on the SERVER

#ifconfig eth0 0.0.0.0

#pppoe-server -I eth0 -L 192.168.2.2 -R 192.168.2.3 -C max -S max -F

---> when i do ifconfig eth0 doesn't get any ip



---> on the CLIENT machine I did :

#ifconfig eth0 0.0.0.0

# adsl-setup

( gave the details like
user= test
ETH = eth0
PDNS= x.x.x.x
SDNS= x.x.x.x
password = test



# adsl-start


and when i did ipconfig

eth0 doesn't get any ip
ppp0 gets 10.112.112.112




-------------------
i did following test using tcpdump

ON the SERVER
# tcpdump -i eth0


ON the CLIENT
# adsl-connet

the server captures codes, looks as if they are connected but non of the computer gets any ip


Please suggest
 
  


Reply



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
CONNECTION TO PPPOE DSL ON ubuntu skinnyman100 Linux - Networking 1 05-28-2005 10:07 AM
dsl-pppoe help square317 Linux - Networking 1 05-11-2005 05:12 PM
Internal DSL Card with pppoe ThePreacherMan Linux - Networking 0 05-26-2004 06:22 AM
rp-pppoe for DSL miguetoo Linux - Networking 0 06-06-2003 01:29 AM
PPPoE for DSL pkdk657 Slackware 1 03-03-2003 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:04 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
Open Source Consulting | Domain Registration