Re: Error running socialcalc on sugar live cd

2009-09-29 Thread vijit singh
Hello Tomeu and all,

I just got the chance to try installing socialcalc on the sugar live cd and
I have been able to install it properly. Here is the review of the process,
might be helpful for other activities also in case anybody faces a similar
problem--

1. Actually, the error which was coming earlier was because of the
permission being denied by sugar. So, in order to install any activity one
is supposed to use the sudo command to have super user access. I mean, the
following command would lead to above mentioned errors---

sugar-install-bundle SocialCalcActivity.xo

However, using sudo will resolve the issue--

sudo sugar-install-bundle SocialCalcActivity.xo

2. However, I was unable to install the activity directly from the journal,
when we click on the activity bundle in the journal, nothing actually
happens.


Hi,

 can you check you can write to /home/olpc/Activities?


Yes, we can write but by using sudo command.


 Regards,

 Tomeu


Cheers,
VIJIT aka sumit
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error running socialcalc on sugar live cd

2009-09-29 Thread Walter Bender
On Tue, Sep 29, 2009 at 10:54 AM, vijit singh
vijitthetopco...@gmail.com wrote:
 Hello Tomeu and all,

 I just got the chance to try installing socialcalc on the sugar live cd and
 I have been able to install it properly. Here is the review of the process,
 might be helpful for other activities also in case anybody faces a similar
 problem--

 1. Actually, the error which was coming earlier was because of the
 permission being denied by sugar. So, in order to install any activity one
 is supposed to use the sudo command to have super user access. I mean, the
 following command would lead to above mentioned errors---

 sugar-install-bundle SocialCalcActivity.xo

 However, using sudo will resolve the issue--

 sudo sugar-install-bundle SocialCalcActivity.xo

 2. However, I was unable to install the activity directly from the journal,
 when we click on the activity bundle in the journal, nothing actually
 happens.


 Hi,

 can you check you can write to /home/olpc/Activities?

 Yes, we can write but by using sudo command.

The directory /home/olpc/Activities should be writable by user olpc.
That would explain your trouble with installing activities. The
question remains, why was the ownership/write permissions of
/home/olpc/Activities improperly set?

-walter


 Regards,

 Tomeu

 Cheers,
 VIJIT aka sumit


 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


soas70xo impressions

2009-09-29 Thread Mikus Grinbergs
Disclaimer:  I am not asking for help;  I'm sharing my experiences.


Ran with soas70xo (booted from nand) on my XO-1.  Many of the
difficulties with previous SoaS builds were still present, with some 
new ones added.

The X crash scrolling problem is a BLOCKER - for instance, because 
of this problem I cannot change the Jabber server specification.


Speak did not produce any sound.  [It did not even attempt to wiggle 
its mouth until I in Frame unmuted the volume.]  Record did not 
launch.  Browse came up with its display window size significantly 
exceeding the physical size of the XO screen.
'rpm -q kernel' attests to sloppy composing of the build.

With now more exposure to it, I still do not like the new toolbar 
design.  The XO has a *small* display screen.  Now many Activity 
capabilities (such as 'Edit' in Terminal) can only be invoked from a 
secondary toolbar that drops down from the primary toolbar.  The two 
toolbars together take up a significant amount of XO screen real 
estate.  And each time the secondary toolbar needs to be shown or 
hidden, it takes one *extra* click (after me having to move the 
cursor off the part of the screen that I was doing my work on).


I notice that now Sugar 0.86 has been upstreamed into Rawhide.
I suspect that some Activities still need changing to fit 0.86.


mikus


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: soas70xo impressions

