PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Gentoo: PPPoe funktioniert nur bedingt.



deepy
30.08.07, 15:12
Also vorweg, wenn ich die DSL Verbindung über rp-pppoe starte funktioniert alles tadellos.
Nur würde ich natürlich viel lieber beim Start des Systems verbunden werden und das über die allgemeine Konfiguration.

also nen symbolic link in /etc/init.d/net.ppp0 gelegt und beim starten passiert dann das:


localhost init.d # /etc/init.d/net.ppp0 start
* Starting ppp0
* Bringing up ppp0
* ppp
* Running pppd ...
/usr/sbin/pppd: unrecognized option 'eth0'
pppd version 2.4.4
Usage: /usr/sbin/pppd [ options ], where options are:
<device> Communicate over the named device
<speed> Set the baud rate to <speed>
<loc>:<rem> Set the local and/or remote interface IP
addresses. Either one may be omitted.
asyncmap <n> Set the desired async map to hex <n>
auth Require authentication from peer
connect <p> Invoke shell command <p> to set up the serial line
crtscts Use hardware RTS/CTS flow control
defaultroute Add default route through interface
file <f> Take options from file <f>
modem Use modem control lines
mru <n> Set MRU value to <n> for negotiation


meine /etc/conf.d/net sieht folgendermaßen aus:


config_eth0=( "192.168.0.1/24" )
config_ppp0=( "ppp" )
link_ppp0="eth0"
plugin_ppp0=( "pppoe" )
username_ppp0='
password_ppp0=
pppd_ppp0=( "defaultroute" "usepeerdns")


ich frga emich was da so schiefläuft. evt könnt ihr mir weiterhelfen.

403
31.08.07, 21:00
Falls das Problem noch besteht:


/usr/sbin/pppd: unrecognized option 'eth0'

Tausch dochmal config_eth0=( "192.168.0.1/24" ) durch config_ppp0=( "192.168.0.1/24" ) aus.

Ansonsten geht das gar nicht:



username_ppp0='



Gruss 403

deepy
31.08.07, 23:30
config_ppp0=( "192.168.0.1/24" ) funktioniert nicht. außerem brauche ich auch die lokale ip auf eth0.

unter username und passwod stehen auch dieorrekten daten, die ich allerdings hier nicht gepostet habe

403
31.08.07, 23:48
Wenn es mit rp-pppoe funktioniert:

Nutzt rp-pppoe irgendwie /usr/sbin/pppd?
Nutzt rp-pppoe einen anderen pppd?
Muss man pppd womoeglich fuer PPP over Ethernet neu-kompilieren?