summaryrefslogtreecommitdiffstats
path: root/scripts/wifi-menu
AgeCommit message (Collapse)AuthorFilesLines
2012-12-28Forking netcfg to netctl (1/2)Jouke Witteveen1-263/+0
This commit contains the moving of files.
2012-08-13Allow hex passphrase in wifi-menuThomas Bächler1-6/+9
WPA allows the use of 64 digit hex passphrases. Allow this in wifi-menu as well.
2012-08-08Fix key handling in netcfgJouke Witteveen1-4/+4
Mainly a regression (7e2ff).
2012-08-08Small code reviewJouke Witteveen1-1/+1
2012-07-08Use grep instead of fgrep (FS#30598)Jouke Witteveen1-1/+1
Direct invocation as fgrep is deprecated.
2012-07-05Rethink management of socket location for wpa_supplicantJouke Witteveen1-5/+1
This may be set in a custom supplicant configuration file. All this is needed to cater for that. The new name of the tracking variable is WPA_CTRL_DIR, conform the environment variable of wpa_cli -a.
2012-07-03Better grep usageJouke Witteveen1-1/+1
When possible, fgrep is preferred. This prevents interpreting variable search patterns as expressions. In setting the control paths, the search expression was updated to match what wpa_supplicant uses.
2012-07-03Better file handling in wifi-menuJouke Witteveen1-8/+9
- Prevent slashes from entering potential profile filenames - Remove scan results file in EXIT trap
2012-06-30wifi-menu: fix name of wireless key variableTasos Latsas1-1/+1
Dialog returns the wireless key in variable $key. Uppercase 'KEY' is used later to create the profile. Signed-off-by: Tasos Latsas <tlatsas2000@gmail.com>
2012-06-21Support weird characters in wifi-menu (FS#30342)Jouke Witteveen1-17/+16
This adds support for weird characters in ESSIDs and passwords.
2012-06-12Don't wait unnecessarily on bring_interface upJouke Witteveen1-1/+1
Good drivers indicate when they're up by the IFF_UP flag. This is the end of the (undocumented) UP_SLEEP variable and introduction of the UP_TIMEOUT (in seconds, default: 5) variable. This has 'noticeable speed improvement'-potential.
2012-06-12New style to check command availabilityJouke Witteveen1-2/+3
When we don't really care which file implements the needed command (i.e. we don't call it by its full path), we use type to establish availability of the command. In wifi-menu we add a check for the dialog command and remove potential clearing of relevant error messages.
2012-05-17Wait for DAD when using IPv6 (FS#28887)Jouke Witteveen1-1/+1
In IPv6 you cannot bind to an address as long as it is not determined to be unique through Duplicate Address Detection. This can cause problems when routes in ROUTES6 reference a tentative source address or when something that starts after netcfg tries to. This patch does a few things: - Improve ROUTES(6) logic so that non-static connections can make use of them as intended according to the commit message of c8be1. - Make additional arguments possible for ADDR6 addresses and ROUTES6 routes, such as ADDR6=('1234:5678:9abc:def::1/64 nodad'). - Introduce a DAD_TIMEOUT variable that governs how long to wait for DAD to finish. - Move IPCFG processing to after IPv6 address set-up (it already was after IPv4 address set-up), so that custom commands can be sure to have working addresses. WARNING: This changes make it impossible to use ROUTES6 and set the address through IPCFG instead of ADDR6. This was bad, unsupported practice, but sometimes needed as ADDR6 did not allow config flags to be used. Resolving this issue should be no problem: you should be able to properly use ADDR6 now. If not, then be a real hacker and set the routes through IPCFG too. Many thanks to Steve Caligo for reporting this bug and helping out in finding a solution.
2012-03-27Uniformize SUBR_DIR quotingJouke Witteveen1-1/+1
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
2012-03-01Code quality upgradeJouke Witteveen1-35/+38
This is what you get when Dave Reisner points you at some bash anti-patterns. Also in this commit: - updated documentation - bugfix revision of the IPv6 SLAAC address/route bug
2012-02-22Add wireless connection aidJouke Witteveen1-0/+260
wifi-menu is a tool that lets you connect to a wireless network from the console. It is aware of your netcfg profiles and can write them for you.