Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit Netzwerkinterfaces beim Booten.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ramrott
n00b
n00b


Joined: 06 Oct 2007
Posts: 24

PostPosted: Thu Apr 24, 2008 11:11 pm    Post subject: Problem mit Netzwerkinterfaces beim Booten. Reply with quote

Hallo zusammen,

ich habe ein ziemlich komisches Problem, ueber das ich leider nichts finde. Seit meinem letzten Worldupdate wird das eth0-interface nicht mehr beim Booten aktiviert. Es existiert auch kein /etc/init.d/net.eth0. Die Datei /etc/conf.d/net:

Code:
modules=( "ifconfig" )
config_eth0=( "192.168.1.3/24 broadcast 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" )


wurde nicht veraendert und manuell laesst sich alles per ifconfig bzw. route machen. Die Netzwerkkarte wird also problemlos erkannt:

Code:
# dmesg | grep eth0
eth0: RealTek RTL8139 at 0xc800, 00:02:2a:e0:8b:a0, IRQ 12
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1


Weiss jemand, woran das liegen koennte?

Lieben Dank!

Ramrott
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Apr 25, 2008 5:18 am    Post subject: Reply with quote

Hört sich an, als ob Du auf baselayout-2 geupdated hast. Siehe dazu http://www.gentoo.org/doc/en/openrc-migration.xml, da werden Sie geholfen. :wink: (BTW: der Hinweis stand auch in der emerge-Ausgabe, im Zukunft also ruhig mal einen Blick in die selbige riskieren. :wink:)
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
ramrott
n00b
n00b


Joined: 06 Oct 2007
Posts: 24

PostPosted: Fri Apr 25, 2008 9:40 am    Post subject: Reply with quote

Vielen Dank, schachti! Das muss ich tatsaechlich uebersehen haben. Ich habe jetzt alles so gemacht, wie es beschrieben ist. Habe einfach einen Symlink von net.eth0 auf net.lo erstellt und die Syntax der /etc/conf.d/net geaendert. Das Ganze laesst sich problemlos per "/etc/init.d/net.eth0 start" starten, allerdings funktioniert es beim Booten noch immer nicht. Obwohl ich den neuen Daemon dem Boot-Runlevel hinzugefuegt habe. :-(
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Apr 25, 2008 9:45 am    Post subject: Reply with quote

Hast Du mal probiert, dafür den Runlevel default (anstatt boot) zu nehmen? Und was heißt "funktioniert nicht"? Genaue Fehlermeldung? Irgendwas im Syslog?
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
ramrott
n00b
n00b


Joined: 06 Oct 2007
Posts: 24

PostPosted: Fri Apr 25, 2008 10:15 am    Post subject: Reply with quote

Ja, habe es auch schon im default probiert. Leider klappt es trotzdem nicht. Es kommt gar keine Fehlermeldung, der Daemon wird einfach nicht gestartet. Ich wuesste leider auch nicht, in welche LOG-Datei ich da was finden koennte.
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 514

PostPosted: Fri Apr 25, 2008 10:23 am    Post subject: Reply with quote

Funktioniert denn der Aufruf von der Komandozeile? Ist evtl. das Netzwerkkarten-Modul nicht geladen? Beim Baselayout-2 werden die Module anders geladen siehe migrations-howto.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Apr 25, 2008 10:24 am    Post subject: Reply with quote

Schau mal in /var/log/everything/current oder /var/log/messages (je nachdem, welchen Syslogger Du verwendest) und in /var/log/boot.msg. Evtl. musst Du app-admin/showconsole installieren und in /etc/rc.conf RC_BOOTLOG="yes" setzen (in baselayout-1 stand das in /etc/conf.d/rc, aber das müßte sich geändert haben).

Wenn Du damit nicht weiterkommst, ist vielleicht dieser Thread als nächster Anlaufpunkt geeignet: https://forums.gentoo.org/viewtopic-t-688186.html.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
ramrott
n00b
n00b


Joined: 06 Oct 2007
Posts: 24

PostPosted: Fri Apr 25, 2008 3:03 pm    Post subject: Reply with quote

bell wrote:
Funktioniert denn der Aufruf von der Komandozeile? Ist evtl. das Netzwerkkarten-Modul nicht geladen? Beim Baselayout-2 werden die Module anders geladen siehe migrations-howto.

Daran dachte ich auch schon. In meinem Kernel ist aber alles fest eincompiliert, das kann es also nicht sein.

Code:
# /etc/init.d/net.eth0 start
 * Bringing up interface eth0
 *   192.168.1.3 ...                                                      [ ok ]
 *   Adding routes
 *     default via 192.168.1.1 ...
# rc-update
             bootmisc |                boot         
                 fsck |                boot         
             hostname |                boot         
                local | default             nonetwork
           localmount |                boot         
             netmount | default                     
              hotplug |                boot         
                 root |                boot         
                 swap |                boot         
               sysctl |                boot         
              urandom |                boot         
              hwclock |                boot         
          consolefont |                boot         
              keymaps |                boot         
              modules |                boot         
                 mtab |                boot         
               procfs |                boot         
         termencoding |                boot         
               net.lo |                boot         
                  xdm | default                     
           ntp-client | default                     
                cupsd | default                     
        device-mapper |                boot         
             net.eth0 | default


Das funktioniert auch alles. Ziemlich komisch, oder?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4693
Location: Germany

PostPosted: Fri Apr 25, 2008 8:28 pm    Post subject: Reply with quote

Teste es doch mal ohne hotplug im Runlevel boot

MfG
josef.95
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum