how to disable ipv6 at kernel level with towboot?
#1
Adding  U_BOOT_PARAMETERS="ipv6.disable=1"   to /etc/default/u-boot        and run  u-boot-update use to work before tow boot.   What is the new methodology to pass  ipv6.disable=1 to kernel ?
  Reply
#2
(06-19-2023, 03:13 PM)vusra Wrote: Adding  U_BOOT_PARAMETERS="ipv6.disable=1"   to /etc/default/u-boot        and run  u-boot-update use to work before tow boot.   What is the new methodology to pass  ipv6.disable=1 to kernel ?

i cannot be certain about kernel parameters with bootloader, but syntax should be same, just inserting the string input is little different, probably different place.

however, you could try sysctl.conf, this happens during boot of course, so it's not immediate.

Code:
# location: /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
  Reply
#3
superior method    is  edit /usr/share/u-boot-menu/conf.d/mobian.conf

change line
Code:
U_BOOT_PARAMETERS="consoleblank=0 loglevel=7 ro quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=0"
to
Code:
U_BOOT_PARAMETERS="consoleblank=0 loglevel=7 ro quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=0 ipv6.disable=1"

and run
Code:
sudo u-boot-update

edits to /usr/share/u-boot-menu/conf.d/mobian.conf can be undone in future rupdates
  Reply
#4
How do we perform this in a separate conf.d file to obviate overwrites when /usr/share/u-boot-menu/conf.d/mobian.conf is updated by package manager?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Big Grin An early xmas present: 6.1 kernel treebeard 28 13,766 07-18-2023, 03:14 AM
Last Post: gischpelino
  Stability problems with 6.1 kernel Zebulon Walton 9 3,791 05-12-2023, 08:09 AM
Last Post: zetabeta
  How to enable ipv6 for hotspot robgadget 1 1,143 04-28-2023, 06:59 AM
Last Post: wibble
  Disable headphone controls 3x5co 0 888 09-10-2022, 07:11 AM
Last Post: 3x5co
  Disable vibrations 3x5co 8 9,035 06-11-2022, 09:59 AM
Last Post: iwakura_lain
  Disable *automatic* on-screen keyboard iwakura_lain 0 1,179 06-11-2022, 09:49 AM
Last Post: iwakura_lain
  Disable on screen keyboard permanently. grump_fiddle_reinstall 12 11,608 06-11-2022, 08:11 AM
Last Post: SwordfishII
  Hotspot and IPv6 gosh000 1 1,343 06-08-2022, 02:12 AM
Last Post: wibble
  Kernel 5.15 Zebulon Walton 10 7,768 11-27-2021, 01:10 PM
Last Post: LibrePhoneUser
  Mobian kernel upgrade user641 4 4,559 11-10-2021, 01:22 PM
Last Post: user641

Forum Jump:


Users browsing this thread: 1 Guest(s)