Hi whitelines2
Here are the commands I use in a script to set up eth0 on my file server.
pkill udhcpc
ifconfig eth0 192.168.1.47 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1
echo nameserver 192.168.1.1 > /etc/resolv.conf
echo nameserver 192.168.1.1 >> /etc/resolv.conf
192.168.1.47 is the address I assign to my network card, adjust the address to match your network.
192.168.1.1 is the address of my router that connects me to the Internet.
If you want to enter them on the command line, precede the commands with the word sudo.