Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Make "rtsol" functional again.



details:   https://anonhg.NetBSD.org/src/rev/2da53f9a5d3a
branches:  trunk
changeset: 955795:2da53f9a5d3a
user:      kim <kim%NetBSD.org@localhost>
date:      Sun Oct 11 22:38:48 2020 +0000

description:
Make "rtsol" functional again.

diffstat:

 etc/rc.d/network             |   7 +++++--
 share/man/man5/ifconfig.if.5 |  17 +++++++++--------
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (61 lines):

diff -r 98b7fbd83d4c -r 2da53f9a5d3a etc/rc.d/network
--- a/etc/rc.d/network  Sun Oct 11 22:14:55 2020 +0000
+++ b/etc/rc.d/network  Sun Oct 11 22:38:48 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: network,v 1.82 2020/09/08 12:52:18 martin Exp $
+# $NetBSD: network,v 1.83 2020/10/11 22:38:48 kim Exp $
 #
 
 # PROVIDE: network
@@ -325,7 +325,10 @@
                                ;;
                        rtsol)
                                if ! checkyesno dhcpcd; then
-                                       /sbin/dhcpcd -n --ipv6rs \
+                                       /sbin/dhcpcd -n -f /dev/null \
+                                               --background --persistent \
+                                               --noipv4 --nodhcp6 \
+                                               --ipv6ra_noautoconf \
                                                ${dhcpcd_flags} $int
                                fi
                                ;;
diff -r 98b7fbd83d4c -r 2da53f9a5d3a share/man/man5/ifconfig.if.5
--- a/share/man/man5/ifconfig.if.5      Sun Oct 11 22:14:55 2020 +0000
+++ b/share/man/man5/ifconfig.if.5      Sun Oct 11 22:38:48 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ifconfig.if.5,v 1.20 2020/04/17 13:36:48 kim Exp $
+.\"    $NetBSD: ifconfig.if.5,v 1.21 2020/10/11 22:38:48 kim Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -96,20 +96,21 @@
 .Pp
 If the line is equal to
 .Dq rtsol ,
-kernel processing of router advertisements will be enabled and an IPv6
-router solicitation message will be sent out on the interface.
+a dedicated
+.Xr dhcpcd 8
+process will be started for processing received router advertisements
+and sending out IPv6 router solicitation messages on the interface.
 This is useful on networks where default routes can best be learned
 from router advertisements.
 However, if
 .Sy dhcpcd
 has been set to true in
 .Xr rc.conf 5 ,
-it is assumed that
+it is assumed that that
 .Xr dhcpcd 8
-will take care of sending any necessary router solicitation messages and
-processing received router advertisements through its configuration in
-.Xr dhcpcd.conf 5
-instead.
+process will take care of sending any necessary router solicitation
+messages and processing received router advertisements on all
+interfaces, and therefore no per-interface process is started.
 .Pp
 If a line is empty, or starts with
 .Sq # ,



Home | Main Index | Thread Index | Old Index