Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do you define a nic without an IP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wizkid
n00b
n00b


Joined: 23 Sep 2004
Posts: 54

PostPosted: Tue Aug 15, 2006 3:30 pm    Post subject: How do you define a nic without an IP Reply with quote

Hi all,
I've just had to add a third nic to my machine, and things broke. I had one set up as null, and my normal nic. I had to add a 3rd for our admin lan, and now whenever I run /etc/init.d/net.eth[23] I get:

/etc/init.d/net.eth2: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
* Starting
* no interface module has been loaded

I can manually ifconfig eth1 up. But the startup scripts......
My current conf.d/net config is (Ip addresses changed)

config_eth0=( "222.333.5.77 netmask 255.255.255.0 broadcast 222.333.5.255" )
config_eth1=("null")
config_eth2=("192.168.120.77 netmask 255.255.255.0")
modules_eth2=( "e100" )

Note: I added the modules_eth2 experimenting. What do I need to do to get this working?? The other 2 nic's are broadcom, and I believe I compiled support into the kernel for them. If I didn't then I'm not writing this forum message (LoL)
Thanks for your help!
_________________
Linux Rules --- NT (And XP) Drools
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Tue Aug 15, 2006 4:09 pm    Post subject: Reply with quote

The error
Code:
/etc/init.d/net.eth2: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
comes from the upgrade to baselayout 1.12.4-rX. You need to make net.eth2 a symlink to net.lo — the net.eth0 and net.eth1 will need to be symlinks as well if they aren't already.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
wizkid
n00b
n00b


Joined: 23 Sep 2004
Posts: 54

PostPosted: Tue Aug 15, 2006 4:30 pm    Post subject: Reply with quote

Kool, Thanks!

I just upgraded baselayout! From now on, I'll link nic startup scripts.
Rich
_________________
Linux Rules --- NT (And XP) Drools
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum