View previous topic :: View next topic |
Author |
Message |
z4ck n00b
Joined: 17 Feb 2005 Posts: 3
|
Posted: Thu Feb 17, 2005 7:50 pm Post subject: Netzwerk Problem |
|
|
hallo
ich habe mir erst gerade mal ein gentoo installiert. ich habe noch keinerlei erfahrungen mit linux.
beim booten kommt der fehler:
eth0: unknow interface: No such device
SIOCSIFADDR: No such device
eth0: unknow interface: No such device
SIOCSIFADDR: No such device
eth0: unknow interface: No such device
SIOCSIFADDR: No such device
ERROR: Problem starting needed services
"netmount" was not started
ich habe keinen plan was ich falsch gemacht habe.
wenn ich ein ls auf /lib/modules/2.4.27/kernel/drivers/net/ mache, findet er nur dummy.o
fehlen mir die treiber?
thx4help
zack |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Thu Feb 17, 2005 7:52 pm Post subject: |
|
|
Was ist denn für eine Netzwerkkarte drin? Poste mal den output von lspci bzw von cat /proc/pci und von lsmod... _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
z4ck n00b
Joined: 17 Feb 2005 Posts: 3
|
Posted: Thu Feb 17, 2005 8:11 pm Post subject: |
|
|
Ich habe ein Laptop mit einer Broadcom 570x Gigabit.
Code: | zack root # lsmod
Module Size Used by Not tained |
Code: | zack root # lspci
-bach: lspci: command not found |
Code: | zack root # nano /proc/pci
......
Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 1)
IRQ 11
Master capable. Latency= 32. Min Gnt=64.
Non-prefetchable 64 bit memory at 0xfaff0000 [0x20001fff].
.......... |
in der letzten datei sind etwa 100 einträge... Mag nicht alle abschreiben |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Thu Feb 17, 2005 8:16 pm Post subject: |
|
|
Dann hast du entweder das dazu passende Modul nicht geladen, gar nicht kompiliert oder nicht in den Kernel kompiliert. Such mal hier im Forum welcher Treiber/Modul da passt. Das wählst du dann mit make menuconfig aus und kompilierst es als modul oder packst es in den Kernel...Anleitungen zu hauf im Forum _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
z4ck n00b
Joined: 17 Feb 2005 Posts: 3
|
Posted: Thu Feb 17, 2005 8:37 pm Post subject: |
|
|
juhu habs geschaft. fehler kommt nicht mehr und bei ifconfig erscheint auch eth0
aber warum kann ich net-setup nicht anwenden??
habe leider noch keine verbindung zum internet... |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Thu Feb 17, 2005 8:53 pm Post subject: |
|
|
Vergiß die "Hilfsscripte" - wahre Männer editieren config Files mit dem vi
Hast du DSL? Hast du Dir eine IP verpasst (testweise ifconfig eth0 192.168.x.x up) oder dhcp? Hast du was in /etc/resolv.conf eingetragen (nameserver ipvomrouter) und geg eine default route gesetzt (route add default gateway ipvomrouter)? _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
total_planlos n00b
Joined: 02 Jan 2005 Posts: 71 Location: Austria/Klagenfurt
|
Posted: Thu Feb 17, 2005 8:57 pm Post subject: |
|
|
für netzwerkeinstellungen kannst du /etc/conf.d/net konfigurieren! für ppp und ähnliches findest du hier sicher ein passendes howto: http://gentoo-wiki.com/HOWTO_Index _________________ SONY VAIO FJ1S, 1,7GHz Pentium M, 512 DDRAM, Intel 915GM 128 shared mem Grafik, 80GB Toshiba Platte |
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Fri Feb 18, 2005 1:15 pm Post subject: |
|
|
hallo zusammen, ich habe das selbe problem
allerdings ists ein bisschen anders
ich habe 1x onboard-lan (Via Rhine II) --> eth0
und 1x netzwerkkarte (intel Pro/1000) --> eth1
eth0: ist direkt mit dem modem verbunden und funtioniert tadellos, internet geht usw...
eth1: ist mit dem switch verbunden, an welchem die anderen pcs im netzwerk verbunden ist.
es ist also eine einfache servereinrichtung.
bei ifconfig bekomme ich nur:
Code: | eth0 Link encap:Ethernet HWaddr 00:10:DC:65:93:6F
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:279 errors:0 dropped:0 overruns:0 frame:0
TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27785 (27.1 Kb) TX bytes:28562 (27.8 Kb)
Interrupt:11 Base address:0x6e00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
lsmod gibt folgendes aus:
Code: | Module Size Used by
e1000 81844 0
via_rhine 18564 0
|
lspci:
Code: | 0000:00:08.0 Ethernet controller: Intel Corporation 82541GI/PI Gigabit Ethernet Controller
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
|
cat /proc/pci:
Code: | Bus 0, device 8, function 0:
Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller (rev 0).
IRQ 10.
Master Capable. Latency=32. Min Gnt=255.
Non-prefetchable 32 bit memory at 0x5ffe0000 [0x5fffffff].
Non-prefetchable 32 bit memory at 0x5ffc0000 [0x5ffdffff].
I/O at 0xec00 [0xec3f].
Bus 0, device 18, function 0:
Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 116).
IRQ 11.
Master Capable. Latency=32. Min Gnt=3.Max Lat=8.
I/O at 0xd800 [0xd8ff].
Non-prefetchable 32 bit memory at 0xdff9fe00 [0xdff9feff]. |
es sind also beide netwerk"karten" da.
wenn ich allerdings /etc/init.d/net.eth1 ausführe, dann passiert folgendes:
Code: | /etc/init.d/net.eth1 start
* Bringing eth1 up (192.168.1.1)...
SIOCSIFADDR: No such device
eth1: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth1: unknown interface: No such device
SIOCSIFNETMASK: No such device [ !! ] |
ich habe keine ahnung wieso das passiert. ich habe auch schon mit der /etc/conf.d/net herumgespielt was netmask und broadcast anbelangt, aber das hat nichts genützt. diese datei sieht im moment so aus:
/etc/conf.d/net:
Code: | # This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.248"
iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.248"
# For setting the default gateway
#
gateway="eth0/192.168.0.1" |
hat irgendwer eine ahnung, wo das problem liegt?? ich weis einfach nicht mehr weiter. |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Fri Feb 18, 2005 2:34 pm Post subject: |
|
|
Was passiert wenn du das Modul händisch entlädst und danach wieder lädst? Was steht dann im dmesg bzw. /var/log/messages? _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Fri Feb 18, 2005 3:00 pm Post subject: |
|
|
wie ich das modul laden kann weis ich, aber ich weis nicht wie man eines "entlädt" |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Fri Feb 18, 2005 3:48 pm Post subject: |
|
|
Laden mit modprobe [modulename] entladen mit modprobe -r [modulename]. "Alte" Methode ist insmod [modulename] (laden) rmmod [modulename] (entladen). _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Fri Feb 18, 2005 4:02 pm Post subject: |
|
|
ich habe das gemacht...
passiert nichts besonderes :
Code: | tux root # modprobe -r e1000
tux root # modprobe e1000
tux root #
|
|
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Fri Feb 18, 2005 4:13 pm Post subject: |
|
|
Nichts im /var/log/messages? nix im dmesg?
Mach doch 2 Fenster auf oder benutze 2 Konsolen. In einem gibst du Code: | tail -f /var/log/messages | ein und in dem anderen Code: | modprobe -r e1000 und danach modprobe e1000 | Bin mir doch sehr sicher das dann im dem Fenster mit dem tail was auftaucht... _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Fri Feb 18, 2005 4:26 pm Post subject: |
|
|
das laden des modules gibt folgendes aus:
Code: |
tux Intel(R) PRO/1000 Network Driver - version 5.5.4-k2
tux Copyright (c) 1999-2004 Intel Corporation
tux ACPI: PCI interrupt 0000:00:08[A] -> GSI 10 (level, low) -> IRQ 10
tux e1000: 0000:00:08.0: e1000_probe: The EEPROM Checksum Is Not Valid
tux e1000: probe of 0000:00:08.0 failed with error -5 |
gibt scheibar einen error, ich kann leider nicht sehr viel anfangen damit... |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Fri Feb 18, 2005 4:42 pm Post subject: |
|
|
das komische ist nur, dass es gestern als ich nur die intel pro 1000mt eingesteckt hatte, funktionierte... |
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Fri Feb 18, 2005 5:10 pm Post subject: |
|
|
ich habe den treiber von der intel-seite ausprobiert, das problem ist noch immer das selbe, leider keine verbesserung... |
|
Back to top |
|
|
oma Guru
Joined: 17 Feb 2004 Posts: 302 Location: /home/markus/heiligenhaus
|
Posted: Fri Feb 18, 2005 7:25 pm Post subject: |
|
|
Dieselbe Meldung im /var/log/messages? Vielleicht hat noch wer anderes ne Idee... _________________ "...ich bin Guybrush Threepwood - ein mächtiger Pirat!" |
|
Back to top |
|
|
NightDragon Veteran
Joined: 21 Aug 2004 Posts: 1156 Location: Vienna (Austria)
|
Posted: Fri Feb 18, 2005 7:47 pm Post subject: |
|
|
Also sollte, Dein problem dich in den wahnsinn treiben und du es nicht schaffen, die Karte zum laufen zu bringen,
dann kann ich dich trösten und dir eine billige Realtek-Karte empfehlen. Da gibt so gut wie keine Probleme.
Und es muss gar keine echte Realtek sein, nur nen Realtek-Chip und schon sind die Probleme vergangenheit _________________ You are the problem too all my solutions |
|
Back to top |
|
|
loemmel Apprentice
Joined: 19 Aug 2003 Posts: 227 Location: switzerland
|
Posted: Mon Feb 21, 2005 7:57 am Post subject: |
|
|
NightDragon wrote: | Also sollte, Dein problem dich in den wahnsinn treiben und du es nicht schaffen, die Karte zum laufen zu bringen,
dann kann ich dich trösten und dir eine billige Realtek-Karte empfehlen. Da gibt so gut wie keine Probleme.
Und es muss gar keine echte Realtek sein, nur nen Realtek-Chip und schon sind die Probleme vergangenheit |
hehe, naja, ich habs so gemacht, hab mir eine gigabit lankarte von planet gekauft, mit einem realtek chip und nun läuft das ganze einwandfrei.
schade um die intel karte, aber es hätte nicht sollen sein.
danke für eure hilfe. |
|
Back to top |
|
|
|