getting at bootp IP address

Graham Stoney greyham at research.canon.com.au
Mon Sep 25 16:40:51 EST 2000


Ben Sapp writes:
> I would like the program that is started in place of init in the ram disk
> to set up the network based upon the IP address that was obtained from
> bootp.

You should be able to get the ethernet interface's IP address using the
SIOCSIFADDR ioctl (and friends) on ifr_name "eth0".

Regards,
Graham

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





More information about the Linuxppc-embedded mailing list