Published 11th Dec 2019 by Dylan Araps.
This week in KISS (#4)
Apologies for the late post, I'll be on time from now on. :)
This week I wrote a simple (and temporary) client for eiwd called iwc. More about this below.
I've also been working on something unrelated to Linux and friends which I hope to talk about when it is complete.
A big thank you to everyone using, contributing and donating to KISS!
Index
iwc
This client is based around the fact that the iwd
daemon watches the network files in its configuration directory.
iwc 0.2.1 - simple eiwd client.
=> [au]th [ssid] - Create network config.
=> [co]nnect [ssid] - Connect to an SSID.
=> [de]lete [ssid] - Delete a configured network.
=> [di]sconnect - Disconnect from the current network.
=> [ed]it [ssid] - Edit an SSID's network config.
=> [li]st - List all known networks.
=> [sc]an - Display periodic scan results.
=> [ss]id - Display the current SSID.
Disconnecting from a network simply moves the file into a subdirectory and connecting to a network is really just making iwd
temporarily forget about a network.
mv ssid.psk ssid.psk.bak
sleep 1
mv ssid.psk.bak ssid.psk
Connection works as the "removal" of the network file causes iwd
to "forget" about the network and the addition of the file wakes iwd
to connect to it.
To add further typical features like viewing scan results and getting the current connected network I made some tiny additions to iwd
's source.
This is overly simple and of course doesn't offer a full and real client, however until I get around to writing a proper client, it's something!
The latest release of eiwd
can be found here: https://github.com/dylanaraps/eiwd/releases/tag/0.2.1
Official Repositories
- Dylan Araps:
47dec02
baseinit: bump to 0.1.587df875
cbindgen: bump to 0.10.132b7279
vim: bump to 8.1.2024c7c7de4
firefox: update sourceb0dde4c
curl: remove unneeded dependency1b141f3
firefox (beta): Added 72.0b1b535550
cbindgen: bump to 0.11.092e995f
firefox (beta): bump to 72.0b2a7d5245
vim: bump to 8.1.2024a4ef7e0
nodejs: bump to 13.3.0cf8086a
eiwd: bump to 0.2.0775c747
xvidcore: bump to 1.3.6812b7d3
eiwd: bump to 0.2.135f0638
mesa: bump to 19.2.75c1b71c
vim: bump to 8.1.2024f555f32
linux-headers: bump to 5.4.2a95c898
vim: bump to 8.1.202476f91fd
firefox (beta): bump to 72.0b3fe23209
vim: bump to 8.1.20242e98176
firefox: update comment535f2de
vim: bump to 8.1.2024c2301b5
vim: bump to 8.1.20247d4f45f
cbindgen: bump to 0.11.187f0988
firefox (beta): bump to 72.0b445d8cff
vim: bump to 8.1.202414572c2
cmake: bump to 3.16.109bd41c
git: bump to 2.24.1862fc01
vim: bump to 8.1.202485767b0
firefox (beta): bump to 72.0b5
- Muhammad Herdiansyah:
59566ab
busybox: remove unneeded flag for acpid and add checks for directory files