View Single Post
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#90
Originally Posted by cpitchford View Post
The problem with negative routing (if NOT mms, then route wlan0) is what happens if wlan0 is missing or wlan0 goes down and comes back up as pppX..
Yeah then we work with something akin to CNAME.

All the ip policy rules/routes only apply to MMS traffic.. If you remove them, you're left with the default system.. This means an internet connection can be started and changed whilst connection to the APN is active.. I don't think it is safe to have a rule like "redirect non mms traffic to wlan0" because that might change to ppp1, or maybe wlan0 again.. or it might disappear
Good point, then it should just care about the routes. It won't change to ppp1 btw. ppp0 is always the 3G connection because of /etc/udev/rules.d/70-persistent-net.rules but its much more cleaner to solve problem in PPPd IMO...

2) pppd from the maemo source, patch to negotiate IP but apply hard coded values
Perhaps you can ask Nokia to provide a binary with your patch included? If it is a simple patch, a binary patch may be suitable.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!