Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244458

Re: trying to get bookworm net going on an rpi4

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: trying to get bookworm net going on an rpi4
Date 2022-01-23 23:50 +0100
Message-ID <DITQl-5CL-5@gated-at.bofh.it> (permalink)
References <DIShA-4QU-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Sun, Jan 23, 2022 at 04:08:34PM -0500, gene heskett wrote:
> So what is the official, works in bookworm every time, way to totally 
> kill ipv6, making it use ipv4 for everything?

You don't need to; having IPv6 active doesn't cause any problem even
if you don't have a default route that supports IPv6. If it does
cause a problem then there is a misconfiguration to be solved. You are
wasting your time and introducing more places where you can make a
configuration error resulting in yet another of your megathreads¹.

However, if for your own eccentric reasons you insist:

# echo 'net.ipv6.conf.all.disable_ipv6=1' > /etc/sysctl.d/disableipv6.conf

will disable it from the next boot.

You can use:

# sysctl --system

to re-apply all sysctl configs immediately, so disabling IPv6
without needing to reboot.

> This ought to be in a faq somewhere. Except everybody has their own 
> method. :(

The first google hit for "debian disable IPv6" is:

    https://www.itzgeek.com/how-tos/linux/debian/how-to-disable-ipv6-on-debian-9-ubuntu-16-04.html

which includes the above method. It's not a great page but it does
contain that info.

So even this highly unusual requirement has a very easy to find
solution.

Regards,
Andy

¹ Your decision to use Debian testing seems likely to generate some
  more of those threads. But I expect you won't be persuaded to
  stick with stable.

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

trying to get bookworm net going on an rpi4 gene heskett <gheskett@shentel.net> - 2022-01-23 22:10 +0100
  Re: trying to get bookworm net going on an rpi4 "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-23 22:30 +0100
    Re: trying to get bookworm net going on an rpi4 gene heskett <gheskett@shentel.net> - 2022-01-23 23:30 +0100
      Re: trying to get bookworm net going on an rpi4 "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-24 00:00 +0100
  Re: trying to get bookworm net going on an rpi4 deloptes <emanoil.kotsev@deloptes.org> - 2022-01-23 22:50 +0100
  Re: trying to get bookworm net going on an rpi4 Andy Smith <andy@strugglers.net> - 2022-01-23 23:50 +0100
    Re: trying to get bookworm net going on an rpi4 gene heskett <gheskett@shentel.net> - 2022-01-24 00:30 +0100
      Re: trying to get bookworm net going on an rpi4 Andy Smith <andy@strugglers.net> - 2022-01-24 01:40 +0100
      Re: trying to get bookworm net going on an rpi4 "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-24 08:40 +0100
        Re: trying to get bookworm net going on an rpi4 gene heskett <gheskett@shentel.net> - 2022-01-24 12:00 +0100
    Re: trying to get bookworm net going on an rpi4 deloptes <emanoil.kotsev@deloptes.org> - 2022-01-24 00:30 +0100
      Re: trying to get bookworm net going on an rpi4 Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-25 11:10 +0100
    Re: trying to get bookworm net going on an rpi4 Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-25 11:30 +0100

csiph-web