Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Networking

19 views
Skip to first unread message

Silvio Siefke

unread,
Oct 25, 2012, 2:30:02 PM10/25/12
to
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

Joseph

unread,
Oct 25, 2012, 3:40:01 PM10/25/12
to
unmerging dhcp was not a good idea.
I don't think you have very many options but to "boot strap" gentoo from CD and emerge back the net-misc/dhcp

Do you need both client/server or just client?
I'm running net-misc/dhcpcd

--
Joseph

J. Roeleveld

unread,
Oct 25, 2012, 3:50:02 PM10/25/12
to
Silvio.

Do you have any other net.* services in your runlevel? If yes please remove them.

--
Joost
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Silvio Siefke

unread,
Oct 25, 2012, 4:00:01 PM10/25/12
to
Hello,

2012/10/25 Joseph <sysc...@gmail.com>:
> unmerging dhcp was not a good idea.
> I don't think you have very many options but to "boot strap" gentoo from CD
> and emerge back the net-misc/dhcp
>
> Do you need both client/server or just client?
> I'm running net-misc/dhcpcd

Really, so never run Vmware or Virtualbox on system, nothing go more.
Thats strange.
I have back installed dhcpcd.


Regards
Silvio

Joseph

unread,
Oct 25, 2012, 4:20:02 PM10/25/12
to
Why don't you want to install VirtualBox from portage.
I run VirtualBox on one of those tiny boxes with 1Mb or RAM and box takes only 18W of power.
Yes, it is slow but runs OK.

--
Joseph

Silvio Siefke

unread,
Oct 25, 2012, 4:40:02 PM10/25/12
to
Hello,

On Thu, 25 Oct 2012 14:17:00 -0600
Joseph <sysc...@gmail.com> wrote:

> Why don't you want to install VirtualBox from portage.

Has not internet, only mobile conection and so i have downloaded
by my dad direct from the website.

> I run VirtualBox on one of those tiny boxes with 1Mb or RAM and box takes only 18W of power.
> Yes, it is slow but runs OK.

I want take a look at Android X86, but i think my kernel was not correct.
Ok i have read today the Tutorial for Gentoo and Virtualbox. But when i
have so trouble with the network, then is not so funny. The static ip
is not for fun in config. I must see, maybe i try again, and then from
portage.

Now all is running, hope. But after delete the kernel, all config and udev
rules from Virtualbox and restart go all again.

Thank u and Regards
Silvio

mindrunner

unread,
Oct 25, 2012, 6:50:02 PM10/25/12
to
Actually this is no reason not installing with portage...

Joseph

unread,
Oct 25, 2012, 11:10:02 PM10/25/12
to
You going too fast and in the wrong places :-)
First you unmerge dhcp
now, you are delete the kernel! With this paste you will be re-installing Gentoo in no time :-/

Rule #1 If It Aint Broken Don't Fix It.
Just follow the instruction from:
http://en.gentoo-wiki.com/wiki/VirtualBox
and everything will be working just fine. If you upgrade the kernel yes, you need to recompile Virtual box modules.

--
Joseph

Mick

unread,
Oct 26, 2012, 2:00:02 PM10/26/12
to
You need sys-kernel/module-rebuild to help you rebuild any out of kernel
modules (like VBox).
--
Regards,
Mick
signature.asc
0 new messages