Tag: networking

  • Ubuntu Linux – 3 Commands to Disable IPv6

    #sysctl -w net.ipv6.conf.all.disable_ipv6=1
    #sysctl -w net.ipv6.conf.default.disable_ipv6=1
    #sysctl -w net.ipv6.conf.lo.disable_ipv6=1
    //code to check
    #ip a
    ...
    //should be no IPv6 entry now.
  • OpenWRT软件包自动更新

    #crontab -e
    0 3 * * * opkg update && opkg list-upgradable | cut -d ' ' -f 1 | while read pkg; do opkg upgrade "$pkg"; done
    >
    >
    >
    #/etc/init.d/cron enable
    #/etc/init.d/cron start

    Reference Link