1 |
On Thu, Sep 6, 2012 at 4:33 AM, pat <pat@××××××××.org> wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I've installed Gentoo into VirtualBox. I want it to has static IP address and |
5 |
> I've followed Hand book instructions and the OpenRC/net.example. After reboot |
6 |
> there's a warning: "WARNING: net.lo has already been started" and each network |
7 |
> depending service failes to start with: "<service_name>: waiting for net.eth0 |
8 |
> (51)"; where the 51 is a time which decrements to 0. |
9 |
> |
10 |
> I've searched net, but without success :-\ |
11 |
> |
12 |
> Can someone help me? The installation is fresh one. |
13 |
> |
14 |
> Thanks |
15 |
> |
16 |
> Pat |
17 |
> |
18 |
> ---------------------------------------- |
19 |
> Freehosting PIPNI - http://www.pipni.cz/ |
20 |
> |
21 |
> |
22 |
|
23 |
I have a 32-bit Gentoo Virtualbox VM where I am actually sending this |
24 |
email from. No problems with having a static IP: |
25 |
|
26 |
gentoo-32b ~ # ifconfig -a |
27 |
eth0 Link encap:Ethernet HWaddr 08:00:27:d4:6a:35 |
28 |
inet addr:192.168.1.125 Bcast:192.168.1.255 Mask:255.255.255.0 |
29 |
inet6 addr: fe80::a00:27ff:fed4:6a35/64 Scope:Link |
30 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
31 |
RX packets:103 errors:0 dropped:0 overruns:0 frame:0 |
32 |
TX packets:108 errors:0 dropped:0 overruns:0 carrier:0 |
33 |
collisions:0 txqueuelen:1000 |
34 |
RX bytes:10493 (10.2 KiB) TX bytes:9152 (8.9 KiB) |
35 |
|
36 |
lo Link encap:Local Loopback |
37 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
38 |
inet6 addr: ::1/128 Scope:Host |
39 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
40 |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
41 |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
42 |
collisions:0 txqueuelen:0 |
43 |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
44 |
|
45 |
sit0 Link encap:IPv6-in-IPv4 |
46 |
NOARP MTU:1480 Metric:1 |
47 |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
48 |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
49 |
collisions:0 txqueuelen:0 |
50 |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
51 |
|
52 |
gentoo-32b ~ # cat /etc/conf.d/net |
53 |
net network |
54 |
gentoo-32b ~ # cat /etc/conf.d/net |
55 |
# This blank configuration will automatically use DHCP for any net.* |
56 |
# scripts in /etc/init.d. To create a more complete configuration, |
57 |
# please review /usr/share/doc/openrc*/net.example* and save your configuration |
58 |
# in /etc/conf.d/net (this file :]!). |
59 |
|
60 |
config_eth0="192.168.1.125 netmask 255.255.255.0" |
61 |
routes_eth0="default via 192.168.1.1" |
62 |
gentoo-32b ~ # |
63 |
|
64 |
If it helps, I have the VM NEtwork settings set to Bridged Adapter. |
65 |
|
66 |
HTH, |
67 |
Mark |