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/



Reply via email to