summaryrefslogtreecommitdiffstats
path: root/src/wifi-menu
AgeCommit message (Collapse)AuthorFilesLines
2014-04-23Minor fixesJouke Witteveen1-2/+2
- Don't bring an interface down if it is not brought up for wireless connections. - Often, `read` needs '-r'.
2014-02-27wifi-menu: handle interface's rfkill switchIvan Shapovalov1-1/+17
Temporarily enable the interface's rfkill (if specified) before issuing a scan and restore its state afterwards.
2014-02-27wifi-menu: generate keys in proper quoting syntaxJouke Witteveen1-6/+24
2014-02-25Code style and output improvementsJouke Witteveen1-1/+1
Now a bit more verbose when useful.
2013-10-26wifi-menu: ask for a name for the new profileJouke Witteveen1-0/+16
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>
2013-07-21Introduce sedJouke Witteveen1-4/+2
Instead of filtering results from grep, we can also just use sed. Installations having grep can be expected to have sed as well.
2013-05-18Rewording some lines regarding exit codesJouke Witteveen1-3/+1
2013-05-15More consistent approach to outputJouke Witteveen1-3/+3
2013-05-11Added netctl-auto detectionKory Prince1-3/+10
2013-04-15Fix naming of IEEE 802 working groupsJouke Witteveen1-1/+1
Use 'wpa' to refer to the 802.11i and 802.1x client side software (wpa_supplicant) in general.
2013-04-10Uniformize modelinesJouke Witteveen1-0/+3
2013-01-25[wifi-menu] Do not fail if already connectedWilliam Giokas1-1/+1
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>
2013-01-24[wifi-menu] Autodetect network interfacesWilliam Giokas1-10/+15
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>
2013-01-07Minor update of sample profilesJouke Witteveen1-1/+1
Reduced unnecessary quoting and some rewording.
2012-12-28Forking netcfg to netctl (2/2)Jouke Witteveen1-44/+32
This commit contains the refactoring and rewriting of code.
2012-12-28Forking netcfg to netctl (1/2)Jouke Witteveen1-0/+263
This commit contains the moving of files.