2009-09-29 Thread Walter Bender
On Tue, Sep 29, 2009 at 1:01 PM, Gary C Martin g...@garycmartin.com wrote:
 Hi Mikus,

 On 29 Sep 2009, at 15:14, Mikus Grinbergs wrote:

 With now more exposure to it, I still do not like the new toolbar
 design.  The XO has a *small* display screen.  Now many Activity
 capabilities (such as 'Edit' in Terminal) can only be invoked from a
 secondary toolbar that drops down from the primary toolbar.  The two
 toolbars together take up a significant amount of XO screen real
 estate.  And each time the secondary toolbar needs to be shown or
 hidden, it takes one *extra* click (after me having to move the
 cursor off the part of the screen that I was doing my work on).

 Just a quick hint that you do not need to click if you don't want to. The
 secondary toolbars hover expose (or right click if you want them instantly),
 in this mode they work just like any palette menu, taking up no canvas
 space, forcing no canvas redraw.

 I would argue your 'significant amount of XO screen real estate' is a rather
 large exaggeration ;-)

 Here's a quick screen shot comparison for the worst case when you have a
 secondary toolbar locked open to the canvas. On a 1200x900 display, two
 layers of toolbars is only an extra ~30 pixels, and you have the choice of
 not locking open the secondary toolbar (especially for edit, just use the
 keyboard shortcuts), gaining you an extra ~40 vertical pixels of canvas
 space.


Not to mention that many (most) toolbar items have keyboard shortcuts.
Edit certainly does :)

-walter


 Regards,
 --Gary
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel





-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: soas70xo impressions

2009-09-29 Thread Martin Dengler
On Tue, Sep 29, 2009 at 10:14:34AM -0400, Mikus Grinbergs wrote:
 The X crash scrolling problem is a BLOCKER

I know, you heard it here first.  Care to bugzilla it?

 'rpm -q kernel' attests to sloppy composing of the build.

Sloppy is hardly the moniker for the general practice of having two
kernels installed (one backup/running and one to-be-booted into, for
example).  The way the kickstart file installs the OLPC one is indeed
terrible, and I'm not proud of it.

 I notice that now Sugar 0.86 has been upstreamed into Rawhide.
 I suspect that some Activities still need changing to fit 0.86.

Oh yeah.  It's going to get worse before it gets better, I think.

 mikus

Martin


pgplNXgiTzuCs.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: soas70xo impressions

2009-09-29 Thread Peter Robinson
 The X crash scrolling problem is a BLOCKER

 I know, you heard it here first.  Care to bugzilla it?

 'rpm -q kernel' attests to sloppy composing of the build.

 Sloppy is hardly the moniker for the general practice of having two
 kernels installed (one backup/running and one to-be-booted into, for
 example).  The way the kickstart file installs the OLPC one is indeed
 terrible, and I'm not proud of it.

 I notice that now Sugar 0.86 has been upstreamed into Rawhide.
 I suspect that some Activities still need changing to fit 0.86.

 Oh yeah.  It's going to get worse before it gets better, I think.

Record would be one of those.

Peter
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error running socialcalc on sugar live cd

2009-09-29 Thread vijit singh
Hello Walter and all,

The directory /home/olpc/Activities should be writable by user olpc.


Yes, they should be in the live cd also as they are writable in the normal
xo and the sugar emulator as well.


 That would explain your trouble with installing activities. The
 question remains, why was the ownership/write permissions of
 /home/olpc/Activities improperly set?


Well, I didn't changed  any  settings ( I think sugar doesn't permits an
user or even an administrator to change such settings on the sugar system).
So, I think these permissions are set by default in the live cd by the
rainbow system. I think some more related person would be able to explain
better.


 -walter


Cheers,
VIJIT
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: soas70xo impressions

2009-09-29 Thread Mikus Grinbergs
Regarding _using_ the 'new' toolbar:

 I would argue your 'significant amount of XO screen real estate' is a
 rather large exaggeration ;-)

My XO-1 screen is 4.5 inches vertically.  On soas70xo, two toolbars 
together visually black out .75 inches vertically.  That's 1/6 of 
my entire screen.

[What I'm remembering is the *total* visual impression of those two 
totally black toolbars;  what you are measuring is the *incremental* 
area of that second toolbar vs. the less obtrusive former tabs.]

 Just a quick hint that you do not need to click if you don't want to

I did not mind the click, since I was already clicking on the old 
toolbar.  [To me, more time gets wasted when hovering than when 
clicking.]  What I see as a duplication of effort (unless I leave 
the second toolbar in place, which I perceive as taking away limited 
XO screen real estate) is that I have to first [click|hover] to 
bringup the second toolbar - only then can I [click|whatever] on the 
service I want.  With the old design, I *would* leave the 
appropriate tab selected, yet not feel as though by doing so I was 
obstructing part of my doing-the-actual-work area.


