Skip to contentSkip to conversation

Booting w/out BOOTP and still have IPv4 comeup.

DISCUSSION Wohlgemuth, Jason 2 participants 2 messages Dec 20, 1999

lore
Share & tools
lore
#0 lore raw

Just a quick question. I have linux going on an embedded MPC860. The application that is running on it uses sockets but when I disable bootp all the socket calls fail since the network has not been configured properly. What is the best way to fake this out. I have tried adding a line similiar to this to the init string ip=192.168.1.1:192.168.1.2:192.168.1.254:255.255.255.0:noname:lo:off but that doesn't seem to help.

Thanks in advance,
Jason

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

#1 lore raw
Quoted 3 lines · Jason

Just a quick question. I have linux going on an embedded MPC860. The application that is running on it uses sockets but when I disable bootp all the socket calls fail since the network has not been configured properly.

I have only been able to do this by using 'ifconfig'. I don't know the details, but simply setting the IP address like this doesn't seem to invoke some initialization functions. Using ifconfig after the system boots works just fine.

	-- Dan

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