* [gentoo-user] Re: Where to find the straight dope conf.d/net?
2013-08-03 10:51 ` Mick
@ 2013-08-02 23:58 ` Harry Putnam
2013-08-03 11:05 ` [gentoo-user] " Neil Bothwick
1 sibling, 0 replies; 5+ messages in thread
From: Harry Putnam @ 2013-08-02 23:58 UTC (permalink / raw
To: gentoo-user
Mick <michaelkintzios@gmail.com> writes:
> 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"
>
Well, yeah, thanks. Of course, that was the first thing I tried... and
it does start the interface.
From /etc/conf.d/net:
,----
| # config_eth0="192.168.1.22 netmask 255.255.255.0 brd 192.168.1.255"
| # routes_eth0="default via 192.168.1.1"
|
| config_enp0s3="192.168.1.22/24"
| routes_enp0s3="default via 192.168.1.1"
`----
However any attempt to start sshd tries to
call eth0 instead of enp0s3.
But I finally discovered I still had an net.eth0 in
/etc/init.d... once I removed that, leaving only net.enp0s3... it all
began to work... Thanks again.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Where to find the straight dope conf.d/net?
2013-08-03 11:05 ` [gentoo-user] " Neil Bothwick
@ 2013-08-03 0:12 ` Harry Putnam
0 siblings, 0 replies; 5+ messages in thread
From: Harry Putnam @ 2013-08-03 0:12 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil@digimed.co.uk> writes:
> On Sat, 3 Aug 2013 11:51:31 +0100, Mick wrote:
>
>> > 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"
>
> Or add net.ifnames=0 to your kernel boot options to keep the old naming
> style.
Thanks, good to know, and I saw that while googling too, but kind of
figured it would just be postponing the changes
Still though, doesn't it seem like the 'Quick Installation' document
and for that matter, the Handbook... should be edited to reflect this
major change... even if it was just adding a url that explains how to
work with the new stuff?
Is there a single document somewhere that explains what this is all
about and how to configure for it? Well, yes there is.
There was a document from eselect news about it...
During install it was 'eselect news read 4'
,----
| 2013-03-29-udev-upgrade
| Title Upgrading udev to version >=200
| Author Samuli Suominen <ssuominen@gentoo.org>
| Posted 2013-03-29
| Revision 2
|
| [...]
`----
I read it but didn't really get what changes needed to happen.. now
looking back at that document it's hard to see how I could fail to
understand, as it is pretty insistent about how your system will be
fudge if you don't pay attention.
I guess those old ethX names are so deeply ingrained... blah
blah. excuse, excuse ... 4 flat tires, ... hit by comet .. blah
abducted... rear end probed...blah, etc etc.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Where to find the straight dope conf.d/net?
@ 2013-08-03 5:52 Harry Putnam
2013-08-03 10:51 ` Mick
0 siblings, 1 reply; 5+ messages in thread
From: Harry Putnam @ 2013-08-03 5:52 UTC (permalink / raw
To: gentoo-user
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Where to find the straight dope conf.d/net?
2013-08-03 5:52 [gentoo-user] Where to find the straight dope conf.d/net? Harry Putnam
@ 2013-08-03 10:51 ` Mick
2013-08-02 23:58 ` [gentoo-user] " Harry Putnam
2013-08-03 11:05 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 5+ messages in thread
From: Mick @ 2013-08-03 10:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1392 bytes --]
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 #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3898 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Where to find the straight dope conf.d/net?
2013-08-03 10:51 ` Mick
2013-08-02 23:58 ` [gentoo-user] " Harry Putnam
@ 2013-08-03 11:05 ` Neil Bothwick
2013-08-03 0:12 ` [gentoo-user] " Harry Putnam
1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2013-08-03 11:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Sat, 3 Aug 2013 11:51:31 +0100, Mick wrote:
> > 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"
Or add net.ifnames=0 to your kernel boot options to keep the old naming
style.
--
Neil Bothwick
In the 60's people took acid to make the world weird.
Now the world is weird and people take Prozac to make it normal.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-08-03 14:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-03 5:52 [gentoo-user] Where to find the straight dope conf.d/net? Harry Putnam
2013-08-03 10:51 ` Mick
2013-08-02 23:58 ` [gentoo-user] " Harry Putnam
2013-08-03 11:05 ` [gentoo-user] " Neil Bothwick
2013-08-03 0:12 ` [gentoo-user] " Harry Putnam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox