On Thu, Sep 6, 2012 at 4:33 AM, pat <[email protected]> wrote:
> Hello,
>
> I've installed Gentoo into VirtualBox. I want it to has static IP address and
> I've followed Hand book instructions and the OpenRC/net.example. After reboot
> there's a warning: "WARNING: net.lo has already been started" and each network
> depending service failes to start with: "<service_name>: waiting for net.eth0
> (51)"; where the 51 is a time which decrements to 0.
>
> I've searched net, but without success :-\
>
> Can someone help me? The installation is fresh one.
>
> Thanks
>
> Pat
>
> ----------------------------------------
> Freehosting PIPNI - http://www.pipni.cz/
>
>
I have a 32-bit Gentoo Virtualbox VM where I am actually sending this
email from. No problems with having a static IP:
gentoo-32b ~ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:d4:6a:35
inet addr:192.168.1.125 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fed4:6a35/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:103 errors:0 dropped:0 overruns:0 frame:0
TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10493 (10.2 KiB) TX bytes:9152 (8.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
gentoo-32b ~ # cat /etc/conf.d/net
net network
gentoo-32b ~ # 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.1.125 netmask 255.255.255.0"
routes_eth0="default via 192.168.1.1"
gentoo-32b ~ #
If it helps, I have the VM NEtwork settings set to Bridged Adapter.
HTH,
Mark