Gentoo Archives: gentoo-user

From: Silvio Siefke <siefke_listen@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Networking
Date: Thu, 25 Oct 2012 18:26:35
Message-Id: CAMQnpVXEiXdUJhT3R4CFctsOYs71hipkm6e=cZiwrF8MPir3Tg@mail.gmail.com
Hello,

i have installed Virtualbox, but from the website not over Portage. I
have now delete, because it want not really run and the computer
has not the power.

But now i have problems with the network. I have static IP Adresses in
use, but gentoo want network not start the static Address, they
want use dhcpd. I have unmerged the dhcp but now nothing want run.
NFS, SSH, nothing really want start.

gentoo-desk init.d # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /usr/share/doc/openrc*/net.example* and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0="192.168.2.22 netmask 255.255.255.0 broadcast 192.168.2.255"
routes_eth0="default via 192.168.2.1"
dns_servers_eth0="192.168.2.1"

gentoo-desk init.d # /etc/init.d/sshd start
 * ERROR: cannot start sshd as dhcpcd would not start

gentoo-desk init.d # /etc/init.d/nfsmount start
 * ERROR: cannot start nfsmount as dhcpcd would not start

I have only the net and in it stand static Network. Where i find the
config? I not know what should do now.

gentoo-desk init.d # ifconfig
eth0      Protokoll:Ethernet  Hardware Adresse 00:30:05:3f:a1:a4
          inet Adresse:192.168.2.22  Bcast:192.168.2.255  Maske:255.255.255.0
          inet6 Adresse: fe80::230:5ff:fe3f:a1a4/64
Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1994 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1348 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:1892812 (1.8 MiB)  TX bytes:257820 (251.7 KiB)

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:180 (180.0 B)  TX bytes:180 (180.0 B


The network start when i start with /etc/init,d net.eth0 start. I
understand not what uis the problem, has someone a idea?

Regards and Thank for help
Silvio

Replies

Subject Author
Re: [gentoo-user] Networking Joseph <syscon780@×××××.com>
Re: [gentoo-user] Networking "J. Roeleveld" <joost@××××××××.org>