FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-06-2012, 11:33 AM
"pat"
 
Default static IP issue

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/
 
Old 09-06-2012, 12:10 PM
Michael Hampicke
 
Default static IP issue

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)?*
 
Old 09-06-2012, 12:21 PM
"pat"
 
Default 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.



**** Pat











---------------------------------------------------------------------------




Freehosting PIPNI - http://www.pipni.cz/
 
Old 09-06-2012, 01:00 PM
Neil Bothwick
 
Default static IP issue

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
 
Old 09-06-2012, 01:13 PM
"pat"
 
Default 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

Here it is.

Thanks

Pat


----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
 
Old 09-06-2012, 02:23 PM
Michael Hampicke
 
Default static IP issue

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?*
 
Old 09-06-2012, 03:37 PM
Mark Knecht
 
Default 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:

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
 
Old 09-06-2012, 04:03 PM
"pat"
 
Default 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)

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:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1988 (1.9 KiB) TX bytes:1988 (1.9 KiB)

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.

Pat


----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
 
Old 09-06-2012, 04:06 PM
"pat"
 
Default static IP issue

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.

Pat


----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
 
Old 09-07-2012, 04:14 AM
"Walter Dnes"
 
Default static IP issue

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
 

Thread Tools




All times are GMT. The time now is 03:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org