On Friday 10 November 2006 22:32, Michael Biebl wrote: > Well, that is the point. You are talking about "functionality that we > discussed" and I have no clue, what you exactly mean by that. Please > give me examples and use cases, what exactly you are expecting. > > In your first email, you gave me two examples (VPN and iptables rules) > which I tried to explain is already possible to be handled within NM. > The first, with the mentioned VPN plugins and the second via > NetworkManagerDispatcher.
You mentioned /etc/netword/if-*.d/ folder to be used for all pre/post
processing work.
But consider this scenario.
iface eth0office inet dhcp
up /sbin/iptables -SOME -RULE
down /sbin/iptables -D -SOME -RULE
iface eth0home inet dhcp
up echo 1 > /proc/sys/net/ipv4/ip_forward
down echo 0 > proc/sys/net/ipv4/ip_forward
iface .....
Is this doable in /etc/network/if-*.d/ ?
From my understanding, I don't think so.
I like these kind of settings because it allows me to configure my each
individual network device on a scenario basis.
This is exactly what other network management tools (Windows, Mac) do
similarly.
I did some finding and found a tool which does something similar. It is called
netGo (http://netgo.hjolug.org/). It does similar things but doesn't have the
intelligence to do auto-probes, like NM.
I'll start investigating it after this email. But AFAIK, it doesn't use
ifupdown.
Probably netGo + Auto Probing + ifupdown support will be equivalent to what
other operating systems provide.
Thanks,
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
"Stealing logic from one person is plagiarism, stealing from many is
research."
"The great are those who achieve the impossible, the petty are those who
cannot - rrs"
pgpFxgUu21Ef3.pgp
Description: PGP signature

