Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-01-2008, 03:24 PM   #1 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default change dns address in gutsy permanently

dataone dns is having lot of problems and to shift to open dns when i type the dnsaddresses in system->administration->network , the settings are changed when connection is redialled.
abhinandh is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 10-01-2008, 03:48 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: change dns address in gutsy permanently

See /etc/dhcp/dhclient.conf
prepend <opendns>
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 10-01-2008, 04:20 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: change dns address in gutsy permanently

if ur having a single computer and uses bridge mode(dials from linux to connect) it is easy;u need to "#" out the line "usepeerdns" in /etc/ppp/peers/dsl-provider and then add the opendns servers at /etc/resolv.conf as:
Code:
nameserver 208.67.222.222
nameserver 208.67.220.220
and go to http://welcome.opendns.com for verification dataone dns server is down here most of the time .

if ur on pppoe dialer mode(router configured) then u have to add the opendns servers in the dns option in ur router webconfiguration page(192.168.1.1 ? )
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 10-01-2008, 06:54 PM   #4 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Thumbs up Re: change dns address in gutsy permanently

Quote:
Originally Posted by mehulved View Post
See /etc/dhcp/dhclient.conf
prepend <opendns>
already tried that.no success

Quote:
Originally Posted by praka123 View Post
if ur having a single computer and uses bridge mode(dials from linux to connect) it is easy;u need to "#" out the line "usepeerdns" in /etc/ppp/peers/dsl-provider and then add the opendns servers at /etc/resolv.conf as:
Code:
nameserver 208.67.222.222
nameserver 208.67.220.220
and go to http://welcome.opendns.com for verification dataone dns server is down here most of the time .
thank you very much.works like a charm.

Last edited by abhinandh; 10-01-2008 at 06:54 PM. Reason: Automerged Doublepost
abhinandh is offline  
Old 11-01-2008, 07:06 AM   #5 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default Re: change dns address in gutsy permanently

@praka , got another prob.when restarted dns fields are empty and websites donot open unless i change the dns in system->administration->network
abhinandh is offline  
Old 11-01-2008, 07:21 AM   #6 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: change dns address in gutsy permanently

Assign a static IP and disable DHCP, and assign the Open DNS numbers, and gateway (usually 192.168.1.1) by using the network configuration tool in the taskbar on your desktop.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 11-01-2008, 08:09 AM   #7 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default Re: change dns address in gutsy permanently


my conf is already static ip
abhinandh is offline  
Old 11-01-2008, 10:18 AM   #8 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Smile Re: change dns address in gutsy permanently

Quote:
Originally Posted by abhinandh View Post
@praka , got another prob.when restarted dns fields are empty and websites donot open unless i change the dns in system->administration->network
look at my /etc/ppp/peers/dsl-provider:
Code:
# Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#usepeerdns
plugin rp-pppoe.so eth0
user "userid"
I think there is prolly no chance of getting /etc/resolv.conf blank :
else u have to set attr option using
Code:
chattr +i /etc/resolv.conf
^to prevent overwriting and make sure u have opendns entries in /etc/resolv.conf as per post number #3
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 11-01-2008, 01:59 PM   #9 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: change dns address in gutsy permanently

How exactly do you connect to the internet?
Praka that's a bad way, though it works.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 11-01-2008, 02:22 PM   #10 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,097
Default Re: change dns address in gutsy permanently

chattr does not work on all FS like ext4, so better find what causing the problem then remove.

Locking the file is not the correct way as mehul said
gary4gar is offline  
Old 11-01-2008, 02:23 PM   #11 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: change dns address in gutsy permanently

it doesn't work on ext4? I thought ext4 was backwards compatible with ext3.
It's just a extfs feature. Won't work in any other fs AFAIK.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 11-01-2008, 03:47 PM   #12 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: change dns address in gutsy permanently

^ext4 may not be backward compatible ext3<=>ext2 .ext4 bundles many new features afaik.btw, commenting out (#) usepeerdns does the trick in bridge mode.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 11-01-2008, 08:23 PM   #13 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default Re: change dns address in gutsy permanently

Quote:
Originally Posted by mehulved View Post
How exactly do you connect to the internet?
pon and poff commands to dial pppoe.
@praka reslov.conf is not empty but in the dns tab of system->administration->network it is empty and webpages donot open till i manually give it an address.
abhinandh is offline  
Old 11-01-2008, 08:29 PM   #14 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: change dns address in gutsy permanently

^that may be a gnome-system-tools failure(HAL).if ur having a single computer with dataone connection only for internet,i suggest you remove below packages for the ease;
Code:
sudo apt-get remove --purge network-manager network-manager-gnome
restart ur system or services to try again!
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 11-01-2008, 08:54 PM   #15 (permalink)
Proud to be Linux
 
abhinandh's Avatar
 
Join Date: Jun 2006
Posts: 458
Default Re: change dns address in gutsy permanently

Quote:
Originally Posted by praka123 View Post
^that may be a gnome-system-tools failure(HAL).if ur having a single computer with dataone connection only for internet,i suggest you remove below packages for the ease;
Code:
sudo apt-get remove --purge network-manager network-manager-gnome
restart ur system or services to try again!
alright!! workin good.thanks.
abhinandh is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A trojan which can change d mac address of the server!!! raina_rocks QnA (read only) 1 27-07-2007 10:01 AM
my ip address dosent change????? tango_cash QnA (read only) 13 06-03-2007 05:34 PM
Change Ethernet Address boosters Software Q&A 5 18-11-2006 01:34 AM
IP address change futuristically_ancient QnA (read only) 12 21-07-2005 11:04 PM
How to change the MAC Address of NIC card manually? Mahesh Babu QnA (read only) 9 10-07-2005 05:15 AM


All times are GMT +5.5. The time now is 09:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2