Keyboard shortcut to enable Wi-Fi

I have a netbook without a screen that has OpenWrt installed and I want to enable the Wi-Fi interface when I need it and I was thinking of doing it with the keyboard, but I can't find there to be any default, so I thought that typing a short word can make it enable and another short word disable it.

If I haven't misunderstood something and you need shortcuts for wifi up and wifi down, you could create aliases in /etc/profile.

alias u='wifi up'
alias d='wifi down'
 . /etc/profile
2 Likes

I think I use wifi down and wifi up directly.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.