Image

Imagedrumgeek wrote in Imagelinux

question

quick question:

i have a box with two NICs (eth0 and eth1) with a fresh (minimal) installation of Mandrake 9.2. i didn't configure the cards during installation (for whatever dumb reason). i now need to, and don't know how.

one interface (eth0) needs to be configured via dhcp (using dhcpcd, *not* pump) and the other configured to have a static IP. i'm intending to set the box up as a router for my home network.

typing "ifup eth0" or "ifup eth1" yields the same "no configuration found" error message (or something similar), but typing "ifconfig -a" shows both interfaces (in addition to the local loopback).

in addition, i cannot ping the local loopback address (127.0.0.1).

this all makes sense to me, because i never configured the network...however i need to know how to do it now. i know (or at least think) i have to do something with /etc/sysconfig/network-scripts, but need to know what to put in what file, etc.

it might be noted that i am not using X, and as such none of the available GUI config tools will be useful...

i consider myself very good with computers but have not had a lot of experience doing this type of stuff in linux. any help is appreciated.