On Sat, 2011-03-26 at 23:25 +0100, KP Kirchdoerfer wrote: > Am Samstag, 26. März 2011, um 19:18:56 schrieb Martin Hejl: > > > > Just one question - I need "tun.ko" for my OpenVPN setup. Is this one of > > the cases where one still needs to add an entry to /etc/modules? It > > didn't get loaded by default, and after I added an entry to > > /etc/modules, things started working, but I'm not sure if there's a > > better way. > > > > Keep up the good work > > > > Martin > > Thx Martin! > > Yes AFAIK tun.ko is one of the cases where /etc/modules is still needed. > As you wrote the autodetection is for harwdare modules - and tun.ko isn't a > hardware module. At least I do not know a better way, than the one you > choosed. (But don't count on me - after eight years using LEAF, I don't > change > my habits adding modules etc easily, so I may be behind the actual > development. The good thing is, that the old habits still works as well :)) > > Maybe the module autodetection can be improved in the future to add modules > needed by packages (that discussion was started some time ago without any > results so far) - but then I think there are other, more important, issues > yet, like Erichs question "what is the canonical way to get rid of the > unnecessary modules in initrd?" or how to improve architecture-based initrd > and moddb building... > > kp
Yes, thanks Martin. All feedback is good, and good feedback is very good :-) Andrew gets all the credit for the auto-detection and loading. kp has it right for tun.ko at the moment. We have some Trac tickets which would improve matters: o http://sourceforge.net/apps/trac/leaf/ticket/13 would install the .ko file for any entry in /etc/modules during auto-detection so avoiding the need to extract and copy the file manually. o http://sourceforge.net/apps/trac/leaf/ticket/2 would let us define and then auto-load Modules required by specific Packages. There is an outline design in the Trac comments but other enhancements seem more important right now - like PXE booting and the ones kp mentioned. dMb ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/