Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on RPi3 #55

Closed
baif80 opened this issue Mar 12, 2019 · 33 comments
Closed

Install fails on RPi3 #55

baif80 opened this issue Mar 12, 2019 · 33 comments
Labels

Comments

@baif80
Copy link

baif80 commented Mar 12, 2019

J'échoue pour installer hotspot_ynh sur un Raspberry Pi 3 Model B Plus Rev 1.3

Le log est désormais disponible via https://paste.yunohost.org/raw/asidisexes

@alexAubin
Copy link
Member

Est-ce que tu peux tenter un systemctl unmask hostapd et retenter l'installation ?

@baif80
Copy link
Author

baif80 commented Mar 12, 2019

Merci pour ton suivi
après systemctl unmask hostapd
Le log est désormais disponible via https://paste.yunohost.org/raw/qoposowafu
faut-il que j'ajoute une antenne olimex usb supplémentaire où la carte wifi d'origine du raspi suffit-elle?

@alexAubin
Copy link
Member

Zblerg ..

Est-ce que tu peux tester d'installer l'app avec cette url : https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if

Normalement elle contient le fix pour le bug que tu rencontres... (J'ai aussi l'impression qu'il y a un soucis avec VPNclient mais ca a l'air moins critique)

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

Merci pour le support mais je ne comprends pas bien ce que je dois faire avec ton lien : je procède comment pour installer l'application Hot-spot avec ce lien ?
En ce qui concerne le VPNclient installé dans Yunohost c'est celui d'ARN. Comme je fais des tests c'est la seule application installée sinon ma box 4G Bouygues qui bloque l'ouverture des ports ne me permettrait pas d'atteindre mon domaine.

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

dans installer de Yunohost, quand je rentre le lien https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if dans URL, je suis refoulé: "veuillez respecter le format requis"
Est-ce possible en ligne de commande? avec quelle commande?

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

j'ai trouvé : sudo yunohost app install https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if --debug
c'est en cours d'installation... patience

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

bug : https://paste.yunohost.org/raw/qozuxejihe
j'attends ton retour ...

@alexAubin
Copy link
Member

Arf yep sorry je pensais que ça marcherais depuis l'interface d'admin...

Du coup dans ton dernier log, ca semble etre de nouveau le coup des firmware nonfree (qu'il faudrait aussi qu'on regle definitivement de notre côté)

Est-ce que si tu les désactives pendant l'install ça fonctionne mieux ?

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

OK je refais un essai sans firmware nonfree
Patience

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

plouf ! https://paste.yunohost.org/raw/eqenawilub
j'ai idée que c'est le vpn qui bloque
Je te rappelle aussi que je n'ai pas de carte antenne usb installée
@+ je vais manger !

@alexAubin
Copy link
Member

Je te rappelle aussi que je n'ai pas de carte antenne usb installée

Apriori si tu es sous un RPi3, tu as bien une carte wifi donc ça devrait faire le job (d'ailleurs je vois que le script l'a correctement détecté)

Le bug viens de l'app :

/usr/local/bin/ynh-hotspot: ligne 323 : [: enabled : nombre entier attendu comme expression

J'ai poussé un autre correctif sur la meme branche .. est-ce que tu peux reessayer ? (on y est presque 😉 )

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

encore rated !
https://paste.yunohost.org/raw/cobupameve
Je suis dispo pour continuer à tester , et toi ?

@alexAubin
Copy link
Member

Arfz :s

Yep je suis dispo aussi ... est-ce que tu peux faire un

systemctl status hostapd.service | cat

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

systemctl status hostapd.service | cat
● hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Loaded: loaded (/lib/systemd/system/hostapd.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2019-03-13 15:47:15 CET; 990ms ago
Process: 20029 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=1/FAILURE)

@alexAubin
Copy link
Member

Marf ...

Alors si tu fais un ls -thor /var/log | tail -n 5

ça raconte quoi ?

Egalement est-ce que tu peux faire un :

tail -n 100 /var/log/daemon.log

@alexAubin
Copy link
Member

Hmbon alors, mettons si tu lances a la main ceci :

/usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.conf

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

désolé je n'avais pas vu que j'étais déconnecté et je tapais sur la console de mon ordi !!!
je renvoie donc :
ls -thor /var/log | tail -n 5
-rw-r----- 1 root 425K Mar 13 16:35 mail.log
-rw-r----- 1 root 425K Mar 13 16:35 mail.info
-rw------- 1 root 310 Mar 13 16:35 openvpn-client.status
-rw-r----- 1 root 7.1M Mar 13 16:35 syslog
-rw-r----- 1 root 6.8M Mar 13 16:35 daemon.log

sudo tail -n 100 /var/log/daemon.log
Mar 13 16:37:54 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:37:56 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:37:56 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:37:56 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:37:56 eurofrpi hostapd[23325]: Configuration file:
Mar 13 16:37:56 eurofrpi hostapd[23325]: Could not open configuration file '' for reading.
Mar 13 16:37:56 eurofrpi hostapd[23325]: Failed to set up interface with
Mar 13 16:37:56 eurofrpi hostapd[23325]: Failed to initialize interface
Mar 13 16:37:56 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:37:56 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:37:56 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:37:56 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:37:58 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:37:58 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:37:58 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:37:59 eurofrpi hostapd[23327]: Configuration file:
Mar 13 16:37:59 eurofrpi hostapd[23327]: Could not open configuration file '' for reading.
Mar 13 16:37:59 eurofrpi hostapd[23327]: Failed to set up interface with
Mar 13 16:37:59 eurofrpi hostapd[23327]: Failed to initialize interface
Mar 13 16:37:59 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:37:59 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:37:59 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:37:59 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:01 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:01 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:01 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:01 eurofrpi hostapd[23329]: Configuration file:
Mar 13 16:38:01 eurofrpi hostapd[23329]: Could not open configuration file '' for reading.
Mar 13 16:38:01 eurofrpi hostapd[23329]: Failed to set up interface with
Mar 13 16:38:01 eurofrpi hostapd[23329]: Failed to initialize interface
Mar 13 16:38:01 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:01 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:01 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:01 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:03 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:03 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:03 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:03 eurofrpi hostapd[23331]: Configuration file:
Mar 13 16:38:03 eurofrpi hostapd[23331]: Could not open configuration file '' for reading.
Mar 13 16:38:03 eurofrpi hostapd[23331]: Failed to set up interface with
Mar 13 16:38:03 eurofrpi hostapd[23331]: Failed to initialize interface
Mar 13 16:38:03 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:03 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:03 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:03 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:05 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:05 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:05 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:05 eurofrpi hostapd[23333]: Configuration file:
Mar 13 16:38:05 eurofrpi hostapd[23333]: Could not open configuration file '' for reading.
Mar 13 16:38:05 eurofrpi hostapd[23333]: Failed to set up interface with
Mar 13 16:38:05 eurofrpi hostapd[23333]: Failed to initialize interface
Mar 13 16:38:05 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:05 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:05 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:05 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:07 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:07 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:07 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:08 eurofrpi hostapd[23335]: Configuration file:
Mar 13 16:38:08 eurofrpi hostapd[23335]: Could not open configuration file '' for reading.
Mar 13 16:38:08 eurofrpi hostapd[23335]: Failed to set up interface with
Mar 13 16:38:08 eurofrpi hostapd[23335]: Failed to initialize interface
Mar 13 16:38:08 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:08 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:08 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:08 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:10 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:10 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:10 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:10 eurofrpi hostapd[23337]: Configuration file:
Mar 13 16:38:10 eurofrpi hostapd[23337]: Could not open configuration file '' for reading.
Mar 13 16:38:10 eurofrpi hostapd[23337]: Failed to set up interface with
Mar 13 16:38:10 eurofrpi hostapd[23337]: Failed to initialize interface
Mar 13 16:38:10 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:10 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:10 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:10 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:12 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:12 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:12 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:12 eurofrpi hostapd[23339]: Configuration file:
Mar 13 16:38:12 eurofrpi hostapd[23339]: Could not open configuration file '' for reading.
Mar 13 16:38:12 eurofrpi hostapd[23339]: Failed to set up interface with
Mar 13 16:38:12 eurofrpi hostapd[23339]: Failed to initialize interface
Mar 13 16:38:12 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:12 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:12 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:12 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 16:38:14 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 16:38:14 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:14 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 16:38:14 eurofrpi hostapd[23341]: Configuration file:
Mar 13 16:38:14 eurofrpi hostapd[23341]: Could not open configuration file '' for reading.
Mar 13 16:38:14 eurofrpi hostapd[23341]: Failed to set up interface with
Mar 13 16:38:14 eurofrpi hostapd[23341]: Failed to initialize interface
Mar 13 16:38:14 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 16:38:14 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 16:38:14 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 16:38:14 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.

@alexAubin
Copy link
Member

Hm alors ptete un :

cat /var/log/daemon.log | grep "13 14:57"

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

bonne lecture:

sudo cat /var/log/daemon.log | grep "13 14:57"
Mar 13 14:57:01 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:01 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:01 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:01 eurofrpi hostapd[14568]: Configuration file:
Mar 13 14:57:01 eurofrpi hostapd[14568]: Could not open configuration file '' for reading.
Mar 13 14:57:01 eurofrpi hostapd[14568]: Failed to set up interface with
Mar 13 14:57:01 eurofrpi hostapd[14568]: Failed to initialize interface
Mar 13 14:57:01 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:01 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:01 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:01 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:01 eurofrpi systemd[1]: Stopping Fail2Ban Service...
Mar 13 14:57:03 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:03 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:03 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:03 eurofrpi hostapd[14585]: Configuration file:
Mar 13 14:57:03 eurofrpi hostapd[14585]: Could not open configuration file '' for reading.
Mar 13 14:57:03 eurofrpi hostapd[14585]: Failed to set up interface with
Mar 13 14:57:03 eurofrpi hostapd[14585]: Failed to initialize interface
Mar 13 14:57:03 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:03 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:03 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:03 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:05 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:05 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:05 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:05 eurofrpi hostapd[14603]: Configuration file:
Mar 13 14:57:05 eurofrpi hostapd[14603]: Could not open configuration file '' for reading.
Mar 13 14:57:05 eurofrpi hostapd[14603]: Failed to set up interface with
Mar 13 14:57:05 eurofrpi hostapd[14603]: Failed to initialize interface
Mar 13 14:57:05 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:05 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:05 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:05 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:07 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:07 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:07 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:08 eurofrpi hostapd[14613]: Configuration file:
Mar 13 14:57:08 eurofrpi hostapd[14613]: Could not open configuration file '' for reading.
Mar 13 14:57:08 eurofrpi hostapd[14613]: Failed to set up interface with
Mar 13 14:57:08 eurofrpi hostapd[14613]: Failed to initialize interface
Mar 13 14:57:08 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:08 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:08 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:08 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:08 eurofrpi fail2ban-client[14576]: Shutdown successful
Mar 13 14:57:08 eurofrpi systemd[1]: Stopped Fail2Ban Service.
Mar 13 14:57:08 eurofrpi systemd[1]: Starting Fail2Ban Service...
Mar 13 14:57:09 eurofrpi fail2ban-client[14621]: 2019-03-13 14:57:09,395 fail2ban.server [14622]: INFO Starting Fail2ban v0.9.6
Mar 13 14:57:09 eurofrpi fail2ban-client[14621]: 2019-03-13 14:57:09,396 fail2ban.server [14622]: INFO Starting in daemon mode
Mar 13 14:57:10 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:10 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:10 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:10 eurofrpi hostapd[14630]: Configuration file:
Mar 13 14:57:10 eurofrpi hostapd[14630]: Could not open configuration file '' for reading.
Mar 13 14:57:10 eurofrpi hostapd[14630]: Failed to set up interface with
Mar 13 14:57:10 eurofrpi hostapd[14630]: Failed to initialize interface
Mar 13 14:57:10 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:10 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:10 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:10 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:10 eurofrpi systemd[1]: Started Fail2Ban Service.
Mar 13 14:57:12 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:12 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:12 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:12 eurofrpi hostapd[14705]: Configuration file:
Mar 13 14:57:12 eurofrpi hostapd[14705]: Could not open configuration file '' for reading.
Mar 13 14:57:12 eurofrpi hostapd[14705]: Failed to set up interface with
Mar 13 14:57:12 eurofrpi hostapd[14705]: Failed to initialize interface
Mar 13 14:57:12 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:12 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:12 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:12 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:14 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:14 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:14 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:14 eurofrpi hostapd[14707]: Configuration file:
Mar 13 14:57:14 eurofrpi hostapd[14707]: Could not open configuration file '' for reading.
Mar 13 14:57:14 eurofrpi hostapd[14707]: Failed to set up interface with
Mar 13 14:57:14 eurofrpi hostapd[14707]: Failed to initialize interface
Mar 13 14:57:14 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:14 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:14 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:14 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:16 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:16 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:17 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:17 eurofrpi hostapd[14709]: Configuration file:
Mar 13 14:57:17 eurofrpi hostapd[14709]: Could not open configuration file '' for reading.
Mar 13 14:57:17 eurofrpi hostapd[14709]: Failed to set up interface with
Mar 13 14:57:17 eurofrpi hostapd[14709]: Failed to initialize interface
Mar 13 14:57:17 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:17 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:17 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:17 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:19 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:19 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:19 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:19 eurofrpi hostapd[14711]: Configuration file:
Mar 13 14:57:19 eurofrpi hostapd[14711]: Could not open configuration file '' for reading.
Mar 13 14:57:19 eurofrpi hostapd[14711]: Failed to set up interface with
Mar 13 14:57:19 eurofrpi hostapd[14711]: Failed to initialize interface
Mar 13 14:57:19 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:19 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:19 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:19 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:21 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:21 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:21 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:21 eurofrpi hostapd[14713]: Configuration file:
Mar 13 14:57:21 eurofrpi hostapd[14713]: Could not open configuration file '' for reading.
Mar 13 14:57:21 eurofrpi hostapd[14713]: Failed to set up interface with
Mar 13 14:57:21 eurofrpi hostapd[14713]: Failed to initialize interface
Mar 13 14:57:21 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:21 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:21 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:21 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:23 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:23 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:23 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:23 eurofrpi hostapd[14755]: Configuration file:
Mar 13 14:57:23 eurofrpi hostapd[14755]: Could not open configuration file '' for reading.
Mar 13 14:57:23 eurofrpi hostapd[14755]: Failed to set up interface with
Mar 13 14:57:23 eurofrpi hostapd[14755]: Failed to initialize interface
Mar 13 14:57:23 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:23 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:23 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:23 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:25 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:25 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:25 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:26 eurofrpi hostapd[14919]: Configuration file:
Mar 13 14:57:26 eurofrpi hostapd[14919]: Could not open configuration file '' for reading.
Mar 13 14:57:26 eurofrpi hostapd[14919]: Failed to set up interface with
Mar 13 14:57:26 eurofrpi hostapd[14919]: Failed to initialize interface
Mar 13 14:57:26 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:26 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:26 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:26 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:27 eurofrpi systemd[1]: Stopping Fail2Ban Service...
Mar 13 14:57:28 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:28 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:28 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:28 eurofrpi hostapd[15073]: Configuration file:
Mar 13 14:57:28 eurofrpi hostapd[15073]: Could not open configuration file '' for reading.
Mar 13 14:57:28 eurofrpi hostapd[15073]: Failed to set up interface with
Mar 13 14:57:28 eurofrpi hostapd[15073]: Failed to initialize interface
Mar 13 14:57:28 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:28 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:28 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:28 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:30 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:30 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:30 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:30 eurofrpi hostapd[15086]: Configuration file:
Mar 13 14:57:30 eurofrpi hostapd[15086]: Could not open configuration file '' for reading.
Mar 13 14:57:30 eurofrpi hostapd[15086]: Failed to set up interface with
Mar 13 14:57:30 eurofrpi hostapd[15086]: Failed to initialize interface
Mar 13 14:57:30 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:30 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:30 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:30 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:32 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:32 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:32 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:32 eurofrpi hostapd[15105]: Configuration file:
Mar 13 14:57:32 eurofrpi hostapd[15105]: Could not open configuration file '' for reading.
Mar 13 14:57:32 eurofrpi hostapd[15105]: Failed to set up interface with
Mar 13 14:57:32 eurofrpi hostapd[15105]: Failed to initialize interface
Mar 13 14:57:32 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:32 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:32 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:32 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:32 eurofrpi fail2ban-client[15064]: Shutdown successful
Mar 13 14:57:33 eurofrpi systemd[1]: Stopped Fail2Ban Service.
Mar 13 14:57:33 eurofrpi systemd[1]: Starting Fail2Ban Service...
Mar 13 14:57:34 eurofrpi fail2ban-client[15113]: 2019-03-13 14:57:34,097 fail2ban.server [15114]: INFO Starting Fail2ban v0.9.6
Mar 13 14:57:34 eurofrpi fail2ban-client[15113]: 2019-03-13 14:57:34,098 fail2ban.server [15114]: INFO Starting in daemon mode
Mar 13 14:57:34 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:34 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:34 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:35 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:35 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:35 eurofrpi hostapd[15123]: Configuration file:
Mar 13 14:57:35 eurofrpi hostapd[15123]: Could not open configuration file '' for reading.
Mar 13 14:57:35 eurofrpi hostapd[15123]: Failed to set up interface with
Mar 13 14:57:35 eurofrpi hostapd[15123]: Failed to initialize interface
Mar 13 14:57:35 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:35 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:35 eurofrpi systemd[1]: Started Fail2Ban Service.
Mar 13 14:57:35 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:36 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:36 eurofrpi systemd[1]: apt-daily.timer: Adding 1h 57min 56.956606s random time.
Mar 13 14:57:36 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:36 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:36 eurofrpi systemd[1]: apt-daily.timer: Adding 6h 5min 5.479277s random time.
Mar 13 14:57:36 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:37 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:37 eurofrpi systemd[1]: apt-daily.timer: Adding 7h 52min 21.599528s random time.
Mar 13 14:57:37 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:37 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:37 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:37 eurofrpi hostapd[15258]: Configuration file:
Mar 13 14:57:37 eurofrpi hostapd[15258]: Could not open configuration file '' for reading.
Mar 13 14:57:37 eurofrpi hostapd[15258]: Failed to set up interface with
Mar 13 14:57:37 eurofrpi hostapd[15258]: Failed to initialize interface
Mar 13 14:57:37 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:37 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:37 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:37 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:37 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:37 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:37 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:37 eurofrpi systemd[1]: apt-daily.timer: Adding 4h 23min 21.943405s random time.
Mar 13 14:57:38 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:38 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:38 eurofrpi systemd[1]: apt-daily.timer: Adding 7h 40min 40.367209s random time.
Mar 13 14:57:38 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:38 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:38 eurofrpi systemd[1]: apt-daily.timer: Adding 11h 39min 14.400889s random time.
Mar 13 14:57:38 eurofrpi systemd[1]: Stopping The PHP 7.0 FastCGI Process Manager...
Mar 13 14:57:38 eurofrpi systemd[1]: Stopped The PHP 7.0 FastCGI Process Manager.
Mar 13 14:57:38 eurofrpi systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Mar 13 14:57:39 eurofrpi systemd[1]: Started The PHP 7.0 FastCGI Process Manager.
Mar 13 14:57:39 eurofrpi systemd[1]: Reloading A high performance web server and a reverse proxy server.
Mar 13 14:57:39 eurofrpi systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Mar 13 14:57:41 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:42 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:42 eurofrpi systemd[1]: apt-daily.timer: Adding 2h 11min 21.795769s random time.
Mar 13 14:57:43 eurofrpi systemd[1]: Starting YunoHost Wifi Hotspot....
Mar 13 14:57:43 eurofrpi systemd[1]: Stopping The PHP 7.0 FastCGI Process Manager...
Mar 13 14:57:43 eurofrpi systemd[1]: Stopped The PHP 7.0 FastCGI Process Manager.
Mar 13 14:57:43 eurofrpi systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Mar 13 14:57:43 eurofrpi systemd[1]: Started The PHP 7.0 FastCGI Process Manager.
Mar 13 14:57:44 eurofrpi ynh-hotspot[15404]: Retrieving Yunohost settings... OK
Mar 13 14:57:44 eurofrpi ynh-hotspot[15404]: [hotspot] Starting...
Mar 13 14:57:45 eurofrpi ynh-hotspot[15404]: Run hostapd
Mar 13 14:57:45 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:45 eurofrpi hostapd[15530]: Configuration file:
Mar 13 14:57:45 eurofrpi hostapd[15530]: Could not open configuration file '' for reading.
Mar 13 14:57:45 eurofrpi hostapd[15530]: Failed to set up interface with
Mar 13 14:57:45 eurofrpi hostapd[15530]: Failed to initialize interface
Mar 13 14:57:45 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:46 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:46 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:46 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:46 eurofrpi ynh-hotspot[15404]: Job for hostapd.service failed because the control process exited with error code.
Mar 13 14:57:46 eurofrpi ynh-hotspot[15404]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
Mar 13 14:57:46 eurofrpi systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
Mar 13 14:57:46 eurofrpi systemd[1]: Failed to start YunoHost Wifi Hotspot..
Mar 13 14:57:46 eurofrpi systemd[1]: ynh-hotspot.service: Unit entered failed state.
Mar 13 14:57:46 eurofrpi systemd[1]: ynh-hotspot.service: Failed with result 'exit-code'.
Mar 13 14:57:48 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:48 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:48 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:48 eurofrpi hostapd[15561]: Configuration file:
Mar 13 14:57:48 eurofrpi hostapd[15561]: Could not open configuration file '' for reading.
Mar 13 14:57:48 eurofrpi hostapd[15561]: Failed to set up interface with
Mar 13 14:57:48 eurofrpi hostapd[15561]: Failed to initialize interface
Mar 13 14:57:48 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:48 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:48 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:48 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:50 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:50 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:50 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:50 eurofrpi hostapd[15574]: Configuration file:
Mar 13 14:57:50 eurofrpi hostapd[15574]: Could not open configuration file '' for reading.
Mar 13 14:57:50 eurofrpi hostapd[15574]: Failed to set up interface with
Mar 13 14:57:50 eurofrpi hostapd[15574]: Failed to initialize interface
Mar 13 14:57:50 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:50 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:50 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:50 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:52 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:52 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:52 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:52 eurofrpi hostapd[15577]: Configuration file:
Mar 13 14:57:52 eurofrpi hostapd[15577]: Could not open configuration file '' for reading.
Mar 13 14:57:52 eurofrpi hostapd[15577]: Failed to set up interface with
Mar 13 14:57:52 eurofrpi hostapd[15577]: Failed to initialize interface
Mar 13 14:57:52 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:52 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:52 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:52 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:52 eurofrpi systemd[1]: Reloading.
Mar 13 14:57:52 eurofrpi systemd[1]: [/lib/systemd/system/redis-server.service:14] Unknown lvalue 'RunTimeDirectory' in section 'Service'
Mar 13 14:57:52 eurofrpi systemd[1]: apt-daily.timer: Adding 11h 18min 41.831352s random time.
Mar 13 14:57:54 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:54 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:54 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:54 eurofrpi hostapd[15634]: Configuration file:
Mar 13 14:57:54 eurofrpi hostapd[15634]: Could not open configuration file '' for reading.
Mar 13 14:57:54 eurofrpi hostapd[15634]: Failed to set up interface with
Mar 13 14:57:54 eurofrpi hostapd[15634]: Failed to initialize interface
Mar 13 14:57:54 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:54 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:54 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:54 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:56 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:56 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:56 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:57 eurofrpi hostapd[15640]: Configuration file:
Mar 13 14:57:57 eurofrpi hostapd[15640]: Could not open configuration file '' for reading.
Mar 13 14:57:57 eurofrpi hostapd[15640]: Failed to set up interface with
Mar 13 14:57:57 eurofrpi hostapd[15640]: Failed to initialize interface
Mar 13 14:57:57 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:57 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:57 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:57 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 14:57:59 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 14:57:59 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:59 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 14:57:59 eurofrpi hostapd[15642]: Configuration file:
Mar 13 14:57:59 eurofrpi hostapd[15642]: Could not open configuration file '' for reading.
Mar 13 14:57:59 eurofrpi hostapd[15642]: Failed to set up interface with
Mar 13 14:57:59 eurofrpi hostapd[15642]: Failed to initialize interface
Mar 13 14:57:59 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 14:57:59 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 14:57:59 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 14:57:59 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.

@alexAubin
Copy link
Member

Hm est-ce que tu peux tenter un :

apt remove hostapd --purge

(seulement si ça ne demande pas de supprimer d'autres packages...)

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

je dis oui ou non ?
sudo apt remove hostapd --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libnl-route-3-200
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
hostapd* hotspot-ynh-deps*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1,281 kB disk space will be freed.
Do you want to continue? [Y/n]

@alexAubin
Copy link
Member

Arf, 'N' (non) du coup ;) ... Je pensais que hotspot n'était plus installé ....

Hmbon du coup si tu fais un

systemctl start ynh-hotspot

suivi de

tail -n 50 /var/log/daemon.log

ça raconte quoi ? :s

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

systemctl start ynh-hotspot
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentification requise pour démarrer « ynh-hotspot.service ».
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ===
Warning: ynh-hotspot.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for ynh-hotspot.service failed because the control process exited with error code.
See "systemctl status ynh-hotspot.service" and "journalctl -xe" for details.

sudo tail -n 50 /var/log/daemon.log
Mar 13 17:35:10 eurofrpi hostapd[1800]: Failed to set up interface with
Mar 13 17:35:10 eurofrpi hostapd[1800]: Failed to initialize interface
Mar 13 17:35:10 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 17:35:10 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:10 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 17:35:10 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 17:35:12 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 17:35:12 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:12 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 17:35:12 eurofrpi hostapd[1802]: Configuration file:
Mar 13 17:35:12 eurofrpi hostapd[1802]: Could not open configuration file '' for reading.
Mar 13 17:35:12 eurofrpi hostapd[1802]: Failed to set up interface with
Mar 13 17:35:12 eurofrpi hostapd[1802]: Failed to initialize interface
Mar 13 17:35:12 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 17:35:12 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:12 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 17:35:12 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 17:35:14 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 17:35:14 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:14 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 17:35:14 eurofrpi hostapd[1804]: Configuration file:
Mar 13 17:35:14 eurofrpi hostapd[1804]: Could not open configuration file '' for reading.
Mar 13 17:35:14 eurofrpi hostapd[1804]: Failed to set up interface with
Mar 13 17:35:14 eurofrpi hostapd[1804]: Failed to initialize interface
Mar 13 17:35:14 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 17:35:14 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:14 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 17:35:14 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 17:35:16 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 17:35:16 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:16 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 17:35:16 eurofrpi hostapd[1806]: Configuration file:
Mar 13 17:35:16 eurofrpi hostapd[1806]: Could not open configuration file '' for reading.
Mar 13 17:35:16 eurofrpi hostapd[1806]: Failed to set up interface with
Mar 13 17:35:16 eurofrpi hostapd[1806]: Failed to initialize interface
Mar 13 17:35:16 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 17:35:16 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:16 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 17:35:16 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.
Mar 13 17:35:18 eurofrpi systemd[1]: hostapd.service: Service hold-off time over, scheduling restart.
Mar 13 17:35:18 eurofrpi systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:18 eurofrpi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mar 13 17:35:18 eurofrpi hostapd[1808]: Configuration file:
Mar 13 17:35:18 eurofrpi hostapd[1808]: Could not open configuration file '' for reading.
Mar 13 17:35:18 eurofrpi hostapd[1808]: Failed to set up interface with
Mar 13 17:35:18 eurofrpi hostapd[1808]: Failed to initialize interface
Mar 13 17:35:18 eurofrpi systemd[1]: hostapd.service: Control process exited, code=exited status=1
Mar 13 17:35:18 eurofrpi systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 13 17:35:18 eurofrpi systemd[1]: hostapd.service: Unit entered failed state.
Mar 13 17:35:18 eurofrpi systemd[1]: hostapd.service: Failed with result 'exit-code'.

@alexAubin
Copy link
Member

Mouarf bon c'est vraiment pas evident de trouver le vrai message important :/ ... J'ai l'impression que c'est lié à Could not open configuration file '' for reading. mais pas sur ... et c'est bizarre qu'il n'y a rien entre les quotes ' ...

C'est peut-être du a une version particulière de hostapd sous Raspbian qu'on a pas spécialement testé récemment ...

J'ai un RPi3 chez moi, je vais essayer de tester et reproduire tout ça dans la soirée. Merci pour ta patience /o/

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

Pour info, je ne sais pas si ça peut t'aider le raspi-Yuno fonctionne sur un DD USB et non une sd card

@baif80
Copy link
Author

baif80 commented Mar 13, 2019

patience réciproque sinon têtu !
bonne soirée @ + quand tu es libre...

@alexAubin
Copy link
Member

Bon du coup j'ai réussi à reproduire et trouver la source du problème sur mon RPi3 ... j'ai poussé le correctif toujours dans la branche https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if

J'ai vu quelques erreurs/warning dans le daemon hostapd après qu'il ai été lancé :

Mar 14 01:31:50 yolo.test hostapd[23395]: Failed to create interface mon.wlan0: -95 (Operation not supported)
Mar 14 01:31:50 yolo.test hostapd[23395]: wlan0: Could not connect to kernel driver

Pourtant ça n'a pas l'air d'empêcher le hotspot wifi de fonctionner correctement ...

@alexAubin alexAubin changed the title J'échoue pour installer hotspot_ynh sur un raspi3 Install fails on RPi3 Mar 14, 2019
@baif80
Copy link
Author

baif80 commented Mar 14, 2019

Pas raisonnable de travailler si tard ;-)
ce matin je lance ton travail et je constate que ça a effectivement progressé l'application s'installe dans Yunohost et se lance mais aucun wi-fi à l'horizon....
ci-dessous le debug