mikus



p.s.  I suspect that on an XO-1 with Sugar 0.86 I will end up 
switching to full screen whenever possible, thereby visually 
_eliminating_ the distraction of seeing those thick toolbars.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[Server-devel] firewalling/nocat

2009-09-29 Thread Jerry Vonau
Hi Martin:

I've worked up what I think the basic layout of what the firewall rules
need to look like that would be used with nocat's access.fw I've
stripped and ported nocat's initialize.fw script for our needs, should
set up the required iptable rules. access.fw accepts 4 inputs: 
[permit\|deny] [MAC] [IP] [Class] There are 4 classes of access, Owner,
Member, Public, with None being the default, The access from ranging
from full to none. (read the script) I have my rough script and the
resulting rule set at: http://members.shaw.ca/jvonau/pub/iptables/ 

I have not tested this yet... (I need sleep now..) Just looking for feed
back at this point. Just wondering since the hood is up, should we be
looking to lock down the services a bit?

Jerry

  

___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


os30

2009-09-29 Thread Bert Freudenberg
Just noticed

http://dev.laptop.org/ticket/9459
http://dev.laptop.org/ticket/9467

Is there a way to test os30 without an XO-1.5?

Or shouldn't I worry about these?

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: os30

2009-09-29 Thread Chris Ball
Hi Bert,

Is there a way to test os30 without an XO-1.5?

I think you can boot the os30.iso that's output by the build process
in your VM environment of choice:

http://dev.laptop.org/~cjb/f11-1.5/

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


My view of OS7 on XO-1

2009-09-29 Thread Hal Murray

It now connects to my home AP without manual intervention, and quickly too.  
Yea!  Thanks.

I haven't figured out how to setup a mesh network.  I've got two circles on 
the frame.  One is a copy of the icon for my AP in the neighborhood view.  
The other one is gray and the text says Create new wireless network.  
Poking it doesn't do anything that I can see.

I had a power failure this afternoon.  That gave me a pop-up asking for the 
password to my AP.  The AP was dead.  It already knows the password to my AP.

At one point, I had 4 strange AP icons on the neighborhood view, all the same 
color, all said olpc-mesh.  They may have been created while I was poking 
around after my AP got killed by the power failure.  After a while, they went 
away when I wasn't watching.


Turning off the Automatic Power Managment  check-box in the control panel 
doesn't work.
I can uncheck the box, but after poking OK and opening it up 
again, it comes back checked again.


After a while, an idle system goes into a funny power saving mode.  The radio 
LED is off and pings are ignored.  If I poke a key, the CPU active LED (right 
of the battery LED) blinks
but the system doesn't wake up.  Poking the power button gets me back to the 
system.  An occasional ping (75 seconds) avoids this.


If the display has been dimmed, poking the LED-brighter key (F10) turns the 
display on, but it comes up all white.  Poking a letter key or moving the 
cursor
shows the picture.




-- 
These are my opinions, not necessarily my employer's.  I hate spam.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS upgrade

2009-09-29 Thread Martin Langhoff
2009/9/28 Henry Vélez Molina henry.lap...@gmail.com:
 First: ejabberd web admin should be _gone_. What does `rpm -V xs-config`
 say?

 SM5T c/fsckoptions

Ok. That sounds _very_ sane. Can you re-run domain_config and restart
the machine? The ejabberd web UI should be gone after that.

(And your connectivity problems should probably get fixed with that
too -- if not, we need to explore that more. Can you tell us more
about the connectivity issues?)

 Second: the problem with Moodle may be related to Postgresql. Can you
 tell us the output of these 2 commands?

  chkconfig --list pgsql-xs
  chkconfig --list postgresql

 0:off 1:off 2:off 3:on 4:on 5:on 6:off
 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Ok, the second one should _not_ be on. Can you try

   # switch the generic postgresql service off
   chkconfig --off postgresql
   # check the results -- should say all off
   chkconfig --list postgresql

and then restart... with the restart, moodle should get started correctly...



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] DNS/dhcp question

