Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo ifconfig eth0 192.168.1.123 netmask 255.255.255.0 broadcast 192.168.1.255
- sudo ifconfig eth0 up
- sudo service network restart; sudo service networking restart
- sudo route add default gw 192.168.1.1 eth0
- sudo ifconfig -a | grep Bcast; sudo route -n
- ping 192.168.1.1
- ping 8.8.8.8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement