I'm running OpenWRT 0.9 on my wrt54g3g-st which has a pcmcia slot for 3g cards. I've made several changes to the kernel, scripts and Webif², and I have nice 3g router setup going on.
I can set up two wan interfaces independently already, I 'created' another interface called wwan just for the 3g internet. Right now, I can manually toggle between the two, by using "ifup wan" or "ifup wwan" etc. I just need some advice on how to toggle them automatically.
I was thinking that I would create a hotplug script that starts a daemon when the wan interface goes up, but i'm not sure how i would have the bash script determine when the interface goes down. Any ideas would help me out a lot.
(Last edited by oldschoolinux38 on 19 Aug 2007, 02:39)
