illiliti / eiwd

iwd without dbus -- maintained fork of original dylanaraps/eiwd
GNU Lesser General Public License v2.1
42 stars 2 forks source link

Any way to connect to WiFi using iwd, not iwctl? #7

Open soc8ren opened 1 month ago

soc8ren commented 1 month ago

I built iwd with --disable-dbus and only then did I realise that it won't include iwctl. I was wondering if there's a way to connect to WiFi now with the configuration files in /var/lib/iwd. Every tutorial I have seen requires iwctl to connect to WiFi.

Also, any plans on writing that custom client?

Thanks in advance, and also thanks for keeping this project alive.

illiliti commented 1 month ago

eiwd will connect automatically if you add proper network file to /var/lib/iwd. Some distributions provide iwd_passphrase tool to help with that. See also iwd.network(5) for additional guidance.

As of writing custom client, there are no plans on that because it is major work that needs huge amount of time and resources which I'm lacking. Hope you understand.

soc8ren commented 1 month ago

Unfortunately, that didn't work for me. I am trying this on a custom setup built from scratch. I provided the passphrase in text form and tried running iwd from terminal. Maybe that's why it didn't work. I'll try passing the encoded passphrase and also install dhclient or udhcpc.