Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stopping busybox udhcpc
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
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1968

PostPosted: Wed May 24, 2017 1:32 pm    Post subject: Stopping busybox udhcpc Reply with quote

I'm using a Debian kernel and modules to run Gentoo on an RPi, and for some reason
the boot process insists on running udhcpc. I can't find out where it's started;
it's nowhere in boot, so it must be being started by the Gentoo init processes,
presumably as a default.

Does anyone know where or how?

Thanks - Will
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed May 24, 2017 2:17 pm    Post subject: Re: Stopping busybox udhcpc Reply with quote

cwr wrote:
I'm using a Debian kernel and modules to run Gentoo on an RPi, and for some reason the boot process insists on running udhcpc. I can't find out where it's started; it's nowhere in boot, so it must be being started by the Gentoo init processes, presumably as a default. Does anyone know where or how?

cwr ... it's started because nothing else is configured in /etc/conf.d/net, and there is no other dhcp client available. The default (sans explict configuration) is to run dhcp (dhcpcd, or some other client, finally resorting to busybox's udhcpc in their absence). So, you either have net.$IFACE in the runlevel, or something (eg, sshd) needs the 'net' target. You can avoid starting 'net' in a number of ways, the most obvious is to remove the service from the runlevel, or to provide 'rc_sshd_need="!net"' (for example) in /etc/conf.d/sshd or /etc/rc.conf.

HTH & best ... khay
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1968

PostPosted: Thu May 25, 2017 1:03 pm    Post subject: Reply with quote

Yes, I finally found the answer when I was reading the OpenRC docs to set up networking.
It hadn't occurred to me that it was a Gentoo, not an RPi, default.

Thanks - Will
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