Date: Sun, 22 Jan 2023 20:06:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 172532] service routing restart always fails Message-ID: <bug-172532-227-2OAQ0NeWqe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-172532-227@https.bugs.freebsd.org/bugzilla/> References: <bug-172532-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D172532 Graham Perrin <grahamperrin@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grahamperrin@freebsd.org Keywords|patch | Summary|[rc] [patch] service |service routing restart |routing restart always |always fails |fails | Assignee|bugs@FreeBSD.org |net@FreeBSD.org Severity|Affects Only Me |Affects Many People --- Comment #4 from Graham Perrin <grahamperrin@freebsd.org> --- I can't guess whether the patch here is still applicable, I do know that I'm always left without Internet connectivity after running the command:=20 service routing restart ---- root@mowa219-gjp4-8570p-freebsd:~ # uname -KU 1400078 1400078 root@mowa219-gjp4-8570p-freebsd:~ # service routing restart delete host 127.0.0.1: gateway lo0 default 192.168.1.1 -fib 0 done delete host ::1: gateway lo0 delete net fe80::: gateway ::1 delete net ff02::: gateway ::1 delete net ::ffff:0.0.0.0: gateway ::1 delete net ::0.0.0.0: gateway ::1 delete net default: gateway 2001:470:1f1c:a0::1 add host 127.0.0.1: gateway lo0 add host ::1: gateway lo0 add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net default: gateway 2001:470:1f1c:a0::1 root@mowa219-gjp4-8570p-freebsd:~ #=20 ---- A longhand workaround that I found, through many hours of trial and error (= my current use case includes em(4) and iwn(4), with wired network service near= ly always available):=20 ls /var/run/resolvconf/interfaces/ ; route delete default ; ifconfig wlan0 = down && ifconfig em0 down && sleep 5 ; ls /var/run/resolvconf/interfaces/ ; ifco= nfig em0 up && sleep 15 ; ls /var/run/resolvconf/interfaces/ ; cat /etc/resolv.c= onf ; ping -c 2 -6 freshports.org --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-172532-227-2OAQ0NeWqe>