summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-05-07Be more precise in the makefileJouke Witteveen2-4/+4
Previously the packagers username would be visible in the tarball and all files laying around in docs/ would be included.
2012-04-302.8.2 release updatesJouke Witteveen2-1/+6
2012-04-30use 'ip route replace' instead of 'ip route add'Phillip Smith1-2/+2
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.
2012-04-30Skip http -> https redirect on websiteDan McGee2-4/+4
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.
2012-04-30Output tweaks in netcfg-daemonJouke Witteveen1-4/+4
Don't try to bring down backgrounded profiles if they are not up, preventing "not connected" messages.
2012-04-30Move the website to a websiteJouke Witteveen4-8/+10
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).
2012-04-30Fix handling of profilenames with spaces (FS#28522)Jouke Witteveen2-2/+3
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.
2012-04-18add undocumented IP=no option to net-profiles man pagePhillip Smith1-2/+3
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.
2012-04-18Prevent ownership conflict with pm-utilsJouke Witteveen1-1/+1
50 is a better number for netcfg anyway.
2012-04-18systemd: wait for network to come upTom Gundersen2-5/+3
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>
2012-04-18systemd: pull in network.targetTom Gundersen4-0/+4
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>
2012-04-16Add pm-utils supportJouke Witteveen2-0/+27
Moved from the pm-utils package.
2012-04-162.8.1 release updatesJouke Witteveen2-1/+7
2012-04-16Add compatibilityJouke Witteveen2-22/+76
- Initscripts users are now offered familiar output. - Configuration through /etc/rc.conf was not gracefully deprecated.
2012-04-15Restore support for kernel command lineJouke Witteveen5-26/+30
It is once again possible to use NET= at the kernel command line when using net-profiles.
2012-04-132.8.0 release updatesJouke Witteveen4-5/+15
2012-04-11Remove obsolete references to /etc/rc.confJouke Witteveen5-6/+1
Configuration is done through /etc/conf.d/netcfg. Compatibility with configuration through /etc/rc.conf is dropped.
2012-04-11Systemd service filesJouke Witteveen3-2/+26
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)!
2012-04-11Fixes to the netcfg daemonJouke Witteveen1-10/+15
2012-04-11Add netcfg-daemonJouke Witteveen4-41/+81
For reuse in a systemd service
2012-04-11Rewrite output hook to not depend on initscriptsJouke Witteveen8-64/+100
/etc/rc.d/functions is owned by initscripts on which netcfg does not explicitly depend. The revised layout is inspired by systemd.
2012-04-10Location based firewall support (FS#26380)Jouke Witteveen2-1/+18
Provide a sample hook file for supporting firewall rule sets based on network 'locations'.
2012-04-10Remove multi-version supportJouke Witteveen4-8/+6
Having multiple versions of netcfg around is not supported.
2012-04-10systemd: move units from /lib to /usr/libTom Gundersen1-2/+2
This will allow us to get rid of /lib eventually. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-04-10Output fixesJouke Witteveen1-21/+16
Add spaces where necessary.
2012-04-10PPP disconnect fix (FS#20569)Jouke Witteveen1-2/+1
Commit 6b43b missed the point. As noted by Cláudio, Jesse Young, Maciej Sitarz and Harley Laue.
2012-04-09Remove wireless-dbus and ethernet-iproute supportJouke Witteveen5-377/+8
- 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
2012-04-09Minor changesJouke Witteveen3-11/+5
2012-04-04Makefile: fix dest for scpFlorian Pritz1-1/+1
archlinux.org points to gudrun, but tarballs should be uploaded to gerolde. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-032.7.3 release updatesJouke Witteveen2-1/+5
2012-04-03sysctl: use the correct key for interfaces with vlans (FS#26259)Jouke Witteveen1-7/+6
- 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
2012-04-03auto-wireless: improve dhcpcd callJouke Witteveen2-4/+6
- 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
2012-04-032.7.2 release updatesJouke Witteveen2-1/+5
2012-04-03Leave out javascript in html documentationJouke Witteveen1-1/+1
This shaves a few kilobytes.
2012-03-27Remove more deprecated codeJouke Witteveen2-9/+5
No need to keep support the "-old" syntax when it doesn't really do anything.
2012-03-27Uniformize SUBR_DIR quotingJouke Witteveen5-9/+9
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
2012-03-21Revised bash completionJouke Witteveen4-34/+26
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.
2012-03-20Just those things you notice _after_ a releaseJouke Witteveen3-12/+12
Nothing special.
2012-03-19Version 2.7.1Thomas Bächler1-1/+1
2012-03-19Release process changesJouke Witteveen5-20/+27
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.
2012-03-12Rename -i parameter to -DJouke Witteveen6-19/+20
-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.
2012-03-06More forgiving Makefile and added PKGBUILD creationJouke Witteveen2-5/+40
- 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.
2012-03-04Remove cat-subshells (cosmetic)Jouke Witteveen4-7/+7
The use of cat in a subshell is distractive. This makes the code more beautiful.
2012-03-04Build documentation at buildtimeJouke Witteveen2-6/+7
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.
2012-03-04Completion brought up to dateJouke Witteveen2-69/+73
2012-03-04Overhaul of documentationJouke Witteveen16-759/+637
- 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.
2012-03-03Remove deprecated codeJouke Witteveen7-45/+8
Remove some code that should not be used anymore. A 2.7 release seems the right point for some minor interface breaking.
2012-03-01Code quality upgradeJouke Witteveen22-144/+146
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
2012-02-27Reconnect syntax for interfaces (FS#28196)Jouke Witteveen4-8/+26
It is now possible to reconnect based on the name of the interface.
2012-02-23update the NEWS fileJouke Witteveen1-0/+3