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zZXQgdG8gMT8gYmVjYXVzZSBpbiBteSBzeXN0ZW0sIGV4Y2VwdGlv
bnMgYWRkcmVzcyAweGZmZm5fbm5ubiBkaWQgbm90IGV4aXN0IGF0IGFsbC4NCkFuZCBtb3JlLHdo
eSBteSB1LWJvb3QgY291bGQgcnVuIHN1Y2Nlc3NmdWxseSB3aGlsZSBNU1JbaXBdID0gMSBidXQg
cmVhbCBleGNlcHRpb24gdmVjdG9ycyBsb2NhdGUgYXQgMHhmZTAwXzBuMDA/DQoNCiAgICAuZ2xv
YmwgIG04MjYwX2dvcm9tIC8qIHI0ID0gYWRkciBpbiB0aGUgcm9tLGkgc2V0IGl0IHRvIDB4ZmU3
MDAxMDAgKi8NCm04MjYwX2dvcm9tOg0KCW1mbXNyCXIwDQoJcmx3aW5tCXIwLHIwLDAsMTcsMTUJ
LyogY2xlYXIgTVNSX0VFIGluIHIwICovDQoJc3luYw0KCW10bXNyCXIwDQoJc3luYw0KCW1mc3By
CXIxMSwgSElEMA0KCWxpcwlyMTAsIDANCglvcmkJcjEwLHIxMCxISUQwX0lDRXxISUQwX0RDRQ0K
CWFuZGMJcjExLCByMTEsIHIxMA0KCW10c3ByCUhJRDAsIHIxMQ0KCWlzeW5jDQoJbGkJcjUsIE1T
Ul8NCglsaXMJcjYsMmZAaA0KCWFkZGlzCXI2LHI2LC1LRVJORUxCQVNFQGgNCglvcmkJcjYscjYs
MmZAbA0KCW10c3ByCVNSUjAscjYNCgltdHNwcglTUlIxLHI1DQoJaXN5bmMNCglzeW5jDQoJcmZp
DQoyOg0KCW10bHIJcjQNCglibHINCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAN
ClRoYW5rcyB2ZXJ5IG11Y2ghDQpKYXNvbg0KoaGhoaGhoaGhoaGhoaGhoQ0KoaGhoaGhoaGhoaGh
oaGhoaGhoaENCg==
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: reboot
@ 2000-09-14 15:26 Julia Elbert
0 siblings, 0 replies; 4+ messages in thread
From: Julia Elbert @ 2000-09-14 15:26 UTC (permalink / raw)
To: 'greyham@research.canon.com.au',
'linuxppc-embedded@lists.linuxppc.org'
Very cool, I did not think of using the ioctls.
I will try it out.
Thank you.
--Julia
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/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* reboot
@ 2000-09-14 1:39 Julia Elbert
2000-09-14 1:53 ` reboot Graham Stoney
0 siblings, 1 reply; 4+ messages in thread
From: Julia Elbert @ 2000-09-14 1:39 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hello,
Is there anyway to program the system to do soft reboot. init ?, reboot. I
can't get reboot to work correctly.
I need to be able to change ip address and routing on the fly, not using the
console port to do it.
Thank you,
--Julia
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reboot
2000-09-14 1:39 reboot Julia Elbert
@ 2000-09-14 1:53 ` Graham Stoney
0 siblings, 0 replies; 4+ messages in thread
From: Graham Stoney @ 2000-09-14 1:53 UTC (permalink / raw)
To: Julia Elbert; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-06 6:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06 6:55 reboot Jason Chen
-- strict thread matches above, loose matches on Subject: below --
2000-09-14 15:26 reboot Julia Elbert
2000-09-14 1:39 reboot Julia Elbert
2000-09-14 1:53 ` reboot Graham Stoney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox