View previous topic :: View next topic |
Author |
Message |
maverick6664 Guru
Joined: 13 May 2005 Posts: 413 Location: Tokyo / Japan
|
Posted: Sat Oct 07, 2006 10:52 pm Post subject: How to set module names in /etc/conf.d/net SOLVED |
|
|
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 |
|
|
maverick6664 Guru
Joined: 13 May 2005 Posts: 413 Location: Tokyo / Japan
|
Posted: Sat Oct 07, 2006 11:06 pm Post subject: |
|
|
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 |
|
|
Kruegi Guru
Joined: 09 Feb 2005 Posts: 406 Location: Clausthal-Zellerfeld; DE
|
Posted: Sat Oct 07, 2006 11:09 pm Post subject: Re: How to set module names in /etc/conf.d/net SOLVED |
|
|
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 |
|
|
maverick6664 Guru
Joined: 13 May 2005 Posts: 413 Location: Tokyo / Japan
|
Posted: Sat Oct 07, 2006 11:22 pm Post subject: |
|
|
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 |
|
|
|