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 22-08-2007, 04:04 PM   #1 (permalink)
You'r Born Free
 
int86's Avatar
 
Join Date: Aug 2006
Location: Ranchi
Posts: 425
Default Fix OpenDNS for Ubuntu Dial-up user


This is for dial-up user on Ubuntu who does not find their /etc/resolv.conf file stable. i.e this gets revoked when reboot or just the computer be idle for a while. Thus changing ISP`s nameserver to OpenDNS becomes tiresome.

so just editing by # sudo gedit /etc/resolv.conf does not help.
And changing file mode by following commands also renders ISP`s DNS again.
$ sudo chmod 444 /etc/resolv.conf

Here is the real solution
$ sudo chattr +i /etc/resolv.conf
The change can be revoked anytime by following command
$ sudo chattr -i /etc/resolv.conf

Every time we dialup there is a creation of temporary file resolv.conf but by above command it sets the immutable flag on the file which makes it completely unchangable.
__________________
# Money, Beauty and Configration has no ends.
# Life is like game sometimes. Play it or loose it. But keep the spirit of game.

http://en.wikipedia.org/wiki/Right_to_Information_Act
int86 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-08-2007, 04:26 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Fix OpenDNS for Ubuntu Dial-up user

it won't work if the file system isn't ext3 or ext2.
The proper solution has been given by me in andy's thread.
mehulved is offline  
Old 23-08-2007, 01:44 AM   #3 (permalink)
You'r Born Free
 
int86's Avatar
 
Join Date: Aug 2006
Location: Ranchi
Posts: 425
Default Re: Fix OpenDNS for Ubuntu Dial-up user

Ya I forgot to mention about ext3 but anyway you did.
I searched this and other forum and found the solution after 5 days.
hell my airtel gprs is too slow.
@mehulved I was after you for the same solution but you might be busy to reply at irc

It was here earlier but could not found it in time:
Plz Help: I cant get MTNL Triband to work on Ubuntu-LIVE CD
__________________
# Money, Beauty and Configration has no ends.
# Life is like game sometimes. Play it or loose it. But keep the spirit of game.

http://en.wikipedia.org/wiki/Right_to_Information_Act

Last edited by int86; 23-08-2007 at 01:44 AM. Reason: Automerged Doublepost
int86 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
OpenDNS service dabster Software Q&A 6 02-06-2007 09:41 PM
dial up in ubuntu??????????? mannu_techy Tutorials 3 23-08-2006 03:51 PM
Configuration of Dial Up in Ubuntu DeSmOnD dAvId Open Source 5 11-07-2006 11:52 AM
Any Linux Ubuntu User There hameed Open Source 6 15-03-2006 05:49 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:57 PM.


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

Search Engine Optimization by vBSEO 3.3.2