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!

AR# 59073

2013.10 PetaLinux - Specifying a Static IP In System-Level Configuration Does Not Disable DHCP Service


I have unchecked the option Network Addresses -> Obtain IP address automatically in the PetaLinux SDK Linux Configuration menuconfig and replaced it with static IP address values, but I still see the udhcpc service running during boot.


This is a known issue in PetaLinux 2013.10 that is scheduled to be resolved in a future release of the PetaLinux tools.

In the meantime, you can work around this issue by following these steps:

  1. In the Linux Configuration menuconfig, disable Network Addresses -> Obtain IP address automatically (this disables DHCP at the system level).
  2. In the RootFS Configuration menuconfig, disable Filesystem Packages -> base-system-default (allows modifying of the RootFS configuration), Filesystem Packages -> base -> busybox -> busybox-udhcpc (disables the DHCP client service), Filesystem Packages -> base -> busybox -> init-ifupdown -> init-ifupdown (disables automatic bringup of the networking device).
  3. Build the system using petalinux-build and then boot as normal.
  4. When the system boots, the DHCP client service no longer runs but the Ethernet interface will not be active since init-ifupdown was disabled.
  5. Manually specify a static IP address using the ifconfig command. Example syntax is: ifconfig eth0 netmask up. This process can be automated with a shell script included in the root filesystem.
AR# 59073
Date 05/17/2018
Status Active
Type General Article
  • PetaLinux
  • PetaLinux - 2013.10
Boards & Kits
  • Zynq-7000 SoC Boards and Kits
  • Zynq-7000 SoC Video and Imaging Kit
  • Zynq-7000 SoC ZC702 Evaluation Kit
  • Zynq-7000 SoC ZC706 Evaluation Kit
Page Bookmarked