G'day, Got an iptables script which shares the DSL out over the network. Thanks to the joys of being on Telstra the connections been up and down quite regularly lately.
Problem is the script is (well, was) based around ppp0 When the connection goes down it usually doesn't come back up as ppp0, it'll be ppp1 > ppp4 etc. Currently just going thru the script and replacing any instances of pppX with pppY each time it comes up on a diff. i/f 2 thoughts on how I could try and fix it 1 - force it to come up on ppp0 2 - set a var. @ the top of the script so its just one change per down Problem! I dunno how to do either. Thoughts / comments / flames appreciated. TIA. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug