summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2012-02-23Add backgrounding functionality to net-profilesJouke Witteveen4-8/+17
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).
2012-02-23Merge remote-tracking branch 'brain0/working'Jouke Witteveen2-0/+106
2012-02-23Minor spelling issuesJouke Witteveen1-2/+2
2012-02-22Remove a mostly obsolete directoryJouke Witteveen1-1/+1
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.
2012-02-22Add wireless connection aidJouke Witteveen2-0/+261
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.
2012-02-22Fix IPv6 SLAAC address/route bugChristoph Vigano1-1/+6
Fixes FS#26370.
2012-02-22ifplugd.action is a bash scriptJouke Witteveen1-1/+1
It sources /etc/rc.d/functions, which is a bash script. This fixes FS#28022 which was reported by jstjohn (jstjohn).
2012-02-22Make net-auto-wired more like net-auto-wirelessJouke Witteveen1-13/+25
The latter is more advanced. This fixes FS#26607 which was reported by Olivier Mehani (shtrom).
2011-12-08Add PPPoE connection supportThomas Bächler2-0/+106
2011-10-158021x: use an existing wpa_supplicant in scan_info() if available (FS#26036)Jouke Witteveen1-4/+14
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-10-15Uniformize systemd service files (FS#25854)Rémy Oudompheng1-2/+2
The proposed script for net-auto-wireless has been reported as non-working, change it to look like net-auto-wired. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-08-20bond: add example, fix missing quotes and typoRémy Oudompheng2-3/+12
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>