Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NO NET -- eth0 or enp4s0?
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
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 473
Location: uk

PostPosted: Fri Oct 23, 2020 4:41 pm    Post subject: NO NET -- eth0 or enp4s0? Reply with quote

So i booted up and everything seems fine apart from

Code:
ERROR: interface eth0 does not exist
net.eth0 failed to start
ERROR: can not start netmount as net.etho failed


I did install dhcpcd and i did compile the kernel with the RTL8111/8168/8411 PCI Exspress Gigabit Ethernet controller as it reports using that.

Allso after looking at ifconfig again on the live cd it was using enp4s0 not eth0

Everything else seems fine i am hoping i just boot the system and solve this as root with no live cd.


Last edited by psycophobia on Fri Oct 23, 2020 5:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46727
Location: 56N 3W

PostPosted: Fri Oct 23, 2020 5:07 pm    Post subject: Reply with quote

psycophobia,

Thats udevs 'persistent device naming' for you.

If you boot your gentoo and
Code:
ifconfig -a
shows your interface, change eth0 everywhere to whatever your interface in called and you are good.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 473
Location: uk

PostPosted: Fri Oct 23, 2020 5:22 pm    Post subject: Reply with quote

NeddySeagoon wrote:
psycophobia,

Thats udevs 'persistent device naming' for you.

If you boot your gentoo and
Code:
ifconfig -a
shows your interface, change eth0 everywhere to whatever your interface in called and you are good.


Will give that a go thanks Neddy
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2484
Location: Frankfurt, Germany

PostPosted: Fri Oct 23, 2020 7:13 pm    Post subject: Reply with quote

... or boot the Linux kernel with 'net.ifnames=0' to get back the old naming scheme (eth0, eth1, ...)
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