From: greyham@research.canon.com.au (Graham Stoney)
To: jelbert@enerdyne.com (Julia Elbert)
Cc: linuxppc-embedded@lists.linuxppc.org
('linuxppc-embedded@lists.linuxppc.org')
Subject: Re: reboot
Date: Thu, 14 Sep 2000 12:53:56 +1100 (EST) [thread overview]
Message-ID: <20000914015356.9A7DDB6@elph.research.canon.com.au> (raw)
In-Reply-To: <67505026E29DD311A9AA00508B7315F31956F4@EXCHANGE> from "Julia Elbert" at Sep 13, 2000 06:39:53 PM
Julia Elbert writes:
> I need to be able to change ip address and routing on the fly, not using the
> console port to do it.
You don't need to reboot to change the IP address and routing.
Use the SOICSIFADDR, SIOCSIFNETMASK, SIOCSIFBRADDR ioctls on a PF_INET socket
with the appropriate ifr_name (probably "eth0") to change the IP address.
Use SIOCDELRT and SOICADDRT to delete and add routes.
No reboot required!
Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909 Fax: +61 2 9805 2929
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-09-14 1:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-14 1:39 reboot Julia Elbert
2000-09-14 1:53 ` Graham Stoney [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-09-14 15:26 reboot Julia Elbert
2005-09-06 6:55 reboot Jason Chen
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=20000914015356.9A7DDB6@elph.research.canon.com.au \
--to=greyham@research.canon.com.au \
--cc=jelbert@enerdyne.com \
--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