sudo yunohost app install https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if --debug
464 DEBUG loading actions map namespace 'yunohost'
547 DEBUG extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
548 DEBUG initializing base actions map parser for cli
552 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
1046 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
1057 DEBUG lock has been acquired
1155 DEBUG loading python module yunohost.app took 0.097s
1156 INFO processing action [4086.1]: yunohost.app.install with args={'force': False, 'app': 'https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if', 'args': None, 'auth': <moulinette.authenticators.ldap.Authenticator object at 0x76481070>, 'label': None, 'no_remove_on_failure': False}
WARNING! Installing 3rd party applications may compromise the integrity and security of your system. You should probably NOT install it unless you know what you are doing. Are you willing to take that risk? [Y/N] : y
7910 DEBUG Downloading…
10748 DEBUG Extracting…
10914 DEBUG Done
12828 DEBUG Checking required packages for hotspot…
Available domains:

  • eurofr.net
    Choose a domain for the web administration (default: eurofr.net):
    Choose a path for the web administration (default: /wifiadmin):
    Choose a wifi name (SSID) (default: myNeutralNetwork):
    You are now about to define a new user password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).
    Choose a wifi password (at least 8 characters for WPA2):
    Install non-free firmwares - in addition to the free ones - for the wifi dongle (yes/no) (default: yes): no
    62226 DEBUG Executing command 'sh -c YNH_APP_ARG_FIRMWARE_NONFREE=no YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/hotspot_ynh-fix-if/scripts YNH_APP_ARG_WIFI_SSID=myNeutralNetwork YNH_STDINFO=/tmp/tmpqeULBT/stdinfo YNH_APP_ARG_WIFI_PASSPHRASE=Granber-Mantine YNH_APP_INSTANCE_NAME=hotspot YNH_APP_ID=hotspot YNH_APP_ARG_PATH=/wifiadmin YNH_APP_ARG_DOMAIN=eurofr.net BASH_XTRACEFD=7 /bin/bash -x "./install" eurofr.net /wifiadmin myNeutralNetwork Granber-Mantine no hotspot 7>&1'…
    62228 DEBUG About to run the command '['sh', '-c', 'YNH_APP_ARG_FIRMWARE_NONFREE=no YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/hotspot_ynh-fix-if/scripts YNH_APP_ARG_WIFI_SSID=myNeutralNetwork YNH_STDINFO=/tmp/tmpqeULBT/stdinfo YNH_APP_ARG_WIFI_PASSPHRASE=Granber-Mantine YNH_APP_INSTANCE_NAME=hotspot YNH_APP_ID=hotspot YNH_APP_ARG_PATH=/wifiadmin YNH_APP_ARG_DOMAIN=eurofr.net BASH_XTRACEFD=7 /bin/bash -x "./install" eurofr.net /wifiadmin myNeutralNetwork Granber-Mantine no hotspot 7>&1']'
    62281 DEBUG + source _common.sh
    62285 DEBUG ++ pkg_dependencies='php7.0-fpm sipcalc hostapd iptables iw dnsmasq'
    62287 DEBUG ++ nonfree_packages='firmware-linux-free firmware-linux-nonfree firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware zd1211-firmware'
    62289 DEBUG ++ free_packages=firmware-linux-free
    62291 DEBUG + source /usr/share/yunohost/helpers
    62293 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
    62395 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62396 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
    62397 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
    62398 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62399 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
    62400 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
    62401 DEBUG +++ CAN_BIND=1
    62402 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62403 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
    62404 DEBUG ++ . /usr/share/yunohost/helpers.d/getopts
    62405 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62406 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
    62407 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
    62407 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62408 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
    62409 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
    62410 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
    62411 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62412 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
    62413 DEBUG ++ . /usr/share/yunohost/helpers.d/network
    62414 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62415 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
    62416 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
    62416 DEBUG +++ n_install_dir=/opt/node_n
    62418 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
    62419 DEBUG +++ export N_PREFIX=/opt/node_n
    62420 DEBUG +++ N_PREFIX=/opt/node_n
    62421 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62422 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
    62423 DEBUG ++ . /usr/share/yunohost/helpers.d/package
    62425 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62426 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
    62427 DEBUG ++ . /usr/share/yunohost/helpers.d/print
    62428 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62431 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
    62432 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
    62433 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62435 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
    62436 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
    62437 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62438 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
    62440 DEBUG ++ . /usr/share/yunohost/helpers.d/string
    62441 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62442 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
    62443 DEBUG ++ . /usr/share/yunohost/helpers.d/system
    62444 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62445 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
    62447 DEBUG ++ . /usr/share/yunohost/helpers.d/user
    62448 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
    62449 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
    62450 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
    62451 DEBUG + ynh_abort_if_errors
    62453 DEBUG + set -eu
    62454 DEBUG + trap ynh_exit_properly EXIT
    62455 DEBUG + domain=eurofr.net
    62456 DEBUG + path_url=/wifiadmin
    62458 DEBUG + wifi_ssid=myNeutralNetwork
    62459 DEBUG + wifi_passphrase=Granber-Mantine
    62460 DEBUG + firmware_nonfree=no
    62461 DEBUG + app=hotspot
    62463 DEBUG + sysuser=hotspot
    62464 DEBUG + service_name=ynh-hotspot
    62465 DEBUG + final_path=/var/www/hotspot
    62466 DEBUG + test '!' -e /var/www/hotspot
    62467 DEBUG ++ ynh_normalize_url_path /wifiadmin
    62468 DEBUG ++ local path_url=/wifiadmin
    62469 DEBUG ++ test -n /wifiadmin
    62470 DEBUG ++ '[' / '!=' / ']'
    62471 DEBUG ++ '[' n == / ']'
    62472 DEBUG ++ echo /wifiadmin
    62473 DEBUG + path_url=/wifiadmin
    62473 DEBUG + ynh_webpath_available eurofr.net /wifiadmin
    62474 DEBUG + local domain=eurofr.net
    62475 DEBUG + local path=/wifiadmin
    62476 DEBUG + sudo yunohost domain url-available eurofr.net /wifiadmin
    63881 DEBUG True
    63983 DEBUG + ynh_webpath_register hotspot eurofr.net /wifiadmin
    63985 DEBUG + local app=hotspot
    63985 DEBUG + local domain=eurofr.net
    63986 DEBUG + local path=/wifiadmin
    63987 DEBUG + sudo yunohost app register-url hotspot eurofr.net /wifiadmin
    65593 DEBUG + dpkg --list
    65594 DEBUG + grep -q armbian-firmware
    65695 DEBUG + ynh_app_setting_set hotspot domain eurofr.net
    65696 DEBUG + sudo yunohost app setting hotspot domain --value=eurofr.net --quiet
    66900 DEBUG + ynh_app_setting_set hotspot final_path /var/www/hotspot
    66901 DEBUG + sudo yunohost app setting hotspot final_path --value=/var/www/hotspot --quiet
    68106 DEBUG + ynh_app_setting_set hotspot wifi_ssid myNeutralNetwork
    68107 DEBUG + sudo yunohost app setting hotspot wifi_ssid --value=myNeutralNetwork --quiet
    69312 DEBUG + ynh_app_setting_set hotspot wifi_passphrase Granber-Mantine
    69313 DEBUG + sudo yunohost app setting hotspot wifi_passphrase --value=Granber-Mantine --quiet
    70517 DEBUG + ynh_app_setting_set hotspot firmware_nonfree no
    70518 DEBUG + sudo yunohost app setting hotspot firmware_nonfree --value=no --quiet
    71622 DEBUG + ynh_install_app_dependencies 'php7.0-fpm sipcalc hostapd iptables iw dnsmasq'
    71624 DEBUG + local 'dependencies=php7.0-fpm sipcalc hostapd iptables iw dnsmasq'
    71625 DEBUG + local 'dependencies=php7.0-fpm, sipcalc, hostapd, iptables, iw, dnsmasq'
    71626 DEBUG + local 'dependencies=php7.0-fpm, sipcalc, hostapd, iptables, iw, dnsmasq'
    71628 DEBUG + local manifest_path=../manifest.json
    71629 DEBUG + '[' '!' -e ../manifest.json ']'
    71630 DEBUG ++ grep '"version": ' ../manifest.json
    71632 DEBUG ++ cut -d '"' -f 4
    71633 DEBUG + local version=1.2.0
    71634 DEBUG + '[' 5 -eq 0 ']'
    71636 DEBUG + local dep_app=hotspot
    71637 DEBUG + cat
    71640 DEBUG + ynh_package_install_from_equivs /tmp/hotspot-ynh-deps.control
    71641 DEBUG + local controlfile=/tmp/hotspot-ynh-deps.control
    71642 DEBUG ++ grep '^Package: ' /tmp/hotspot-ynh-deps.control
    71644 DEBUG ++ cut '-d ' -f 2
    71645 DEBUG + local pkgname=hotspot-ynh-deps
    71647 DEBUG ++ grep '^Version: ' /tmp/hotspot-ynh-deps.control
    71648 DEBUG ++ cut '-d ' -f 2
    71749 DEBUG + local pkgversion=1.2.0
    71750 DEBUG + [[ -z hotspot-ynh-deps ]]
    71751 DEBUG + [[ -z 1.2.0 ]]
    71752 DEBUG + ynh_package_update
    71753 DEBUG + ynh_apt update
    71754 DEBUG + ynh_wait_dpkg_free
    71755 DEBUG + local try
    71756 DEBUG ++ seq 1 17
    71756 DEBUG + for try in seq 1 17
    71757 DEBUG + sudo lsof /var/lib/dpkg/lock
    72260 DEBUG + return 0
    72261 DEBUG + DEBIAN_FRONTEND=noninteractive
    72262 DEBUG + sudo apt-get -y update
    72664 DEBUG Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
    72665 DEBUG Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
    72767 DEBUG Hit:3 http://forge.yunohost.org/debian stretch InRelease
    77688 DEBUG Reading package lists...
    77790 DEBUG ++ mktemp -d
    77792 DEBUG + local TMPDIR=/tmp/tmp.NH6NLPQWK8
    77792 DEBUG + echo 10
    77894 DEBUG + ynh_wait_dpkg_free
    77895 DEBUG + local try
    77897 DEBUG ++ seq 1 17
    77899 DEBUG + for try in seq 1 17
    77900 DEBUG + sudo lsof /var/lib/dpkg/lock
    78403 DEBUG + return 0
    78404 DEBUG + cp /tmp/hotspot-ynh-deps.control /tmp/tmp.NH6NLPQWK8/control
    78405 DEBUG + cd /tmp/tmp.NH6NLPQWK8
    78406 DEBUG + equivs-build ./control
    82520 DEBUG + dpkg --force-depends -i ./hotspot-ynh-deps_1.2.0_all.deb
    84630 DEBUG (Reading database ... 65041 files and directories currently installed.)
    84632 DEBUG Preparing to unpack .../hotspot-ynh-deps_1.2.0_all.deb ...
    84835 DEBUG Unpacking hotspot-ynh-deps (1.2.0) over (1.2.0) ...
    85238 DEBUG Setting up hotspot-ynh-deps (1.2.0) ...
    85642 DEBUG + ynh_package_install -f
    85645 DEBUG + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
    85647 DEBUG + ynh_wait_dpkg_free
    85649 DEBUG + local try
    85652 DEBUG ++ seq 1 17
    85663 DEBUG + for try in seq 1 17
    85665 DEBUG + sudo lsof /var/lib/dpkg/lock
    86171 DEBUG + return 0
    86172 DEBUG + DEBIAN_FRONTEND=noninteractive
    86173 DEBUG + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
    87779 DEBUG Reading package lists...
    88482 DEBUG Building dependency tree...
    88483 DEBUG Reading state information...
    89888 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    89890 DEBUG + [[ -n /tmp/tmp.NH6NLPQWK8 ]]
    89891 DEBUG + rm -rf /tmp/tmp.NH6NLPQWK8
    89892 DEBUG + ynh_package_is_installed hotspot-ynh-deps
    89893 DEBUG + ynh_wait_dpkg_free
    89894 DEBUG + local try
    89895 DEBUG ++ seq 1 17
    89896 DEBUG + for try in seq 1 17
    89897 DEBUG + sudo lsof /var/lib/dpkg/lock
    90399 DEBUG + return 0
    90400 DEBUG + dpkg-query -W -f '${Status}' hotspot-ynh-deps
    90401 DEBUG + grep -c 'ok installed'
    90503 DEBUG + rm /tmp/hotspot-ynh-deps.control
    90504 DEBUG + ynh_app_setting_set hotspot apt_dependencies php7.0-fpm, sipcalc, hostapd, iptables, iw, dnsmasq
    90504 DEBUG + sudo yunohost app setting hotspot apt_dependencies --value=php7.0-fpm, --quiet
    91609 DEBUG + source ./prerequisites
    91610 DEBUG ++ systemctl is-active dnsmasq
    91720 DEBUG ++ [[ 0 -ne 0 ]]
    91722 DEBUG + [[ -z myNeutralNetwork ]]
    91725 DEBUG + [[ -z Granber-Mantine ]]
    91727 DEBUG ++ echo -n Granber-Mantine
    91729 DEBUG ++ wc -c
    91731 DEBUG + wifi_passphrase_length=15
    91733 DEBUG + [[ 15 -lt 8 ]]
    91735 DEBUG + [[ 15 -gt 63 ]]
    91736 DEBUG + [[ Granber-Mantine =~ [^[:print:]] ]]
    91737 DEBUG + export DEBIAN_FRONTEND=noninteractive
    91738 DEBUG + DEBIAN_FRONTEND=noninteractive
    91740 DEBUG + [[ no == yes ]]
    91741 DEBUG + packages=firmware-linux-free
    91742 DEBUG + mkdir -p /lib/firmware
    91743 DEBUG + install -b -o root -g root -m 0644 ../conf/firmware_htc-7010.fw /lib/firmware/htc_7010.fw
    91745 DEBUG + install -b -o root -g root -m 0644 ../conf/firmware_htc-9271.fw /lib/firmware/htc_9271.fw
    91746 DEBUG + apt-get --assume-yes --force-yes install firmware-linux-free
    91847 DEBUG Reading package lists...
    92551 DEBUG Building dependency tree...
    92553 DEBUG Reading state information...
    93759 DEBUG The following NEW packages will be installed:
    93760 DEBUG firmware-linux-free
    99177 DEBUG 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    99178 DEBUG Need to get 0 B/19.2 kB of archives.
    99179 DEBUG After this operation, 69.6 kB of additional disk space will be used.
    99381 DEBUG Selecting previously unselected package firmware-linux-free.
    (Reading database ... 65041 files and directories currently installed.)
    99484 DEBUG Preparing to unpack .../firmware-linux-free_3.4_all.deb ...
    99585 DEBUG Unpacking firmware-linux-free (3.4) ...
    100188 DEBUG Setting up firmware-linux-free (3.4) ...
    100390 DEBUG update-initramfs: deferring update (trigger activated)
    100592 DEBUG Processing triggers for initramfs-tools (0.130) ...
    101696 DEBUG + [[ 0 -ne 0 ]]
    101697 WARNING W: --force-yes is deprecated, use one of the options starting with --allow instead.
    101698 DEBUG + [[ ! -v ip6_net ]]
    101699 DEBUG + ip6_net=none
    101700 DEBUG + ip6_addr=none
    101701 DEBUG + [[ -e /tmp/.ynh-vpnclient-started ]]
    101702 DEBUG ++ yunohost app setting vpnclient ip6_net
    102806 DEBUG + vpnclient_ip6_net=2a00:5881:8118:1c00::
    102807 DEBUG ++ yunohost app setting vpnclient ip6_addr
    103912 DEBUG + vpnclient_ip6_addr=2a00:5881:8118:1c00::42
    103914 DEBUG + [[ 2a00:5881:8118:1c00:: =~ :: ]]
    103916 DEBUG + [[ 2a00:5881:8118:1c00::42 =~ :: ]]
    103918 DEBUG + ip6_net=2a00:5881:8118:1c00::
    103921 DEBUG + ip6_addr=2a00:5881:8118:1c00::42
    103922 DEBUG ++ sudo bash ../conf/iw_devices
    103924 DEBUG ++ awk '-F|' '{ print $1 }'
    104127 DEBUG + wifi_device=wlan0
    104128 DEBUG + [[ -z wlan0 ]]
    104129 DEBUG + ynh_app_setting_set hotspot service_enabled 1
    104131 DEBUG + sudo yunohost app setting hotspot service_enabled --value=1 --quiet
    105336 DEBUG + ynh_app_setting_set hotspot multissid 1
    105337 DEBUG + sudo yunohost app setting hotspot multissid --value=1 --quiet
    106542 DEBUG + ynh_app_setting_set hotspot wifi_ssid myNeutralNetwork
    106543 DEBUG + sudo yunohost app setting hotspot wifi_ssid --value=myNeutralNetwork --quiet
    107748 DEBUG + ynh_app_setting_set hotspot wifi_secure 1
    107750 DEBUG + sudo yunohost app setting hotspot wifi_secure --value=1 --quiet
    108955 DEBUG + ynh_app_setting_set hotspot wifi_passphrase Granber-Mantine
    108956 DEBUG + sudo yunohost app setting hotspot wifi_passphrase --value=Granber-Mantine --quiet
    110161 DEBUG + ynh_app_setting_set hotspot wifi_device wlan0
    110163 DEBUG + sudo yunohost app setting hotspot wifi_device --value=wlan0 --quiet
    111368 DEBUG + ynh_app_setting_set hotspot wifi_channel 6
    111369 DEBUG + sudo yunohost app setting hotspot wifi_channel --value=6 --quiet
    112575 DEBUG + ynh_app_setting_set hotspot ip6_addr 2a00:5881:8118:1c00::42
    112576 DEBUG + sudo yunohost app setting hotspot ip6_addr --value=2a00:5881:8118:1c00::42 --quiet
    113780 DEBUG + ynh_app_setting_set hotspot ip6_firewall 1
    113783 DEBUG + sudo yunohost app setting hotspot ip6_firewall --value=1 --quiet
    114989 DEBUG + ynh_app_setting_set hotspot ip6_net 2a00:5881:8118:1c00::
    114993 DEBUG + sudo yunohost app setting hotspot ip6_net --value=2a00:5881:8118:1c00:: --quiet
    116300 DEBUG + ynh_app_setting_set hotspot ip6_dns0 2001:913::8
    116301 DEBUG + sudo yunohost app setting hotspot ip6_dns0 --value=2001:913::8 --quiet
    117505 DEBUG + ynh_app_setting_set hotspot ip6_dns1 2001:910:800::12
    117506 DEBUG + sudo yunohost app setting hotspot ip6_dns1 --value=2001:910:800::12 --quiet
    118712 DEBUG + ynh_app_setting_set hotspot ip4_dns0 80.67.188.188
    118714 DEBUG + sudo yunohost app setting hotspot ip4_dns0 --value=80.67.188.188 --quiet
    119920 DEBUG + ynh_app_setting_set hotspot ip4_dns1 80.67.169.12
    119922 DEBUG + sudo yunohost app setting hotspot ip4_dns1 --value=80.67.169.12 --quiet
    121127 DEBUG + ynh_app_setting_set hotspot ip4_nat_prefix 10.0.242
    121129 DEBUG + sudo yunohost app setting hotspot ip4_nat_prefix --value=10.0.242 --quiet
    122434 DEBUG + ynh_app_setting_set hotspot vpnclient no
    122435 DEBUG + sudo yunohost app setting hotspot vpnclient --value=no --quiet
    123740 DEBUG + ynh_app_setting_set hotspot service_name ynh-hotspot
    123741 DEBUG + sudo yunohost app setting hotspot service_name --value=ynh-hotspot --quiet
    124946 DEBUG + ynh_system_user_exists hotspot
    124947 DEBUG + getent passwd hotspot
    124948 DEBUG + ynh_system_user_create hotspot
    124949 DEBUG + local legacy_args=uh
    124950 DEBUG + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
    124951 DEBUG + declare -Ar args_array
    124952 DEBUG + local username
    124953 DEBUG + local home_dir
    124954 DEBUG + local use_shell
    124955 DEBUG + ynh_handle_getopts_args hotspot
    124955 DEBUG + set +x
    124956 DEBUG + echo '! Helper used in legacy mode !'
    124957 DEBUG + set +x
    124957 DEBUG + use_shell=0
    124958 DEBUG + home_dir=
    124959 DEBUG + ynh_system_user_exists hotspot
    124959 DEBUG + getent passwd hotspot
    124960 DEBUG + '[' -n '' ']'
    124961 DEBUG + local user_home_dir=--no-create-home
    124961 DEBUG + '[' 0 -eq 1 ']'
    124962 DEBUG + local 'shell=--shell /usr/sbin/nologin'
    124963 DEBUG + useradd --no-create-home --system --user-group hotspot --shell /usr/sbin/nologin
    135702 DEBUG + install -b -o root -g root -m 0440 ../conf/sudoers.conf /etc/sudoers.d/hotspot_ynh
    135703 DEBUG + ynh_replace_string HOTSPOT_SYSUSER hotspot /etc/sudoers.d/hotspot_ynh
    135704 DEBUG + local delimit=@
    135704 DEBUG + local match_string=HOTSPOT_SYSUSER
    135705 DEBUG + local replace_string=hotspot
    135706 DEBUG + local workfile=/etc/sudoers.d/hotspot_ynh
    135706 DEBUG + match_string=HOTSPOT_SYSUSER
    135707 DEBUG + replace_string=hotspot
    135708 DEBUG + sudo sed --in-place s@HOTSPOT_SYSUSER@HotSpot@g /etc/sudoers.d/hotspot_ynh
    135809 DEBUG + install -o root -g root -m 0755 ../conf/iw_multissid /usr/local/bin/
    135811 DEBUG + install -o root -g root -m 0755 ../conf/iw_devices /usr/local/bin/
    135812 DEBUG + install -o root -g root -m 0755 ../conf/iw_ssids /usr/local/bin/
    135813 DEBUG + install -o root -g root -m 0755 ../conf/ipv6_expanded /usr/local/bin/
    135815 DEBUG + install -o root -g root -m 0755 ../conf/ipv6_compressed /usr/local/bin/
    135817 DEBUG + mkdir -pm 0755 /var/log/nginx/
    135818 DEBUG + mkdir -pm 0755 /etc/dnsmasq.dhcpd/
    135820 DEBUG + chown root: /etc/dnsmasq.dhcpd/
    135821 DEBUG + install -b -o root -g root -m 0644 ../conf/hostapd.conf.tpl1 ../conf/hostapd.conf.tpl2 /etc/hostapd/
    135822 DEBUG + install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv6.conf.tpl /etc/dnsmasq.dhcpd/dhcpdv6.conf.tpl
    135924 DEBUG + install -b -o root -g root -m 0644 ../conf/dnsmasq_dhcpdv4.conf.tpl /etc/dnsmasq.dhcpd/dhcpdv4.conf.tpl
    135928 DEBUG + install -b -o root -g root -m 0644 ../conf/nginx_wifiadmin.conf /etc/nginx/conf.d/eurofr.net.d/wifiadmin.conf
    135931 DEBUG + install -b -o root -g root -m 0644 ../conf/phpfpm_wifiadmin.conf /etc/php/7.0/fpm/pool.d/wifiadmin.conf
    135934 DEBUG + mkdir -pm 0755 /var/www/wifiadmin/
    135936 DEBUG + cp -a ../sources/config.php ../sources/controller.php ../sources/i18n ../sources/index.php ../sources/lib ../sources/public ../sources/views /var/www/wifiadmin/
    135938 DEBUG + chown -R root: /var/www/wifiadmin/
    135940 DEBUG + chmod -R 0644 /var/www/wifiadmin/config.php /var/www/wifiadmin/controller.php /var/www/wifiadmin/i18n /var/www/wifiadmin/index.php /var/www/wifiadmin/lib /var/www/wifiadmin/public /var/www/wifiadmin/views
    135945 DEBUG + find /var/www/wifiadmin/ -type d -exec chmod +x '{}' ';'
    136048 DEBUG + sed 's|^DAEMON_CONF=$|&/etc/hostapd/hostapd.conf|' -i /etc/init.d/hostapd
    136050 DEBUG + echo DAEMON_CONF=/etc/hostapd/hostapd.conf
    136051 DEBUG + sed 's|TPL:NGINX_LOCATION|/wifiadmin|g' -i /etc/nginx/conf.d/eurofr.net.d/wifiadmin.conf
    136053 DEBUG + sed 's|TPL:NGINX_REALPATH|/var/www/wifiadmin/|g' -i /etc/nginx/conf.d/eurofr.net.d/wifiadmin.conf
    136055 DEBUG + sed 's|TPL:PHP_NAME|wifiadmin|g' -i /etc/nginx/conf.d/eurofr.net.d/wifiadmin.conf
    136056 DEBUG + sed 's|TPL:PHP_NAME|wifiadmin|g' -i /etc/php/7.0/fpm/pool.d/wifiadmin.conf
    136058 DEBUG + sed 's|TPL:PHP_USER|hotspot|g' -i /etc/php/7.0/fpm/pool.d/wifiadmin.conf
    136060 DEBUG + sed 's|TPL:PHP_GROUP|hotspot|g' -i /etc/php/7.0/fpm/pool.d/wifiadmin.conf
    136061 DEBUG + sed 's|TPL:NGINX_REALPATH|/var/www/wifiadmin/|g' -i /etc/php/7.0/fpm/pool.d/wifiadmin.conf
    136063 DEBUG + sed 's|TPL:NGINX_LOCATION|/wifiadmin|g' -i /var/www/wifiadmin/config.php
    136065 DEBUG + install -o root -g root -m 0755 ../conf/ynh-hotspot /usr/local/bin/
    136066 DEBUG + install -o root -g root -m 0644 ../conf/ynh-hotspot.service /etc/systemd/system/
    136068 DEBUG + yunohost firewall allow --no-upnp --ipv6 UDP 547
    151318 WARNING ./90-vpnclient: line 37: TPL:WIRED_DEVICE: No such file or directory
    151320 WARNING ./90-vpnclient: line 38: TPL:WIRED_DEVICE: No such file or directory
    151321 WARNING ./90-vpnclient: line 39: TPL:WIRED_DEVICE: No such file or directory
    152625 WARNING ./90-vpnclient: line 72: TPL:WIRED_DEVICE: No such file or directory
    152626 WARNING ./90-vpnclient: line 73: TPL:WIRED_DEVICE: No such file or directory
    152627 WARNING ./90-vpnclient: line 74: TPL:WIRED_DEVICE: No such file or directory
    161957 DEBUG The firewall has been reloaded
    161958 DEBUG opened_ports:
    161959 DEBUG - 25
    161960 DEBUG - 53
    161962 DEBUG - 80
    161963 DEBUG - 443
    161964 DEBUG - 547
    161965 DEBUG - 587
    161966 DEBUG - 993
    161968 DEBUG - 4748
    161969 DEBUG - 5222
    161970 DEBUG - 5269
    161971 DEBUG - 5353
    162072 DEBUG + yunohost firewall allow --no-upnp UDP 67
    177632 WARNING ./90-vpnclient: line 37: TPL:WIRED_DEVICE: No such file or directory
    177635 WARNING ./90-vpnclient: line 38: TPL:WIRED_DEVICE: No such file or directory
    177637 WARNING ./90-vpnclient: line 39: TPL:WIRED_DEVICE: No such file or directory
    178942 WARNING ./90-vpnclient: line 72: TPL:WIRED_DEVICE: No such file or directory
    178944 WARNING ./90-vpnclient: line 73: TPL:WIRED_DEVICE: No such file or directory
    178945 WARNING ./90-vpnclient: line 74: TPL:WIRED_DEVICE: No such file or directory
    188576 DEBUG The firewall has been reloaded
    188577 DEBUG opened_ports:
    188578 DEBUG - 25
    188580 DEBUG - 53
    188582 DEBUG - 67
    188583 DEBUG - 80
    188585 DEBUG - 443
    188586 DEBUG - 547
    188588 DEBUG - 587
    188597 DEBUG - 993
    188598 DEBUG - 4748
    188600 DEBUG - 5222
    188602 DEBUG - 5269
    188603 DEBUG - 5353
    188706 DEBUG + systemctl disable hostapd
    188707 WARNING Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
    188709 WARNING Executing: /lib/systemd/systemd-sysv-install disable hostapd
    189013 WARNING insserv: warning: current start runlevel(s) (empty) of script hostapd' overrides LSB defaults (2 3 4 5). 189014 WARNING insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script hostapd' overrides LSB defaults (0 1 6).
    189717 WARNING insserv: warning: current start runlevel(s) (empty) of script hostapd' overrides LSB defaults (2 3 4 5). 189718 WARNING insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script hostapd' overrides LSB defaults (0 1 6).
    190421 DEBUG + systemctl stop hostapd
    190423 DEBUG + systemctl unmask hostapd
    190826 DEBUG + systemctl enable php7.0-fpm
    190827 WARNING Synchronizing state of php7.0-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
    190828 WARNING Executing: /lib/systemd/systemd-sysv-install enable php7.0-fpm
    192233 DEBUG + systemctl restart php7.0-fpm
    192851 DEBUG + systemctl reload nginx
    193153 DEBUG + [[ 2a00:5881:8118:1c00::42 != none ]]
    193154 DEBUG + ip -6 address show dev tun0
    193156 DEBUG + grep -q 2a00:5881:8118:1c00::42/
    193157 DEBUG + ip address delete 2a00:5881:8118:1c00::42/128 dev tun0
    193158 DEBUG + yunohost service add ynh-hotspot --description 'creates a Wi-Fi access point' --need_lock
    194462 DEBUG The service 'ynh-hotspot' has been added
    194464 DEBUG + [[ wlan0 == none ]]
    194464 DEBUG + yunohost service enable ynh-hotspot
    195569 DEBUG Created symlink /etc/systemd/system/multi-user.target.wants/ynh-hotspot.service → /etc/systemd/system/ynh-hotspot.service.
    195971 DEBUG The service 'ynh-hotspot' has been enabled
    196072 DEBUG + yunohost service start ynh-hotspot
    203295 DEBUG The service 'ynh-hotspot' has been started
    203397 DEBUG + yunohost app ssowatconf
    205403 DEBUG The SSOwat configuration has been generated
    205506 DEBUG + ynh_exit_properly
    205507 DEBUG + local exit_code=0
    205507 DEBUG + '[' 0 -eq 0 ']'
    205508 DEBUG + exit 0
    206477 SUCCESS The SSOwat configuration has been generated
    206478 SUCCESS Installation complete
    206479 DEBUG system hook folder not found for action 'post_app_install' in /usr/share/yunohost/hooks/
    206480 DEBUG custom hook folder not found for action 'post_app_install' in /etc/yunohost/hooks.d/
    206492 DEBUG To view the log of the operation 'Install 'hotspot' application', use the command 'yunohost log display 20190314-061835-app_install-hotspot'
    206511 DEBUG action [4086.1] executed in 205.354s
    206512 DEBUG lock has been released

