poulpe Posted January 22, 2019 Posted January 22, 2019 Hello, I don't find a working way to completly disable the use of IPv6 on armbian. I'm using Armbian_5.69_Orangepipc2_Debian_stretch_next_4.19.13.img, fresh install with etcher/balena. I've added the file /etc/sysctl.d/10-NoIPv6.conf with this content: net.ipv6.conf.lo.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.all.disable_ipv6=1 I've modified /etc/hosts like that: 127.0.0.1 localhost orangepipc2 I've rebooted. But i still have ipv6 enabled and working, as the output of the "ip a" command give: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 02:01:0f:67:00:7f brd ff:ff:ff:ff:ff:ff inet 192.168.0.99/24 brd 192.168.0.255 scope global dynamic eth0 valid_lft 42659sec preferred_lft 42659sec inet6 fe80::1daa:72ca:7f4c:4ce/64 scope link valid_lft forever preferred_lft forever 3: enx180f76faae7b: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 18:0f:76:fa:ae:7b brd ff:ff:ff:ff:ff:ff The enx180f76faae7b iface is a dlink usb gigabit ethernet, i've tried also with and without it attached, still ipv6, and if i don't plug eth0 and plug the networkwire on this USB eth card, same, still have ipv6. How is it possible to disable ipv6 on a debian armbian based system? Can someone help me? I've already search the forum, and found many "working for me with adding the line in sysctl", but with no explanations, i've tried with and without trimming the space into the systctl file, same. I'm starting to eat my fingers and arguing with my board, please, help us to become friends again, my board and me
Igor Posted January 22, 2019 Posted January 22, 2019 nmtui-edit Select interface, go to IPV6 and switch to "ignore". Perhaps you will need to restart. 1
poulpe Posted January 22, 2019 Author Posted January 22, 2019 Thanks Igor, that's was the needed action, after ignoring ipv6 on both my eth cards, still ipv6, and after reboot, it's OK: No more ipv6. (Same result if you remove/purge network-manager) (and it's the same on the ubuntu version, working OK no more ipv6 after the sysctl file + hosts + network-manager purge. Thanks ! 1
Recommended Posts