Article 5DFH3 udhcpc returns -1 when run with system command

udhcpc returns -1 when run with system command

by
Johncyib
from LinuxQuestions.org on (#5DFH3)
Hi,

I have a linux embedded system. My device is connected to a Cisco Catalyst 3750 switch using a ethernet cable in the customer place. The device uses udhcpc to request IP for my device. It returns with error "No DNS servers specified, refusing operation". But the IP is acquired for the system. I checked my /etc/resolv.conf and it has the google DNS server information added.

Since in my setup everything is working fine and it occurs only with customer place couldn't try much things out and debug further.

Any pointers on why it throws error would be helpful.

Regards,
Johncy.latest?d=yIl2AUoC8zA latest?i=UzHBvxoCSiY:_GocfwGfmjE:F7zBnMy latest?i=UzHBvxoCSiY:_GocfwGfmjE:V_sGLiP latest?d=qj6IDK7rITs latest?i=UzHBvxoCSiY:_GocfwGfmjE:gIN9vFwUzHBvxoCSiY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments