Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Networking
Date: Thu, 25 Oct 2012 19:46:58
Message-Id: 06dace6a-330b-4af5-af3e-5906179ddfb3@email.android.com
In Reply to: [gentoo-user] Networking by Silvio Siefke
1 Silvio Siefke <siefke_listen@×××.de> wrote:
2
3 >Hello,
4 >
5 >i have installed Virtualbox, but from the website not over Portage. I
6 >have now delete, because it want not really run and the computer
7 >has not the power.
8 >
9 >But now i have problems with the network. I have static IP Adresses in
10 >use, but gentoo want network not start the static Address, they
11 >want use dhcpd. I have unmerged the dhcp but now nothing want run.
12 >NFS, SSH, nothing really want start.
13 >
14 >gentoo-desk init.d # cat /etc/conf.d/net
15 ># This blank configuration will automatically use DHCP for any net.*
16 ># scripts in /etc/init.d. To create a more complete configuration,
17 ># please review /usr/share/doc/openrc*/net.example* and save your
18 >configuration
19 ># in /etc/conf.d/net (this file :]!).
20 >config_eth0="192.168.2.22 netmask 255.255.255.0 broadcast
21 >192.168.2.255"
22 >routes_eth0="default via 192.168.2.1"
23 >dns_servers_eth0="192.168.2.1"
24 >
25 >gentoo-desk init.d # /etc/init.d/sshd start
26 > * ERROR: cannot start sshd as dhcpcd would not start
27 >
28 >gentoo-desk init.d # /etc/init.d/nfsmount start
29 > * ERROR: cannot start nfsmount as dhcpcd would not start
30 >
31 >I have only the net and in it stand static Network. Where i find the
32 >config? I not know what should do now.
33 >
34 >gentoo-desk init.d # ifconfig
35 >eth0 Protokoll:Ethernet Hardware Adresse 00:30:05:3f:a1:a4
36 > inet Adresse:192.168.2.22 Bcast:192.168.2.255 Maske:255.255.255.0
37 > inet6 Adresse: fe80::230:5ff:fe3f:a1a4/64
38 >Gültigkeitsbereich:Verbindung
39 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
40 > RX packets:1994 errors:0 dropped:0 overruns:0 frame:0
41 > TX packets:1348 errors:0 dropped:0 overruns:0 carrier:0
42 > Kollisionen:0 Sendewarteschlangenlänge:1000
43 > RX bytes:1892812 (1.8 MiB) TX bytes:257820 (251.7 KiB)
44 >
45 >lo Protokoll:Lokale Schleife
46 > inet Adresse:127.0.0.1 Maske:255.0.0.0
47 > inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
48 > UP LOOPBACK RUNNING MTU:16436 Metric:1
49 > RX packets:10 errors:0 dropped:0 overruns:0 frame:0
50 > TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
51 > Kollisionen:0 Sendewarteschlangenlänge:0
52 > RX bytes:180 (180.0 B) TX bytes:180 (180.0 B
53 >
54 >
55 >The network start when i start with /etc/init,d net.eth0 start. I
56 >understand not what uis the problem, has someone a idea?
57 >
58 >Regards and Thank for help
59 >Silvio
60
61 Silvio.
62
63 Do you have any other net.* services in your runlevel? If yes please remove them.
64
65 --
66 Joost
67 --
68 Sent from my Android phone with K-9 Mail. Please excuse my brevity.