LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-10-2006, 09:02 PM   #1
gtbutler
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Need Help with pppoe thru a router


I am trying to set up pppoe to run on Slackware 10.2 and am having no luck at all. I have tried to find all of the documentation about setting up ppp for dsl. I have found quite a bit but have not been able to solve my problem.

I can ping my router from the Linux system, which has a Windows PC direct wired and a laptop with wireless.

The following is the output from "ifconfig".

eth0 Link encap:Ethernet HWaddr 00:02:96:02:A4:AE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:176 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29019 (28.3 Kb) TX bytes:1980 (1.9 Kb)
Interrupt:9 Base address:0xbc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2184 (2.1 Kb) TX bytes:2184 (2.1 Kb)

The following is the output from the route command.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

I tried to remove one of the Destinations 192.168.1.0 with the route -del command and I could not.

Any direction help or pointers to documentation which will help will be greatly appreciated.

I have been through several books about networking tcp/ip but I guess I don't understand the concept to well.

Thanks Gary
 
Old 08-11-2006, 03:19 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What make/model of router are you using? Some routers have a web interface that will let you setup the pppoe connection on them. Then you just have to setup your linux box to take dhcp with the router as the gateway.
 
Old 08-12-2006, 09:29 PM   #3
gtbutler
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I am not sure what you have told me but I will continue to research.

I have an Airlink+ which uses pppoe to connect to the internet.
I was hoping not to post debug info but maybe it would help. I am trying to run rp-pppoe and the following is part of the debug output.

I hope somebody can help me because I am lost.

* The following section shows the pppd command we will invoke
pppd invocation
/usr/bin/setsid /usr/sbin/pppd pty '/usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth0 -T 80 -U -m 1412 ' noipdefault noauth default-asyncmap defaultroute hide-password nodetach mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user gtbutler@pacbell.net lcp-echo-interval 20 lcp-echo-failure 3 debug
---------------------------------------------*

Extract from /var/log/messages
Jun 25 11:28:34 Vera pppd[2642]: Using interface ppp0
Jun 25 11:28:34 Vera pppd[2642]: Connect: ppp0 <--> /dev/pts/0
Jun 25 11:29:05 Vera pppd[2642]: Connection terminated.
Jun 25 11:29:05 Vera pppd[2642]: Modem hangup
Jun 25 11:29:09 Vera pppd[2642]: Exit.

I am not sure what the following means.

* The following section is a dump of the packets
* sent and received by rp-pppoe. If you don't see
* any output, it's an Ethernet driver problem. If you only
* see three PADI packets and nothing else, check your cables
* and modem. Make sure the modem lights flash when you try
* to connect. Check that your Ethernet card is in
* half-duplex, 10Mb/s mode. If all else fails,
* try using pppoe-sniff.
rp-pppoe debugging dump
rp-pppoe-3.8
18:36:23.650 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............

18:36:28.641 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............

18:36:38.641 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............* The following section is a dump of the packets
* sent and received by rp-pppoe. If you don't see
* any output, it's an Ethernet driver problem. If you only
* see three PADI packets and nothing else, check your cables
* and modem. Make sure the modem lights flash when you try
* to connect. Check that your Ethernet card is in
* half-duplex, 10Mb/s mode. If all else fails,
* try using pppoe-sniff.
rp-pppoe debugging dump
rp-pppoe-3.8
18:36:23.650 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............

18:36:28.641 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............

18:36:38.641 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............* The following section is a dump of the packets
* sent and received by rp-pppoe. If you don't see
* any output, it's an Ethernet driver problem. If you only
* see three PADI packets and nothing else, check your cables
* and modem. Make sure the modem lights flash when you try
* to connect. Check that your Ethernet card is in
* half-duplex, 10Mb/s mode. If all else fails,
* try using pppoe-sniff.
rp-pppoe debugging dump
rp-pppoe-3.8
18:36:23.650 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............

18:36:28.641 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............

18:36:38.641 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:02:96:02:a4:ae DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e4 18 00 00 ............
 
Old 08-14-2006, 12:03 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What model of Airlink+? Here's a link to the manual for an airlink+ wireless router.

Anyway, if you look at chapter 3, it tells you how to setup the system via a web browser. What you do is have the wireless router do all the PPPoE stuff, enable a DHCP server, and then your linux box is just a regular DHCP client. In other words, you don't have to do any PPPoE on the linux box.

Obviously, I just guessed as to what model you have of router since you didn't tell me. But many routers can be setup like this and it enables all your clients to just be DHCP clients. All the configuration for cable modem, DSL, or whatever is done on the router itself.
 
Old 08-15-2006, 08:52 PM   #5
gtbutler
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Much Thanks. I have come to the conclusion that I need DHCP running. This was not pointed out in any of the documentation that I read. I have been using an old version of Linux and just recently updated to this version which allows me to use tcp/ip to connect thru to my dsl line.

Thanks again.

Gary
 
  


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
Using RedHat 8.x with PPPoE as a router/firewall tnine9 Linux - Networking 12 07-31-2005 01:27 PM
internet with pppoe behind a router mdk2k Linux - Hardware 1 04-25-2004 09:55 PM
Slack 9.1 as router/gateway and PPPoE uros678 Linux - Networking 2 12-12-2003 03:29 AM
Firewall/Router/pppoe/dhcp Beetle B. Linux - Networking 3 09-15-2003 02:07 PM
pppoe through linux router/firewall ..Tookers.. Linux - Networking 2 04-30-2003 07:34 AM

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

All times are GMT -5. The time now is 03:57 PM.

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