Fedup with that bloody NetworkManager or KDE’s WiFi flop?
Here, I made a couple of scripts for my laptop’s wireless that
just might help you out.
What do they do:
wqc (Wireless Quick Connect):
Will connect to a wireless network and store the configuration for future use.
Requires:
- ifconfig
- iwconfig
- dhclient or dhcpcd
- pkill
- bash
wqac (Wireless Quick Auto Connect):
Will auto connect to any pre-configured ‘wqc’ wireless network available.
Requires:
- wqc
- ifconfig
- iwlist
- bash
Usage:
wqc:
# wqc [ESSID]
Look at ‘wqc’ as a wrapper for iwconfig, all the parameters you use to configure a network with iwconfig
get stored on successfull connection.
# wqc home mode managed key restricted [1] 112233445566778899AABBCCDD
If we connected successfully on first-run we can now run
# wqc home
when we want to connect to that network in the future.
The command must be run as ‘root’, I use sudo to run it.
wqac:
# wqac
This will seek any pre-configured network available.
This command must be run as ‘root’, I use sudo to run it.
I run this command in my ‘inittab’ as run once, If I have my usb wireless adaptor plugged it will try to connect to my pre-configured networks if any are available.
Download:
Recent Comments