Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
-
scrm
- Beiträge: 28
- Registriert: 13.09.2004 16:56:38
Beitrag
von scrm » 08.05.2006 15:09:27
Hi,
ich habe das Problem das meine DHCP requests beim booten keine Antwort kriegen.
Meine
/etc/network/interfaces:
Code: Alles auswählen
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Erst wenn ich nach dem Login in der Shell "
dhclient" ausführe "funktioniert's" und ich kriege eine IP zugewiesen.
Aus dem syslog:
Code: Alles auswählen
May 8 13:54:13 localhost dhclient: Internet Software Consortium DHCP Client 2.0pl5
May 8 13:54:13 localhost dhclient: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
May 8 13:54:13 localhost dhclient: All rights reserved.
May 8 13:54:13 localhost dhclient:
May 8 13:54:13 localhost dhclient: Please contribute if you find this software useful.
May 8 13:54:13 localhost dhclient: For info, please visit http://www.isc.org/dhcp-contrib.html
May 8 13:54:13 localhost dhclient:
May 8 13:54:13 localhost dhclient: sit0: unknown hardware address type 776
May 8 13:54:13 localhost dhclient: eth0: unknown hardware address type 24
May 8 13:54:14 localhost dhclient: sit0: unknown hardware address type 776
May 8 13:54:14 localhost dhclient: eth0: unknown hardware address type 24
May 8 13:54:14 localhost kernel: NET: Registered protocol family 17
May 8 13:54:14 localhost dhclient: Listening on LPF/eth0/<null>
May 8 13:54:14 localhost dhclient: Sending on LPF/eth0/<null>
May 8 13:54:14 localhost dhclient: Sending on Socket/fallback/fallback-net
May 8 13:54:14 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
May 8 13:54:19 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
May 8 13:54:25 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
May 8 13:54:31 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
May 8 13:54:43 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
May 8 13:54:55 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
May 8 13:55:04 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
May 8 13:55:14 localhost dhclient: No DHCPOFFERS received.
May 8 13:55:14 localhost dhclient: No working leases in persistent database.
May 8 13:55:14 localhost dhclient: Exiting.
-
KBDCALLS
- Moderator
- Beiträge: 22455
- Registriert: 24.12.2003 21:26:55
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Dortmund
-
Kontaktdaten:
Beitrag
von KBDCALLS » 08.05.2006 15:12:12
Trage mal das Module für die Netzwerkkarte in die
an erster Stelle ein. Wird vemutlich zu spät geladen.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.
EDV ist die Abkürzung für: Ende der Vernunft
Bevor du einen Beitrag postest:
- Kennst du unsere Verhaltensregeln
- Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.
-
scrm
- Beiträge: 28
- Registriert: 13.09.2004 16:56:38
Beitrag
von scrm » 08.05.2006 16:18:20
Hat leider nichts gebracht:
Meine /etc/modules
Code: Alles auswählen
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a "#", and everything on the line after them are ignored.
nvnet
ide-cd
ide-disk
ide-generic
psmouse
sbp2
sr_mod
http://download.nvidia.com/XFree86/nfor ... Notes.html
nvnet ist das kernelmodul (steht in der releasenote). Ich habs erst nachträglich hinzugefügt, es stand nicht einmal drin.Der Syslog:
http://nopaste.debianforum.de/3079
Vielleicht ist der output von dhclient aufschlussreich:
Code: Alles auswählen
sawyer:/home/sawyer# dhclient
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
Listening on LPF/sit0/<null>
Sending on LPF/sit0/<null>
Listening on LPF/eth1/<null>
Sending on LPF/eth1/<null>
Listening on LPF/eth0/00:11:09:7d:fe:5f
Sending on LPF/eth0/00:11:09:7d:fe:5f
Listening on LPF/lo/<null>
Sending on LPF/lo/<null>
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
ip length 314 disagrees with bytes received 534.
accepting packet with data after udp payload.
DHCPACK from 192.168.0.1
bound to 192.168.0.3 -- renewal in 42479 seconds.
Hier auch meine /etc/modules.conf
http://nopaste.debianforum.de/3080
-
AkiraHinoshiro
- Beiträge: 429
- Registriert: 09.10.2003 16:17:33
- Wohnort: Ilmenau
-
Kontaktdaten:
Beitrag
von AkiraHinoshiro » 08.05.2006 16:32:48
Versuch doch über init.d das als befehl beim start zu laden.
Unter Linux läuft nicht alles!
Doch was unter Linux läuft, läuft richtig.
-
scrm
- Beiträge: 28
- Registriert: 13.09.2004 16:56:38
Beitrag
von scrm » 08.05.2006 17:00:40
AkiraHinoshiro hat geschrieben:Versuch doch über init.d das als befehl beim start zu laden.
Das ist vielleicht eine vorrübergehende Lösung, aber auch nicht "ganz sauber". Es geht doch bestimmt auch anders?
-
AkiraHinoshiro
- Beiträge: 429
- Registriert: 09.10.2003 16:17:33
- Wohnort: Ilmenau
-
Kontaktdaten:
Beitrag
von AkiraHinoshiro » 08.05.2006 20:31:00
Mag sein das es nicht sauber ist, aber bei mir hat es gut funktioniert und machte keine Probleme, selbst auf meinem NAT Server (Wlan und Lan Nat) ging das prima, andere Möglichkeiten kann ich dir leider nicht sagen, würde mich aber auch interessieren.
Unter Linux läuft nicht alles!
Doch was unter Linux läuft, läuft richtig.