Re: /etc/network/interface file auto reset.

2014-09-23 Thread Andrei POPESCU
On Sb, 20 sep 14, 14:02:43, Andrei POPESCU wrote: > > Further reading: ... > http://www.dtcc.edu/cs/rfc1855.html A kind soul pointed out to me off-list that this link is dead. Apologize for not checking, here is a link to the same document: https://www.ietf.org/rfc/rfc1855.txt Kind regards, And

Re: /etc/network/interface file auto reset.

2014-09-21 Thread Lisi Reisz
On Saturday 20 September 2014 13:07:13 softwatt wrote: > On 09/20/2014 02:02 PM, Andrei POPESCU wrote: > > On Sb, 20 sep 14, 09:58:22, softwatt wrote: > >> > Why is quoting always needed? > > > > Other readers might be missing previous messages (network delays, > > deleted it, etc.), but want to ju

Re: [OT] /etc/network/interface file auto reset.

2014-09-20 Thread Reco
Hi. On Sat, 20 Sep 2014 23:51:55 +0500 Muhammad Yousuf Khan wrote: > I also apologies for my wrong posting style. actually i am not aware of > what top posting is. can any of you please tell me what top posting means > so that i can avoid this in future. You reply to the mail. You write your r

Re: /etc/network/interface file auto reset.

2014-09-20 Thread Muhammad Yousuf Khan
I also apologies for my wrong posting style. actually i am not aware of what top posting is. can any of you please tell me what top posting means so that i can avoid this in future. Thanks, MYK

Re: /etc/network/interface file auto reset.

2014-09-20 Thread Muhammad Yousuf Khan
Thanks Reco, Cindy and all for useful comments. i will try all suggestion next working day and will update you accordingly. Thanks, MYK On Sat, Sep 20, 2014 at 6:10 PM, Cindy-Sue Causey wrote: > On 9/19/14, Darac Marjal wrote: > > > > Put this into /etc/network/interfaces.d/br0 > > > >>all

Re: /etc/network/interface file auto reset.

2014-09-20 Thread Cindy-Sue Causey
On 9/19/14, Darac Marjal wrote: > > Put this into /etc/network/interfaces.d/br0 > >>allow-hotplug br0 >>iface br0 inet static >>address 10.xx.xx.18 >>netmask 255.xx.xx.xx >>network 10.xx.xx.0 >>gateway 10.xx.xx.3 >>broadcast 10.xx

Re: /etc/network/interface file auto reset.

2014-09-20 Thread softwatt
On 09/20/2014 02:02 PM, Andrei POPESCU wrote: > On Sb, 20 sep 14, 09:58:22, softwatt wrote: >> > Why is quoting always needed? > > Other readers might be missing previous messages (network delays, > deleted it, etc.), but want to jump in now. Without any context they > would be unable or could

Re: [OT] /etc/network/interface file auto reset.

2014-09-20 Thread mikael Flood
On Sat, Sep 20, 2014 at 10:49 AM, Reco wrote: > On Sat, 20 Sep 2014 07:20:00 +0100 > Lisi Reisz wrote: > > > On Friday 19 September 2014 15:57:38 Reco wrote: > > > On Fri, 19 Sep 2014 19:38:23 +0500 > > > > > > Muhammad Yousuf Khan wrote: > > > > thinks for your input. but i want to investigate

Re: /etc/network/interface file auto reset.

2014-09-20 Thread Andrei POPESCU
On Sb, 20 sep 14, 09:58:22, softwatt wrote: > Why is quoting always needed? Other readers might be missing previous messages (network delays, deleted it, etc.), but want to jump in now. Without any context they would be unable or could provide answers for a different question. > Mail clients k

Re: [OT] /etc/network/interface file auto reset.

2014-09-20 Thread Reco
On Sat, 20 Sep 2014 07:20:00 +0100 Lisi Reisz wrote: > On Friday 19 September 2014 15:57:38 Reco wrote: > > On Fri, 19 Sep 2014 19:38:23 +0500 > > > > Muhammad Yousuf Khan wrote: > > > thinks for your input. but i want to investigate which process is doing > > > this? > > > > Please do not top p

Re: /etc/network/interface file auto reset.

2014-09-20 Thread Reco
Hi. On Sat, 20 Sep 2014 07:30:50 +0200 mikael Flood wrote: > it might be due to some configuration management agent running on the > system which dictates a sane state of /etc/network/interfaces. > > might be puppet or cfengine. I don't have much experience with puppet, cfengine, chef or ansi

