Not able to create wifi hotspot after update

After updating system today, not able to use linux-wifi-hotspot.
Whenever I try to create connection, this happens:

[venom@snake ~]$ sudo create_ap wlo1 lo MyAccessPoint 12345678
WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt
Config dir: /tmp/create_ap.wlo1.conf.8Ihx2h8i
PID: 14290
Network Manager found, set wlo1 as unmanaged device... DONE
Sharing Internet using method: nat

dnsmasq: cannot read /tmp/create_ap.wlo1.conf.8Ihx2h8i/dnsmasq.conf: Permission denied

Doing cleanup.. done
[venom@snake ~]$
2 Likes

I’m having the same problem. If you found a solution, please share with me.

❯❯ sudo create_ap wlp2s0 wwp0s20u2i2 myap 12345678
[sudo] password for anon:
Config dir: /tmp/create_ap.wlp2s0.conf.AMMenReG
PID: 21486
Network Manager found, set ap0 as unmanaged device... DONE
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat

dnsmasq: cannot read /tmp/create_ap.wlp2s0.conf.AMMenReG/dnsmasq.conf: Permission denied

Doing cleanup.. done

You also please if found solution share it here, pls dont forget

1 Like

I found Solution.
Downgrade, apparmor package to version 3.0.6 and reboot pc.
I think it’s not a permanent solution. apparmor is kernel security module and I think not good to ignore its update.

(Permission denied `cannot read /tmp/create_ap.wlp18s0.conf.fgQTo8iD/dnsmasq.conf` · Issue #103 · oblique/create_ap · GitHub)
(Sorry for my bad English writing)

I found another better solution without downgrading apparmor package.

Run following command.
sudo aa-complain -d /etc/apparmor.d/ dnsmasq

Output:

❯❯ sudo aa-complain -d /etc/apparmor.d/ dnsmasq
Setting /usr/bin/dnsmasq to complain mode.
Warning: profile dnsmasq represents multiple programs
Warning: profile dnsmasq represents multiple programs
❯❯ sudo create_ap wlp2s0 wwp0s20u2i2 myap 12345678
Config dir: /tmp/create_ap.wlp2s0.conf.LSkZvgE1
PID: 3676
Network Manager found, set ap0 as unmanaged device... DONE
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlp2s0.conf.LSkZvgE1/hostapd_ctrl
Low entropy detected, starting haveged
haveged: command socket is listening at fd 4
ap0: interface state UNINITIALIZED->ENABLED
ap0: AP-ENABLED

Video About Appamor Module :- https://www.youtube.com/watch?v=KYM-Dzivnjs

aa-complain is only the first step to adjust the profile, see

If I understood correctly: Maybe not use it indefenitly as

In this mode security policy is not enforced but rather access violations are logged to the system log.

Rather fine tune the profile.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.