Discussion:
[OpenWrt-Users] Disable IPv6 - OpenWrt 15.05 Chaos Calmer
tovis
2016-02-25 12:52:42 UTC
Permalink
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
Saverio Proto
2016-02-25 15:43:18 UTC
Permalink
Compile your kernel without IPv6 support

Check from kmod-ipv6

Unload and remove the module.
You have several options

Saverio
Post by tovis
Hi.
I'm trying to suppress all IPv6 related things.
# uci del network.globals.ula_prefix
# uci commit network
# /etc/init.d/odhcpd disable
# reboot
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.
# 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 :(
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?
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
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
tovis
2016-02-25 16:43:32 UTC
Permalink
Hi.
Thanks for answer!
Little problem, I can not see kmod-ipv6 in lsmod list, I have
ipv6, nf_conntrack_ipv6, nf_defrag_ipv6, nf_log_ipv6 and nf_reject_ipv6.
May be remove whole ipv6?

Sincerely
tovis

PS: Only me have been annoyed by ipv6 stuff? I need more free memory,
unfortunately I have only 32M RAM on TL-WR1043ND ver:1.8 :(
Post by Saverio Proto
Compile your kernel without IPv6 support
Check from kmod-ipv6
Unload and remove the module.
You have several options
Saverio
Post by tovis
Hi.
I'm trying to suppress all IPv6 related things.
# uci del network.globals.ula_prefix
# uci commit network
# /etc/init.d/odhcpd disable
# reboot
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.
# 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 :(
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?
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
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
Maciej Żenczykowski
2016-02-26 04:12:42 UTC
Permalink
I'm in the process of removing ipv4 from my machines.
Post by tovis
Hi.
Thanks for answer!
Little problem, I can not see kmod-ipv6 in lsmod list, I have
ipv6, nf_conntrack_ipv6, nf_defrag_ipv6, nf_log_ipv6 and nf_reject_ipv6.
May be remove whole ipv6?
Sincerely
tovis
PS: Only me have been annoyed by ipv6 stuff? I need more free memory,
unfortunately I have only 32M RAM on TL-WR1043ND ver:1.8 :(
Post by Saverio Proto
Compile your kernel without IPv6 support
Check from kmod-ipv6
Unload and remove the module.
You have several options
Saverio
Post by tovis
Hi.
I'm trying to suppress all IPv6 related things.
# uci del network.globals.ula_prefix
# uci commit network
# /etc/init.d/odhcpd disable
# reboot
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.
# 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 :(
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?
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
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
Simon Iremonger (wiltslug)
2016-02-26 10:00:38 UTC
Permalink
Post by Maciej Żenczykowski
I'm in the process of removing ipv4 from my machines.
I was wondering this... if it makes much more sense to
be forward-thinking and show how OpenWRT manages in
IPv6-only environment, and/or can be built smaller
without IPv4 tools (I suspect not much!)....

Nonetheless, stress testing everything really works in
IPv6-only-environment is good forward-thinking.

I note, for those experimenting with this, AAISP run a
NAT64 gateway http://aaisp.net.uk/kb-broadband-ipv6-nat64.html
last I checked this can be used by customers not on AAISP too,
albeit with a different IPv4 NAT-host address ...

--Simon

Loading...