Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205386
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Permanent Use of IPv4 |
| Date | 2019-02-15 17:00 +0100 |
| Message-ID | <xrO4a-5lu-1@gated-at.bofh.it> (permalink) |
| References | <xrNrr-57A-3@gated-at.bofh.it> <xrNB8-5aN-11@gated-at.bofh.it> |
| Organization | less than infinite |
Reco composed on 2019-02-15 18:23 (UTC+0300): > On Fri, Feb 15, 2019 at 10:13:14AM -0500, Stephen P. Molnar wrote: >> Thanks for help from this gropup I can force the use of IPv4 by running: sysctl -w net.ipv6.conf.all.disable_ipv6=1. > ... >> My question is how can I implement the sysctl statement on boot? > echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf There already may be a file there for the purpose, maybe better to take a looksee first instead of possibly blindly overwriting: #### # # /etc/sysctl.conf is meant for local sysctl settings # # sysctl reads settings from the following locations: # /boot/sysctl.conf-<kernelversion> # /lib/sysctl.d/*.conf # /usr/lib/sysctl.d/*.conf # /usr/local/lib/sysctl.d/*.conf # /etc/sysctl.d/*.conf # /run/sysctl.d/*.conf # /etc/sysctl.conf # # To disable or override a distribution provided file just place a # file with the same name in /etc/sysctl.d/ # # See sysctl.conf(5), sysctl.d(5) and sysctl(8) for more information # #### To me, "on boot" implies something on the kernel cmdline, e.g.: ipv6.disable=1 Even using that I sometimes find ipv6 errors in dmesg that can be cured via an avahi config change. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Permanent Use of IPv4 "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-15 16:20 +0100
Re: Permanent Use of IPv4 Reco <recoverym4n@enotuniq.net> - 2019-02-15 16:30 +0100
Re: Permanent Use of IPv4 Felix Miata <mrmazda@earthlink.net> - 2019-02-15 17:00 +0100
Re: Permanent Use of IPv4 Reco <recoverym4n@enotuniq.net> - 2019-02-15 17:10 +0100
Re: Permanent Use of IPv4 Felix Miata <mrmazda@earthlink.net> - 2019-02-15 17:20 +0100
Re: Permanent Use of IPv4 Reco <recoverym4n@enotuniq.net> - 2019-02-15 17:50 +0100
Re: Permanent Use of IPv4 Felix Miata <mrmazda@earthlink.net> - 2019-02-15 18:20 +0100
Re: Permanent Use of IPv4 "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-15 20:10 +0100
Re: Permanent Use of IPv4 Curt <curty@free.fr> - 2019-02-15 20:40 +0100
Re: Permanent Use of IPv4 David Wright <deblis@lionunicorn.co.uk> - 2019-02-15 20:40 +0100
Re: Permanent Use of IPv4 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-15 22:20 +0100
Re: Permanent Use of IPv4 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-15 22:20 +0100
Re: Permanent Use of IPv4 Reco <recoverym4n@enotuniq.net> - 2019-02-16 09:50 +0100
Re: Permanent Use of IPv4 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-15 22:30 +0100
csiph-web