Age | Commit message (Collapse) | Author | Files | Lines |
|
50 is a better number for netcfg anyway.
|
|
We need to make sure no the systemd services are only considered
started when the network is actually up. Otherwise, things relying
on the network don't know when they can start.
This means that we need to use Type=forking or Type=oneshot, and in
the case of ifplugd we must daemonize and wait for the daemon to be
ready before we continue.
Also do some minor cleanup:
- don't include env files that are not used
- don't ignore return values
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
It is not enough to order ourselves Before network target, we must also
make sure it is pulled in. This means that anything that needs the network
to be up before they start can order themselves After=network.target.
Reported-by: Tobias Powalowski <tpowa@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Moved from the pm-utils package.
|
|
|
|
- Initscripts users are now offered familiar output.
- Configuration through /etc/rc.conf was not gracefully deprecated.
|
|
It is once again possible to use NET= at the kernel command line when using net-profiles.
|
|
|
|
Configuration is done through /etc/conf.d/netcfg.
Compatibility with configuration through /etc/rc.conf is dropped.
|
|
The netcfg service provides support for the NETWORKS array in /etc/conf.d/netcfg through netcfg-daemon.
The netcfg@ service allows individual profiles to be treated as services. These services wait until a connection is established (the other service has support for backgrounding)!
|
|
|
|
For reuse in a systemd service
|
|
/etc/rc.d/functions is owned by initscripts on which netcfg does not explicitly depend.
The revised layout is inspired by systemd.
|
|
Provide a sample hook file for supporting firewall rule sets based on network 'locations'.
|
|
Having multiple versions of netcfg around is not supported.
|
|
This will allow us to get rid of /lib eventually.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Add spaces where necessary.
|
|
Commit 6b43b missed the point.
As noted by Cláudio, Jesse Young, Maciej Sitarz and Harley Laue.
|
|
- wireless-dbus is not simple enough for netcfg
- some contributed code was not used and the rest of the code had caught up functionality wise
- we switched to iproute so we need to stop pretending it is an 'option'
- it is no longer fatal in the ifplugd scrict to have multiple preferred profiles
|
|
|
|
archlinux.org points to gudrun, but tarballs should be uploaded to
gerolde.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
- Introduce $SYSCTL_INTERFACE.
- Don't disable routing advertisements for stateful DHCPv6, as routes aren't sent by the DHCP server, but rely on routing advertisements to be picked up by the client.
By: Steve Caligo, Fixes FS#26259
|
|
- Use "-K" to prevent unnecessary remove/re-acquire a lease.
- Respect /etc/network.d/interfaces/$interface and the dhcp options set there when connecting without a matching profile. Also use the same options used in $CONN_DIR/ethernet.
Fixes by Thomas Bächler
|
|
|
|
This shaves a few kilobytes.
|
|
No need to keep support the "-old" syntax when it doesn't really do anything.
|
|
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
|
|
Bash completion does not deal properly with profile filenames that contain whitespace.
There are some minor tweaks in this commit as well, but those should be harmless.
|
|
Nothing special.
|
|
|
|
This commit does not change any installed code.
- The tarball now includes pre-built documentation, removing the build dependency on asciidoc from the PKGBUILD.
- The tarball is now xz compressed.
- News is updated.
|
|
-i is not a very cool parameter for downing an interface. Change it to -D so that it mirrors -R in the sense that a capital is used for interface-based actions.
The old behaviour is kept (undocumented) for backward compatibility.
Also a typo (iface-recont should have been iface-recon) is fixed.
Lastly some restrictions on profile naming are included in the documentation. The "should not start with '@'" is only for usage with net-profiles.
|
|
- As noted by Alfredo Palhares it is not always right to fail when the creation of symlinks did not succeed on installation through `make install`.
- Building a package is now as easy as `make pkgbuild; makepkg`, although you probably should not execute makepkg inside the source tree.
|
|
The use of cat in a subshell is distractive.
This makes the code more beautiful.
|
|
This justifies the asciidoc make dependency. Previously, pre-built documentation was supplied with the netcfg sources. Now only documentation source and the Makefile is provided.
|
|
|
|
- Documentation now uses asciidoc instead of pandoc.
- Documentation is updated.
- More documentation is installed.
- The Makefile has been revised.
- Autocompletion files must now be installed through the PKGBUILD.
- contrib/11netcfg has been deleted. It is unmaintained and duplicated in pm-utils. This closes FS#25587.
- contrib/common.hook has been deleted. It demonstrated a feature that the target audience is already familiar with and didn't work anyway. This closes FS#27496. Developers are free to write unwieldy scripts in the {PRE,POST}_{UP,DOWN} variables.
|
|
Remove some code that should not be used anymore. A 2.7 release seems the right point for some minor interface breaking.
|
|
This is what you get when Dave Reisner points you at some bash anti-patterns.
Also in this commit:
- updated documentation
- bugfix revision of the IPv6 SLAAC address/route bug
|
|
It is now possible to reconnect based on the name of the interface.
|
|
|
|
Known from the DAEMONS syntax in rc.conf, it is now possible to start netcfg profiles in the background.
This fixes FS#23934 which was reported by Andrej Podzimek (andrej).
|
|
|
|
|
|
As noted in FS#27496 we do not seem to use /etc/network.d/hooks.
The contrib scripts mostly function on their own and are not really hooks at all. Nevertheless, this commit doesn't touch them. It also doesn't remove the line in the manpage that refers to them.
|
|
wifi-menu is a tool that lets you connect to a wireless network from the console. It is aware of your netcfg profiles and can write them for you.
|
|
Fixes FS#26370.
|
|
It sources /etc/rc.d/functions, which is a bash script.
This fixes FS#28022 which was reported by jstjohn (jstjohn).
|
|
The latter is more advanced. This fixes FS#26607 which was reported by Olivier Mehani (shtrom).
|