udhcpc process quits

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

I've recently upgraded some of my machines to linux kernel 2.6.27.6.atmel.1 (using buildroot 2.3.0) and have noticed a bit of an issue with udhcpc.

First of all, I had to edit the /usr/share/default.script because this section:

               if [ -n "$router" ] ; then
                       echo "deleting routers"
                       while route del default gw 0.0.0.0 dev $interface ; do
                               :
                       done

                       for i in $router ; do
                               route add default gw $i dev $interface
                       done
               fi

would just cause everything to halt after it prints "deleting routers". It wouldn't boot any further. So, I commented this section out and everything seemed to work ok after that.

However, I've just noticed the issue that the avr32 boots properly and gets the DNS stuff all setup as I had it going before, but the udhcpc process just quits after an indeterminate amount of time. This means the name doesn't resolve anymore (even though it still has the IP Address).

I'm piping the output of udhcpc to a file to hope to catch any errors it might print before quitting, any other recommendations for things to check? Might the two issues I had with the deleting routers and this be related? The busybox version is v1.13.1..

Thanks,

James

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I should add that I have this in /etc/network/interfaces:

# Configure Ethernet 0
auto eth0
iface eth0 inet manual
 up udhcpc -R -n -p /var/run/udhcpc.eth0.pid -i eth0 -H  -V "MSFT 5.0" -F 

(with and set per board)