IWD Not Starting anymore
Hello,
I am using iwd on an embedded target for simple task for a while: connection, disconnection, scan. Version 1.25
I don't use systemd.
For a while, it has been working well with PSK and EAP-TLS.
But now, I can't even start iwd. Here is the debug output :
root@target ~> /usr/libexec/iwd -d
Wireless daemon version 1.25
src/main.c:main() Using configuration directory /etc/iwd src/storage.c:storage_create_dirs() Using state directory /var/lib/iwd src/main.c:nl80211_appeared() Found nl80211 interface src/module.c:iwd_modules_init()
station: Network configuration is disabled. src/wsc.c:wsc_init()
Module hotspot failed to start: -2 src/module.c:iwd_modules_exit()
src/wsc.c:wsc_exit()
D-Bus disconnected, quitting...
I don't understand its new behaviour.
The /etc/iwd/main.conf is empty.
Am I doing it wrong ?
Do you have any lead ?
Thanks in advance,
Clément
Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur par e-mail.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Les communications sur Internet n'etant pas securisees, l'expediteur informe qu'il ne peut accepter aucune responsabilite quant au contenu de ce message. This mail message and attachments (the "message") are solely intended for the addresses. It is confidential in nature.
If you receive this message in error, please delete it and immediately notify the sender by e-mail.
Any use other than its intended purpose, dissemination or disclosure, either whole or partial, is prohibited except if formal approval is granted. As communication on the Internet is not secure, the sender does not accept responsibility for the content of this message.
Hi Clement,
Quoted 21 lines · On 6/8/23 6:58 AM, [email protected] wrote:
Hello,
I am using iwd on an embedded target for simple task for a while: connection, disconnection, scan. Version 1.25
I don't use systemd.
For a while, it has been working well with PSK and EAP-TLS.
But now, I can't even start iwd. Here is the debug output :root@target ~>
/usr/libexec/iwd-d
Wireless daemon version 1.25
src/main.c:main() Using configuration directory/etc/iwdsrc/storage.c:storage_create_dirs() Using state directory/var/lib/iwdsrc/main.c:nl80211_appeared() Found nl80211 interface src/module.c:iwd_modules_init()
station: Network configuration is disabled. src/wsc.c:wsc_init()
Module hotspot failed to start: -2 src/module.c:iwd_modules_exit()
src/wsc.c:wsc_exit()
D-Bus disconnected, quitting...
Quoted 4 lines
I don't understand its new behaviour.
The/etc/iwd/main.confis empty.
Am I doing it wrong ?
Do you have any lead ?
So the "Module hotspot failed to start" is because either there is no /var/lib/iwd/hotspot directory or the permissions were such that IWD could not call opendir().
So check that directory and see. I suspect permissions because IWD will create that directory if it doesn't exist.
Quoted 13 lines
Thanks in advance,
Clément
Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur par e-mail.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Les communications sur Internet n'etant pas securisees, l'expediteur informe qu'il ne peut accepter aucune responsabilite quant au contenu de ce message. This mail message and attachments (the "message") are solely intended for the addresses. It is confidential in nature.
If you receive this message in error, please delete it and immediately notify the sender by e-mail.
Any use other than its intended purpose, dissemination or disclosure, either whole or partial, is prohibited except if formal approval is granted. As communication on the Internet is not secure, the sender does not accept responsibility for the content of this message.
Thank you for your response !
I remove the hotspot directory and I was able to relaunch iwd correctly !
Quoted 30 lines
Hi Clement,
Quoted 3 lines · On 6/8/23 6:58 AM, [email protected] wrote:
Hello,
I am using iwd on an embedded target for simple task for a while:
connection, disconnection, scan.
Quoted 18 lines
Version 1.25
I don't use systemd.
For a while, it has been working well with PSK and EAP-TLS. But now, I can't even start iwd. Here is the debug output :root@target ~>
/usr/libexec/iwd-d
Wireless daemon version 1.25
src/main.c:main() Using configuration directory/etc/iwdsrc/storage.c:storage_create_dirs() Using state directory/var/lib/iwdsrc/main.c:nl80211_appeared() Found nl80211 interface src/module.c:iwd_modules_init()
station: Network configuration is disabled. src/wsc.c:wsc_init()
Module hotspot failed to start: -2 src/module.c:iwd_modules_exit()
src/wsc.c:wsc_exit()
D-Bus disconnected, quitting...Quoted 4 lines
I don't understand its new behaviour.
The/etc/iwd/main.confis empty.
Am I doing it wrong ?
Do you have any lead ?
Quoted 12 lines
So the "Module hotspot failed to start" is because either there is no
/var/lib/iwd/hotspotdirectory or the permissions were such that IWD could not callopendir().So check that directory and see. I suspect permissions because IWD will create that directory if it doesn't exist.
Quoted 5 lines
Thanks in advance,
Clément
Clément