Module Name: src Committed By: nia Date: Mon Oct 5 06:41:16 UTC 2020
Modified Files: src/share/man/man8: afterboot.8 Log Message: ifconfig up before doing wifi stuff To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/share/man/man8/afterboot.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man8/afterboot.8 diff -u src/share/man/man8/afterboot.8:1.73 src/share/man/man8/afterboot.8:1.74 --- src/share/man/man8/afterboot.8:1.73 Mon Aug 24 12:58:16 2020 +++ src/share/man/man8/afterboot.8 Mon Oct 5 06:41:16 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: afterboot.8,v 1.73 2020/08/24 12:58:16 nia Exp $ +.\" $NetBSD: afterboot.8,v 1.74 2020/10/05 06:41:16 nia Exp $ .\" $OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $ .\" .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu @@ -59,7 +59,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd August 24, 2020 +.Dd October 5, 2020 .Dt AFTERBOOT 8 .Os .Sh NAME @@ -450,8 +450,9 @@ network={ } .Ed .Pp -Then start the necessary daemons: +Then bring up the interface and start the necessary daemons: .Bd -literal -offset indent +.Ic ifconfig iwm0 up .Ic service wpa_supplicant onestart .Ic service dhcpcd onestart .Ed @@ -459,6 +460,7 @@ Then start the necessary daemons: To automatically connect at boot, add the following to .Pa /etc/rc.conf : .Pp +.Dl ifconfig_iwm0="up" .Dl dhcpcd=YES .Dl wpa_supplicant=YES .Pp