Hi Neil,
You should call a script like below e.g. from /etc/rc.local, assuming that
- your wlan0 is up and running
- your tunnel is called ampr0 and you want to use table 44 (why?)
- use 44.50.128.1 as the gw interface ip
----------
ip tun add ampr0 mode ipip local 108.160.233.78 <----- replace with your
external interface ip if behind a router
ip addr add 44.50.128.1/8 dev ampr0
ip route add default via 169.228.66.251 dev ampr0 onlink table default
ip rule add from 44.50.128.1 table default
ip rule add from 44.50.128.1 to 44.0.0.0/8 table 44
ip rule add to 44.0.0.0/8 table 44
route add 44.50.128.0/24 dev wlan0 table 44
ampr-ripd -s -i ampr0 -p ThePassWord -t 44 -a 108.160.233.78 <---- or
rip44d without the '-s' option
----------
And delete the content of /var/lib/ampr-ripd before the first run so it
starts fresh....
This should do it...
Marius, YO2LOJ