Re: MPP with two XOs and a pppd via GPRS

2008-11-13 Thread Ankur Verma
Sorry, the mail missed my sight. Please see the comments below:

On Sat, Nov 8, 2008 at 1:33 AM, Sameer Verma <[EMAIL PROTECTED]> wrote:

> I have two XOs (XO#1 and XO#2) with build 767. XO#1 is connected using
> wvdial (pppd) over GPRS. I am using Vodafone's service in India. By
> itself, XO#1 gets online. I do have to add the nameserver to
> /etc/resolv.conf but other than that, it works. When I try to set XO#1
> as a MPP using the mpp.py script from
> http://wiki.laptop.org/go/Modem#How_to_share_internet_among_other_XOs
> I get an error related to iptables the first time. On a second
> attempt, I get no errors and the mpp.py script seems to do its magic.
> olpc-netstatus reveals that XO#1 is in MPP mode.
>
> XO#2 cycles through the 3 channels and finally settles at mesh 1 (same
> as the MPP XO#1) but does not say "XO Mesh".


'olpc-netstatus' will not say XO-Mesh since it can determine one of simple
mesh/school mesh/simple wifi/school wifi, or MPP.

However, the DNS server in the output will correspond to the IP address of
the XO acting as MPP i.e. with the modem. Please see if it is there and then
it should connect.

If dnsmasq is not installed, then mpp,py should log this message "No dnsmasq
in RPM database. Is it installed?"

Best regards,
Ankur Verma
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: MPP with two XOs and a pppd via GPRS

2008-11-08 Thread Ricardo Carrano
Some comments:

- In my tests there was an error related to the module ip_conntrack
that didn't prevent the scheme to work
- Are you sure the dnsmasq is running? (because the mpp script you
using assumes dnsmasq). Run:
chkconfig dnsmasq on (to start at every boot)
service dnsmasq start (for the current boot)
This of course assumes that dnsmasq is installed  (it is in 767). If
not "yum install dnsmasq"
- In your tests you can force the client XO to use the gateway writing
"xo-mpp" in /etc/NetworkManager/mesh-start (that you probably need to
create)

Cheers!
Ricardo

On Fri, Nov 7, 2008 at 6:03 PM, Sameer Verma <[EMAIL PROTECTED]> wrote:
> I have two XOs (XO#1 and XO#2) with build 767. XO#1 is connected using
> wvdial (pppd) over GPRS. I am using Vodafone's service in India. By
> itself, XO#1 gets online. I do have to add the nameserver to
> /etc/resolv.conf but other than that, it works. When I try to set XO#1
> as a MPP using the mpp.py script from
> http://wiki.laptop.org/go/Modem#How_to_share_internet_among_other_XOs
> I get an error related to iptables the first time. On a second
> attempt, I get no errors and the mpp.py script seems to do its magic.
> olpc-netstatus reveals that XO#1 is in MPP mode.
>
> XO#2 cycles through the 3 channels and finally settles at mesh 1 (same
> as the MPP XO#1) but does not say "XO Mesh". XO#2 says "Simple mesh"
> and fails to get online via XO#1. Adding the nameserver t0 XO#2 does
> not help.
>
> Any pointers?
>
> Sameer
> --
> Dr. Sameer Verma, Ph.D.
> Associate Professor of Information Systems
> San Francisco State University
> San Francisco CA 94132 USA
> http://verma.sfsu.edu/
> http://opensource.sfsu.edu/
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


MPP with two XOs and a pppd via GPRS

2008-11-07 Thread Sameer Verma
I have two XOs (XO#1 and XO#2) with build 767. XO#1 is connected using
wvdial (pppd) over GPRS. I am using Vodafone's service in India. By
itself, XO#1 gets online. I do have to add the nameserver to
/etc/resolv.conf but other than that, it works. When I try to set XO#1
as a MPP using the mpp.py script from
http://wiki.laptop.org/go/Modem#How_to_share_internet_among_other_XOs
I get an error related to iptables the first time. On a second
attempt, I get no errors and the mpp.py script seems to do its magic.
olpc-netstatus reveals that XO#1 is in MPP mode.

XO#2 cycles through the 3 channels and finally settles at mesh 1 (same
as the MPP XO#1) but does not say "XO Mesh". XO#2 says "Simple mesh"
and fails to get online via XO#1. Adding the nameserver t0 XO#2 does
not help.

Any pointers?

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel