View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#2
Code:
cat > /etc/resolv.conf
nameserver 123.176.xx.xx
Finish the command with Ctrl+d. Don't forget to press enter at the end.

It's also good to save a copy of the old file.