Open sebelk opened 3 years ago
related to #165
You are correct, the CLI only generates temporary files. However there's a handy parameter you can pass to the CLI that will generate a more permanent configuration file for you. Here's an example command that I ran for my hotspot:
create_ap --no-virt --no-haveged \
--mkconfig ./create_ap.conf \
-m bridge wlan0 end0 ThisIsATest cheeseNBacon
This generated a config file at ./create_ap.conf
. I moved it to /etc/create_ap.conf
, which is where the create_ap
service reads its configuration from. Run systemctl restart create_ap
and you should be good to go.
create_ap (cli, version 0..4.6) does not save the configuration. AFAIK it generates only temporary files. (please correct me if I'm wrong)
systemctl enable create_ap
doesn't it ether...:It would be nice that either create_ap or via a sistemctl verb generates a persistent configuration.
Thanks in advance.