FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
974 views 1 comments
by anonymous

Hello,

I would like to completely disable IPV6 on TRB140. Firmware version TRB1400_R_00.01.05.

I have tried adding:

net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

to /etc/sysctl.conf and executing „sysctl -p“ – it works. Unfortunately, after reboot it does not take or overrides those values.. What am I doing wrong?

Thank you in advance

1 Answer

0 votes
by anonymous

Hi,

You can add sysctl -p into User Scripts (via the System → User Scripts page). This way it sets the values from /etc/sysctl.conf on each boot.

by anonymous

Hello,

Thank you for suggestion. As far as I know, values from /etc/sysctl.conf are taken at boot time by /etc/init.d/sysctl.init.. It means something is overriding those values afterwards.

I can not find System -> Users Scripts on TRB140 FW ver: TRB1400_R_00.01.06.1

I tried adding sysctl -p to /etc/rc.local and it works but I do not like this solution.. it's like disabling ipv6 at boot time, then enabling it back and disabling again.. There should be a better way.. Any ideas?

IPV6 is great but in my case I do not need it. I do not like seeing IPV6 address on my Mobile WAN interface.. I do want to leave any unconfigured entry points..

By the way, in WebUI:

Thanks