All pastes #54107 Raw Edit

Untitled

public text v1 · immutable
#54107 ·published 2006-05-07 20:12 UTC
rendered paste body
First to get networking going. MAke sure you have the correct module for you nic in /etc/modules, then edit the interfaces file (nano -w /etc/network/interfaces)

And for dhcp you will want this
auto eth0
iface eth0 inet dhcp

for static
auto eth0
iface eth0 inet static
address X.X.X.X
netmask X.X.X.X
gateway X.X.X.X

the save and exit, then as root do ifdown eth0 && ifup eth0