summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-02-18fix FS#17190 properlyJames Rayner1-2/+3
2010-01-31netcfg v2.5.1James Rayner3-3/+6
2010-01-31Fix FS#17190, not exiting loop correctlyJames Rayner1-3/+3
2010-01-31Add missing wireless, wpa-configsection exampleJames Rayner1-0/+16
2010-01-31netcfg v2.5.0James Rayner2-2/+2
2010-01-31Make net-profiles take all networks down correctly, fix FS#17406James Rayner1-2/+2
2010-01-31Fix FS#17406, FS#17307James Rayner3-26/+16
2010-01-30Add early checks for optional dependenciesJames Rayner3-0/+16
2010-01-30Fix race, make wpa_supplicant wait for the wpa_actiond connectionJames Rayner1-0/+1
2009-12-31netcfg v2.5.0rc2James Rayner2-2/+2
2009-12-31fix error bringing interface downJames Rayner1-1/+1
2009-12-03network: is_interface ignoring $1Jim Pryor1-1/+2
Was the intent for is_interface to be passed the INTERFACE as a parameter (that's how it's called in most or all places)? Or to read INTERFACE from the current environment? That's how it's implemented. Also made INTERFACE in bring_interface a local variable. I don't think this should break anything, but I'm only 95% confident.
2009-12-03connections/ethernet: report_{debug,iproute} fixesJim Pryor1-2/+2
* fix report_debug filename * unecessary return after report_iproute * add another report_debug Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03connections/wireless: is_interface needed quotes, and wasn't exiting on failureJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03connections/wireless: add some quotesJim Pryor1-5/+5
Sometimes just for coding style (inside [[ ]]), othertimes a necessary precaution. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03netcfg.action: save static profiles in arrayJim Pryor1-6/+5
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03netcfg.action: permit down) method to exit 0, fix "list profiles" bugJim Pryor1-2/+2
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03netcfg.action: add quotesJim Pryor1-12/+12
Quotes aren't needed inside [[ ]] because that construction doesn't do word expansion. But I think (partly from my own urging) this is the style used throughout the rest of the code. And we should have the quotes in lines like: netcfg "$profile". Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03netcfg.action: missing extglob marker, don't try dhcp profiles twiceJim Pryor1-2/+4
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-12-03Makefile bugJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-11-18FS#14509 - add DHCLIENT_OPTIONS for dhclient based setupJames Rayner1-1/+1
2009-11-18FS#13418,FS#12505 - add zsh/bash completionJames Rayner4-34/+91
2009-11-18FS#16781 - missing quote, remove dbus examplesJames Rayner3-14/+1
2009-11-18FS#17148 - using extglob, need it setJames Rayner1-0/+1
2009-11-14netcfg v2.5.0rc1James Rayner2-2/+2
2009-11-14finish net-auto-wired, tested and added to MakefileJames Rayner3-12/+16
2009-11-07Tweak docs, add website generationJames Rayner7-2/+130
2009-11-07Prevent corrupting wpa-config WPA_CONF, rfkill on stopJames Rayner1-2/+11
2009-10-21Add initial net-auto-wired conceptJames Rayner2-0/+85
2009-10-19Documentation updateJames Rayner9-98/+149
2009-10-03connections/ethernet: Don't incorrectly return indicating failureJames Rayner2-4/+2
2009-09-29wpa_actiond-action: Properly quote arguments of the script, they might ↵Thomas Bächler1-7/+7
contain spaces (especially $profile)
2009-09-27Fix symlink creation in Makefile - it shouldn't point to the build directoryThomas Bächler1-1/+1
2009-09-27Add net-auto-wireless rc.d script for the wpa_actiond modeThomas Bächler2-1/+57
2009-09-27Fix wpa_actiond pid file in netcfg-wpa_actiond scriptThomas Bächler1-4/+4
2009-09-27Add stop to netcfg-wpa_actiond, default to WPA2, then WPA.James Rayner2-8/+22
2009-09-27Rename autowifi->wpa_actiond, add makefile, bugfixJames Rayner4-4/+5
2009-09-27Remove wpa generation duplication, fix wep/none-oldJames Rayner3-65/+54
2009-09-27Only flush when disabling wireless interface, tidy up down/forcedownJames Rayner3-18/+15
2009-09-27Fix incorrect continue, and config generationJames Rayner1-4/+4
2009-09-25Integrate netcfg into autowifiJames Rayner2-0/+132
This is implemented almost entirely as suggested by Thomas, and it depends on autowifi which is his work. autowifi-netcfg provides proper roaming and automatic wireless though wpa_supplicant. To run, use autowifi-netcfg $interface
2009-09-25Large rework of wireless to use wpa_supplicantJames Rayner2-97/+83
* Connect SECURITY=wep|none with wpa_supplicant * Separate out iwconfig based configuration as -old as a fallback for older hardware * Drop some old quirks, as they're mostly needed for iwconfig based or are needed by deprecated drivers * Drop wpa_passphrase and just generate a config.
2009-09-23Add WPA_DRIVER, WPA_COUNTRY and handle WEP string keysJames Rayner3-14/+19
WPA_DRVER: Configure the -D argument to wpa_supplicant, for example -Dnl80211 WPA_COUNTRY: Set the 'country=' variable in the wpa_supplicant configuration. WEP string keys: modified such that they may work. Not tested yet.
2009-09-22Fix silly codeJames Rayner1-18/+13
2009-09-22Rework wireless to use wpa_supplicant more, add CONFIGSECTION supportJames Rayner3-57/+69
CONFIGSECTION will be useful later on for integration with autowifi. It'll allow WPA configurations to be stored _in_ the profile, rather than separately. Experimentally, WEP/none support has been migrated to wpa_supplicant. Support for string keys has not yet been merged.
2009-09-22Merge connections ethernet/ethernet-iprouteJames Rayner10-235/+97
2009-09-14Rename set_interface to bring_interfaceJim Pryor5-17/+17
3. Change the name of "set_interface up/down..." to "bring_interface up/down" to differentiate it from the similarly-named, merely record-keeping functions. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14don't count profile as connected if it was suspended without a profile-downJim Pryor1-1/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14added more contrib/ filesJim Pryor5-49/+230
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14More localized sourcingJim Pryor2-23/+12
When we're sourcing a profile just to obtain a single variable, use the form: INTERFACE=$(. "$DIR/$profile"; echo "$INTERFACE") This makes it clearer in the source what we're expecting to obtain from the profile, and what we're ignoring. Also allows us to eliminate some more inclusive subshells. Signed-off-by: Jim Pryor <profjim@jimpryor.net>