Closed kaihendry closed 12 years ago
think the correct way to enable WOL is to do it via https://github.com/Webconverger/webc/blob/master/etc/network/interfaces
http://anonscm.debian.org/gitweb/?p=kernel/ethtool.git;a=blob;f=debian/README.Debian;
Since I don't have time to implement this, I'm going to revert this change for 13.0 release tomorrow.
Not true; it just needs to run after the interface has been defined. So post network up is fine.
On 2012-05-24 15:21, Kai Hendry wrote:
think the correct way to enable WOL is to do it via https://github.com/Webconverger/webc/blob/master/etc/network/interfaces
http://anonscm.debian.org/gitweb/?p=kernel/ethtool.git;a=blob;f=debian/README.Debian;
Since I don't have time to implement this, I'm going to revert this change for 13.0 release tomorrow.
Reply to this email directly or view it on GitHub: https://github.com/Webconverger/webc/issues/40#issuecomment-5919202
It is fine, but I think it's more sensible if we have a 1:1 mapping with the "Debian way" like we did for http://webconverger.org/wireless/
rewriting /etc/network/interfaces to add post-interface-up scripts just adds more code to do something that we can already do vi /etc/webc/network-up.d/.
it's senseless make-work
On 2012-05-25 01:28, Kai Hendry wrote:
It is fine, but I think it's more sensible if we have a 1:1 mapping with the "Debian way" like we did for http://webconverger.org/wireless/
Reply to this email directly or view it on GitHub: https://github.com/Webconverger/webc/issues/40#issuecomment-5925594
On 25 May 2012 18:33, patrickhaller reply@reply.github.com wrote:
rewriting /etc/network/interfaces to add post-interface-up scripts just adds more code to do something that we can already do vi /etc/webc/network-up.d/.
it's senseless make-work
All this "post-interface-up script" work is already done in Debian in the ethtool package. It works. It's tested. http://anonscm.debian.org/gitweb/?p=kernel/ethtool.git;a=blob;f=debian/ethtool.if-pre-up http://anonscm.debian.org/gitweb/?p=kernel/ethtool.git;a=blob;f=debian/ethtool.if-up
It's also has an API for more than WOL options...
https://groups.google.com/forum/#!topic/webc-users/7VvFvf8yq2k/discussion