public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] strange error when trying to start network
@ 2009-10-26 18:50 covici
  2009-10-26 19:06 ` Volker Armin Hemmann
  0 siblings, 1 reply; 12+ messages in thread
From: covici @ 2009-10-26 18:50 UTC (permalink / raw
  To: gentoo-user

Hi.  I have a network cardwhich I am trying to start and it has worked
before, but today when I tried to start the card, I get the following:
RTNETLINK answers: file exists.  I notice that its not building the
default route.

Here are its configs using baselayout2 and openrc 5.2-r1

config_eth1="67.62.15.196 netmask 255.255.255.0 "
routes_eth1="default via 67.62.15.1"

I had default gw in the routes, but it seemed to say that if mo module
was specified iproute2 was used so I changed to default via, but no joy.

Any assistance would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 18:50 [gentoo-user] strange error when trying to start network covici
@ 2009-10-26 19:06 ` Volker Armin Hemmann
  2009-10-26 19:38   ` covici
  2009-10-26 20:20   ` Dirk Heinrichs
  0 siblings, 2 replies; 12+ messages in thread
From: Volker Armin Hemmann @ 2009-10-26 19:06 UTC (permalink / raw
  To: gentoo-user

On Montag 26 Oktober 2009, covici@ccs.covici.com wrote:
> Hi.  I have a network cardwhich I am trying to start and it has worked
> before, but today when I tried to start the card, I get the following:
> RTNETLINK answers: file exists.  I notice that its not building the
> default route.
> 
> Here are its configs using baselayout2 and openrc 5.2-r1
> 
> config_eth1="67.62.15.196 netmask 255.255.255.0 "
> routes_eth1="default via 67.62.15.1"
> 
> I had default gw in the routes, but it seemed to say that if mo module
> was specified iproute2 was used so I changed to default via, but no joy.
> 
> Any assistance would be appreciated.
> 


in network:


ifconfig_eth0="67.62.15.196 netmask 255.255.255.0"
defaultroute="67.62.15.1"



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 19:06 ` Volker Armin Hemmann
@ 2009-10-26 19:38   ` covici
  2009-10-26 20:20   ` Dirk Heinrichs
  1 sibling, 0 replies; 12+ messages in thread
From: covici @ 2009-10-26 19:38 UTC (permalink / raw
  To: gentoo-user

Volker Armin Hemmann <volkerarmin@googlemail.com> wrote:

> On Montag 26 Oktober 2009, covici@ccs.covici.com wrote:
> > Hi.  I have a network cardwhich I am trying to start and it has worked
> > before, but today when I tried to start the card, I get the following:
> > RTNETLINK answers: file exists.  I notice that its not building the
> > default route.
> > 
> > Here are its configs using baselayout2 and openrc 5.2-r1
> > 
> > config_eth1="67.62.15.196 netmask 255.255.255.0 "
> > routes_eth1="default via 67.62.15.1"
> > 
> > I had default gw in the routes, but it seemed to say that if mo module
> > was specified iproute2 was used so I changed to default via, but no joy.
> > 
> > Any assistance would be appreciated.
> > 
> 
> 
> in network:
> 
> 
> ifconfig_eth0="67.62.15.196 netmask 255.255.255.0"
> defaultroute="67.62.15.1"

No joy, it did not like those parameters at all.   When I put
ifconfig_eth1 it just said no config using dhcp, and when I changed it
to config_eth1, it did not like defaultroute.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 19:06 ` Volker Armin Hemmann
  2009-10-26 19:38   ` covici
@ 2009-10-26 20:20   ` Dirk Heinrichs
  2009-10-26 20:29     ` covici
  2009-10-26 20:47     ` Volker Armin Hemmann
  1 sibling, 2 replies; 12+ messages in thread
From: Dirk Heinrichs @ 2009-10-26 20:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 276 bytes --]

Am Montag 26 Oktober 2009 20:06:29 schrieb Volker Armin Hemmann:
> in network:
> 
> ifconfig_eth0="67.62.15.196 netmask 255.255.255.0"
> defaultroute="67.62.15.1"

This only applies if you have switched to new style networking scripts, 
doesn't it?

Bye...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 20:20   ` Dirk Heinrichs
@ 2009-10-26 20:29     ` covici
  2009-10-26 21:00       ` Dirk Heinrichs
  2009-10-26 20:47     ` Volker Armin Hemmann
  1 sibling, 1 reply; 12+ messages in thread
From: covici @ 2009-10-26 20:29 UTC (permalink / raw
  To: gentoo-user

Dirk Heinrichs <dirk.heinrichs@online.de> wrote:

> Am Montag 26 Oktober 2009 20:06:29 schrieb Volker Armin Hemmann:
> > in network:
> > 
> > ifconfig_eth0="67.62.15.196 netmask 255.255.255.0"
> > defaultroute="67.62.15.1"
> 
> This only applies if you have switched to new style networking scripts, 
> doesn't it?
What are new style networking scripts -- which package is that.  The
/etc/conf.d/net.example seems not to have changed since May.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 20:20   ` Dirk Heinrichs
  2009-10-26 20:29     ` covici
@ 2009-10-26 20:47     ` Volker Armin Hemmann
  2009-10-26 21:18       ` Dirk Heinrichs
  1 sibling, 1 reply; 12+ messages in thread
From: Volker Armin Hemmann @ 2009-10-26 20:47 UTC (permalink / raw
  To: gentoo-user

On Montag 26 Oktober 2009, Dirk Heinrichs wrote:
> Am Montag 26 Oktober 2009 20:06:29 schrieb Volker Armin Hemmann:
> > in network:
> >
> > ifconfig_eth0="67.62.15.196 netmask 255.255.255.0"
> > defaultroute="67.62.15.1"
> 
> This only applies if you have switched to new style networking scripts,
> doesn't it?
> 
> Bye...
> 
> 	Dirk
> 

and that is why I wrote 'in network'



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 20:29     ` covici
@ 2009-10-26 21:00       ` Dirk Heinrichs
  2009-10-26 21:35         ` covici
  0 siblings, 1 reply; 12+ messages in thread
From: Dirk Heinrichs @ 2009-10-26 21:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 389 bytes --]

Am Montag 26 Oktober 2009 21:29:24 schrieb covici:
> What are new style networking scripts -- which package is that.  The
> /etc/conf.d/net.example seems not to have changed since May.

The ones that come with newer versions of openrc. If you decide to use them, 
your configuration now goes into network, but you also have to use the 
corresponding init script.

Bye...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 20:47     ` Volker Armin Hemmann
@ 2009-10-26 21:18       ` Dirk Heinrichs
  2009-10-26 21:28         ` Volker Armin Hemmann
  0 siblings, 1 reply; 12+ messages in thread
From: Dirk Heinrichs @ 2009-10-26 21:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 396 bytes --]

Am Montag 26 Oktober 2009 21:47:43 schrieb Volker Armin Hemmann:
> > This only applies if you have switched to new style networking scripts,
> > doesn't it?
> 
> and that is why I wrote 'in network'

But it's only half of the truth. Editing /etc/conf.d/network doesn't have any 
effect unless you also drop the old init scripts (net.*) and use the new one 
(network).

Bye...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 21:18       ` Dirk Heinrichs
@ 2009-10-26 21:28         ` Volker Armin Hemmann
  0 siblings, 0 replies; 12+ messages in thread
From: Volker Armin Hemmann @ 2009-10-26 21:28 UTC (permalink / raw
  To: gentoo-user

On Montag 26 Oktober 2009, Dirk Heinrichs wrote:
> Am Montag 26 Oktober 2009 21:47:43 schrieb Volker Armin Hemmann:
> > > This only applies if you have switched to new style networking scripts,
> > > doesn't it?
> >
> > and that is why I wrote 'in network'
> 
> But it's only half of the truth. Editing /etc/conf.d/network doesn't have
>  any effect unless you also drop the old init scripts (net.*) and use the
>  new one (network).
> 
> Bye...
> 
> 	Dirk
> 

I had a typo in network.

I did not had network in default.

net did not start correctly.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 21:00       ` Dirk Heinrichs
@ 2009-10-26 21:35         ` covici
  2009-10-27  5:52           ` covici
  0 siblings, 1 reply; 12+ messages in thread
From: covici @ 2009-10-26 21:35 UTC (permalink / raw
  To: gentoo-user

Dirk Heinrichs <dirk.heinrichs@online.de> wrote:

> Am Montag 26 Oktober 2009 21:29:24 schrieb covici:
> > What are new style networking scripts -- which package is that.  The
> > /etc/conf.d/net.example seems not to have changed since May.
> 
> The ones that come with newer versions of openrc. If you decide to use them, 
> your configuration now goes into network, but you also have to use the 
> corresponding init script.
I do have openrc 0.5.2-r1 -- is there some documentation of the new
style?  For dhcp things still work correctly in /etc/conf.d/net  and
even for a static one  if I don't need a default route, it seems to work.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-26 21:35         ` covici
@ 2009-10-27  5:52           ` covici
  2009-10-27 17:26             ` Dirk Heinrichs
  0 siblings, 1 reply; 12+ messages in thread
From: covici @ 2009-10-27  5:52 UTC (permalink / raw
  To: gentoo-user

covici@ccs.covici.com wrote:

> Dirk Heinrichs <dirk.heinrichs@online.de> wrote:
> 
> > Am Montag 26 Oktober 2009 21:29:24 schrieb covici:
> > > What are new style networking scripts -- which package is that.  The
> > > /etc/conf.d/net.example seems not to have changed since May.
> > 
> > The ones that come with newer versions of openrc. If you decide to use them, 
> > your configuration now goes into network, but you also have to use the 
> > corresponding init script.
> I do have openrc 0.5.2-r1 -- is there some documentation of the new
> style?  For dhcp things still work correctly in /etc/conf.d/net  and
> even for a static one  if I don't need a default route, it seems to work.
> 

Just to let people know, the solution was just a reboot, I didn't need
to go to the new style of netowrk, which I have a lot of questions about
anyway, but this is all that was necessary.  Very strange indeed.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] strange error when trying to start network
  2009-10-27  5:52           ` covici
@ 2009-10-27 17:26             ` Dirk Heinrichs
  0 siblings, 0 replies; 12+ messages in thread
From: Dirk Heinrichs @ 2009-10-27 17:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 427 bytes --]

Am Dienstag 27 Oktober 2009 06:52:07 schrieb covici:

> Just to let people know, the solution was just a reboot, I didn't need
> to go to the new style of netowrk,

Nobody said you need to. According to Roy Marples old style will stay for some 
time.

> which I have a lot of questions about
> anyway, but this is all that was necessary.

Best place to do this is on openrc-discuss@marples.name.

Bye...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-10-27 17:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 18:50 [gentoo-user] strange error when trying to start network covici
2009-10-26 19:06 ` Volker Armin Hemmann
2009-10-26 19:38   ` covici
2009-10-26 20:20   ` Dirk Heinrichs
2009-10-26 20:29     ` covici
2009-10-26 21:00       ` Dirk Heinrichs
2009-10-26 21:35         ` covici
2009-10-27  5:52           ` covici
2009-10-27 17:26             ` Dirk Heinrichs
2009-10-26 20:47     ` Volker Armin Hemmann
2009-10-26 21:18       ` Dirk Heinrichs
2009-10-26 21:28         ` Volker Armin Hemmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox