linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Coenraad Jacobsz <cjj@research.canon.com.au>
To: linuxppc-embedded@lists.linuxppc.org
Subject: DHCP client - report back
Date: Tue, 29 Aug 2000 17:06:10 +1000	[thread overview]
Message-ID: <39AB60E2.40872E08@research.canon.com.au> (raw)


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/

                 reply	other threads:[~2000-08-29  7:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39AB60E2.40872E08@research.canon.com.au \
    --to=cjj@research.canon.com.au \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).