Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd_eth1 will nicht!!!
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
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu May 26, 2005 2:04 am    Post subject: dhcpcd_eth1 will nicht!!! Reply with quote

Hiiii...

Wenn ich folgendes in der /etc/conf.d/net eintrage
Code:
iface_eth1="dhcp"
funktioniert eth1 zwar einwandfrei, aber die 'resolv.conf' wird immer wieder überschrieben.
Also habe ich mit die Manpage von DHCPCD angeschaut unfolgendes in die NET-Datei eingetragen:

Code:
dhcpcd_eth1="-R"


Auf meinem anderen System funktioniert das einwandfrei, aber auf diesem Dual Xeon 64Bit Gentoo 2005.0 bekomme ich folgenden Fehler.
Code:
bash-2.05b# /etc/init.d/net.eth1 restart
 * Please make sure that /etc/conf.d/net has $ifconfig_eth1 set
 * (or $iface_eth1 for old-style configuration)

Was mache ich falsch, bzw. was ist der richtige Weg?

Sewulba :cry:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
rukka
n00b
n00b


Joined: 31 Dec 2004
Posts: 47
Location: Hesse

PostPosted: Thu May 26, 2005 3:05 am    Post subject: Reply with quote

Schönen guten Morgen auch sewulba.

hmm... welches baselayout verwendest du denn?
Mit Version 1.11.12-r2 schaut das wie folgt aus:
Code:
% head -n8 /etc/conf.d/net | grep -v #

config_eth0=("dhcp")
dhcpcd_eth0="-t 30 -Y -R"

... eventuell ist das der Übeltäter!?
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu May 26, 2005 8:00 am    Post subject: Reply with quote

Hiiiiii und Guten morgen...
Ich verwende 'baselayout-1.9.4-r7'... Auf meinem alten System hatte ich auch das 11er drauf... Möchte allerdings die Installation komplett STABLE haben, also ohne ACCEPT_KEYWORDS="~amd64".

DHCPCD_ETH1="" <--- geht in keinster Weise. Bekomme immer den Oben genannten Fehler gemeldet :cry:

Sewulba
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Fri Jun 03, 2005 2:30 am    Post subject: Reply with quote

:( Fällt keinem eine Lösung ein, oder ist meine Frage zu doof? :oops:

Sewulba
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Fri Jun 03, 2005 8:03 am    Post subject: Reply with quote

Schuss ins blaue...

funktioniert es, wenn du die Datei /etc/conf.d/dhcp folgendermassen anpasst??

Code:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcp.conf,v 1.7 2004/12/20 18:54:23 max Exp $

# Configure which interface or interfaces to for dhcp to listen on
# list all interfaces space separated.
IFACE="eth1"

# Insert any other options needed
DHCPD_OPTS="-q -R"

# If you wish to run dhcp in a chroot, run:
# ebuild /var/db/pkg/net-misc/<dhcp version>/<dhcp-version>.ebuild config
# and un-comment the following line.
# You can specify a different chroot directory but MAKE SURE it's empty.
#CHROOT="/chroot/dhcp"

# If you need name resolution under a chroot, uncomment the following:
#export LD_PRELOAD="/usr/lib/libresolv.so /usr/lib/libnss_dns.so"


Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Mon Jun 13, 2005 5:14 pm    Post subject: Reply with quote

Hat leider nicht funktioniert. Macht aber nix. Habe das neuere Baselayout genommen und schon geht es wie eh und je! Blieb mir nix anderes übrig :roll:

Sewulba
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
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