[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [saigonlug] Facebook Acces
You should not do this in rc.local. See my previous note about dhclient.conf...
If you insist on using rc.local, then it should be:
echo "nameserver 18.104.22.168" >> /etc/resolv.conf
and that line should come before the 'exit 0' line, not after.
Also, be aware that this *won't work* because you're adding the
nameserver to the end of the file, and the file is parsed beginning to
end. So if the dhcp server sends down two nameservers, they'll be
queried before the 22.214.171.124 server.
So, really, use dhclient.conf. That's what it's for...
On Thu, Nov 18, 2010 at 10:12 PM, Duong Nguyen <[email protected]> wrote:
> On Thu, Nov 18, 2010 at 1:51 PM, Phu Le Tra Vinh <[email protected]> wrote:
>> echo "nameserver 126.96.36.199" > /etc/resolv.conf
>> Thats it.
> Should be ``echo "nameserver 188.8.131.52" >> /etc/resolv.conf''
> Yang Nguyen
> Web log: http://cmpitg.wordpress.com/
> Life is a hack
> SaigonLUG - Saigon GNU/Linux User Group
> Website: http://saigonlug.org
> Email: [email protected]
> You received this message because you are subscribed to the mailing list "Saigon GNU/Linux User Group".
> To post to this list, send email to <[email protected]>
> To unsubscribe from this group, send email to <[email protected]>
> For more information, please visit: http://groups.google.com/group/saigonlug