Closed baif80 closed 5 years ago
Est-ce que tu peux tenter un systemctl unmask hostapd
et retenter l'installation ?
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?
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)
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.
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?
j'ai trouvé : sudo yunohost app install https://github.com/labriqueinternet/hotspot_ynh/tree/fix-if --debug c'est en cours d'installation... patience
bug : https://paste.yunohost.org/raw/qozuxejihe j'attends ton retour ...
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 ?
OK je refais un essai sans firmware nonfree Patience
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 !
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 :wink: )
encore rated ! https://paste.yunohost.org/raw/cobupameve Je suis dispo pour continuer à tester , et toi ?
Arfz :s
Yep je suis dispo aussi ... est-ce que tu peux faire un
systemctl status hostapd.service | cat
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)
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
Hmbon alors, mettons si tu lances a la main ceci :
/usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.conf
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'.
Hm alors ptete un :
cat /var/log/daemon.log | grep "13 14:57"
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'.
Hm est-ce que tu peux tenter un :
apt remove hostapd --purge
(seulement si ça ne demande pas de supprimer d'autres packages...)
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]
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
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'.
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/
Pour info, je ne sais pas si ça peut t'aider le raspi-Yuno fonctionne sur un DD USB et non une sd card
patience réciproque sinon têtu ! bonne soirée @ + quand tu es libre...
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 ...
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:
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|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 releasedsudo 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:
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?
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
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...
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?
PR got merged
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