[gentoo-user] Where is /etc/conf.d/net.example?
Where is the proper place to specify the gentoo network configuration nowadays? I do not have a file called /etc/conf.d/net.example on my hard drive. That surprised me. The handbook talks all about eth0, but my machine does not have a eth0. It has eno1. Perhaps the handbook is not up to date? I'm using wicd now but I want to ditch wicd and replace it with the generally accepted correct gentoo way. Thank you, Chris
Re: [gentoo-user] Where is /etc/conf.d/net.example?
/usr/share/doc/netifrc-0.1/net.example.bz2 On Sun, Mar 16, 2014 at 8:27 PM, Chris Stankevitz chrisstankev...@gmail.com wrote: Where is the proper place to specify the gentoo network configuration nowadays? I do not have a file called /etc/conf.d/net.example on my hard drive. That surprised me. The handbook talks all about eth0, but my machine does not have a eth0. It has eno1. Perhaps the handbook is not up to date? I'm using wicd now but I want to ditch wicd and replace it with the generally accepted correct gentoo way. Thank you, Chris
Re: [gentoo-user] Where is /etc/conf.d/net.example?
On 03/16/2014 08:27 PM, Chris Stankevitz wrote: Where is the proper place to specify the gentoo network configuration nowadays? I do not have a file called /etc/conf.d/net.example on my hard drive. That surprised me. The handbook talks all about eth0, but my machine does not have a eth0. It has eno1. Perhaps the handbook is not up to date? I'm using wicd now but I want to ditch wicd and replace it with the generally accepted correct gentoo way. Thank you, Chris As far as eth0 goes, the handbook does talk about network interface names other than eth0. See below for details. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printablefull=1#book_part1_chap3 Automatically Start Networking at Boot To have your network interfaces activated at boot, you need to add them to the default runlevel. Code Listing 2.7: Adding net.eth0 to the default runlevel # cd /etc/init.d # ln -s net.lo net.eth0 # rc-update add net.eth0 default If you have several network interfaces, you need to create the appropriate net.* files just like you did with net.eth0. If you later find out the assumption about the network interface name (which we currently document as eth0) was wrong, then 1. update the /etc/conf.d/net file with the correct interface name (like enp3s0 instead of eth0), 2. create new symbolic link (like /etc/init.d/net.enp3s0), 3. remove the old symbolic link (rm /etc/init.d/net.eth0), 4. add the new one to the default runlevel, and 5. remove the old one using rc-update del net.eth0 default.
Re: [gentoo-user] Where is /etc/conf.d/net.example?
On 16/03/2014 20:27, Chris Stankevitz wrote: [snip] I'm using wicd now but I want to ditch wicd and replace it with the generally accepted correct gentoo way. Thank you, Chris There is no generally accepted correct gentoo way, there is only whatever you feel like using. You have various choices - an orthodox network manager like wicd or nm - a minimal network manager like connman - /etc/init.d/net* scripts supplied by OpenRc - no manager, do it manually OpenRc is the default for no real reason other than it is and has been for some time. It can also be gotten to work in every case known to man, the same can't be said for the other options. If you want to ditch wicd because you think it's not the supported or approved way, you might want to revisit that choice -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Where is /etc/conf.d/net.example?
On Sunday 16 Mar 2014 18:27:45 Chris Stankevitz wrote: Where is the proper place to specify the gentoo network configuration nowadays? I do not have a file called /etc/conf.d/net.example on my hard drive. That surprised me. There used to be a /etc/conf.d/net.example, but that stopped some way back since sys-apps/openrc-0.12.4 I seem to recall. I never understood why. Since then every new openrc version updates its net.example file, but instead of doing so in /etc/conf.d/, it does it in /usr/share/doc/netifrc*/ BTW, this is the gentoo way only insofar that gentoo happens to use openrc. If wicd, networkmanager, connman suit your needs, there's no obligation to use openrc's scripts. -- Regards, Mick signature.asc Description: This is a digitally signed message part.