What's new

Solved Setting tokenised IPv6 identifiers by user script

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

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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

Members online

Back
Top