Please note that the PPP over ethernet code for Linux
as of production date of SuSE Linux 6.3 is still considered
to be in an experimental stage.
We'll provide updates for
SuSE Linux 6.3 at:
http://www.suse.de/en/support/download/updates/63_update.html
In order to further improve the code, please send your feedback and bug reports to feedback@suse.de.
Follow the steps below to install aPPPoE on your SuSE Linux computer:
pppox.o
module is part of the package kernmod.It is important that the default gateway field is empty.
/etc/ppp/pap-secrets
and /etc/ppp/chap-secrets.
login_name * password
You can also add the option usepeerdns to your /etc/ppp/options file, if your provider supports dynamic DNS, and probably didn't give you an Domain Name Server addess this should just work for you.
/etc/modules.conf:alias char-major-144 pppox
/etc/ppp/options. /usr/sbin/pppoed.If
you use a network device other than eth0,
you'll need to start /usr/sbin/pppoed
with the option -I ethX,
where X is the number of the device..
Only the root user can open a
connection.
pppoed now brings up the connection
to your provider, or more accurately put, to your
provider's access concentrator.pppd will then start
automatically.pppd will then try authentication
and negotiates IP addresses for the Internet connection.pppd has negotiated IP addesses(you can see
that in /var/log/messages, your PPPoE connection is up
and you're ready to
use the Internet. Start Netscape,
and so on.killall -TERM pppoedor, if enough time passes without data transmission,
pppd will time out. See also
the idle option in the file
/etc/ppp/options
If you want no idle hangup from pppd, give the idle parameter in
/etc/ppp/options the argument 0.
route -n
in the Gateway shouldn't contain any
valid IP addresses (just 0.0.0.0). pppoed with the debug optionpppoed -D -d 9 pppoed
outputs messages to the terminal window and
writes them to the syslog file.pppd writes its messages to the
syslog file.tail -f /var/log/messagesbefore bringing up the connection to see the messages written to syslog. You should be able to reach the following 'milestones':
Dec 24 00:00:00 Erde pppd[11205]:
pppd 2.3.10 started by hoe, uid 0Dec 24 00:00:00 Erde pppd[11205]:
sent [LCP ConfReq id=0x1 ] Dec 24 00:00:00 Erde pppd[11205]:
rcvd [LCP ConfReq id=0x1 ] Dec 24 00:00:00 Erde pppd[11205]:
rcvd [IPCP ConfAck id=0x1 ] Dec 24 00:00:00 Erde pppd[11205]:
local IP address 192.168.1.1Dec 24 00:00:00 Erde pppd[999]:
Script /etc/ppp/ip-up started (pid1010)pppd should have appended
a gateway entry to the routing table. You can
verify this with route -n. /etc/resolv.conf
valid nameserver entriesnameserver 194.25.2.129 ping -c10 194.112.123.200ping -c10 www.suse.de
If you have problems with configuration there are still methods of analysis and problem solving:
tcpdump ether proto 0x8863 '||' ether proto
0x8864The output should look
something like:
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
You should also take a look at http://www.suse.de/~bk/PPPoE-project.html
Openhere has a nice collection of ADSL/PPPoE Links: http://www.openhere.com/tech1/software/operating-systems/linux/hardware-support/dsl/
/usr/doc/packages/pppoed/
on your server.
/etc/ppp/optionscrtscts #crtscts idle option is used to
automatically close the connection to the
provider when a specified number of seconds have
passed without data transmission.pppoe
noch nicht. # general options
# this is a must
user "<loginname>@t-online.de"
sync
local
nocrtscts
noauth
usepeerdns
mru 1490
mtu 1490
# this is recommended
defaultroute
hide-password
nodetach
#
# switch off all compressions
# this is a must
noaccomp
nopcomp
# this is recommended
novj
novjccomp
nobsdcomp
nodeflate
noccpReplace <loginname>
with your own login name.