On 5/22/10, Helge Hafting <[email protected]> wrote:
>
> The power button dialog now have a slider for bringing GPRS up and down.
> This works only halfway. It brings GPRS up,no problem there.
>
> When I pull the slider back, GPRS is not disconnected though.
> ppp0 is still up, with a default route.
>
> Of course, a manual disconnect with "ifconfig ppp0 down" works.
>
> The reason for disconnecting was to force routing through usb0, which is
> faster.
> There is a better way - give the ppp0 interface a higher metric. usbb0
> already has metric 8, so that faster wifi will be preferred when available.
> Unfortunately, I have not found where the ppp0 route is created, so I cannot
> just add a metric to some route command. The FR doesnæ't have the "ifmetric"
> command, so it seems the metric cannot be changed later.
>
> Ideally, the GPRS route would be created with a higher metric than usb0.
> That way, it won't be
> necessary to close GPRS when using other faster networks. Having GPRS on all
> the time means that
> some kind of network always is available - which is convenient.
>
> Helge Hafting
>

AFAIK you can't just use anything with higher metric than usb0, cause
usb0 interface is always up, even when no cable is present, so you
don't know when usb is not available.

-- 
Sebastian Krzyszkowiak
dos
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to