Re: [gentoo-user] strange error when trying to start network

2009-10-27 Thread Dirk Heinrichs
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-disc...@marples.name.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] strange error when trying to start network

2009-10-26 Thread covici
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
 cov...@ccs.covici.com



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread Volker Armin Hemmann
On Montag 26 Oktober 2009, cov...@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



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread covici
Volker Armin Hemmann volkerar...@googlemail.com wrote:

 On Montag 26 Oktober 2009, cov...@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
 cov...@ccs.covici.com



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread Dirk Heinrichs
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread covici
Dirk Heinrichs dirk.heinri...@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
 cov...@ccs.covici.com



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread Volker Armin Hemmann
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'



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread Dirk Heinrichs
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread Dirk Heinrichs
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread Volker Armin Hemmann
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.



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread covici
Dirk Heinrichs dirk.heinri...@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
 cov...@ccs.covici.com



Re: [gentoo-user] strange error when trying to start network

2009-10-26 Thread covici
cov...@ccs.covici.com wrote:

 Dirk Heinrichs dirk.heinri...@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
 cov...@ccs.covici.com