Age | Commit message (Collapse) | Author | Files | Lines |
|
The pid file contains more than just the pid: on the second line it
records the interface pppd manages.
|
|
The following changes introduced in Bash 4.3 necessitate this commit:
- Setting the array attribute no longer initializes an array.
- Empty-but-set arrays no longer pass [[ -v ]].
Previous attempts:
feb669f4b2a15e6ea1d84be336f12be4650f9d2d
711c46457ae9fef52c7c529d89c67d0d526f73ef
e8210827fd59e4539a70af55cb452b211633fedd
|
|
- Don't bring an interface down if it is not brought up for wireless
connections.
- Often, `read` needs '-r'.
|
|
|
|
|
|
|
|
|
|
Ifenslave is deprecated according to the kernel documentation:
https://www.kernel.org/doc/Documentation/networking/bonding.txt
It also added an additional, unnecessary dependency. I tried to update
the documentation to reflect this change.
|
|
This should at some point take care of most PPP use cases, but
currently is just a frontend to pppoe. The main difference is that the
new connection type keeps track of profiles by their 'dynamic' interface
name. Hence it is not wise to use both pppoe and ppp profiles.
|
|
Support for additional DHCP clients is now easy to add.
|
|
The main benefit is the possibility to use interface hooks for links
that are created at runtime.
|
|
After several requests, here is SkipDAD to bypass Duplicate Address
Detection.
|
|
It is not of much use.
|
|
Now a bit more verbose when useful.
|
|
- Refactorization of option file generation
- Introduction of optional additional pppd options file specification
- Introduction of unit specification option for pppoe connections
|
|
|
|
Testing whether transmission is blocked at all is now possible through
[[ -n $(rf_status "$Interface" "$RFKill") ]]
|
|
Needed in case the remote side of a tunnel is set to 'any'.
|
|
Add missing "$" in variable call.
|
|
This sheds the dependency on the old bridge-utils (brctl).
|
|
Instead of filtering results from grep, we can also just use sed.
Installations having grep can be expected to have sed as well.
|
|
The declare builtin defaults to making variables local.
Previous attempts:
711c46457ae9fef52c7c529d89c67d0d526f73ef
e8210827fd59e4539a70af55cb452b211633fedd
|
|
|
|
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>
|
|
|
|
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.
|
|
The most important change is that we now bring the interface down
correctly in pppoe_down.
|
|
|
|
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
|
|
Use 'wpa' to refer to the 802.11i and 802.1x client side software
(wpa_supplicant) in general.
|
|
|
|
|
|
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.
|
|
|
|
The up/down functions don't take arguments as they did in netcfg.
|
|
This allows connection scripts to provide defaults, among other things.
|
|
Remove distribution-specific paths (and allow overrides).
|
|
${#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>
|
|
Old location: /etc/network.d
New location: /etc/netctl
This should ease migration from netcfg and is a better path anyway.
|
|
It was quite useless.
|
|
This commit contains the refactoring and rewriting of code.
|
|
This commit contains the moving of files.
|