Nice how2 on the /etc/network/interfaces http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes
auto eth0 iface eth0 inet dhcp
allow-hotplug eth0 iface eth0 inet static address 192.168.12.50 netmask 255.255.255.0 network 192.168.12.0 broadcast 192.168.12.255 gateway 192.168.12.1 dns-nameservers 192.168.12.1 dns-search networkq
edit the /etc/rc.config file
eth0="dhcp" wlan0="dhcp"
setup IP and netmask with ifconfig
ifconfig [ netmask ] ifconfig eth0 192.168.12.200 255.255.255.0
Add a default gateway
route [add default gw] route add default gw 192.168.12.1 eth0
Your /etc/resolv.conf would be something like this (where networkq is your domain or your workgroup name)
server networkq domain networkq nameserver 192.168.12.1