SuSE Linux: Versions since 7.0
Kernel: Version 2.2.x
ifconfig
informs you whether the Ethernet adapter
is ready. The output must contain the sections lo
and eth0
.route -n
should only
contain the value 0.0.0.0 in the column Gateway
.eth0
:ippp0
:Alternatively, the default gateway problem can be circumvented by entering the option
replacedefaultroutein the file
/etc/ppp/peers/pppoe
.
pppoed
with the debug option:pppoed -C pppoe -D -d 9
pppoed
sends messages to
the terminal window and writes them to the syslog file (/var/log/messages
).
pppd
only sends its messages to the syslog file.tail -f /var/log/messages
before you establish a connection, in order to view the messages in the syslog file.
The following stages should be achieved:
Dec 24 00:00:00 Earth pppd[11205]: pppd 2.3.10 started by
hoe, uid 0
pppd
started
Dec 24 00:00:00 Earth pppd[11205]: sent [LCP ConfReq id=0x1 ]
pppd
sends packets
Dec 24 00:00:00 Earth pppd[11205]: rcvd [LCP ConfReq id=0x1 ]
Dec 24 00:00:00 Earth pppd[11205]: rcvd [IPCP ConfAck id=0x1 ]
Dec 24 00:00:00 Earth pppd[11205]: local IP address
192.168.1.1
Dec 24 00:00:00 Earth pppd[999]: Script /etc/ppp/ip-up started (pid1010)
pppd
should have appended a gateway entry to the routing table. You can
check this with route -n
.
/etc/resolv.conf
should contain
valid name server entries.nameserver 194.25.2.129
(for T-Online in Germany; replace with your provider's name server)
ping -c10 213.95.15.204
ping -c10 www.suse.de
tcpdump ether proto 0x8863 '||' ether proto 0x8864
The output should look somewhat like the following:
18:11:28.478641 0:0:1c:b5:74:38 Broadcast 8863 60:
1109 0000 0004 0101 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000
Please also check the URL http://www.suse.de/~bk/PPPoE-project.html
/usr/doc/packages/pppoed/
on your server.