What's new

Solved Setting tokenised IPv6 identifiers by user script

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

roxxor

New Around Here
Hi,

I succesfully configured Unbound but, as I'm now playing with IPv6, I would like to use tokenised IPv6 identifiers with "ip token" command. Can someone please direct me as I'm unable to identify which user script to use to add this command. I tried init-start but it seems to be way to soon in the startup process, I created own script with exactly same content and it didn't run so I'm kind of stuck there.

Thanks.
 
Last edited:
Self answer, just create new executable file in /jffs/scripts folder with (example below to have the LAN interface IPv6 address on my Asus XT8 begining with my network prefix and ending with fixed ::2 suffix):

Code:
#!/bin/sh
ip token set ::2 dev $(nvram get lan_ifname)
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top