aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dhclientv6: Add DHCPv6 support via dhclientbug450326Daniel Solano Gómez2013-08-286-6/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds DHCPv6 support to OpenRC in Linux using dhclient as outlined by Stuart Longland at <http://stuartl.longlandclan.yi.org/blog/2011/02/15/gentoo-and-dhcpv6/>. The main place where the new support is added is via a modified copy of the dhclient.sh script that: - Renames functions using a 'v6' suffix - Uses a different pid file - Uses the '-6' argument when invoking dhclient - Recognizes new DHCPv6-specific configuration variables with a fallback to the DHCP configuration variables. Additionally: 1. The iproute2 and Linux ifconfig scripts have been ammended to be able to return IPv6 addresses using new '_get_inet6_address' and '_get_inet6_addresses' functions. 2. The 'net.lo' init script now has a '_show_address6' function. 3. The documentation in the Linux net.example now contains some DHCPv6 information. Reported-by: Dustin C. Hatch <admiralnemo@gmail.com> X-Gentoo-Bug: 150908 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=150908 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Update credits.Robin H. Johnson2013-08-281-1/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* ifconfig: support ipv6 routes without default prefix.Alexander Tsoy2013-08-281-3/+5
| | | | | | | | ifconfig module does not support IPv6 routes without default prefix, eg "-net ::/0" Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 442594
* bonding: update exampleRobin H. Johnson2013-08-281-1/+3
| | | | | | | | Document per Kernel bonding.txt that some parameters are mutually exclusive, eg miimon & arp_*. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 468964
* net/iproute2: increase default dad_timeout to 10sRobin H. Johnson2013-08-283-10/+14
| | | | | | | | | If you have a NIC that takes a long time to come up, the previous default of 5 seconds is too low, because the card might not be available yet. Increase the default to 10 seconds. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 482300
* fixed paths for arping tool due to ~arch iputils path migration, bug 458090Ian Stakenvicius2013-08-272-2/+2
|
* Avoid brokeness.Robin H. Johnson2013-08-261-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Merge branch 'bug482364'Robin H. Johnson2013-08-251-1/+1
|\ | | | | | | | | * bug482364: Clarify the "no configuration specified" message
| * Clarify the "no configuration specified" messageWilliam Hubbs2013-08-241-1/+1
| | | | | | | | | | | | | | | | | | This is not quite correct. The part that is not specified is config_${IFVAR}. It is possible to configure an interface to use DHCP but not specify an address. X-Gentoo-Bug: 482364 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482364
* | Bug #460756: Make clip module quiet.Robin H. Johnson2013-08-251-1/+2
|/ | | | | | | | | This is a workaround as OpenRC is no longer silent on errors even with --quiet. Bug #482396 tracks the OpenRC issue. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 460756 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=460756
* Merge README files.Robin H. Johnson2013-08-242-13/+14
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Merge remote-tracking branch 'origin/bug481970'Robin H. Johnson2013-08-233-3/+21
|\
| * drop _has_carrier check from ipv6_tentative since it doesn't do what we ↵Ian Stakenvicius2013-08-223-3/+21
| | | | | | | | | | | | expect, and add new dad_timeout option defaulting to 5s for bug 481970 Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
* | Merge remote-tracking branch 'origin/bug481080'Robin H. Johnson2013-08-231-4/+12
|\ \
| * | Updated README to something a bit more generic and complete, since this is ↵Ian Stakenvicius2013-08-221-4/+12
| |/ | | | | | | | | | | now a standalone package (see bug 481080) Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
* | Merge branch 'master' into bug446606Robin H. Johnson2013-08-236-8/+236
|\ \
| * | swap $IFACE for $IFVAR on eval's in net/vlan.shAndreas Kinzler2013-08-231-8/+8
| | | | | | | | | | | | | | | | | | Signed-off-by: Ian Stakenvicius <axs@gentoo.org> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 469852
| * | Other files to have.Robin H. Johnson2013-08-232-0/+33
| | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * | CREDITS: give credit where dueRobin H. Johnson2013-08-231-0/+80
| | | | | | | | | | | | | | | | | | | | | Do some software archeology and try to credit most of the people who have code in netifrc. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * | Bring in relevant parts of FEATURE-REMOVAL-SCHEDULE.Robin H. Johnson2013-08-231-0/+26
| | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * | We are sticking to the OpenRC style guide.Robin H. Johnson2013-08-231-0/+89
| |/ | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* / apply routing policy rules before routes if a config option is set, bug 446606Ian Stakenvicius2013-08-212-29/+47
|/ | | | Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
* rename package to netifrc0.1William Hubbs2013-08-094-4/+4
|
* Makefile: fix parallel build issueWilliam Hubbs2013-04-091-1/+1
| | | | | In the main Makefile, the installafter target should have a dependency on realinstall to make sure it is processed in the correct order.
* init.d: rearrange MakefileWilliam Hubbs2013-04-091-3/+2
|
* doc: add READMEWilliam Hubbs2013-04-072-0/+5
| | | | | | | | This is the information that was stored in /etc/conf.d/net while these scripts were part of OpenRC. Moving it to the doc directory means that there is no longer a conf.d/net file to worry about with upgrades. This is not a regression since the default conf.d/net was only comments and was meant to be replaced.
* initial commit ported from OpenRcWilliam Hubbs2013-04-0661-0/+8381