This tool reads a resin raspberry pi image from a file and prints the network configuration to stdout, or reads a network configuration from stdin and writes it in the image.
- Download an image from your dashboard
- Run
./resin-net-config get resin-foobar.img > foobar.config
- Modify
foobar.config
according to your needs as per the connman config format - More information -> http://docs.resin.io/#/pages/configuration/custom-network.md - After you're done run
cat foobar.config | ./resin-net-config set resin-foobar.img
To change the ethernet configuration use the get_ethernet
and set_ethernet
methods instead of the regular get
and set