summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-15make wep_check more robustJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15give wireless-dbus smarter read_configJim Pryor1-3/+8
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15net-auto daemon file? already started?Jim Pryor1-4/+14
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Integrate netcfg-menu and net-profilesJim Pryor2-12/+42
* net-profiles will only attempt to control the profiles it was told to; if you manually netcfg a different interface, it will be left alone. (This also helps keep netcfg from stomping on other daemons that might be hooking into it.) Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15use subshells as sandboxes, and failing POST_UP/PRE_DOWN abortsJim Pryor1-18/+46
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Improve listing/iterating over profilesJim Pryor2-19/+27
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Improve debugging and error-reporting.Jim Pryor3-12/+13
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15document WPA_GROUPJim Pryor1-0/+3
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15grep tweaksJim Pryor5-11/+11
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15More secure temp WPA_CONFIG fileJim Pryor1-15/+13
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Don't overwrite existing $WEP_OPTSJim Pryor1-5/+7
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15ethernet_up will create resolv.conf also for $DNSJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Sanitize quotes for wpa_startJim Pryor1-0/+5
Arguments to wpa_start shouldn't be expanded until wpa_start receives them: so should be quoted by all calling functions. I added quotes throughout. In general, it seems wise to quote except when it's absolutely certain not to be needed---or you specifically _do_ want to expand arguments. In this case, it's extra important. Because this might be missed in later code, I also wrangled wpa_start so that it doesn't rely on WPA_OPTS being all in $3. One of these fixes would have sufficed, but what the hell I did both. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15wpa_cli, start/stop_wpa, wpa_check tweaksJim Pryor4-19/+28
* Supply -i switch to wpa_cli * Have wpa_check call stop_wpa on failure, instead of duplicating (only some of) the termination code. * Need brief sleep in termination code. * Note that functions which call wpa_check don't need to call stop_wpa themselves, when wpa_check fails. * Functions which call wpa_check and start_wpa are however responsible for all error reporting on failure. * Add some debugging calls to announce calls to wpa_start/wpa_check Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Make python script use i/o hooks tooJim Pryor1-17/+49
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Everyone use i/o functions from globals/hooksJim Pryor8-37/+17
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15netcfg current and netcfg listJim Pryor2-2/+32
These and "netcfg version" don't require root privileges. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-15Add contrib dir and logging hooksJim Pryor5-20/+127
* Add contrib/logging.hook * Update Makefile and manpage * Propose that hooks go into /etc, not /usr---latter should be shareable and possibly read-only, not good spot for user-configurable files like these. * Since we have hooks/arch as part of the package, this commit attempts to load hooks from both /usr/lib/network/hooks and /etc/network.d/hooks. (Executable hooks in /etc take precedence over hooks with same name from /usr.) * Need to load /etc/rc.conf before /etc/rc.d/functions (e.g. for USECOLORS) Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-08-10Erase any suspended profiles on a newly connected interfaceJames Rayner1-0/+13
2009-08-10allow interfaces to be marked as externally controlledJames Rayner1-14/+28
2009-08-10add missing globals and 'arch' hookJames Rayner2-0/+131
2009-08-10merge changes since revertJames Rayner8-93/+307
2009-08-10Add interface setting, a debug mode and interface setting hooksJames Rayner5-15/+25
2009-08-10merge improved find_ap/find_essidJames Rayner2-14/+55
2009-08-10merge logging code from Jim PryorJames Rayner8-81/+121
2009-08-10Add wireless+iproute support, extend wait for some slower cardsJames Rayner3-6/+10
2009-08-10Added basic rfkill support; prototype connection query supportJames Rayner3-1/+58
2009-08-10revert pryor patchJames Rayner23-1894/+496
2009-08-07remove generated docsJames Rayner4-302/+0
2009-08-07rename wireless fileJames Rayner1-0/+141
2009-08-07rename wireless fileJames Rayner1-141/+0
2009-08-07Patch from Jim PryorJames Rayner28-527/+2165
2009-06-27netcfg v2.2.1James Rayner2-2/+2
2009-06-27fix taking all profiles downJames Rayner1-1/+1
2009-06-27netcfg v2.2.0James Rayner2-2/+3
2009-06-27Workaround for FS#15072James Rayner1-1/+1
2009-06-06netcfg v2.2.0 beta 3James Rayner2-2/+2
2009-06-06Another attempt at a working link check, FS#13334James Rayner3-22/+11
2009-06-01netcfg v2.2.0 beta 2James Rayner2-2/+2
2009-05-19Fix FS#14761 and handle if no profiles are activeJames Rayner1-18/+19
2009-05-19typo (fix #14761)Andrea Scarpino1-2/+2
2009-05-19fix #14761 (again)Andrea Scarpino1-3/+3
2009-05-19fix #14761Andrea Scarpino1-15/+13
2009-05-18fixed typo by Robson Roberto Souza PeixotoAndrea Scarpino1-1/+1
2009-05-18netcfg v2.2.0 beta 1 (again)James Rayner1-1/+1
2009-05-18netcfg v2.2.0 beta 1 (again)James Rayner1-1/+1
2009-05-18netcfg v2.2.0 beta 1James Rayner1-1/+1
2009-05-18wireless: check if iface is real, stop wpa_supplicant on failuresJames Rayner3-19/+45
2009-05-12cosmetic fix to help message outputJames Rayner1-1/+1
2009-05-12improve netcfg help textJames Rayner1-6/+8