Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to set module names in /etc/conf.d/net SOLVED
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
maverick6664
Guru
Guru


Joined: 13 May 2005
Posts: 413
Location: Tokyo / Japan

PostPosted: Sat Oct 07, 2006 10:52 pm    Post subject: How to set module names in /etc/conf.d/net SOLVED Reply with quote

Hi,

I have two eth cards. I like to set in "alias eth0 e100" style, but Gentoo complains with it. So I would like to set in Gentoo style in /etc/conf.d/net, but module name cannot be set in modules_eth0( ). I'm looking at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printable&part=4&chap=3, but cannot figure it out.....how to set e100 to eth0 and 8139too to eth1, and set e100 to static and 8139too to dhcpd. Gateway is eth1.

Thanks in advance...
_________________
Tetsuji Rai
a.k.a. Lukiest in the world
Back to top
View user's profile Send private message
maverick6664
Guru
Guru


Joined: 13 May 2005
Posts: 413
Location: Tokyo / Japan

PostPosted: Sat Oct 07, 2006 11:06 pm    Post subject: Reply with quote

It was easy looking at /etc/conf.d/net.example....

Mine is
Code:
modules=("ifconfig")
config_eth0=("192.168.0.66/24")

config_eth1=("dhcp")

_________________
Tetsuji Rai
a.k.a. Lukiest in the world
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Sat Oct 07, 2006 11:09 pm    Post subject: Re: How to set module names in /etc/conf.d/net SOLVED Reply with quote

maverick6664 wrote:
how to set e100 to eth0 and 8139too to eth1


The easiest way is to put the e100 modules above the 8130 modules in /etc/modules.autoload.d/kernel-2.6 so it is loaded first.

Thomas
Back to top
View user's profile Send private message
maverick6664
Guru
Guru


Joined: 13 May 2005
Posts: 413
Location: Tokyo / Japan

PostPosted: Sat Oct 07, 2006 11:22 pm    Post subject: Reply with quote

Thanks. I also did it, but /etc/conf.d/net was still old, so I got the warning. Now I have no problem, because I set them in /etc/modules.d/aliases now.
_________________
Tetsuji Rai
a.k.a. Lukiest in the world
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