summaryrefslogtreecommitdiffstats
path: root/src/connections
AgeCommit message (Collapse)AuthorFilesLines
2011-07-17ethernet: specify device name explicitly when setting gatewaysRémy Oudompheng1-4/+4
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-07-14Don't rely on wpa_cli reconfigure to reload wpa.confRémy Oudompheng1-6/+9
It seems to sometimes prevent wpa_supplicant to associate properly.
2011-07-14Rework comment formatting.Rémy Oudompheng1-0/+5
Avoid duplicating function names in docstrings, and adopt a style similar to doxygen. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-07-03ethernet: also stop dhclient when used for DHCPv6Rémy Oudompheng1-0/+8
2011-07-03BSSID: fix AP variable and set it to lowercase (FS#24806)Thomas Lucke (Lucky)1-1/+1
2011-07-03ethernet: correctly stop dhclient when bringing down interfaces (FS#23293)Xavion1-3/+13
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-19Add basic tuntap IP configuration capabilitiesRémy Oudompheng1-0/+4
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-19Remove last usage of wireless_tools.Rémy Oudompheng1-10/+8
Interface is brought up after starting wpa_supplicant for this to work. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-19Replace iwgetid usage by wpa_cli.Rémy Oudompheng1-1/+1
2011-06-19Rename wireless module to 'rfkill', remove wep_checkRémy Oudompheng1-2/+1
2011-06-19Switch to wpa_supplicant for scanningRémy Oudompheng1-26/+37
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-19Store wpa_supplicant configuration in /run/network instead of /tmpRémy Oudompheng1-1/+1
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-19wireless: remove deprecated options none-old/wep-oldRémy Oudompheng1-52/+9
They will be automatically replaced by 'none' and 'wep' and emit a warning message. The associated function iwconfig_up is removed. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-18Add the ability to disable IPv6 configuratioin ethernet-staticGeert Hendrickx1-4/+5
Also-Contributed-By: Olivier Mehani <olivier.mehani@nicta.com.au> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-13IPv6: remove PREFIXLEN option and turn ADDR6 into an arrayRémy Oudompheng1-5/+6
This allows configuring multiple IPv6 addresses on the same interface. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-13bridge: add FWD_DELAY and MAX_AGE options (FS#16625)Rémy Oudompheng1-0/+7
Bridge support is quite rudimentary and should support common options. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11More replacing /var/run by /runRémy Oudompheng1-4/+4
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11Move more PID files to /runRémy Oudompheng1-2/+2
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11IPv6: add DHCPv6 support.Olivier Mehani1-1/+21
This needs dhclient to work properly. Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11IPv6: add support for stateless autoconfigurationOlivier Mehani1-1/+5
Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11IPv6: support for IPv6 static routesOlivier Mehani1-0/+10
Use variable ROUTES6 in the same way as ROUTES to support static IPv6 routes. Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11IPv6: add support for static configuration.Olivier Mehani1-0/+30
Enabled by "IP6=static": it uss parameters ADDR6, GATEWAY6, IP6CFG similar to their IPv4 counterparts, as well as an additional PREFIXLEN parameter. Signed-off-by: Olivier Mehani <shtrom-arch@ssji.net> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-06-11No longer use the hostname commandRémy Oudompheng1-1/+1
2011-06-05Correct permissions on connections/vlanRémy Oudompheng1-0/+0
2011-06-05Add support for creating tun/tap interfaces (without configuration)Rémy Oudompheng1-0/+34
2011-05-29Add support for static routesOlivier Mehani1-0/+8
Add netcfg configuration option "ROUTES" to setup static routes. This is done regardless of whether the IP address is configured using a DHCP or statically. ROUTES is an array cantaining entries of the form "DESTINATION[/NETMASK] [via ROUTER]" which are directly used in an “ip route add” command. Signed-off-by: Olivier Mehani <shtrom-arch@ssji.net> Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
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ächler1-1/+1
2010-11-21FS#21755 - Add option to skip no-carrier test, SKIPNOCARRIER=yes/noJames Rayner1-1/+1
2010-11-21FS#20150 - 802.11x: correct state check, handle disconnectJames Rayner1-1/+14
2010-11-21FS#20569 - cleaner handling of ppp disconnectionJames Rayner1-1/+7
2010-02-21Add simple bridging supportThomas Bächler1-0/+51
2010-02-21Add adjustable netmask to IP='static'James Rayner1-2/+3
2010-02-21Fix FS#18391, FS#18385, broken rfkill, handle hard more appropriatelyJames Rayner1-20/+2
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-10-03connections/ethernet: Don't incorrectly return indicating failureJames Rayner1-0/+1
2009-09-27Remove wpa generation duplication, fix wep/none-oldJames Rayner1-36/+19
2009-09-27Only flush when disabling wireless interface, tidy up down/forcedownJames Rayner2-12/+9
2009-09-25Large rework of wireless to use wpa_supplicantJames Rayner1-93/+78
* 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 Rayner2-9/+13
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 Rayner1-57/+47
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 Rayner3-214/+75
2009-09-14Rename set_interface to bring_interfaceJim Pryor3-12/+12
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-14revert regexp ESSID patchesJim Pryor1-3/+1
Signed-off-by: Jim Pryor <profjim@jimpryor.net>