Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why is eth0 up even without a net.eth0 script?
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
strider2003
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 151
Location: Spain

PostPosted: Tue Feb 25, 2014 3:29 pm    Post subject: Why is eth0 up even without a net.eth0 script? Reply with quote

I've got a new laptop (Lenovo E335, in case it's relevant), and I'm installing Gentoo as always, but I have seen something that I had not seen in any of my previous installations.

I skipped the network configuration step (i.e. I didn't make any links to net.lo and I didn't add any network scripts to openrc). However, after compiling my custom kernel and rebooting the laptop, my wired network interface is up and gets an ip address with dhcp. The interface is identified as "eth0"* in ifconfig, even as there is no "net.eth0" script.

My question is: what is bringing this interface up and why?

*The interface is eth0 because I have temporarily disabled udev "predictable network interface names".
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1371

PostPosted: Tue Feb 25, 2014 5:21 pm    Post subject: Reply with quote

dhcpcd can do this.
_________________
fun2gen2
Back to top
View user's profile Send private message
strider2003
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 151
Location: Spain

PostPosted: Tue Feb 25, 2014 7:19 pm    Post subject: Reply with quote

Interesting. I have dhcpcd, and I've found a dhcpcd process running in the background. However, dhcpcd is not enabled in any of the runlevels:

Code:

$ rc-update -v | grep dhcpcd
     dhcpcd |


Why is dhcpcd running? How can I disable this behavior? (Reading the man page right now to find that out).
Back to top
View user's profile Send private message
strider2003
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 151
Location: Spain

PostPosted: Tue Feb 25, 2014 7:45 pm    Post subject: Reply with quote

I have found some clues in this post: https://forums.gentoo.org/viewtopic-t-979218-highlight-dhcpcd.html
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