Closed onny closed 2 years ago
Hi, does it start at startup or same happen at in anytime you start the service via systemd?
Are you using this service file ?
It should return 1 when it fails, Anyway can you put the output of iw dev wlan0 info
?
Oh sorry it was a missing dependency. I guess the NixOS service for your create_ap script should work :) I also wrote a blog post about it: https://blog.project-insanity.org/2022/04/14/easily-configure-a-wifi-hotspot-on-nixos/
Thank you for this program :)
@onny That's great you help to spread this to the community. Thanks
Ran into this same issue but I already installed every dependency. No idea what to do now.
Describe the bug I'm currently trying to make a module of linux-wifi-hotspot for NixOS https://github.com/NixOS/nixpkgs/pull/168510
The systemd service launches
create_ap
with--config
parameter and following config file:This command does work if I run it from my shell. Inside the systemd service it fails with
'wlan0' is not a WiFi interface
.I already did some debugging and it looks like the function
is_wifi_interface
gets only0
passed as an argument for the interface name. Not sure why, maybe someone has an idea?Regards Jonas