Re: /etc/network/interface file auto reset.

2014-09-20 Thread Lisi Reisz
On Saturday 20 September 2014 07:58:22 softwatt wrote: > Why is quoting always needed? > Mail clients know which mail is a reply to which. Well, I find it very difficult to follow you, and at least one person has answered and said that he did not know the original question but... Which encourag

Re: /etc/network/interface file auto reset.

2014-09-19 Thread softwatt
Why is quoting always needed? Mail clients know which mail is a reply to which. signature.asc Description: OpenPGP digital signature

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Lisi Reisz
On Friday 19 September 2014 15:57:38 Reco wrote: > On Fri, 19 Sep 2014 19:38:23 +0500 > > Muhammad Yousuf Khan wrote: > > thinks for your input. but i want to investigate which process is doing > > this? > > Please do not top post. Better top-posting than not quoting at all. Well, less awful any

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Lisi Reisz
On Friday 19 September 2014 07:56:14 softwatt wrote: > But that is not risk-free. What if the thing that's overwriting the file > on startup dislikes not being able to write to the file and crashes? > > By the way, my solution would fail if the overwriting is happening after > startup. softwatt, d

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Reco
On Fri, 19 Sep 2014 19:38:23 +0500 Muhammad Yousuf Khan wrote: > thinks for your input. but i want to investigate which process is doing > this? Please do not top post. Come thinking of it, I believe there's a way of accomplish what you need. Try this: apt-get install auditd auditctl -w /etc/

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Chris Bannister
On Fri, Sep 19, 2014 at 09:56:14AM +0300, softwatt wrote: > But that is not risk-free. What if the thing that's overwriting the file > on startup dislikes not being able to write to the file and crashes? At least a culprit is proven. > By the way, my solution would fail if the overwriting is happ

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Muhammad Yousuf Khan
@softwatt Thanks for the info but there are many workaournd like these. what i wanted is to investigate the cause. @Reco thinks for your input. but i want to investigate which process is doing this? On Fri, Sep 19, 2014 at 12:39 PM, softwatt wrote: > Thanks for explaining. Debian guys teach me

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Darac Marjal
On Fri, Sep 19, 2014 at 11:37:38AM +0500, Muhammad Yousuf Khan wrote: >Hi guys, >i am using wheezy with libvirt virtualization i have configured a bridge >interface for that purpose.  >i have statically set the bridge interface in interfaces file.  >like this As another alterna

Re: /etc/network/interface file auto reset.

2014-09-19 Thread softwatt
Thanks for explaining. Debian guys teach me something new every day. signature.asc Description: OpenPGP digital signature

Re: /etc/network/interface file auto reset.

2014-09-19 Thread Reco
On Fri, 19 Sep 2014 09:56:14 +0300 softwatt wrote: > But that is not risk-free. What if the thing that's overwriting the file > on startup dislikes not being able to write to the file and crashes? Look at it from the different angle - overwriting /etc/network/interfaces is wrong, no sensible pro

Re: /etc/network/interface file auto reset.

2014-09-18 Thread softwatt
But that is not risk-free. What if the thing that's overwriting the file on startup dislikes not being able to write to the file and crashes? By the way, my solution would fail if the overwriting is happening after startup. signature.asc Description: OpenPGP digital signature

Re: /etc/network/interface file auto reset.

2014-09-18 Thread Reco
Hi. On Fri, 19 Sep 2014 09:46:15 +0300 softwatt wrote: > I hope this helps. > chattr +i /etc/network/interfaces will prevent overwriting the file with much less hassle. PS Have no idea on the original problem. Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: /etc/network/interface file auto reset.

2014-09-18 Thread softwatt
I have no idea how to solve the problem itself, someone else might help you there. But here's a way to bypass the problem by telling Debian to overwrite the file on each startup. It might work. Copy the file you want to preserve to somewhere else. In this example I've copied etc/network/interface

/etc/network/interface file auto reset.

2014-09-18 Thread Muhammad Yousuf Khan
Hi guys, i am using wheezy with libvirt virtualization i have configured a bridge interface for that purpose. i have statically set the bridge interface in interfaces file. like this # This file describes the network interfaces available on your system # and how to activate them. For more informa