Closed hash3liZer closed 5 years ago
Yes, i finally solved the issue by adding the following two lines in the four starting modes:
$ killRegex( "dhcpcd" );
$ exec_fruitywifi( "service dhcpcd start" );
in the php configuration file of ap
module under www/modules/ap/includes/module_action.php
Can you guide me on how to create a new module for this?
Hi hash3liZer, I hope you are well. Sorry for the delay in my response. Unfortunately, I never did a proper tutorial for creating modules.
For now, I would suggest to copy a simple module like Nginx, so you can use it as a baseline: https://github.com/xtr4nge/module_nginx
Just start changing the folder name to something like "module_dhcpd_killer" and change in "info.php" the variables "mod_name" and "mod_alias", to something like DHCPDKiller, or whatever you want.
Let me know if you have any question, and I will try to help with that. Regards xtr4nge
Got it. Thanks!
Hi, I am trying to start the access point but the
dhcpcd
service is messing up everything. What i want to do is kill thedhcpcd
service when the access point is started and then restart it when the access point is stopped. Can you help me or point to the configuration files where i can add these two lines?