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.
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.
Did you create a symlink for /etc/init.d/net.eth0 and did you add it to the runlevel (rc-update add net.eth0 default)?*
09-06-2012, 12:21 PM
"pat"
static IP issue
On Thu, 6 Sep 2012 14:10:21 +0200, Michael Hampicke wrote
> 2012/9/6 pat <pat@xvalheru.org>
>
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.
>
> Did you create a symlink for /etc/init.d/net.eth0 and did you add it to the runlevel (rc-update add net.eth0 default)?*
Hi,
Yes, I did. When the Gentoo boots to shell there's only loop back interface.
> Yes, I did. When the Gentoo boots to shell there's only loop back
> interface.
Please post contents of /etc/conf.d/net
--
Neil Bothwick
Top Oxymorons Number 5: Twelve-ounce pound cake
09-06-2012, 01:13 PM
"pat"
static IP issue
On Thu, 6 Sep 2012 14:00:22 +0100, Neil Bothwick wrote
> On Thu, 6 Sep 2012 13:21:43 +0100, pat wrote:
>
> > Yes, I did. When the Gentoo boots to shell there's only loop back
> > interface.
>
> Please post contents of /etc/conf.d/net
>
> --
> Neil Bothwick
>
> Top Oxymorons Number 5: Twelve-ounce pound cake
Yes, I did. When the Gentoo boots to shell there's only loop back interface.
Are you sure that the kernel module for your network interface is loaded?
What's the output of ifconfig -a after a reboot?*
09-06-2012, 03:37 PM
Mark Knecht
static IP issue
On Thu, Sep 6, 2012 at 4:33 AM, pat <pat@xvalheru.org> 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:
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
09-06-2012, 04:03 PM
"pat"
static IP issue
On Thu, 6 Sep 2012 16:23:57 +0200, Michael Hampicke wrote
>
>
> Yes, I did. When the Gentoo boots to shell there's only loop back interface.
>
> Are you sure that the kernel module for your network interface is loaded?
>
> What's the output of ifconfig -a after a reboot?
ifconfig -a gives:
eth0 Link encap:Ethernet HWaddr 08:00:27:26:80:c5
BROADCAST MULTICAST MTU:1500 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:1000
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)
and I didn't compile driver as module but into kernel and when I switch to
dynamic IP address it works OK, so this is (probably) not issue of the driver.
On Thu, 6 Sep 2012 08:37:33 -0700, Mark Knecht wrote
> On Thu, Sep 6, 2012 at 4:33 AM, pat <pat@xvalheru.org> 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
>
> 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
>
Hello,
I have bridged network too and my configuration looks similar to yours, but I
have 64-bit Gentoo.
On Thu, Sep 06, 2012 at 02:13:04PM +0100, pat wrote
> On Thu, 6 Sep 2012 14:00:22 +0100, Neil Bothwick wrote
> >
> > Please post contents of /etc/conf.d/net
> >
> > --
> > Neil Bothwick
> >
> > Top Oxymorons Number 5: Twelve-ounce pound cake
>
> Here it is.
config_eth0="192.168.74.101 netmask 255.255.255.0"
#routes_eth0="default via 8.8.8.8"
routes_eth0="default via 192.168.74.1"
I assume 192.168.74.1 is your modem. Correct? No mention of
broadcast address. I don't know if that's critical or not. Try either
of the following...
config_eth0="192.168.74.101 netmask 255.255.255.0 broadcast 192.168.74.255"
routes_eth0="default via 192.168.74.1"
or
config_eth0="192.168.74.101/24 broadcast 192.168.74.255"
routes_eth0="default via 192.168.74.1"
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications