View previous topic :: View next topic |
Author |
Message |
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Tue Jun 14, 2005 8:10 pm Post subject: rp-pppoe keine ADSL Einwahl (solved) |
|
|
Hi,
habe mich an den Home-Router-Guide von gentoo.org gehalten. Leider wird bei mir nach /etc/init.d/net.eth1 start kein ppp0 Interface erstell. Das Modem blinkt zwar kurz und das wars. Der Syslogger meldet keinen einizgen Eintrag bezüglich pppd - was ist los?
Kann mir jemand helfen und etwas Troubelshooting bieten? DANKE
Gruß
Benjamin _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Last edited by benjamin200 on Wed Jun 15, 2005 7:11 am; edited 2 times in total |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Tue Jun 14, 2005 8:16 pm Post subject: |
|
|
EDIT:
das ist meine /etc/conf.d/net
Code: |
GNU nano 1.3.4 File: /etc/conf.d/net
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
config_eth1="adsl"
config_eth1="dhcp"
#iface_eth0="192.168.0.254 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth1="dhcp"
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
#gateway="eth0/192.168.0.1"
|
und das die Fehlermeldung wenn ich eth1 starten will
Code: |
server benjamin # /etc/init.d/net.eth1 start
* Please make sure that /etc/conf.d/net has $ifconfig_eth1 set
* (or $iface_eth1 for old-style configuration)
server benjamin #
|
eth1 mein DSL Interface _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
klemi Guru
Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Tue Jun 14, 2005 8:50 pm Post subject: |
|
|
Meine Konfiguration ins Internet sieht ganz einfach aus. Nach dem baselayoutupdate mußte ich auch einiges ändern.
Wichtig - vorher hatte ich rp-pppoe vorher in /etc/init.d/rp-pppoe start verfrachtet. Es wird nicht mehr benötigt.
Ich habe es mit rc-update del rp-pppoe default entfernt.
Neue conf.d/net
Code: | # ADSL
# For ADSL support, emerge net-dialup/rp-pppoe
# You should make the following settings and also put your
# username/password information in /etc/ppp/pap-secrets
# Configure the interface to use ADSL
config_eth0=( "adsl" )
# You probably won't need to edit /etc/ppp/pppoe.conf if you set this
user_eth0="yyy/xxxxxxxxxxxxx" |
Hoffe ich konnte etwas helfen _________________ Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Tue Jun 14, 2005 8:54 pm Post subject: |
|
|
Quote: |
Meine Konfiguration ins Internet sieht ganz einfach aus. Nach dem baselayoutupdate mußte ich auch einiges ändern.
Wichtig - vorher hatte ich rp-pppoe vorher in /etc/init.d/rp-pppoe start verfrachtet. Es wird nicht mehr benötigt.
Ich habe es mit rc-update del rp-pppoe default entfernt.
Neue conf.d/net
Code:
# ADSL
# For ADSL support, emerge net-dialup/rp-pppoe
# You should make the following settings and also put your
# username/password information in /etc/ppp/pap-secrets
# Configure the interface to use ADSL
config_eth0=( "adsl" )
# You probably won't need to edit /etc/ppp/pppoe.conf if you set this
user_eth0="yyy/xxxxxxxxxxxxx"
Hoffe ich konnte etwas helfen
|
Ich probiere es gleich aus und werde berichten.
Hatte eben einen erfolt mit adsl-setup und adsl-start, hier funktioniert Verbindungsaufbau und internet einwandfrei. Aber wenn ich /etc/init.d/net.eth1 eintippe erhalte ich immer:
Code: |
server benjamin # /etc/init.d/net.eth1 start
* Please make sure that /etc/conf.d/net has $ifconfig_eth1 set
* (or $iface_eth1 for old-style configuration)
server benjamin #
|
eth1 kommt nicht hoch und ppp0 wird auch nicht gebaut (conf.d/net wie oben). Bei adsl-start wird eth1 hochgefahren und ppp0 initialisiert, komisch, wieso funzt das nicht so wie im HowTo _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Tue Jun 14, 2005 8:55 pm Post subject: |
|
|
Quote: |
# You probably won't need to edit /etc/ppp/pppoe.conf if you set this
user_eth0="yyy/xxxxxxxxxxxxx"
|
Heisst das username/password? _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Tue Jun 14, 2005 9:03 pm Post subject: |
|
|
auch wenn ich die Parameter wie von dir verwendet, benutze, bekomme ich die Meldung:
Code: |
server benjamin # /etc/init.d/net.eth1 start
* Please make sure that /etc/conf.d/net has $ifconfig_eth1 set
* (or $iface_eth1 for old-style configuration)
server benjamin #
|
unter adsl-start klappt es, aber ich benötige es im Run-Level. Wie startest du deine ISP-Connection - per net.ethX ?
Quote: |
# You probably won't need to edit /etc/ppp/pppoe.conf if you set this
user_eth0="yyy/xxxxxxxxxxxxx"
Heisst das username/password?
|
ist mir immer noch nicht klar. _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Tue Jun 14, 2005 9:19 pm Post subject: |
|
|
Quote: |
unter adsl-start klappt es, aber ich benötige es im Run-Level. Wie startest du deine ISP-Connection - per net.ethX ?
|
oder mit /etc/init.d/rp-pppoe start --> Irgenwie liegt da das Gentoo HowTo daneben _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
klemi Guru
Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Wed Jun 15, 2005 7:08 am Post subject: |
|
|
Ich mußte in /etc/conf.d/net username eintragen. (Das "yyyy" vor dem Schrägstrich sind Provider-spezifische Einträge.) Sonst hat es nicht funktioniert. Ich benötige keine Eingabe von adsl-start mehr und musste auch das Scribt rc-pppoe im Runlevel wegnehemen, da das SYstem sonst 2x versucht hat beim Booten die Netzkarte zu initialisieren.
Gruß
Klemi _________________ Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed Jun 15, 2005 7:09 am Post subject: |
|
|
Da ich mit ADSL-Setup / Start gut gefahren bin, habe ich die Einträge von /etc/ppp/pap-secrets und /etc/ppp/pppoe.conf manuell entfernt. Anschließend mit "adsl-setup" benötigten Angaben gemacht und schon stand die Verbindung ins Internet.
Die /etc/init.d/net.eth1 habe ich aus dem Runlevel entfernt und anschließend die Datei gelöscht. Alle Einträge bez. eth1 aus wie
Code: |
config_eth0=( "adsl" )
config_eth0=( "chcp" )
|
habe ich ebenfalls aus der /etc/conf.d/net entfernt. Nach einem adsl-stop und adsl-start wurde wie gewünscht ppp0 erstellt und die Verbindung zum ISP hergestellt.
Obwohl ich keine weiteren Änderungen vorgenommen habe wird die ADSL-Verbindung beim Neustart initialisiert und hergestellt...der Rest der Konfiguration - unter verwendung des Gentoo Home-Router-Guide - verlief ohne größere Komplikationen
Gruß,
Benjamin
EDIT:
Quote: |
Ich mußte in /etc/conf.d/net username eintragen. (Das "yyyy" vor dem Schrägstrich sind Provider-spezifische Einträge.) Sonst hat es nicht funktioniert. Ich benötige keine Eingabe von adsl-start mehr und musste auch das Scribt rc-pppoe im Runlevel wegnehemen, da das SYstem sonst 2x versucht hat beim Booten die Netzkarte zu initialisieren.
|
wie gesagt bei mir läuft es ohne Einträge in /etc/conf.d/net. Verbindung wird beim booten initialisiert. _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
|