On 21/Aug/2006 06:37 DebianTech wrote ..
> This summer I built my first custom module for Webmin which also happens
> to be my first cgi script as well. I managed to get the module to do
> what I want. The only problem i am having now is when I load the module
> or add a webmin user to the module Webmin crashes and i have to restart
> it. Is there a place I can get help with debugging these things or am I
> on my own? If anybody else finds the module helpfull I would be willing
> to add it to the 3rd party modules list. The module is a wireless
> control for madwifi driven wireless nics. It has basic functionality at
> the moment but does make creating/editing interfaces nice and easy.
> Currently the module can create and destroy VAPs, use wireless-tools to
> edit the interface settings (wep and wpa are not supported yet),
> supports setting up multiple VAPS on a single interface, and does a
> couple iwpriv tricks like scanning for APs, listing connected peers when
> in AP mode. I think with some help from a person with more experience
> the module could be a viable solution for some folks.
That sounds like a nice idea for a module ..
Regarding the crashing, check if anything gets logged in /var/webmin/miniserv.error
when it happens. Also, try logging in as root and running the following
commands to re-start Webmin :
/etc/webmin/stop ; /etc/webmin/start
Then take whatever action causes it to crash, and see if any messages appear
in the shell window.
- Jamie
- Jamie
|