Age | Commit message (Collapse) | Author | Files | Lines |
|
If an interface is managed via netctl-auto use netctl-auto
to switch to the profile instead of failing
[Jouke]: I have removed the notifications. Progress indicators should
be provided by systemctl but that still is not possible...
|
|
- Don't bring an interface down if it is not brought up for wireless
connections.
- Often, `read` needs '-r'.
|
|
Temporarily enable the interface's rfkill (if specified) before issuing a scan
and restore its state afterwards.
|
|
|
|
Now a bit more verbose when useful.
|
|
Some abuse of the stack, but that should be no problem: the user has to
enter around 10000 existing profile names which (s)he does not want to
overwrite before a stack overflow occurs.
Feature suggested by: Paul Bienkowski <opatutlol@aol.com>
|
|
Instead of filtering results from grep, we can also just use sed.
Installations having grep can be expected to have sed as well.
|
|
|
|
|
|
|
|
Use 'wpa' to refer to the 802.11i and 802.1x client side software
(wpa_supplicant) in general.
|
|
|
|
If netctl is already connected to a network and wifi-menu is run, then
it will fail to connect. Having wifi-menu call `netctl switch-to`
instead of `netctl restart` causes wifi-menu to behave like netctl
switch-to: It will connect if not connected, and if already connected on
that interface it will put the connected profile down the put up the
selected profile.
This fixes github issue #6.
Signed-off-by: William Giokas <1007380@gmail.com>
|
|
After the systemd 197 device name changes, wlan0 no longer exists (it
does for people who mask the rule, but new users will have issues with
this). This just searches the /sys/class/net directory for wireless
names. If there is more than one, then report an
"Invalid interface specification", not a "Missing" interface (as there
could be multiple).
A quick thanks to Dave Reisner for his help in the channel.
Altered by: Jouke Witteveen <j.witteveen@gmail.com>
|
|
Reduced unnecessary quoting and some rewording.
|
|
This commit contains the refactoring and rewriting of code.
|
|
This commit contains the moving of files.
|