[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Alternative default gateway in Qube3



I want to add another option in the (System) -> (Internet) menu of the Qube3 
so I can change Internet Connection to "Use ppp0 as gateway". (instead of 
eth0). What steps would I need to take for this to become a reality ? :)

Why you ask ? I managed to get an internal high speed card performing ppp for 
an internet connection but if I change any of the "internet settings" in the 
GUI, my connection dies... Well, it changes by default route and so I need to 
go and 'route add default gw ....' again.

I need a setting in the GUI which doesn't break what I've done duing my 
telnet sessions ... :)

Also, what is the best way to have active monitor poll if pppd is running an 
*up* connection, and if not, to try and restart and get it up, confirm that 
it becomes a default gateway again, continues forwarding IPv4 traffic, and if 
that fails, to yell out and complain ?

I looked at how httpd works, but its a continued mystery...

Thanks :)

- Sig