YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

Hotspot not up after install #33

Closed keomabrun closed 5 years ago

keomabrun commented 5 years ago

After the install (through the web admin, using the git url), no error is raised, however the hotspot is not up.

In /var/log/syslog I see:

Feb  3 19:00:10 localhost ynh-hotspot[29943]: Run hostapd
Feb  3 19:00:10 localhost ynh-hotspot[29943]: Device "-v" does not exist.
Feb  3 19:00:10 localhost ynh-hotspot[29943]: "" is invalid lladdr.
Feb  3 19:00:10 localhost systemd[1]: Starting LSB: Advanced IEEE 802.11 management daemon...
Feb  3 19:00:11 localhost hostapd[30060]: Starting advanced IEEE 802.11 management: hostapd failed!
Feb  3 19:00:11 localhost systemd[1]: Started LSB: Advanced IEEE 802.11 management daemon.
Feb  3 19:00:11 localhost ynh-hotspot[29943]: /usr/local/bin/ynh-hotspot: line 363: [: -v: integer expression expected
Feb  3 19:00:14 localhost systemd[1]: Started YunoHost Wifi Hotspot..

I verified the installed ynh-hotspot file is the same as the one in the repo (except that php5-fpm is replaced by php7.0-fpm). https://github.com/labriqueinternet/hotspot_ynh/blob/master/conf/ynh-hotspot

keomabrun commented 5 years ago

Note that the Wifi device is only recognized after a reboot.

After reboot, the following logs are in /var/log/syslog

Feb  3 19:25:11 francitest2 systemd[1]: Starting LSB: Advanced IEEE 802.11 management daemon...
Feb  3 19:25:12 francitest2 kernel: [ 1429.434609] IPv6: ADDRCONF(NETDEV_UP): wlx6cfdb9083a3b: link is not ready
Feb  3 19:25:12 francitest2 kernel: [ 1429.723926] IPv6: ADDRCONF(NETDEV_UP): wlx6cfdb9083a3b: link is not ready
Feb  3 19:25:12 francitest2 hostapd[6768]: Starting advanced IEEE 802.11 management: hostapd failed!