On Saturday 03 Aug 2013 06:52:46 Harry Putnam wrote:
> I was off gentoo for a few mnths... apparently something has changed
> in the naming of the network devices.
> 
> So far I've read several accounts of it... but the install handbook
> has apparently not been brought up to date.
> 
> Doing a fresh install, and following the contents of the manual
> concerning conf.d/net... is not working, of course.
> 
> Renaming the device in /etc/init.d to net.enp0s3 and using that name
> in conf.d/net doesn't work either.  At least not during boot.
> 
> I can start the network by hand with /etc/init.d/net.enp0s3 start
> 
> No problems there.  But what, exactly, is supposed to go in
> conf.d/net?
> 
> I've found quite a lot of confusing information on google but not a
> solution that works for me.
> 
> If I start the network by hand as above then things like sshd blow up
> from trying to restart them again and using the wrong names.
> 
> Can someone point me to concise documentation about how this new setup
> is supposed to work?

In /etc/conf.d/net you should replace the previously named eth0 directives to 
your new NIC name, e.g. instead of:

  config_eth0="dhcp"

you will use the new name:

  config_enp0s3="dhcp"

and so on.  For more details on the parameters used look at:

/usr/share/doc/openrc-0.11.8/net.example.bz2
-- 
Regards,
Mick

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to