From 3a8472be2bf9cefffe6869d7364281875035abab Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 5 May 2020 09:41:47 -0600 Subject: [PATCH] FreeBSD tweak FreeBSD doesn't up the tap interface by default. Work around this by changing the default --- 0readme_ethernet.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/0readme_ethernet.txt b/0readme_ethernet.txt index 261680a9..c2814021 100644 --- a/0readme_ethernet.txt +++ b/0readme_ethernet.txt @@ -104,8 +104,9 @@ OpenBSD (OpenBSD 4.6) # Run simulator and "attach xq tap:tun0" -FreeBSD (FreeBSD 8.0) +FreeBSD (FreeBSD 11.3) + /sbin/sysctl net.link.tap.up_on_open=1 /sbin/ifconfig tap0 create /sbin/ifconfig tap0 up @@ -114,9 +115,6 @@ FreeBSD (FreeBSD 8.0) /sbin/ifconfig bridge0 up # Run simulator and "attach xq tap:tap0" - # Note: it seems that on FreeBSD you may have to - # "/sbin/ifconfig tap0 up" and "/sbin/ifconfig bridge0 up" prior to each - # time simh "attach"es the tap:tap0 device NetBSD (NetBSD 5.0.2)