Fedora Linux Support Community & Resources Center
  #1  
Old 14th December 2006, 01:29 AM
capo Offline
Registered User
 
Join Date: Mar 2006
Posts: 77
open handles on a file?

Hi, i am tyring to get my broadband working under linux, now i can make a ppoe connection fine from my modem and use the internet, i can also do so fine from my linux pc, BUT something is overwriting the file /etc/resolv.conf with just

nameserver 192.168.1.1

which is my private ip, every 5 seconds

as in when i first connect it has the proper nameserver and the internet works fine for 5 seconds, the some process overwrite resolv.conf and no dns, if i changfe it back manualy it gets overwritten again, every 5 seconds, so is there any command that can list all processes with an open handle on a file, so i can fix this?
Reply With Quote
  #2  
Old 14th December 2006, 06:50 AM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,687
Quote:
Originally Posted by capo
is there any command that can list all processes with an open handle on a file, so i can fix this?
lsof can do that. It comes with FC6.
Reply With Quote
  #3  
Old 18th December 2006, 07:00 AM
capo Offline
Registered User
 
Join Date: Mar 2006
Posts: 77
well while lsof i could not find any process acessing the file but it is definatly happening, anywya i maniged to fix it by changin the order of nameservers in resolv.conf odd, but i think something, perhaps pppoe wanted 192.168.1.1 (my priavte ip) to be the first nameserver for some reason.
Reply With Quote
  #4  
Old 27th December 2006, 06:55 AM
capo Offline
Registered User
 
Join Date: Mar 2006
Posts: 77
Ok well that for some reason worked till i reset, but then stopped working, the solution was to reconfigure DNSMASQ which i was using mostly fot a DHCP server, to correctly update resolv.conf
Reply With Quote
Reply

Tags
file, handles, open

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK Open File Dialog crashes when folder contains PHP file theresonant Using Fedora 0 7th October 2009 09:11 AM
libXp.so.6: cannot open shared object file: No such file or directory siva Using Fedora 4 2nd September 2005 06:03 AM
Why FC3 handles fan so well? Mantronic Hardware & Laptops 4 22nd December 2004 10:13 PM


Current GMT-time: 09:53 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

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

FedoraForum is Powered by RedHat
Vicente Guerrero - Timon Photos on Instagram - Matsumoto Travel Photos