[Peeweelinux] network

Mark Meade [email protected]
Thu, 21 Mar 2002 10:24:05 -0500


Ricardo Trindade wrote:

> I have to setup several embedded computers. The only difference between
> them is the IP address. How would one go about doing this in peewee ?

Hi Ricardo,

Since Peewee is based on Redhat 6.2, I believe the IP address is set in a file called
"/etc/config/ifcfg-eth0".  A typical file might look like this:

DEVICE=eth0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.254

This file may be selected under the "networkscripts" package.  If the default settings
aren't exactly what you need, you could create and include a custom file.

Hope this helps,

Mark