DHCP client - report back

Coenraad Jacobsz cjj at research.canon.com.au
Tue Aug 29 18:06:10 EST 2000

Thanks to Chris Hallinan and Joe Green for their replies.  We chose
'pump' from MontaVista and it works well.  (Had to recompile for our

A few things to remember when using pump are:

1. Make sure the kernel is compiled with CONFIG_PACKET defined

2. If you "pump -k" to kill the interface, and want to manually
   start it again with hard coded IP's, make sure the flags are
   set correctly to bring the interface back up:

      struct ifreq ifr;
      ifr.ifr_flags |= (IFF_UP | IFF_RUNNING);
      ioctl(sd, SIOCSIFFLAGS, &ifr);

This may save some time


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-embedded mailing list