sudo yunohost log display 20190314-061835-app_install-hotspot
description: Install 'hotspot' application
log_path: /var/log/yunohost/categories/operation/20190314-061835-app_install-hotspot.log
logs:

  • EBUG - The firewall has been reloaded
  • 2019-03-14 07:20:42,157: DEBUG - opened_ports:
  • 2019-03-14 07:20:42,158: DEBUG - - 25
  • 2019-03-14 07:20:42,159: DEBUG - - 53
  • 2019-03-14 07:20:42,161: DEBUG - - 67
  • 2019-03-14 07:20:42,163: DEBUG - - 80
  • 2019-03-14 07:20:42,165: DEBUG - - 443
  • 2019-03-14 07:20:42,166: DEBUG - - 547
  • 2019-03-14 07:20:42,167: DEBUG - - 587
  • 2019-03-14 07:20:42,176: DEBUG - - 993
  • 2019-03-14 07:20:42,178: DEBUG - - 4748
  • 2019-03-14 07:20:42,180: DEBUG - - 5222
  • 2019-03-14 07:20:42,181: DEBUG - - 5269
  • 2019-03-14 07:20:42,183: DEBUG - - 5353
  • 2019-03-14 07:20:42,286: DEBUG - + systemctl disable hostapd
  • 2019-03-14 07:20:42,287: WARNING - Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
  • 2019-03-14 07:20:42,289: WARNING - Executing: /lib/systemd/systemd-sysv-install disable hostapd
  • 2019-03-14 07:20:42,593: WARNING - insserv: warning: current start runlevel(s) (empty) of script `hostapd' overrides LSB defaults (2 3 4 5).
  • 2019-03-14 07:20:42,594: WARNING - insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `hostapd' overrides LSB defaults (0 1 6).
  • 2019-03-14 07:20:43,297: WARNING - insserv: warning: current start runlevel(s) (empty) of script `hostapd' overrides LSB defaults (2 3 4 5).
  • 2019-03-14 07:20:43,298: WARNING - insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `hostapd' overrides LSB defaults (0 1 6).
  • 2019-03-14 07:20:44,001: DEBUG - + systemctl stop hostapd
  • 2019-03-14 07:20:44,003: DEBUG - + systemctl unmask hostapd
  • 2019-03-14 07:20:44,405: DEBUG - + systemctl enable php7.0-fpm
  • 2019-03-14 07:20:44,407: WARNING - Synchronizing state of php7.0-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
  • 2019-03-14 07:20:44,408: WARNING - Executing: /lib/systemd/systemd-sysv-install enable php7.0-fpm
  • 2019-03-14 07:20:45,813: DEBUG - + systemctl restart php7.0-fpm
  • 2019-03-14 07:20:46,431: DEBUG - + systemctl reload nginx
  • 2019-03-14 07:20:46,733: DEBUG - + [[ 2a00:5881:8118:1c00::42 != none ]]
  • 2019-03-14 07:20:46,734: DEBUG - + ip -6 address show dev tun0
  • 2019-03-14 07:20:46,735: DEBUG - + grep -q 2a00:5881:8118:1c00::42/
  • 2019-03-14 07:20:46,736: DEBUG - + ip address delete 2a00:5881:8118:1c00::42/128 dev tun0
  • 2019-03-14 07:20:46,737: DEBUG - + yunohost service add ynh-hotspot --description 'creates a Wi-Fi access point' --need_lock
  • 2019-03-14 07:20:48,042: DEBUG - The service 'ynh-hotspot' has been added
  • 2019-03-14 07:20:48,043: DEBUG - + [[ wlan0 == none ]]
  • 2019-03-14 07:20:48,044: DEBUG - + yunohost service enable ynh-hotspot
  • 2019-03-14 07:20:49,148: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/ynh-hotspot.service → /etc/systemd/system/ynh-hotspot.service.
  • 2019-03-14 07:20:49,551: DEBUG - The service 'ynh-hotspot' has been enabled
  • 2019-03-14 07:20:49,652: DEBUG - + yunohost service start ynh-hotspot
  • 2019-03-14 07:20:56,875: DEBUG - The service 'ynh-hotspot' has been started
  • 2019-03-14 07:20:56,976: DEBUG - + yunohost app ssowatconf
  • 2019-03-14 07:20:58,983: DEBUG - The SSOwat configuration has been generated
  • 2019-03-14 07:20:59,085: DEBUG - + ynh_exit_properly
  • 2019-03-14 07:20:59,086: DEBUG - + local exit_code=0
  • 2019-03-14 07:20:59,087: DEBUG - + '[' 0 -eq 0 ']'
  • 2019-03-14 07:20:59,088: DEBUG - + exit 0
  • 2019-03-14 07:21:00,056: SUCCESS - The SSOwat configuration has been generated
  • 2019-03-14 07:21:00,058: SUCCESS - Installation complete
  • 2019-03-14 07:21:00,059: DEBUG - system hook folder not found for action 'post_app_install' in /usr/share/yunohost/hooks/
  • 2019-03-14 07:21:00,060: DEBUG - custom hook folder not found for action 'post_app_install' in /etc/yunohost/hooks.d/
    metadata:
    args:
    app: https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if
    args: None
    force: False
    label: None
    no_remove_on_failure: False
    ended_at: 2019-03-14 07:21:00
    env:
    YNH_APP_ARG_DOMAIN: eurofr.net
    YNH_APP_ARG_FIRMWARE_NONFREE: no
    YNH_APP_ARG_PATH: /wifiadmin
    YNH_APP_ARG_WIFI_PASSPHRASE: Granber-Mantine
    YNH_APP_ARG_WIFI_SSID: myNeutralNetwork
    YNH_APP_ID: hotspot
    YNH_APP_INSTANCE_NAME: hotspot
    YNH_APP_INSTANCE_NUMBER: 1
    YNH_CWD: /var/cache/yunohost/from_file/hotspot_ynh-fix-if/scripts
    YNH_STDINFO: /tmp/tmpqeULBT/stdinfo
    error: None
    operation: app_install
    related_to:
    • app
    • hotspot
      started_at: 2019-03-14 07:18:35
      success: True
      metadata_path: /var/log/yunohost/categories/operation/20190314-061835-app_install-hotspot.yml
      name: 20190314-061835-app_install-hotspot

@baif80
Copy link
Author

baif80 commented Mar 14, 2019

Hip Hip
après avoir changé le canal de 6 à 7 et relancé, le Hot-spot apparaît et je peux m'y connecter avec mon smartphone...
l'ennui c'est que ça décroche rapidement (1 minute) et le point d’accès disparaît. Pourtant je suis à 1m du raspi :-(
Que puis-je encore faire pour t'aider dans les tests?

@baif80
Copy link
Author

baif80 commented Mar 14, 2019

si je mets connection sécurisé en off, ça tient un peu plus longtemps et je peux naviguer un peu 3 minutes et le hot-spot disparait

@baif80
Copy link
Author

baif80 commented Mar 14, 2019

après plusieurs essais la conclusion c'est que ça décroche très rapidement et le hot-spot ne réapparaît brièvement que si on recharge.
Je suis toujours dispo pour continuer à tester...

@baif80
Copy link
Author

baif80 commented Mar 14, 2019

J'ai désinstallé le hot-spot.
Bizarre la connection SSH via mon domaine ou en local ne fonctionne plus: Connection refused
Mais yunohost admin ou utilisateur web fonctionne ainsi que la ligne de commande sur le Raspi
La configuration du ssh aurait-elle été modifiée à l'installation du hot-spot?

@alexAubin alexAubin added the bug label Mar 17, 2019
@alexAubin
Copy link
Member

PR got merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants