Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto eth0
- iface eth0 inet static
- address 192.168.0.8
- netmask 255.255.255.0
- gateway 192.168.0.1
- ifconfig eth0 up
- /etc/init.d/networking restart
- apt-get update && apt-get upgrade
- allow-hotplug eth0
- sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0
- DEVICE="eth0"
- BOOTPROTO="static"
- BROADCAST="192.168.254.255"
- DNS1="192.168.254.25"
- GATEWAY="192.168.254.254"
- HWADDR="F2:24:08:AE:93:10"
- IPADDR="192.168.254.236"
- NETMASK="255.255.255.0"
- ONBOOT="yes"
- TYPE="Ethernet"
- sudo service network restart
- sudo update-rc.d network defaults
Add Comment
Please, Sign In to add comment