2009-09-29 Thread Jerry Vonau
On Tue, 2009-09-29 at 18:49 -0400, Gerald Ardito wrote:
 Jerry,
 
 I am still having problems.
 I thought I would try to simplify the network to see if that would
 make a difference.
 
 How about this:
 1. eth0 is plugged into our school network/internet
 2. eth1 is connected via ethernet cable to an access point.
 
 Would this work?
That is the default layout.

 If so, how should eth1 be configured?
 
As long as the access point is in bridging mode there should be no
issues, and nothing needs to be changed with eth1. Are you able to
re-configure the AP if needed? If so, what ip address does the AP use
for management? 

I only know what you tell me about your network layout, with your XS
setup like that, what are the results of  ip route ls? I'll assume
that eth0 has a static ip address. Just to get a feel of what your
layout looks like in my head.

Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] DNS/dhcp question

2009-09-29 Thread Gerald Ardito
Jerry,

I am not trying to be vague about anything. I would love to give you a sense
of what is happening. I want to apologize ahead for not being clear. Not all
of this makes perfect sense to me.

Current situation:
My XS box has 2 NICS
Eth0 connects to the school internet and has a static IP address
(10.125.105.153; subnet 255.255.248.0)
Eth1 connects to a VLAN set up for the XOs.
The Access Points for the VLAN point toward the XS box as the DHCP server
(so I'm told). I was given that IP address by my tech guy. Here are the
parameters: -IP range is 10.125.140.0
-Give the SchoolServer an IP address of 10.125.140.31,
-set up DHCP for a range of 10.125.140.100 - 254.
-Subnet mask should be 255.255.248.0


Ongoing questions:
1. I have been working under the assumption that eth1 should have the
Schoolserver address above (10.124.140.31). Is that correct?
2. What do I need to do (if anything) to configure the DHCP functions of the
XS?
3. Is there anything else you need to help with this.

Thanks.

Gerald


On Tue, Sep 29, 2009 at 10:21 PM, Jerry Vonau jvo...@shaw.ca wrote:

 On Tue, 2009-09-29 at 18:49 -0400, Gerald Ardito wrote:
  Jerry,
 
  I am still having problems.
  I thought I would try to simplify the network to see if that would
  make a difference.
 
  How about this:
  1. eth0 is plugged into our school network/internet
  2. eth1 is connected via ethernet cable to an access point.
 
  Would this work?
 That is the default layout.

  If so, how should eth1 be configured?
 
 As long as the access point is in bridging mode there should be no
 issues, and nothing needs to be changed with eth1. Are you able to
 re-configure the AP if needed? If so, what ip address does the AP use
 for management?

 I only know what you tell me about your network layout, with your XS
 setup like that, what are the results of  ip route ls? I'll assume
 that eth0 has a static ip address. Just to get a feel of what your
 layout looks like in my head.

 Jerry



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] firewalling/nocat

2009-09-29 Thread Tom Mitchell
Please mark it GPL.

A  README.GPL file on your server or some comments in the source or in
email should do.
Lots of scripts do not have a GPL line but may have an Implied GPL in
a source tree policy.  Since you are not checking it in yourself it seems
like a good thing to do and a courtesy to those that take it an run with it.
Scripts have source so the key obligation of the GPL is done.

On Tue, Sep 29, 2009 at 12:39 PM, Jerry Vonau jvo...@shaw.ca wrote:
 Hi Martin:

 I've worked up what I think the basic layout of what the firewall rules
 need to look like that would be used with nocat's access.fw I've
 stripped and ported nocat's initialize.fw script for our needs, should
 set up the required iptable rules. access.fw accepts 4 inputs:
 [permit\|deny] [MAC] [IP] [Class] There are 4 classes of access, Owner,
 Member, Public, with None being the default, The access from ranging
 from full to none. (read the script) I have my rough script and the
 resulting rule set at: http://members.shaw.ca/jvonau/pub/iptables/

 I have not tested this yet... (I need sleep now..) Just looking for feed
 back at this point. Just wondering since the hood is up, should we be
 looking to lock down the services a bit?

 Jerry



 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel




-- 
T o m   M i t c h e l l
mitch-at-niftyegg-dot-com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel