Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-30 Thread Philip Rhoades

Paul,


On 2011-05-28 14:49, Paul Fertser wrote:

Hi,

On Sat, May 28, 2011 at 06:59:33AM +1000, Philip Rhoades wrote:

On 2011-05-28 04:25, Paul Fertser wrote:

Philip Rhoadesp...@pricom.com.au   writes:

I am wondering if it would be possible to use minicom on the
Freerunner to dial the phone number of the remote dongle, make a
connection


If CSD[1] is available from your provider, then you can do that,
right. If not, all you can do is to write some smart enough script
that would do something with the connection once it tears off (in
fact, probably simply adding persist option to pppd will suffice).


OK, I will check with VirginMobile (Australia) but if that doesn't work
I could switch to Telstra.  Are there some working scripts around to do
the PPP stuff?


There's plenty of examples for using gprs/3g under GNU/Linux the
manual way.

I assume you're already using pppd for establishing the connection
from the remote system to some host in the internet that you
control.



No - when I plug the dongle in, I just let NetworkManager find it and 
set it up.  I haven't got it in front of me now, but I think I have to 
type some sort of keyring password to allow the connection?




I think simply adding persist lcp-echo-failure 10
lcp-echo-interval 5 options to its config (/etc/ppp/options or
/etc/ppp/peers/yourpppdscript  or some other way specific to how you
start pppd) should be enough.



I want to make the connection from the other direction - from my normal 
F14 desktop TO the remote Virgin mobile broadband dongle F14 machine.


Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-30 Thread Paul Fertser
Hi,

On Tue, May 31, 2011 at 03:24:49AM +1000, Philip Rhoades wrote:
 I assume you're already using pppd for establishing the connection
 from the remote system to some host in the internet that you
 control.

 No - when I plug the dongle in, I just let NetworkManager find it and  
 set it up.  I haven't got it in front of me now, but I think I have to  
 type some sort of keyring password to allow the connection?

I would guess it's highly unlikely NM doesn't use pppd for establishing the
connection.

 I think simply adding persist lcp-echo-failure 10
 lcp-echo-interval 5 options to its config (/etc/ppp/options or
 /etc/ppp/peers/yourpppdscript  or some other way specific to how you
 start pppd) should be enough.

 I want to make the connection from the other direction - from my normal  
 F14 desktop TO the remote Virgin mobile broadband dongle F14 machine.

Without CSD the most reasonable option imho would be to keep a persistent
connection over GPRS to some internet host you control and use it as a proxy.
An alternative would be to establish GPRS connection upon an incoming (voice)
call or message but that'd be more complex and fragile to set up.

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to force current mode?

2011-05-30 Thread Hrabosh

Oh, sorry. QtMoko v35, kernel 2.6.34-qtmoko

om usb seems to work. The only disadvantage is that I!m not able to set
charging current to 1A.

Thanks for your help,

Hrabosh


Timo Juhani Lindfors píše v Ne 29. 05. 2011 v 23:48 +0300:
 Hrabosh zbyne...@volny.cz writes:
  does anyone know how to force charge mode on Freerunner? I've found some
  information on how to force fast charging mode, but these HOWTOs are
  usually refering to files that do not exist on my FreeRunner.
 
 You didn't specify what distro or linux version you use but if you can
 install omhacks you can try
 
 om usb charger-limit 500
 
 It automatically detects the right /sys paths so that you don't need to
 worry about them.
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-30 Thread Philip Rhoades

Paul,


On 2011-05-31 03:42, Paul Fertser wrote:

Hi,

On Tue, May 31, 2011 at 03:24:49AM +1000, Philip Rhoades wrote:

I assume you're already using pppd for establishing the connection
from the remote system to some host in the internet that you
control.


No - when I plug the dongle in, I just let NetworkManager find it and
set it up.  I haven't got it in front of me now, but I think I have to
type some sort of keyring password to allow the connection?


I would guess it's highly unlikely NM doesn't use pppd for establishing the
connection.


I think simply adding persist lcp-echo-failure 10
lcp-echo-interval 5 options to its config (/etc/ppp/options or
/etc/ppp/peers/yourpppdscript   or some other way specific to how you
start pppd) should be enough.


I want to make the connection from the other direction - from my normal
F14 desktop TO the remote Virgin mobile broadband dongle F14 machine.


Without CSD the most reasonable option imho would be to keep a persistent
connection over GPRS to some internet host you control and use it as a proxy.
An alternative would be to establish GPRS connection upon an incoming (voice)
call or message but that'd be more complex and fragile to set up.



The GPRS connection is just as likely to drop out as the existing setup 
isn't it?


Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-30 Thread Paul Fertser
On Tue, May 31, 2011 at 04:40:13AM +1000, Philip Rhoades wrote:
 Without CSD the most reasonable option imho would be to keep a persistent
 connection over GPRS to some internet host you control and use it as a proxy.
 An alternative would be to establish GPRS connection upon an incoming (voice)
 call or message but that'd be more complex and fragile to set up.

 The GPRS connection is just as likely to drop out as the existing setup  
 isn't it?

Isn't the existing setup the same already (GPRS/HSDPA)? And with persist
option it should be pretty reliable.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-30 Thread Timo Juhani Lindfors
Paul Fertser fercer...@gmail.com writes:
 Isn't the existing setup the same already (GPRS/HSDPA)? And with persist
 option it should be pretty reliable.

I'm not sure if I would rely on persist alone. I use a combination of
hardware and software watchdogs [1] to implement reliable callback. If I
call the phone from a specific number it does not play the ringtone:
instead it hangs up and initiates a GPRS connection. When that is up it
sends the IP address and some extra information to my server.

This is quite reliable for me. I operated openmoko as an RTK-GPS base
station with this setup for months without having physical access.

[1] I use three watchdogs:

1) normal watchdog package that talks to the hardware via /dev/watchdog
2) custom perl script that verifies that the GSM is associated with a
cell
3) a custom perl script that keeps the battery charged at around 60% to
prolong its life and to also shutdown the system safely if power is lost
for and the charge drops below 20%.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to force current mode?

2011-05-30 Thread Timo Juhani Lindfors
Hrabosh zbyne...@volny.cz writes:
 om usb seems to work. The only disadvantage is that I!m not able to set
 charging current to 1A.

How does that fail?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


omgps track conversion script

2011-05-30 Thread David Garabana Barro
I've made a shell script to convert omgps track files to .gpx
I know you can convert them from inside omgps, but that way you have to 
convert tracks one by one, plus omgps in latest SHR only allow to convert 
tracks created in current omgps session.

I hope someone find it useful

http://pastebin.com/Fkd1s7BC


-- 
David Garabana Barro
jabber  google talk ID:da...@garabana.com
Clave pública PGP/GPG:  http://davide.garabana.com/pgp.html


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community