UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor yywilson
Visitor
1,230 Views
Registered: ‎10-18-2017

How to disable udhcpc when booting Linux

I am using Petalinux 2017.2. When booting Linux, udhcpc (V1.24.1) started automatically. The console print "Sending discover..." which is useless for my application and waste bootup time. I checked rootfs and [udhcpc] is already turned off.

 

Is there any way to turn it off? Or user application to disable it?

0 Kudos
1 Reply
Adventurer
Adventurer
1,182 Views
Registered: ‎10-04-2017

Re: How to disable udhcpc when booting Linux

If you look at the networking script it uses ifup -a to bring up the the interfaces which uses /etc/network/interfaces for config data. there is a line in that file:
iface eth0 inet dhcp

How that knows the dhcp client is udhcpc I don't know but that's what is starting it.

jeff
0 Kudos