You are not logged in.
Hello,
i know how to use iwd and have it setup fine on my voidlinux box. I would ask at the void reddit forum but not a member there.
I want to use iwctl to enable wifi manually via a keybind from sxhkd but not sure how to approach it.
I would like to just do the below one line, but iwctl seems self contained if you will?
iwctl station wlan0 connect <ssid>
any help much appreciated.
edit: this is not a question about sxhkd, i would like to put iwctl inside a script and call that script from sxhkd.
Last edited by clusterF (2020-02-15 02:19:29)
Offline
^There is a nice info on Archlinux wiki (as always) about iwd ... I feel it should be enough to get you started.
Postpone all your duties; if you die, you won't have to do them ..
Offline
^There is a nice info on Archlinux wiki (as always) about iwd ... I feel it should be enough to get you started.
Thanks, but did you even understand my post?
Offline
^Apparently, I didn't understand your post. Sorry. I wonder why? Am I stupid? Probably - see my nick. Or your question isn't formulated clear enough?
See link in ohnonot's sig 'how to ask smart questions', perhaps I will understand your post better. (Hint: what did you try? What was the outcome? Any terminal output?)
(I do not want to start a fight ... simply stating the obvious.)
Postpone all your duties; if you die, you won't have to do them ..
Offline
^ terminal output = iwctl
Offline
^I do not understand, and I'm afraid somebody else should step in and help you. To repeat: archLinux wiki page seems to have enough information ... Good luck with iwd.
Last edited by iMBeCil (2020-02-14 15:54:49)
Postpone all your duties; if you die, you won't have to do them ..
Offline
this is not a question about sxhkd, i would like to put iwctl inside a script and call that script from sxhkd.
Stackexchange is usually a good place to look.
You must unlearn what you have learned.
-- yoda
Offline
Thanks packrat and imbecil.
imbecil, sorry if i came across as short and shrift, indeed the archwiki has all the needed info.
Not sure what was going on yesterday but when i did the below command it would go into interactive mode, today im able to do the same commands on the terminal with no issues.
iwctl station wlan0 connect SSID
~:$ iwctl station wlan0 show
Station: wlan0
--------------------------------------------------------------------------------
Settable Property Value
--------------------------------------------------------------------------------
Scanning no
State connected
Connected network SSID
for those interested, the one line command to manually connect via iwd from a keybind is...
xterm -e bash -c 'iwctl station wlan0 connect <SSID> && iwctl station wlan0 show;$SHELL'
Last edited by clusterF (2020-02-15 02:25:04)
Offline
for those interested, the one line command to manually connect via iwd from a keybind is...
thanks - hoping to move to eiwd (iwd without dbus) on my kiss system(s) when I have some spare time.
Offline
Thanks packrat and imbecil.
imbecil, sorry if i came across as short and shrift, indeed the archwiki has all the needed info.
You're welcome, and no sweat, all good. Glad you found right command.
Postpone all your duties; if you die, you won't have to do them ..
Offline
clusterF wrote:for those interested, the one line command to manually connect via iwd from a keybind is...
thanks - hoping to move to eiwd (iwd without dbus) on my kiss system(s) when I have some spare time.
I gave this eiwd a try on my devuan setup that uses openrc and sys-v, i had to create service files that i copied over from the gentoo website. Not sure how you would go in kiss linux but id say it might be a lot more straight forward depending on their init. Pro tip get the eiwd release from here https://github.com/dylanaraps/eiwd/releases it builds a lot better than cloning the git repo and trying to build from that, the release files are all self contained.
here are the links to the files needed for openrc if you are interested.
https://wiki.gentoo.org/wiki/User:Hfern … c-init#iwd
https://gitweb.gentoo.org/repo/gentoo.g … /iwd.initd
you just have to be aware of where the iwd daemon installs to, mine was in /usr/bin/iwd
so i had to change the location in the openrc service file from /usr/libexec/iwd to /usr/bin/iwd
and you can delete the depends on dbus from the service file too
If you need any help in the future let me know, ill try to help out.
Last edited by clusterF (2020-02-16 10:35:07)
Offline
Wow! Thanks for that info clusterF and apologies for the late reply. Haven't gotten round to trying this yet.
Offline
Your welcome beaker.
Offline