summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2009-05-12remove accidentJames Rayner1-0/+0
2009-05-12Add documentation for both types of ethernet and wireless connectionsJames Rayner6-1/+175
2009-05-07Add reconnect option to netcfg and improve clean optionJames Rayner1-1/+6
2009-05-07remove infinite loop causing wireless to failJames Rayner1-5/+0
2009-05-01Working WEP support via dbus/wpa_supplicantJames Rayner1-11/+8
2009-04-29undo WPA and ethernetAndrea Scarpino1-1/+12
2009-04-29added example for opened wireless connectionAndrea Scarpino1-0/+5
2009-04-29ethernet doesn't need check for wpaAndrea Scarpino1-12/+0
2009-04-29set SECURITY to none if not setAndrea Scarpino1-0/+3