* [gentoo-user] New eth.0/openrc setup - I'm confused
@ 2008-05-01 21:47 reader
2008-05-01 22:00 ` Albert Hopkins
2008-05-02 4:47 ` [gentoo-user] " Adam Carter
0 siblings, 2 replies; 5+ messages in thread
From: reader @ 2008-05-01 21:47 UTC (permalink / raw
To: gentoo-user
After updating to 2008 pkgset after merging openrc I lost the
net.eth0 link.. I see other have seen this and even at least 2 bug
reports but the cure is said to be recreating by hand.
I find that not to work... DETAILS:
First, net.lo is itself a symlink to /lib/rc/sh/net.sh, so I'm
creating a symlink to a symlink... ok so far.
once its created (net.eth0 as symlink to net.lo) the usual commands
for stopping or checking status etc don't work.
/etc/init.d/net.eth0 start/stop/status gives me results that appear
not to have anything to do with reality.
# /etc/init.d/net.eth0 restart
* ERROR: net.eth0 has been stopped by something else
# /etc/init.d/net.eth0 start
* WARNING: net.eth0 has already been started
meantime netstat indicates no changes at all.. eth0 is up throughout.
So what is the correct procedure here?
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] New eth.0/openrc setup - I'm confused
2008-05-01 21:47 [gentoo-user] New eth.0/openrc setup - I'm confused reader
@ 2008-05-01 22:00 ` Albert Hopkins
2008-05-02 1:48 ` [gentoo-user] " reader
2008-05-02 4:47 ` [gentoo-user] " Adam Carter
1 sibling, 1 reply; 5+ messages in thread
From: Albert Hopkins @ 2008-05-01 22:00 UTC (permalink / raw
To: gentoo-user
On Thu, 2008-05-01 at 16:47 -0500, reader@newsguy.com wrote:
> After updating to 2008 pkgset after merging openrc I lost the
> net.eth0 link.. I see other have seen this and even at least 2 bug
> reports but the cure is said to be recreating by hand.
>
> I find that not to work... DETAILS:
>
> First, net.lo is itself a symlink to /lib/rc/sh/net.sh, so I'm
> creating a symlink to a symlink... ok so far.
>
> once its created (net.eth0 as symlink to net.lo) the usual commands
> for stopping or checking status etc don't work.
>
> /etc/init.d/net.eth0 start/stop/status gives me results that appear
> not to have anything to do with reality.
>
> # /etc/init.d/net.eth0 restart
> * ERROR: net.eth0 has been stopped by something else
>
> # /etc/init.d/net.eth0 start
> * WARNING: net.eth0 has already been started
>
> meantime netstat indicates no changes at all.. eth0 is up throughout.
>
> So what is the correct procedure here?
Did you try
# /etc/init.d/net.eth0 zap
?
>
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: New eth.0/openrc setup - I'm confused
2008-05-01 22:00 ` Albert Hopkins
@ 2008-05-02 1:48 ` reader
0 siblings, 0 replies; 5+ messages in thread
From: reader @ 2008-05-02 1:48 UTC (permalink / raw
To: gentoo-user
Albert Hopkins <marduk@letterboxes.org> writes:
>> So what is the correct procedure here?
>
> Did you try
>
> # /etc/init.d/net.eth0 zap
It has no effect whatsoever:
root # /etc/init.d/net.eth0 zap
* Manually resetting net.eth0 to stopped state
(In fact it is not stopped I can ping www.gentoo)
root # /etc/init.d/net.eth0 start
* ERROR: net.eth0 has been started by something else
root # /etc/init.d/net.eth0 stop
* WARNING: net.eth0 is already stopped
(In fact it is not stopped... ping works)
All the while netstat and ifconfig report eth0 to be up and in fact a
viable connection is in place throughout.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-user] New eth.0/openrc setup - I'm confused
2008-05-01 21:47 [gentoo-user] New eth.0/openrc setup - I'm confused reader
2008-05-01 22:00 ` Albert Hopkins
@ 2008-05-02 4:47 ` Adam Carter
2008-05-02 13:18 ` [gentoo-user] " reader
1 sibling, 1 reply; 5+ messages in thread
From: Adam Carter @ 2008-05-02 4:47 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
> # /etc/init.d/net.eth0 restart
> * ERROR: net.eth0 has been stopped by something else
>
> # /etc/init.d/net.eth0 start
> * WARNING: net.eth0 has already been started
>
> meantime netstat indicates no changes at all.. eth0 is up throughout.
Do this;
/etc/init.d/net.eth0 stop
- verify the interface is down, if its not maybe just 'ifconfig eth0 down' it
/etc/init.d/net.eth0 zap
/etc/init.d/net.eth0 start
FWIW, zap forces the status to down even if the service mgmt thingy thinks its up.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: New eth.0/openrc setup - I'm confused
2008-05-02 4:47 ` [gentoo-user] " Adam Carter
@ 2008-05-02 13:18 ` reader
0 siblings, 0 replies; 5+ messages in thread
From: reader @ 2008-05-02 13:18 UTC (permalink / raw
To: gentoo-user
Adam Carter <Adam.Carter@optus.com.au> writes:
> Do this;
> /etc/init.d/net.eth0 stop
> - verify the interface is down, if its not maybe just 'ifconfig eth0 down' it
> /etc/init.d/net.eth0 zap
> /etc/init.d/net.eth0 start
A reboot cured the problem... It now works like one would expect.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-05-02 13:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 21:47 [gentoo-user] New eth.0/openrc setup - I'm confused reader
2008-05-01 22:00 ` Albert Hopkins
2008-05-02 1:48 ` [gentoo-user] " reader
2008-05-02 4:47 ` [gentoo-user] " Adam Carter
2008-05-02 13:18 ` [gentoo-user] " reader
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox