Compile your kernel without IPv6 support

Check from kmod-ipv6

Unload and remove the module.
You have several options

Saverio

2016-02-25 13:52 GMT+01:00 tovis <[email protected]>:
> Hi.
> I'm trying to suppress all IPv6 related things.
> I've got a good tip:
> # uci del network.globals.ula_prefix
> # uci commit network
> # /etc/init.d/odhcpd disable
> # reboot
>
> But it was not enough. I've still have this in ps output:
> 942 root       800 S    odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 eth0.2
>
> After some investigation I have decided to remark some part of
> /etc/config/network
> # config interface 'wan6'
> #       option ifname 'eth0.2'
> #       option proto 'dhcpv6'
>
> After reboot odhcp6c is gone :)
> But "# ifconfig" still show IPv6 addresses for every interfaces.
> When i use "traditional" sysctl command:
> # echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
>
> The IPv6 addresses finally is gone. At first I have put this command in to
> /etc/rc.locale, but after reboot IPv6 addresses still show in interface
> list :(
>
> Then I'm edit /etc/sysctl.conf - remark all rows about IPv6 and put this:
> net.ipv6.conf.all.disable_ipv6=1
>
> After reboot IPv6 addresses still show in interfaces list :(
> Any more ideas, how to be free from annoying IPv6 stuff?
> I'm investigate log, and I found the next rows:
>
> Thu Feb 25 13:19:51 2016 user.notice dnsmasq: found already running
> DHCP-server on interface 'br-lan' refusing to start, use 'option force 1'
> to override
> Thu Feb 25 13:19:52 2016 kern.info kernel: [   23.400000] br-lan: port
> 1(eth0.1) entered forwarding state
> Thu Feb 25 13:19:52 2016 daemon.info dnsmasq[978]: started, version 2.73
> cachesize 150
>
> I've checked the ps and dnsmasq seem to be running.
> Could I avoid this strange message or not?
>
> Sincerely
>   tovis
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to