Archive:Dynebolic

De Centre de Ressources Numériques - Labomedia
Aller à : navigation, rechercher

Réseau ::::
if your network is static eth0

ifconfig eth0
ifconfig eth0 down
ifconfig eth0 XXX.XX.XXX.XXX netmask
ifconfig eth0 up

{where the X's are your IP address}

route -n
route add default gw XXX.XX.XXX.X
route -n

{where the X's are your default gateway}

Also check

/etc/hostname
/etc/hosts
/etc/services
/etc/host.conf
/etc/nsswitch.conf
/etc/resolv.conf
/etc/init.d/network
and - on Debian systems -
/etc/network/interfaces