In a short term we are thinking in develop an activity to interact with wwdial. In the future we are planning to test Sugar 0.8x and Network Manager 0.7, and change our activity to interact with networkmanager. We should investigate the way to interact with networkmanager (a set of APIs or something like that).<br>
<br>Regards.<br>Daniel <br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 11:03 AM, Tomeu Vizoso <span dir="ltr"><<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Nov 5, 2009 at 16:51, Daniel Castelo<br>
<div class="im"><<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
</div><div class="im">> I forgot to say you something important: !!! thanks for your help!!!<br>
<br>
</div>Welcome, how did you got this working?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Tomeu<br>
</font><div><div></div><div class="h5"><br>
> On Mon, Oct 26, 2009 at 5:44 PM, Dan Williams <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:<br>
>><br>
>> On Sun, 2009-10-25 at 09:39 +0100, Tomeu Vizoso wrote:<br>
>> > On Wed, Oct 21, 2009 at 21:07, Dan Williams <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:<br>
>> > > On Wed, 2009-10-21 at 13:46 +0100, Tomeu Vizoso wrote:<br>
>> > >> On Wed, Oct 21, 2009 at 13:41, Daniel Castelo<br>
>> > >> <<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
>> > >> > Sorry, just a distraction.<br>
>> > >> > Is the image that we use in Uruguay, and doesn't have the root<br>
>> > >> > access<br>
>> > >> > available.<br>
>> > >> > Network manager supports connections with a modem 3g?<br>
>> > >><br>
>> > >> Current versions of NetworkManager do, but if it's the image now used<br>
>> > >> in Uruguay (based in Fedora 9), then it may be too old.<br>
>> > ><br>
>> > > What version of NM ships on those? NM 0.6x like we originally shipped<br>
>> > > in the images in 2007/2008? Or were Simon and Daniel able to update<br>
>> > > them to NM 0.7.x?<br>
>> ><br>
>> > This is F9 with NM 0.6.5-0.12.svn3246.olpc3 . I think NM 0.7 support<br>
>> > was added to Sugar 0.84 which hasn't gone into an official OLPC image<br>
>> > yet.<br>
>><br>
>> Ok, only NM 0.7.x and later support 3G. So it looks like they will have<br>
>> to wait for an official image, or install the NM 0.7.x ones by hand.<br>
>><br>
>> Dan<br>
>><br>
>> > Regards,<br>
>> ><br>
>> > Tomeu<br>
>> ><br>
>> > > Dan<br>
>> > ><br>
>> > >> I'm CC'ing Dan Williams who is the main author of NM in case he can<br>
>> > >> suggest you a way forward.<br>
>> > >><br>
>> > >> Regards and good luck,<br>
>> > >><br>
>> > >> Tomeu<br>
>> > >><br>
>> > >> > Thanks for your help<br>
>> > >> ><br>
>> > >> ><br>
>> > >> > On Wed, Oct 21, 2009 at 10:26 AM, Tomeu Vizoso<br>
>> > >> > <<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>> wrote:<br>
>> > >> >><br>
>> > >> >> On Wed, Oct 21, 2009 at 13:22, Daniel Castelo<br>
>> > >> >> <<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
>> > >> >> > OLPC release 9 (Joyride). is enough?<br>
>> > >> >><br>
>> > >> >> Sorry, not sure to what image that may correspond. Can you tell me<br>
>> > >> >> how<br>
>> > >> >> that image can be acquired? Depending on the configuration, root<br>
>> > >> >> access may be available or not.<br>
>> > >> >><br>
>> > >> >> But James' suggestion is good, if you can do it via<br>
>> > >> >> NetworkManager,<br>
>> > >> >> then you can work around the root limitation.<br>
>> > >> >><br>
>> > >> >> Also, please don't drop the mailing list from the email recipients<br>
>> > >> >> (do<br>
>> > >> >> "reply all" instead of just replying to me).<br>
>> > >> >><br>
>> > >> >> Regards,<br>
>> > >> >><br>
>> > >> >> Tomeu<br>
>> > >> >><br>
>> > >> >> > On Wed, Oct 21, 2009 at 10:05 AM, Tomeu Vizoso<br>
>> > >> >> > <<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>><br>
>> > >> >> > wrote:<br>
>> > >> >> >><br>
>> > >> >> >> On Wed, Oct 21, 2009 at 13:01, Daniel Castelo<br>
>> > >> >> >> <<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
>> > >> >> >> > 0.82 of sugar with kernel 2.6.25-20090223.olpc<br>
>> > >> >> >><br>
>> > >> >> >> A distribution is much more than sugar and a kernel, can you be<br>
>> > >> >> >> more<br>
>> > >> >> >> specific?<br>
>> > >> >> >><br>
>> > >> >> >> Thanks,<br>
>> > >> >> >><br>
>> > >> >> >> Tomeu<br>
>> > >> >> >><br>
>> > >> >> >> ><br>
>> > >> >> >> > On Wed, Oct 21, 2009 at 9:52 AM, Tomeu Vizoso<br>
>> > >> >> >> > <<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>><br>
>> > >> >> >> > wrote:<br>
>> > >> >> >> >><br>
>> > >> >> >> >> On Wed, Oct 21, 2009 at 12:50, Daniel Castelo<br>
>> > >> >> >> >> <<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
>> > >> >> >> >> > First, I tried to sugarized gnome-ppp (made with C and<br>
>> > >> >> >> >> > gtk) and<br>
>> > >> >> >> >> > execute<br>
>> > >> >> >> >> > it<br>
>> > >> >> >> >> > as an activity. But it doesn't looks fine. Now i am<br>
>> > >> >> >> >> > thinking in<br>
>> > >> >> >> >> > rewrite<br>
>> > >> >> >> >> > gnome-ppp in python like "native" Activity. The problem<br>
>> > >> >> >> >> > that i<br>
>> > >> >> >> >> > have,<br>
>> > >> >> >> >> > is<br>
>> > >> >> >> >> > that<br>
>> > >> >> >> >> > I need to execute wvdial as root and write the resolv.conf<br>
>> > >> >> >> >> > file<br>
>> > >> >> >> >> > with<br>
>> > >> >> >> >> > the<br>
>> > >> >> >> >> > dns<br>
>> > >> >> >> >> > configuration. How can I run things with root privileges?<br>
>> > >> >> >> >><br>
>> > >> >> >> >> Well, this has nothing to do with Sugar but with the<br>
>> > >> >> >> >> underlying OS.<br>
>> > >> >> >> >> Which distribution are you using?<br>
>> > >> >> >> >><br>
>> > >> >> >> >> Regards,<br>
>> > >> >> >> >><br>
>> > >> >> >> >> Tomeu<br>
>> > >> >> >> >><br>
>> > >> >> >> >> > Thanks.<br>
>> > >> >> >> >> ><br>
>> > >> >> >> >> > On Thu, Oct 15, 2009 at 7:34 AM, Tomeu Vizoso<br>
>> > >> >> >> >> > <<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>><br>
>> > >> >> >> >> > wrote:<br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >> On Wed, Oct 14, 2009 at 13:33, Daniel Castelo<br>
>> > >> >> >> >> >> <<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
>> > >> >> >> >> >> > I am testing the client gnome-ppp to connect the Xo<br>
>> > >> >> >> >> >> > with a<br>
>> > >> >> >> >> >> > modem<br>
>> > >> >> >> >> >> > 3G.<br>
>> > >> >> >> >> >> > When I<br>
>> > >> >> >> >> >> > execute the client using consolehelper and pam (or the<br>
>> > >> >> >> >> >> > root<br>
>> > >> >> >> >> >> > user)<br>
>> > >> >> >> >> >> > the<br>
>> > >> >> >> >> >> > application looks without the sugar theme. When I<br>
>> > >> >> >> >> >> > execute the<br>
>> > >> >> >> >> >> > binary<br>
>> > >> >> >> >> >> > file of<br>
>> > >> >> >> >> >> > the client (/usr/sbin/gnome-ppp) it looks "fine".<br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >> And you want to create a Sugar activity with the<br>
>> > >> >> >> >> >> functionality in<br>
>> > >> >> >> >> >> gnome-ppp ? Or what is the final goal?<br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >> Regards,<br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >> Tomeu<br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >> > Thanks<br>
>> > >> >> >> >> >> ><br>
>> > >> >> >> >> >> > On Wed, Oct 14, 2009 at 9:57 AM, Tomeu Vizoso<br>
>> > >> >> >> >> >> > <<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>><br>
>> > >> >> >> >> >> > wrote:<br>
>> > >> >> >> >> >> >><br>
>> > >> >> >> >> >> >> On Wed, Oct 14, 2009 at 12:54, Daniel Castelo<br>
>> > >> >> >> >> >> >> <<a href="mailto:dcastelo.sugarlabs@gmail.com">dcastelo.sugarlabs@gmail.com</a>> wrote:<br>
>> > >> >> >> >> >> >> > Hi. When I execute an application written in C and<br>
>> > >> >> >> >> >> >> > gtk with<br>
>> > >> >> >> >> >> >> > a<br>
>> > >> >> >> >> >> >> > "normal<br>
>> > >> >> >> >> >> >> > user"<br>
>> > >> >> >> >> >> >> > (not the root user) it looks fine, I mean sugarized<br>
>> > >> >> >> >> >> >> > (for<br>
>> > >> >> >> >> >> >> > example<br>
>> > >> >> >> >> >> >> > with<br>
>> > >> >> >> >> >> >> > rounded entry text). But if i execute it with the<br>
>> > >> >> >> >> >> >> > root user<br>
>> > >> >> >> >> >> >> > it<br>
>> > >> >> >> >> >> >> > looks<br>
>> > >> >> >> >> >> >> > without<br>
>> > >> >> >> >> >> >> > the sugar theme. On what it depends?<br>
>> > >> >> >> >> >> >><br>
>> > >> >> >> >> >> >> The Gtk+ theme is set per user, so if you run as root<br>
>> > >> >> >> >> >> >> you are<br>
>> > >> >> >> >> >> >> running<br>
>> > >> >> >> >> >> >> it in a very different environment. If this is a<br>
>> > >> >> >> >> >> >> problem for<br>
>> > >> >> >> >> >> >> you,<br>
>> > >> >> >> >> >> >> then<br>
>> > >> >> >> >> >> >> we may be able to help if you explain what you are<br>
>> > >> >> >> >> >> >> trying to<br>
>> > >> >> >> >> >> >> do.<br>
>> > >> >> >> >> >> >><br>
>> > >> >> >> >> >> >> Regards,<br>
>> > >> >> >> >> >> >><br>
>> > >> >> >> >> >> >> Tomeu<br>
>> > >> >> >> >> >> >><br>
>> > >> >> >> >> >> >> --<br>
>> > >> >> >> >> >> >> «Sugar Labs is anyone who participates in improving<br>
>> > >> >> >> >> >> >> and using<br>
>> > >> >> >> >> >> >> Sugar.<br>
>> > >> >> >> >> >> >> What Sugar Labs does is determined by the<br>
>> > >> >> >> >> >> >> participants.» -<br>
>> > >> >> >> >> >> >> David<br>
>> > >> >> >> >> >> >> Farning<br>
>> > >> >> >> >> >> ><br>
>> > >> >> >> >> >> ><br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >><br>
>> > >> >> >> >> >> --<br>
>> > >> >> >> >> >> «Sugar Labs is anyone who participates in improving and<br>
>> > >> >> >> >> >> using<br>
>> > >> >> >> >> >> Sugar.<br>
>> > >> >> >> >> >> What Sugar Labs does is determined by the participants.»<br>
>> > >> >> >> >> >> - David<br>
>> > >> >> >> >> >> Farning<br>
>> > >> >> >> >> ><br>
>> > >> >> >> >> ><br>
>> > >> >> >> >><br>
>> > >> >> >> >><br>
>> > >> >> >> >><br>
>> > >> >> >> >> --<br>
>> > >> >> >> >> «Sugar Labs is anyone who participates in improving and<br>
>> > >> >> >> >> using Sugar.<br>
>> > >> >> >> >> What Sugar Labs does is determined by the participants.» -<br>
>> > >> >> >> >> David<br>
>> > >> >> >> >> Farning<br>
>> > >> >> >> ><br>
>> > >> >> >> ><br>
>> > >> >> >><br>
>> > >> >> >><br>
>> > >> >> >><br>
>> > >> >> >> --<br>
>> > >> >> >> «Sugar Labs is anyone who participates in improving and using<br>
>> > >> >> >> Sugar.<br>
>> > >> >> >> What Sugar Labs does is determined by the participants.» -<br>
>> > >> >> >> David<br>
>> > >> >> >> Farning<br>
>> > >> >> ><br>
>> > >> >> ><br>
>> > >> >><br>
>> > >> >><br>
>> > >> >><br>
>> > >> >> --<br>
>> > >> >> «Sugar Labs is anyone who participates in improving and using<br>
>> > >> >> Sugar.<br>
>> > >> >> What Sugar Labs does is determined by the participants.» - David<br>
>> > >> >> Farning<br>
>> > >> ><br>
>> > >> ><br>
>> > >><br>
>> > >><br>
>> > >><br>
>> > ><br>
>> > ><br>
>> ><br>
>> ><br>
>> ><br>
>><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">«Sugar Labs is anyone who participates in improving and using Sugar.<br>
What Sugar Labs does is determined by the participants.» - David<br>
Farning<br>
</div></div></blockquote></div><br>