On 7/17/09, Vikas Saurabh <[email protected]> wrote: > Hi, > > The wiki page > http://wiki.openmoko.org/wiki/Manually_using_GPRS#On-demand_connection_settings > suggests some pppd connection settings that would allow pppd to > timeout the connection after some inacitivity and then restart the > connect on-demand. > > Is there a way to achieve that in SHR? > > I tried jumping around in the code and figured that framework is > launching pppd and is picking up its parameters from modem.py[1]. I > added 'demand', 'idle', '20', to the end of the list only to get DBus > is borked in connectivity dialog. I also tried adding 'demand', 'idle > 20'...but that simply didn't connect. The last thing I tried was to > just add 'demand'...well that didn't break anything...but nothing > worked either. > > --Vikas > > 1 - > http://git.freesmartphone.org/?p=framework.git;a=blob;f=framework/subsystems/ogsmd/modems/abstract/modem.py;h=97ceae8e927d86c773cb607961e9c4706ceaa7a9;hb=HEAD > ... line number 56-80
So you broke something. Adding 'demand', 'idle', '20' shouldn't at any case give you "dbus is borked" (recently changed to "Couldn't connect to FSO" :P) message. Check your syntax and traceback in logs. _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
