linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* DHCP client - report back
@ 2000-08-29  7:06 Coenraad Jacobsz
  0 siblings, 0 replies; only message in thread
From: Coenraad Jacobsz @ 2000-08-29  7:06 UTC (permalink / raw)
  To: linuxppc-embedded


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

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

Regards
Coenraad

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-29  7:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-29  7:06 DHCP client - report back Coenraad Jacobsz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).