summaryrefslogtreecommitdiffstats
path: root/src/lib/connections
AgeCommit message (Collapse)AuthorFilesLines
2013-10-21Specify the local side of a tunnel early (FS#36711)Jouke Witteveen2-8/+6
Needed in case the remote side of a tunnel is set to 'any'.
2013-07-28Fix TypoJustin1-1/+1
Add missing "$" in variable call.
2013-07-24Use iproute2 for bridging (FS#36165)Jouke Witteveen1-10/+9
This sheds the dependency on the old bridge-utils (brctl).
2013-07-21Introduce sedJouke Witteveen1-1/+1
Instead of filtering results from grep, we can also just use sed. Installations having grep can be expected to have sed as well.
2013-06-16Fix default interface bindings (third time)Jouke Witteveen4-6/+6
The declare builtin defaults to making variables local. Previous attempts: 711c46457ae9fef52c7c529d89c67d0d526f73ef e8210827fd59e4539a70af55cb452b211633fedd
2013-05-21Expose the 'maxfail' option for ppp connectionsJouke Witteveen2-2/+2
2013-05-06Improve array handlingJouke Witteveen4-4/+4
When interpreted as an array, the empty string represents a 1-element array consisting of the empty string. This is actually very reasonable. Reported by: Thomas Bächler <thomas@archlinux.org>
2013-05-01Remove the last traces of netcfgJouke Witteveen1-1/+1
2013-04-23Small review of PPP related connections (take 2)Jouke Witteveen2-2/+2
The previous take did not contain the stuff that initially motivated rewriting the quoting function. The code of both PPP connection types is still sub-par, but at least functionally, it is a little better now.
2013-04-18Small review of PPP related connectionsJouke Witteveen2-40/+40
The most important change is that we now bring the interface down correctly in pppoe_down.
2013-04-18add command to turn modem on, fix pin commandLeo von Klenze1-1/+2
2013-04-15Allow group-accessible tuntap devicesJouke Witteveen1-1/+1
The tuntap connection type requires both a User and a Group to be defined. However, when configuring a tuntap device in the kernel, the device's uid and gid must both match for someone to be able to use the device. The only way to create a tuntap device accessible to a group of users is therefore to avoid specifying the user argument to "ip tuntap add". Reported by: A Web
2013-04-15Fix naming of IEEE 802 working groupsJouke Witteveen2-6/+6
Use 'wpa' to refer to the 802.11i and 802.1x client side software (wpa_supplicant) in general.
2013-04-10Uniformize modelinesJouke Witteveen7-7/+7
2013-04-10Changed connections to use underscores.Robbie Smith1-10/+10
2013-04-08Code tidying up. Renamed mobile connection to mobile-ppp.Robbie Smith2-148/+147
Also: - Replaced echos with invocations of cat, where possible. - Fixed PIDFILE to point to the file ppp creates. This ensures the interface can be brought down. - Fixed setting of InterfaceRoot. - Removed vim syntax highlighting from ethernet connection.
2013-04-08Added ppp mobile by porting from netcfg.Robbie Smith1-0/+148
2013-03-25Fix pppoeJouke Witteveen1-1/+1
The up/down functions don't take arguments as they did in netcfg.
2013-03-22More possibilities for connection scriptsJouke Witteveen4-0/+6
This allows connection scripts to provide defaults, among other things.
2013-03-18Unhardcode pathsJouke Witteveen3-4/+6
Remove distribution-specific paths (and allow overrides).
2013-03-12connections/vlan: fix BindsToInterfaces length calculationFlorian Pritz1-1/+1
${#array[@]} requires "[@]" to count the array members. Otherwise it will return the length of the first element which will hardly ever be 1. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-05Move the location for profilesJouke Witteveen1-1/+1
Old location: /etc/network.d New location: /etc/netctl This should ease migration from netcfg and is a better path anyway.
2012-12-30Drop the Scan parameterJouke Witteveen1-9/+1
It was quite useless.
2012-12-28Forking netcfg to netctl (2/2)Jouke Witteveen8-460/+202
This commit contains the refactoring and rewriting of code.
2012-12-28Forking netcfg to netctl (1/2)Jouke Witteveen9-0/+677
This commit contains the moving of files.