Age | Commit message (Collapse) | Author | Files | Lines |
|
iproute2 does not allow multiple default gateways in ipv6. this patch
uses 'ip route replace' which will replace an existing route, or add a
new one if none preexists.
|
|
I noticed most of your website links are http://; at least for
wiki/bbs/bugs these are all https so you might as well skip the
redirect and link directly to the secure site.
|
|
Don't try to bring down backgrounded profiles if they are not up, preventing "not connected" messages.
|
|
Give users a way to stumble upon this marvelous piece of literature that had completely been forgotten (it was introduced in the repository around netcfg 2.6, but never installed).
|
|
This was the result of commit b6964 which said to fix FS#17406 by reverting to the subshell-less for-loop that is once again removed in this commit.
The real fix to FS#17406 was commit c3276 to the initscripts repository.
|
|
There is support for IP='no' option in profiles to have the interface be
brought up but assign no addresses. This patch adds documentation of
that option to the man page.
|
|
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).
|
|
|