(solved)how to disable ipv6

  • can someone help me disable ipv6

    i searched forum and found this command it enters ok

    but my router is still getting ICMPv6 from libreelec box

    Run this command from ssh:


    Code

    1. echo "net.ipv6.conf.all.disable_ipv6=1" >/storage/.config/sysctl.d/ipv6.conf


    so i just paste this into ssh but it dont work

    am i doing it wrong or is there another command

    please give exact details as i dont use ssh and am just following instructions blindy/shrug