Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-10-12 Thread Al Johnson
On Sunday 11 October 2009, Jeffrey Ratcliffe wrote:
 On Thu, Oct 08, 2009 at 03:51:21PM +0200, Michael 'Mickey' Lauer wrote:
  As per mdbus --help, you need a busname and an objectname before the
  method -- you can gather these by recursively calling mdbus -s ...
 
 OK. Got it working:
 
 $ mdbus -s org.freesmartphone.onetworkd /org/freesmartphone/Network
  org.freesmartphone.Network.StartConnectionSharingWithInterface usb0
 
 I was able to access the DHCP server from my Eee PC running Jaunty by
 copying the MAC address from the static entry in network-manager, and
 created a new entry with the same MAC but DHCP rather than a static IP
 address.
 
 It seems very slow.
 
 ping www.google.com directly from the FR is ~750ms, from the Eee PC
 via the tether started on 2000ms and settled on 950. Is a 200ms
 difference to be expected?

Latency on GPRS is big and highly variable. That's the nature of GPRS, and one 
of the things that makes it unsuitable for VoIP. These numbers don't look 
unusual.

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


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-10-11 Thread Jeffrey Ratcliffe
On Thu, Oct 08, 2009 at 03:51:21PM +0200, Michael 'Mickey' Lauer wrote:
 As per mdbus --help, you need a busname and an objectname before the method 
 -- 
 you can gather these by recursively calling mdbus -s ...

OK. Got it working:

$ mdbus -s org.freesmartphone.onetworkd /org/freesmartphone/Network 
org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

I was able to access the DHCP server from my Eee PC running Jaunty by
copying the MAC address from the static entry in network-manager, and
created a new entry with the same MAC but DHCP rather than a static IP
address.

It seems very slow.

ping www.google.com directly from the FR is ~750ms, from the Eee PC
via the tether started on 2000ms and settled on 950. Is a 200ms
difference to be expected?

mutt started and loaded the headers reasonably quickly, but simply scrolling up 
and down the
index view without reading the messages was unusably slow, so I tried gmail 
from firefox,
which promptly crashed the connection. On first view, it seems it was the dhcp 
connection that
crashed, as I was unable to reconnect to it.

After using GPRS I cannot suspend, which is evidently a seperate issue
- and after some playing, after using GPRS, I have to reboot the FR to
make it usuably as a phone again.

 and how would you turn it off again?
 
 This is not implemented yet :) Add me a ticket and I'll do it.

Done[1]

Thanks for the help

Regards

Jeff

[1] http://trac.freesmartphone.org/ticket/485


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-10-08 Thread Michael 'Mickey' Lauer
 Alternatively, use
 org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

 and find a dhcp server running on the FR with everything else
 preconfigured.

I'm having a couple of problems with this:

$ mdbus -s
org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

Service name not found

As per mdbus --help, you need a busname and an objectname before the method -- 
you can gather these by recursively calling mdbus -s ...

and how would you turn it off again?

This is not implemented yet :) Add me a ticket and I'll do it.

Cheers,

:M:


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


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-10-07 Thread Jeffrey Ratcliffe
2009/9/26 Michael Lauer mic...@vanille-media.de:
 Alternatively, use
 org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

 and find a dhcp server running on the FR with everything else
 preconfigured.

I'm having a couple of problems with this:

$ mdbus -s
org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

Service name not found

and how would you turn it off again?

Regards

Jeff

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


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-26 Thread Michael Lauer
Alternatively, use  
org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

and find a dhcp server running on the FR with everything else  
preconfigured.

Cheers,

:M:

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


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-26 Thread Jeffrey Ratcliffe
On Sat, Sep 26, 2009 at 04:23:24PM +0200, Sebastian Krzyszkowiak wrote:
 No, but if someone wants I can add it to my TODO for shr-settings.

Yes, please :-)


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-26 Thread Jeffrey Ratcliffe
On Sat, Sep 26, 2009 at 02:34:31PM +0100, Michael Lauer wrote:
 Alternatively, use  
 org.freesmartphone.Network.StartConnectionSharingWithInterface usb0
 
 and find a dhcp server running on the FR with everything else  
 preconfigured.

Is this exposed anywhere by a GUI?

Regards

Jeff


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-26 Thread Sebastian Krzyszkowiak
On 9/26/09, Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com wrote:
 On Sat, Sep 26, 2009 at 02:34:31PM +0100, Michael Lauer wrote:
 Alternatively, use
 org.freesmartphone.Network.StartConnectionSharingWithInterface usb0

 and find a dhcp server running on the FR with everything else
 preconfigured.

 Is this exposed anywhere by a GUI?

 Regards

 Jeff


No, but if someone wants I can add it to my TODO for shr-settings.

-- 
Sebastian Krzyszkowiak
dos

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


HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-25 Thread Risto H. Kurppa
Hi!

I got some help at irc setting things up so I thougt I'd share it with you.
I'm writing this on Konqueror on my eeepc in a moving train using the
GPRS connection of Freerunner. So sharing GPRS from FR to *buntu, here
we go:

1) make sure your GPRS on FR works.
2) on fr run  opkg install iptables iptables-utils
kernel-module-ipt-masquerade kernel-module-iptable-nat
3) create firewall.sh on freerunner, see
http://wiki.openmoko.org/wiki/Tethering#Turning_your_FreeRunner_into_a_Network_Address_Translation_.28NAT.29_gateway

4) on *buntu, configure the GUI network manager to understand FR. I
run Kubuntu Karmic Netbook remix with these settings:
interface: eth2
ip: 192.168.0.202
subnet mask 255.255.255.0
gateway 192.168.0.200
dns: grap an IP address from FR's /etc/resolv.conf when using GPRS
(=this is your service provider's dns..)

5) create a script like this on desktop:
sudo route add default gw 192.168.0.202
sudo echo nameserver 62.241.198.246  /etc/resolv.conf
sudo echo nameserver 62.241.198.245  /etc/resolv.conf

Change the nameserver ip addresses to the addresses at
/etc/resolv.conf on Freerunner


Then:
a) start GPRS
b) connect USB
c) run firewall.sh on freerunner
d) run the other script on desktop
DONE!


I don't know why do I have to add the nameservers manually (why KDE
doesn't do it..) or how to add the route automatically..


anyway, happy to surf now on laptop w. fr :)



r

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


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-25 Thread Jeffrey Ratcliffe
On Fri, Sep 25, 2009 at 09:17:33PM +0300, Risto H. Kurppa wrote:
 I got some help at irc setting things up so I thougt I'd share it with you.

Thanks for doing this. I have been looking for exactly such
instructions. There is a wiki page entitled tethering with some of
this info - perhaps you could add your guide there.

Regards

Jeff


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: HOWTO: Sharing SHR-U GPRS to *buntu laptop

2009-09-25 Thread Paul Fertser
Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com writes:
 On Fri, Sep 25, 2009 at 09:17:33PM +0300, Risto H. Kurppa wrote:
 I got some help at irc setting things up so I thougt I'd share it with you.

 Thanks for doing this. I have been looking for exactly such
 instructions. There is a wiki page entitled tethering with some of
 this info - perhaps you could add your guide there.

Perhaps knowledge about configuring networks in general and iptables
in particular should be obtained from iptables manuals [1] rather than
being spread in some weird hard-coded and sometimes plain wrong forms
all over the internet including OM wiki?

[1] http://iptables.org/documentation/index.html
-- 
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