summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-05-22netcfg version 2.5.5Rémy Oudompheng1-1/+1
2011-03-16replace dhcpcd -x with dhcpcd -k (FS#23293)Andrea Scarpino1-1/+1
2011-02-05Add vlan support to netcfgThomas S Hatch1-0/+40
2011-01-22Merge openvpn support (FS#21490)Andrea Scarpino1-0/+57
2011-01-20Change default wpa driver to nl80211,wext - requires wpa_supplicant 0.7Thomas Bächler2-2/+2
2010-11-21Make sure $STATE_DIR and expected subdirs are createdJesse Young1-5/+12
Signed-off-by: Jesse Young <jesse.young@gmail.com>
2010-11-21FS#21755 - Add option to skip no-carrier test, SKIPNOCARRIER=yes/noJames Rayner1-1/+1
2010-11-21FS#17546 - Don't prevent unmounting if netcfg run in transiently mounted ↵James Rayner1-0/+3
directory & children retain cwd
2010-11-21FS#20150 - 802.11x: correct state check, handle disconnectJames Rayner2-3/+17
2010-11-21FS#20569 - cleaner handling of ppp disconnectionJames Rayner1-1/+7
2010-07-13wireless: HIDDEN option: use checkyesno function instead of custom checkThomas Bächler1-3/+1
2010-07-13wireless: Add support for hidden ssidThomas Bächler1-0/+7
2010-02-21netcfg v2.5.4James Rayner1-1/+1
2010-02-21Add simple bridging supportThomas Bächler1-0/+51
2010-02-21Add adjustable netmask to IP='static'James Rayner1-2/+3
2010-02-21netcfg v2.5.3James Rayner1-1/+1
2010-02-21Fix FS#18391, FS#18385, broken rfkill, handle hard more appropriatelyJames Rayner2-23/+22
2010-02-18netcfg v2.5.2James Rayner1-1/+1
2010-01-31netcfg v2.5.1James Rayner1-1/+1
2010-01-31netcfg v2.5.0James Rayner1-1/+1
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 Rayner1-0/+5
2009-12-31netcfg v2.5.0rc2James Rayner1-1/+1
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-11-18FS#14509 - add DHCLIENT_OPTIONS for dhclient based setupJames Rayner1-1/+1
2009-11-14netcfg v2.5.0rc1James Rayner1-1/+1
2009-11-14finish net-auto-wired, tested and added to MakefileJames Rayner1-1/+1
2009-10-19Documentation updateJames Rayner1-1/+1
2009-10-03connections/ethernet: Don't incorrectly return indicating failureJames Rayner2-4/+2
2009-09-27Add stop to netcfg-wpa_actiond, default to WPA2, then WPA.James Rayner1-2/+2
2009-09-27Rename autowifi->wpa_actiond, add makefile, bugfixJames Rayner1-2/+2
2009-09-27Remove wpa generation duplication, fix wep/none-oldJames Rayner2-39/+52
2009-09-27Only flush when disabling wireless interface, tidy up down/forcedownJames Rayner3-18/+15
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 Rayner5-232/+83
2009-09-14Rename set_interface to bring_interfaceJim Pryor4-13/+13
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-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>
2009-09-14src/network tweaksJim Pryor1-21/+37
* changed some report_fails that were called without any preceding report_try --> report_err * deploy new check_iface functionality to profile_up and profile_down and interface_down * have profile_up/down report_debug the results of check_iface * the call to interface_down doesn't need to be sandboxed; all the profile sourcing functions it calls as subroutines do their own sandboxing. Don't they? * added missing INTERFACE="$1" to check_iface * tweaks to bring_interface Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14Consolidate check_iface and get_iface_profJim Pryor1-25/+13
1. Change the behavior of check_iface to match that of get_iface_prof (that is, echo either "external" or the profile name, and return 0=true, or echo nothing and return 1=false). 2. Then eliminate get_iface_prof. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14load hooks only from /usr/lib/network/hooksJim Pryor1-10/+4
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
2009-09-14revert regexp ESSID patchesJim Pryor3-26/+14
Signed-off-by: Jim Pryor <profjim@jimpryor.net>