Page 1 of 1

how to change default dns-server *in* porteus - not modem?

Posted: 07 Apr 2011, 10:08
by RainerD
Hi!

I would like to use openDNS as default, but how to do that on Porteus?

Thanx for any help...

Re: how to change default dns-server in porteus?

Posted: 07 Apr 2011, 10:26
by Blaze
hi RainerD,
type this url http://192.168.1.1/ in your browser
and set up your settings.

for my modem ZyXEL RT2 it looks so
Image
Image

Re: how to change default dns-server in porteus?

Posted: 07 Apr 2011, 10:37
by RainerD
Thanx, but I need to configure Porteus, as I am running it from a usb-drive in different internet-shops in India.
With Porteus I have my own virus free OS always with me.
The problem is that the configured Indian default dns-servers are very slow and sometimes completely down.
So, I would like to configure Porteus to use only the openDNS servers as default, instead of getting the dns-server from the network.

Re: how to change default dns-server *in* porteus - not mode

Posted: 07 Apr 2011, 18:13
by crashman
Hi RainerD

add to your rc.local script:

Code: Select all

# killall dhcpcd
echo "nameserver 208.67.222.222" > /etc/resolv.conf
echo "nameserver 208.67.220.220" >> /etc/resolv.conf
If IP adress return to your home number you can uncomment only first line.

Cheers