* [gentoo-user] static IP issue
@ 2012-09-06 11:33 pat
2012-09-06 12:10 ` Michael Hampicke
2012-09-06 15:37 ` Mark Knecht
0 siblings, 2 replies; 11+ messages in thread
From: pat @ 2012-09-06 11:33 UTC (permalink / raw
To: gentoo-user
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/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 11:33 [gentoo-user] static IP issue pat
@ 2012-09-06 12:10 ` Michael Hampicke
2012-09-06 12:21 ` pat
2012-09-06 15:37 ` Mark Knecht
1 sibling, 1 reply; 11+ messages in thread
From: Michael Hampicke @ 2012-09-06 12:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
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)?
[-- Attachment #2: Type: text/html, Size: 983 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 12:10 ` Michael Hampicke
@ 2012-09-06 12:21 ` pat
2012-09-06 13:00 ` Neil Bothwick
2012-09-06 14:23 ` Michael Hampicke
0 siblings, 2 replies; 11+ messages in thread
From: pat @ 2012-09-06 12:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 898 bytes --]
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/
[-- Attachment #2: Type: text/html, Size: 1689 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 12:21 ` pat
@ 2012-09-06 13:00 ` Neil Bothwick
2012-09-06 13:13 ` pat
2012-09-06 14:23 ` Michael Hampicke
1 sibling, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2012-09-06 13:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 13:00 ` Neil Bothwick
@ 2012-09-06 13:13 ` pat
2012-09-07 4:14 ` Walter Dnes
0 siblings, 1 reply; 11+ messages in thread
From: pat @ 2012-09-06 13:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
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/
[-- Attachment #2: net --]
[-- Type: application/octet-stream, Size: 381 bytes --]
# 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.74.101 netmask 255.255.255.0"
#routes_eth0="default via 8.8.8.8"
routes_eth0="default via 192.168.74.1"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 13:13 ` pat
@ 2012-09-07 4:14 ` Walter Dnes
2012-09-07 11:41 ` pat
0 siblings, 1 reply; 11+ messages in thread
From: Walter Dnes @ 2012-09-07 4:14 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-07 4:14 ` Walter Dnes
@ 2012-09-07 11:41 ` pat
0 siblings, 0 replies; 11+ messages in thread
From: pat @ 2012-09-07 11:41 UTC (permalink / raw
To: gentoo-user
On Fri, 7 Sep 2012 00:14:00 -0400, Walter Dnes wrote
> 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
>
Doesn't help :-(
Thanks
Pat
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 12:21 ` pat
2012-09-06 13:00 ` Neil Bothwick
@ 2012-09-06 14:23 ` Michael Hampicke
2012-09-06 16:03 ` pat
1 sibling, 1 reply; 11+ messages in thread
From: Michael Hampicke @ 2012-09-06 14:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
>
>
> 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?
[-- Attachment #2: Type: text/html, Size: 425 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 14:23 ` Michael Hampicke
@ 2012-09-06 16:03 ` pat
0 siblings, 0 replies; 11+ messages in thread
From: pat @ 2012-09-06 16:03 UTC (permalink / raw
To: gentoo-user
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/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 11:33 [gentoo-user] static IP issue pat
2012-09-06 12:10 ` Michael Hampicke
@ 2012-09-06 15:37 ` Mark Knecht
2012-09-06 16:06 ` pat
1 sibling, 1 reply; 11+ messages in thread
From: Mark Knecht @ 2012-09-06 15:37 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] static IP issue
2012-09-06 15:37 ` Mark Knecht
@ 2012-09-06 16:06 ` pat
0 siblings, 0 replies; 11+ messages in thread
From: pat @ 2012-09-06 16:06 UTC (permalink / raw
To: gentoo-user
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/
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-09-07 11:46 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 11:33 [gentoo-user] static IP issue pat
2012-09-06 12:10 ` Michael Hampicke
2012-09-06 12:21 ` pat
2012-09-06 13:00 ` Neil Bothwick
2012-09-06 13:13 ` pat
2012-09-07 4:14 ` Walter Dnes
2012-09-07 11:41 ` pat
2012-09-06 14:23 ` Michael Hampicke
2012-09-06 16:03 ` pat
2012-09-06 15:37 ` Mark Knecht
2012-09-06 16:06 ` pat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox