YunoHost-Apps / hotspot_ynh

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

Install fails on RPi3 #55

Closed baif80 closed 5 years ago

baif80 commented 5 years ago

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 commented 5 years ago

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

baif80 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

alexAubin commented 5 years ago

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 commented 5 years ago

OK je refais un essai sans firmware nonfree Patience

baif80 commented 5 years ago

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 commented 5 years ago

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: )

baif80 commented 5 years ago

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

alexAubin commented 5 years ago

Arfz :s

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

systemctl status hostapd.service | cat
baif80 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

/usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.conf
baif80 commented 5 years ago

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 commented 5 years ago

Hm alors ptete un :

cat /var/log/daemon.log | grep "13 14:57"
baif80 commented 5 years ago

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 commented 5 years ago

Hm est-ce que tu peux tenter un :

apt remove hostapd --purge

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

baif80 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

alexAubin commented 5 years ago

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 ...

baif80 commented 5 years ago

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:

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:

baif80 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

PR got merged