LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-09-2003, 05:42 AM   #1
neonik
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
adsl-setup and rp-pppoe


Hello,
I have recently installed gentoo linux v. 1.4 final release via the stage 3
way using the GRP. During the process of the initial installation (ie
before the first reboot) i couldn't manage to get into the net (configured
everything as stated in the manual). Then i rebooted (kernel from
gentoo-sources, that is gentoo-2.4.20-r6). After the reboot i emerged
rp-ppoe, as stated in the manual, executed adsl-setup, and did connect.
After that i installed a few other GUI-related packages like xfree and
fluxbox and so on. Then i installed firestarter, the iptables interface,
but it couldn't find the ip_tables module, modprobe says it's not present.
After which i haven't been able to connect to the internet.
Yet i could connect once and even download sources.

All further tries to repeat it the same way (excluding the steps before
the initial reboot, ie emerge rp-pppoe and so on), were worth nothing.

So I'd like to ask and tgo know, first of all: what files are used by the
package, configuration files. After that I'd like to know whether it's a
common mistake or misconfiguration. And should i recompile the kernel with
ip_tables module included?

Wondering if there are any good manuals applying also gentoo lynux.

Oh yeah, i used genkernel to build the kernel.


I appreciate all replies.


Thanks in advance

Best regards,

NeoNik <mailto:neo-nik@gmx.de>


PS:
Yes, I have read all other messages in regard to this topic.
 
Old 10-09-2003, 05:44 AM   #2
neonik
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
The kernel i installed with genkernel without reconfiguring it didn't include iptables support and it also lacked some other things regarding IP support. But i've built a new one with everything that's required enabled.


And still i can't access the internet.

I re-emerged ppp and rp-pppoe and rerun adsl-setup but still can't seem to be able to access the net.

Here's the complete debugging information from adsl-start:
Code:
---------------------------------------------
* The following section contains information about your system
Thu Oct  9 11:33:21 CEST 2003
Output of uname -a
Linux localhost 2.4.20-gaming-r3 #1 Thu Oct 9 10:36:24 CEST 2003
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
---------------------------------------------
* The following section contains information about your network
* interfaces.  The one you chose for PPPoE should contain the words:
* 'UP' and 'RUNNING'.  If it does not, you probably have an Ethernet
* driver problem.
Output of ifconfig -a
eql       Link encap:Serial Line IP 
          MASTER  MTU:576  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:5
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:30:84:2C:E3:AB 
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:09:5B:0A:0F:8D 
          inet addr:192.168.2.22  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:192 (192.0 b)
          Interrupt:10 Base address:0x9000

gre0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1476  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol 
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tap0      Link encap:Ethernet  HWaddr FE:FD:00:00:00:00 
          BROADCAST NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         

tunl0     Link encap:IPIP Tunnel  HWaddr   
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

---------------------------------------------
* The following section contains information about kernel modules
* If the module for your Ethernet card is 'tulip', you might
* want to look for an updated version at http://www.scyld.com
Output of lsmod
Module                  Size  Used by    Not tainted
floppy                 50972   0  (autoclean)
hid                    19620   0  (unused)
parport_pc             28072   0
parport                26624   0  [parport_pc]
uhci                   25968   0  (unused)
natsemi                17152   1
---------------------------------------------
* The following section lists your routing table.
* If you have an entry which starts with '0.0.0.0', you probably
* have defined a default route and gateway, and pppd will
* not create a default route using your ISP.  Try getting
* rid of this route.
Output of netstat -n -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         0.0.0.0         255.255.255.0   U        40 0          0 eth1
192.168.2.0     0.0.0.0         255.255.255.0   U        40 0          0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG       40 0          0 lo
---------------------------------------------
Contents of /etc/resolv.conf
* The following section lists DNS setup.
* If you can browse by IP address, but not name, suspect
* a DNS problem.
nameserver 194.25.2.129
nameserver 212.185.253.9
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
lock
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name.  Some ISP's need 'username'; others
* need 'username@isp.com'.  Try both
ETH=eth1; USER=<here $USERID>
---------------------------------------------
* 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-adsl.pid.pppoe -I eth1 -T 80 -U  -m 1412   '
noipdefault noauth default-asyncmap defaultroute hide-password
nodetach  mtu 1492 mru 1492 noaccomp noccp nobsdcomp
odeflate nopcomp novj novjccomp user <here $USERID> lcp-echo-interval 20 lcp-echo-failure 3   debug
---------------------------------------------
using channel 3
Using interface ppp1
Connect: ppp1 <--> /dev/pts/3
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf88b715a>]
LCP: timeout sending Config-Requests
Connection terminated.
Waiting for 1 child processes...
  script /usr/sbin/pppoe -p 
/var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U  -m 1412    
-D /tmp/pppoe-debug-2218/pppoe-debug.txt-0, pid 2278
pppoe: Timeout waiting for PADO packets
Script /usr/sbin/pppoe -p 
/var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U  -m 1412    
-D /tmp/pppoe-debug-2218/pppoe-debug.txt-0 finished (pid 2278), status = 0x100
---------------------------------------------
* The following section is an extract from your log.
* Look for error messages from pppd, such as
* a lack of kernel support for PPP, authentication failure
* etc.
Extract from /var/log/messages
Thu Oct  9 11:33:56 CEST 2003
---------------------------------------------
* 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.5
11:33:21.816 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:09:5b:0a:0f:8d DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e6 08 00 00               ............

11:33:26.812 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:09:5b:0a:0f:8d DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e6 08 00 00               ............

11:33:36.812 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:09:5b:0a:0f:8d DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e6 08 00 00               ............
$USERID is correct, i tried the same as the one used in Red Hat in its configs and even one without the @$peer.$ext.

$USERID is replaced manually by me.

Under Red Hat Linux 9.0 my networking works perfectly.

As i said before, i could connect once i did the initial reboot and emerged rp-pppoe for the first time. I was able to emerge other packages taht were downloaded from the net.
After installing of firestarter/ip_tables and rebooting i couldn't connect anymore. Trying to connect from the LiveCD wasn't successful either. So the only time i could connect to the net was when i installed the gentoo kernel version 2.4.20-r6 with no additional configuration but the one applied by genkernel and emerged rp-ppoe (as stated in the manual).

To be honest, I'm going slightly crazy regarding this issue.
I've been trying to configure it for about a week so far, that's really annoying, read all manuals I've found, read all forum threads in regard to this and still can't figure out what's wrong there.

Guess I'll have to stay with my Red Hat if I don't fix it, at least I can connect there...


Thanks in advance for any kind of assistance.


Best regards,
NeoNik

Last edited by neonik; 10-09-2003 at 05:48 AM.
 
  


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
prblms with ADSL setup. no luck after adsl-setup and netconfig Blue_muppet Slackware 2 07-18-2004 02:20 AM
pppoe error for adsl setup in slackware lamine Linux - Networking 27 07-07-2004 11:37 PM
adsl setup question, using rp-pppoe in Mandrake Smarvy Linux - Newbie 5 03-14-2004 01:30 AM
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-14-2004 12:35 AM
rp-pppoe DHCP setup for USB ADSL modem Teecom Slackware 2 06-20-2003 12:09 PM


All times are GMT -5. The time now is 12:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration