Generate re6st configuration

After you got a token from Grandenet:
re6st-conf --registry REGISTRY_URL --token TOKEN
If you are in guest mode, you can save the configuration on a USB stick, or in some rw place that is not temporary and won't disappear when closing the session (such as /var/cache/).

Modify the configuration of re6st

Modify the configuration so that the default route will be configured by re6st.
 echo "default" >> re6stnet.conf 

re6st automatic setup

NOTE: I failed on the current build, so you need to do a symlink by hand...
sudo ln -s /usr/lib/python2.7/site-packages/* /usr/local/lib/python2.7/site-packages/
Copy all the files in the folder /home/chronos/user/.re6stconf and type:
 sudo start re6st 

re6st manual setup

Configure the network on your computer

Good to know before starting:

# Make sure to not use internet provider ipv6 (to
# use only re6stnet one, and to avoid shill resetting ipv6 settings)
sysctl net.ipv6.conf.wlan0.accept_ra=0

# note that on some board (such as daisy), the interface is called mlan0 so:
# sysctl net.ipv6.conf.mlan0.accept_ra=0

# accept ports needed for re6stnet
ip6tables -P FORWARD ACCEPT
ip6tables -A OUTPUT -p udp --dport 6696 -j ACCEPT
ip6tables -A OUTPUT -p udp --dport 326 -j ACCEPT
ip6tables -A INPUT -p udp --dport 6696 -j ACCEPT
ip6tables -A INPUT -p udp --dport 326 -j ACCEPT

# Accept ports needed for running any webrunner
ip6tables  -A INPUT -p tcp --dport 9684 -j ACCEPT
ip6tables  -A INPUT -p tcp --dport 50005 -j ACCEPT

# stop shill so that we can start it later with our
# own options
stop shill

# then start shill ourself by specifying the list of
# interfaces to ignore
shill --device-black-list=re6stnet-tcp,re6stnet10,re6stnet9,re6stnet8,re6stnet7,re6stnet6,re6stnet5,re6stnet4,re6stnet3,re6stnet2,re6stnet1,tun0,tun1,tun2

Run re6st

In the folder your configuration has been generated:
sudo re6stnet @re6stnet.conf