Re: [Server-devel] [IIAB] [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC
In IIAB we use a dataset of populated places to render at the highest resolution level, and render the rest of the world at a slightly lower resolution. Our highest resolution is high enough to see individual buildings. Our total dataset of rendered tiles for the world with detailed populated places coverage is 100GB. Another optimization we made for IIAB that contributed considerable dataset size reduction and helped with filesystem efficiency - we use the OSM meta tiles, which normally store 64 tile png images, but we modify them to store 4096 png images per file, and we made an optimization so that identical tiles are removed (think of all the blue of the ocean cover 75% of the earth). We use Leaflet as our javascript web front end, and it works quite well. -braddock On Sun, Jun 14, 2015 at 11:24 PM, Nick Doiron ndoi...@mapmeld.com wrote: I don't think there's any technical issues with rendering the world at 10 and specific countries at 16, other than the human knowing where they can and cannot zoom -- Nick On Sun, Jun 14, 2015 at 11:58 AM, Tim Moody t...@timmoody.com wrote: couple of observations: As expected, the new tiles have a lot more detail. There are more levels of zoom in the new ones. Some names have changed - the old map had Lalitpur and the new one has Patan (both are used) I don't see any boxes for unprintable characters, but there is a lot less Devanagari. (Google maps has more) Is it possible to merge individually generated regional tiles? for example if you rendered India and Nepal separately would you get both? What happens if you render the world at level 10 and then specific countries at 16? *From:* xsce-de...@googlegroups.com [mailto:xsce-de...@googlegroups.com] *On Behalf Of *Anish Mangal *Sent:* Saturday, June 13, 2015 10:06 PM *To:* Jérôme Gagnon-Voyer *Cc:* xsce-devel; Community Support Volunteers -- who help respond to help AT laptop.org; Unleash Kids!; server-devel; iaep; Internet In a Box Working Group; Jaakko Helleranta *Subject:* Re: [XSCE] RE: [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC Hi, Following from the skype call this week, I uploaded Nepal's OSM data in postgres and render tiles to see performance, and as expected, everything is blazing fast. The pbf file went into the postgress in less than 5 minutes, and tiles are being rendered pretty fast as well. You can check it yourself by going to http://home.braddock.com:28112/osm/slippymap.html * Select Mapnik * Zoom out and center over Nepal * Select Local tiles * Zoom in I don't know what this proves as the bottleneck still is doing this for the entire planet, which we need to figure out a way for anyway. Best, Anish On Sun, Jun 14, 2015 at 6:02 AM, Anish Mangal anis...@umich.edu wrote: Hi Jérôme, I incorporated one of your comments; as for the other I think Timm, Nick would be better suited for the discussion (python backend v/s frontend js). :-) Best, Anish On Sun, Jun 14, 2015 at 3:22 AM, Jérôme Gagnon-Voyer gagno...@gmail.com wrote: Hi Anish Great document. I've added 2 comments to the document, feel free to incorporate into the document if that makes sense. Also added a TODO for myself to do more research about the various search solutions. I've used Nominatim in the past (on the client side, not the server infrastructure) and it was overall very good, but I'll want to know more about the other ones. On Sat, Jun 13, 2015 at 12:51 PM, Tim Moody t...@timmoody.com wrote: Thanks, Anish for an excellent start at getting this down on paper (so to speak). I think this covers things pretty well and gives us the necessary hooks on which to hang the details as we begin fleshing out solutions to the requirements you documented. Under issues I added one point about rendering non-Roman character sets. *From:* unleashk...@googlegroups.com [mailto:unleashk...@googlegroups.com] *On Behalf Of *Anish Mangal *Sent:* Saturday, June 13, 2015 12:15 PM *To:* Community Support Volunteers -- who help respond to help AT laptop.org *Cc:* Unleash Kids!; server-devel; xsce-devel; iaep; Internet In a Box Working Group; Jaakko Helleranta *Subject:* [UKids] Re: [support-gang] Taking OpenStreetMap Offline - DESIGN Call - Thur June 11, 10AM EDT / 2PM UTC Okay, so I tried to encapsulate whatever we discussed into a design document, which can hopefully serve as a base for reaching out to the OSM community and to better organize our own thoughts. https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit# https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit Please feel free to edit the information there as I may have missed some points, or interpreted them differently than as intended. Best, Anish On Fri, Jun 5, 2015 at 12:00 AM, Adam Holt h...@laptop.org wrote
Re: [Server-devel] [IIAB] iiab on xo-4
Hi Tim, pip builds its packages in /tmp by default. You can specify a different directory where you have enough disk space. See http://stackoverflow.com/questions/10617198/pip-creates-build-directories pip install -b customized_build_directory to specify another directory as build base directory, for example /tmp On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody t...@timmoody.com wrote: We switched xsce to using pip instead of rpms to install iiab in order to get the latest version. However, during the install process on an xo-4 I get IOError: [Errno 28] No space left on device. I notice that /tmp has 0 bytes available. It’s contents are drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root drwx-- 2 root root 60 Jul 25 21:02 pip-nd2tVc-unpack drwx-- 3 root root 60 Jul 25 20:56 systemd-private-Dn2ozM drwx-- 3 root root 60 Jul 25 20:56 systemd-private-m5Or2z Any suggestions? We didn’t get this error when using rpms. Is there an easy way to build the rpms? I tried cloning https://github.com/braddockcg/internet-in-a-box.git and running internet-in-a-box/scripts/build_rpms.sh but I got iiab_id_rsa private key must be in current directory Tim ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [IIAB] getting the archive
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/31/2014 09:42 PM, Sameer Verma wrote: Looking to see what the quickest and easiest way is, of getting a copy of the full archive of IIAB. Thoughts? Ideas? Pointers? Sameer, I am happy to ship out a USB hard drive with the full Internet-in-a-Box dataset to anyone willing to copy it and ship it back to me. We don't currently have a download site. - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTi52uAAoJEHWLR/DQzlZu1PQIAJmKu2Zj/Opg3NdavKlguoxN L4edFe434II3VaV+XuCngkvhdrZ/bTz7RtH5Z11JZ6/UygxhxcGurgUyr0/xdslr K26DpbqcymsiEVTZvbcx1aDlWXq46/bOabmVDwMkjFTTQWoeoIShgYDdanvA094v NIZIha9y4Xx72UN7eBVxhak4Q/ASKmC035n9kQEkE/janV5GndtX9oMpneAUFaCg zRA60UzxkQm1Y/voFk3I5p1tn33aSxrzspoLN3sVPnlmyYNB03GaZkjQ1ts/8zpC ZusvacsI8fY3oszQdK6Fzfay61OOLQv9jK0FlmlQDjeb0CHj6HZo4VrQMydpO1Y= =ICjq -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [XSCE] Re: trouble in paradise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Joanne, Curt is right, make sure the drive has a directory named knowledge (lower case), and that in that directory there should be a folder named modules. Also, make sure the name of the drive does not have any spaces in it. If it still isn't working, send me the output of the mount command. - -braddock Internet-in-a-Box Project On 05/15/2014 02:37 PM, Curt Thompson wrote: Hi Joanne, Sorry, I might not be able to talk on the phone today, but I'll try to help via email. I've included xsce-devel and server-devel lists in case others can help more. Here are my thoughts.. Was the drive formatted for use with Linux before the files were copied? Does the directory knowledge show up in the root of the new drives if you browse to it (by double-clicking File System and clicking everything under DEVICES) On the new drive, is the directory knowledge in all lower-case letters? As far as I understand, school server should pick up any drive with knowledge in the root of the drive, so you *should* be able to copy /knowledge from one hard drive to another, plug it in, and access IIAB through the web interface at localhost or 127.0.0.1. On 5/15/2014 1:57 PM, Joanne Clemente wrote: Hi, Curt. I just left you a voicemail. Martiny and I are trying to get a copy of the IAB to work. We have successfully installed the schoolserver software on 3 old laptops. We have one IIAB but bought two other hard drives that we tried to copy from the IIAB. When we plug it in and type local host, we access the server but we get an error trying to access the copied hard drive for the data, like Wikipedia, etc. We get a message that it can?t find the knowledge directory Also, Martiny noticed the file sizes are 2 gigabytes short, so something is missing. Probably the directory. Can you help? Thanks, Joanne Joanne Clemente, Ed. D. Director of Online Learning Center for Adult Student Education (CASE): Faculty Trainer, Blackboard/Moodle Administrator, MapWorks Dominican College 470 Western Highway Orangeburg, NY 10962 845.848.4017 still-logo-smaller */It is better to be good than to be right./* -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTdUTEAAoJEHWLR/DQzlZuBYkH/jRorBTQBtt5RzEds/tA86Wd 7PbMcZmfm+vCnguIvtNOd2WSkT4bBTDCM6iPMTpuYKXySLZiEmlVA1cskRSfJ0na vN24LqFbUpOMva5vMAED58PqNYEwbri3mf/7O4DhtERk5J9A44fTN2PJOhWSm7uk jl4Ji7tKkk0S9vDztOkyCCTa52xuy5vsjoZ6skfT820esybPEG0COLA+i12Ntl3/ 9JprsMkQFDw+gmWDmnx3ZyJuLIP0AOLgpXlvRuXkDjaH2O/eb5GbcEFgv/ciMg0h Eb4AFPdNkdENlaFFYQqp/Efe4WOOJidYlLKaUkKu3kggE1Khkc86hJ78ZuYqfvI= =/XOF -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] How do the clients find a School Server in appliance mode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, I was introduced to XSCE Appliance Mode, which raises some great possibilities, but also some difficulties which need to be addressed, and which Internet-in-a-Box appliances have already faced. If a school server is installed on a network in appliance mode, and does not serve as the network's DNS provider, then it becomes very difficult for client XO's to find it since it has no name. We have faced the same issue with IIAB appliances, and compensate for it by providing mDNS/avahi and Samba NMB naming services. - From any Windows, Linux, or Mac when an IIAB appliance is on the network it is accessible from either http://know (Windows) or http://know.local (Mac or Linux) - our hostname is always know. Installing these services is just a matter of `apt-get install samba avahi-daemon' (Debian - something yum in Fedora). A big problem we've faced with IIAB appliances on XO deployments is that the OLPC OS does not turn on mDNS name resolution by default in /etc/nsswitch.conf (although the necessary software is installed). On the XO laptop, all that is required is a `yum install nss-mdns` to rectify the situation. If you are creating a new image for the XO laptops, I strongly urge you to install nss-mdns to activate mDNS resolution. It will make School Server, IIAB, or other content sources on the network running in an appliance mode practical without the need to resort to difficult DNS modifications and static IP addresses. The XSCE installer should similarly install samba and avahi-daemon on the school server to publicize the host name. If XSCE can be used in appliance mode with mDNS and NMB name resolution, I would be seriously considering discontinuing our (Debian-based) IIAB appliance hardware in favor of IIAB running on XSCE on something like a Cubox for all our IIAB deployments. I raised this issue on the OLPC devel mailing list last summer and it favorably received: http://lists.laptop.org/pipermail/devel/2013-July/037559.html - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSwkd5AAoJEHWLR/DQzlZuM9MIAJ2tYe3gDvA9vm9KvG4z3U6m WsnEQKXIDOSljqxdrVitDGgcxBLjKFFUXzevpBsr+ibhG2QdF2kN3IcihYv1hT00 ScChTpxqYcc3/PXipSoeZE8jUz+H8t/B6sI2+YpJQIf5ffAVP0PkAS+2rgmBdIWF 5zfs26pYnJVB00opZHFyKOes4GNNZqGnbpmVocKDS+o3jBYvxiTE98e51hB48dWu Fof95sKYg2S7FH3Z1LRQF/IiIZsDRqmezfqLgxykEBkW34g3RZfDadBcFxxNqkrv FJH/G2lMhpjGierfszVT8cf0LlCC4mUze7yMF8So6GdthL+zjBqzYcVVx85SkHw= =yHKO -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] IIAB/XSCE School Server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A few IIAB/XSCE notes and thoughts: - -We finally have the full text Wikipedia search working, thanks to a lot of work by James McDuffie. Probably have a new dataset release shortly after Christmas. - -Adam, how many copies of the old IIAB dataset drive are floating around? I need to know if I need to support them with backwards compatibility (I imagine the answer is yes). And I'm curious. - -We are overdue for an RPM release for XSCE to use. Anna has encountered at least one bug (32-bit address space exhaustion on full text Wikipedia search on XO 1.5) which had already been fixed in our latest development branch. - -Using pip with wheel in a virtualenv for installation sounds very promising. This would be my prefered method for distribution of IIAB for school server, since you can just use our published PyPi package and we wouldn't have to maintain separate, fragile, out of date RPM packages. - -We are looking for new hardware for our IIAB appliance to replace the 128MB Seagate GoFlex Home, which cannot handle much load and is very labor intensive to install. I continue to peek over your shoulders to see what hardware you are playing with for School Server. Our ideas at https://github.com/braddockcg/internet-in-a-box/issues/83 - -Several more IIAB appliances will be heading to Haiti next month, I am building them now. - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSsy5NAAoJEHWLR/DQzlZuJm0H/joNzPQhlFFuYqZmNrhfMYV5 W3OoXeAYHH75f4p9FMkNhfcifUUKbqkPcGPGMpAtlzVsByq9oN09QTlRg1YTBpEv zfcRhINXG9zZ0B9MsJNWYcz8VTLkRBwzN86v/a2hYTpQwaUJLY2wKNjagtPsA8aA TF8AK0ORSQ7/kLTCavdN8rCabkDSGcUwyHmWes/SHxkRwS66SDrUrSA9sEmxN/nf iSBixmCur2jZVe97/9gdsg9GwnfYKbSP1M3r9X/orqM5PyVCq0q4dIv/kooLU0fz ENZEkiwGZ35DwzjWQLNXV0KUdU+RaGYHs3q1x8ZCTOx6ROsLsU23Sf4yGH66xGk= =LSQn -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [XSCE] Fwd: [support-gang] XO tablet can not connect to XSCE server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/09/2013 04:53 PM, Samuel Greenfeld wrote: 2. https://github.com/XSCE/xsce/blob/master/vars/default_vars.yml seems to imply that the default domain suffix is .local That is a definite potential bug. While .local is reserved for local use, multicast DNS clients effectively have taken over this domain to the point that older networks which have .local DNS entries have run into a lot of problems. A network I used to use was like this so I've seen random failures to resolve things firsthand. I've been trying to raise the red flag on this (mis)use of .local since the XSCE sprint in May(?) when I experienced problems using mDNS with School Server XSCE with both Linux laptops and Internet-in-a-Box appliances. Use of schoolserver.lan would avoid these problems. Ubuntu and Debian disable (aka break) mDNS resolution on the client when they encounter a misconfigured .local domain being used in the DHCP response. This happens if they obtain a DHCP lease from a schoolserver.local. If they did not deactivate mDNS resolution, then schoolserver.local resolution would fail when mDNS couldn't resolve it. I have a request into de...@laptop.org upstream to activate mDNS name resolution on the OLPC OS to ease IIAB appliance deployments and any other local resource discovery. If/When they turn mDNS resolution on in OLPC OS, then XOs in a schoolserver network will either fail to resolve the schoolserver.local name, or mDNS will break for all other devices on the network (ex, Internet-in-a-Box appliances). I'm not sure which will break under Fedora/OLPC OS, but something will give. For more info see my thread on de...@laptop.org http://lists.laptop.org/pipermail/devel/2013-July/037559.html and ticket http://lists.laptop.org/pipermail/bugs/2013-July/118727.html See also http://miketelahun.wordpress.com/2012/09/16/stop-using-local-as-the-top-level-domain-for-your-lan/ - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSfxhYAAoJEHWLR/DQzlZu9/oIAMCMwaqCK4hCaOtUMRqczxbg Nqor0gqIrwdZJjTnWb3k3sdzipSLLBV+FZ/L9d8EOPpm9QgDbTOvsGAF9Yc7jXNj 9Ml5Pb7Cg+KF2PgjaNTx6aZzNxerwN5zyDEZewV2UrwTatymflitlMnUzfxsobJa 0vbydrxvEMG9eLmL8xm5k5a9TLpiN5W/sIaUvVQlPVw+Q16rSJRpPAJV9mdJABH5 INrtuUXZ/qGrIcxIbYOSIQijFJ6/HpxRhigQk8g7KDernY5NC0QX8t+MVONK9zoX 3BbAZvMe0chibwUlSasJjGhkMhiw0FwUE9mlNIfG6m9d4stSZhV6XRaVgpjMxV0= =TUwf -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [XSCE] A couple of thoughts about moving forward.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2013 04:49 AM, George Hunt wrote: And when he wants to incorporate DXS into the next revision, XSCE 0.5, the fear crops up again. I need help dealing with my fear of complexity. Are there any volunteers? Hi George, If you missed the DXS/Ansible IRC demo a couple days ago, my impression was that Ansible was a fantastic, and STRAIGHT FORWARD, tool that is both more robust and simpler than bash scripting could hope to be. It also appeared that all the heavy porting from bash to ansible was already done by the DXS team. Maybe my outsider impression helps alleviate some of your fears. - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSLMFSAAoJEHWLR/DQzlZu/QYIANABx31C2h0IdnMb4qcY1Mkl 4PpzBb32Gi/MDLsk196p0ZGdyMHZ/GFp58DY0ol7lGx+N8M2A44ulthQJV8LsdBu yExpJ7oMVBijsvjD6Bv7uycgjpqLQV7RsCL1MVPj5Z46wHzyiQzevVss4cCQ+/S2 Bs21BB7u8TLE60kXyRUZtPbzqwYJhT+2uSakpo3enbMyOq5tqgeQb7kTN6n0kyBt AOsy3A4lH097McHW7eJozFzYHoogBAOCxUL9x7YUmOWEwkjI9xYaaFPdn/p3ssla AtR4B464DQUSErknkb4MIir5EsMJUqs4DNMnGLA/elSkb1+7/DDqdiYwsEogX1A= =1dEz -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Problems with the School Server and IIAB
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 School Server Experts, We are trying to deploy an Internet-in-a-Box (IIAB) network appliance to an OLPC and XS school in Pakistan. (http://internet-in-a-box.org) I need help getting them instructions so they can access the device using their School Server XS 0.7 The IIAB appliance gets an DHCP lease on startup from their XS 0.7 server. The IIAB appliance registers its name with the DHCP server as know. In THEORY, on the XS, dhcpd should register the name know with the named DNS server (ddns-update-style is set in /etc/dhcpd-xs.conf on my own XS installation). Then students can access the IIAB appliance at http://know - From their reports, this appears to work initially, but after some time (DHCP lease expires?) it stops working. I'm looking for a simple solution to communicate to them to assign the IIAB appliance a fixed IP address. It is currently not (safely) possible to configure the IIAB appliance for a static IP. Then they can just refer to it by IP. I assume it should look something like: host know { hardware ethernet 00:03:6D:00:83:CF; fixed-address 172.18.97.10; } added to /etc/dhcpd.conf But with my very limited School Server experience I don't want to lead them astray. Any help appreciated. - -braddock On 08/31/2013 04:03 AM, Kishwer.Aziz wrote: Tony, Since my return from Pakistan in early August, the local support team has been struggling with getting the school server and IIAB to work on the network they have created using 8 routers (one for every class of 20 students) I have asked them to explain to me what the problem is and not being technical I cannot understand what they are telling me. Given below is their technical explanation for what is happening. Verbally I have been told that sometimes some children can connect while others cannot. When they turn the whole system on and off, look for the IP allocated to the IIAB by the Server, give it to the children they can connect to it but next day this changes. Can you find us a solution for us? Tell us what we are doing wrong? Regards Kishwer *From:*Younus Zafar [mailto:younusza...@gmail.com] *Sent:* Friday, August 30, 2013 11:45 AM *To:* Kishwer.Aziz *Subject:* salam madam (1)School server is assigning IP of two pools for clients( i-e 172.18.96.X 172.18.97.X (2) it creates problem for Xo's to connect with IIAB server they cannot use DNS resolver for domain name “know” -- */ /* *Muhammad Younus Zafar* *_S_*_enior *S*ystem *S*upport *E*ngineer_ BR News Room Aaj News -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSKIv7AAoJEHWLR/DQzlZuFrkH/RZDNNvnm6qVhgOdyf/Xhmod z0uz0+h1Bwt3FHYWbEz8598Kxp1oDFrunJXf+ozNW6WY0S4rZpKkY7ZLYuu8Ko4a J/ONNYx/RIHQn3AG7MrF32yMErLuemnkW3hpzqJZ3/zSN281gytqmyWj/m25RNSy x7ImKg0rOee12WNU7hUkT26XosN3FRkyFX/8y6eNBxQ6gjvA2TT+ZsrAClxzelZg Ozyirlx3b9whyBdXDFnYZoyxa6Bt9tKE9zXQzMDk/UE5bGf8dOhBJMls69fvuwps jlUHHCgF+fR6svgXTHVyrj8kFpmYVxq4nHDh8JUd5cGVucDquG1Z2aV0mUnLKtM= =CtwJ -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Server-devel Digest, Vol 76, Issue 21
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From: David Farning dfarn...@activitycentral.com We have just received confirmation that compulab won't be releasing a SATA connector with the utilite. ( http://utilite-computer.com/web/home ) Instread they will offer a mSATA connection. This is a real disappointment to the Internet-in-a-Box project. I was really hoping the Utilite would be the perfect solution for our full dataset (which is too large for an SSD). - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSDu3rAAoJEHWLR/DQzlZufbIH/RJv2wnglYnMRd+F6uMHvF5A pG048IP4rEd/5+jjERksTVRwCth5ZTL5bNJfiBA/h6hxFdS1fER1LR8SrbW7tSqi o9/r+HEW8MEuNaRb3sqb9Ud81YaWkh9WXX8+bjK/pvGSuJUcVzazXpFPuvkePFHz HYSRo3Unh1ehoqnWicXg+iNiUmqXjQIl5DEv2qZE0jcTskxnhGjTGIzuEk6kj/XU Ed06TePXwlj0II5zsLWdBqvxmDP0dZgdgDBKLnjomwSOFTKIEqQb645qftb8aVlT qmM4yAzgjWDtSeNCBhElpohUJ1zDv0Ldrzrx6P1DSOzLFW5CiKhg/A4R+JD6Upw= =VwuD -END PGP SIGNATURE- ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Request for mDNS name resolution from Internet-in-a-Box project
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear OLPC Devel folks, Is it possible to enable mDNS name resolution in future builds of OLPC OS? Fedora and most Linux distros (not to mention Macs) support mDNS out of the box, yet for some reason it is turned off in OLPC OS. I believe all that is required is the addition of the nss-mdns package to the OLPC OS build. Enabling mDNS allows us to add an Internet-in-a-Box network appliance to an XO deployment network with zero configuration. The user just plugs our device into their network and browser queries for http://know.local simply resolve. This works on Mac and most flavors of Linux, and for Windows we provide an NMB name at http://know. But ironically the XO seems to lack any mechanism for de-centralized local resource discovery. Unfortunately, since OLPC OS does not resolve mDNS names we are finding deployments to XO schools are much, much harder. We are, for example, right now in the middle of a deployment to a large school with XOs in Pakistan. Instead of just plugging in the Internet-in-a-Box device, the people on-site need to reconfigure DHCPd on their CentOS XS School Server to supply a static IP to our appliance's MAC address, then use the IP address from the XO's browser. Not ideal, and I'm not sure they will succeed. A successful deployment of Internet-in-a-Box to a Windows-based school in Sierra Leone, on the other hand, was trivial. Thanks, Braddock Gaskill Founder, Internet-in-a-Box Project http://internet-in-a-box.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJR+YPTAAoJEHWLR/DQzlZubWAH/AsAPXBJgIiUzT44jqZeObJF a3ebCOypZnDTYHO+RVd3T3fGhx3uopFY3zQjiywZ+9sKYEQlMOg/pVoYtXxfAdXD wmxWKy26iyl2po+KXJlPyT7brEJ1MKkHmlyTZiXSj82E5pf9BbITFsQjEwqeeGwe 9JO8YjOmaUVbZVRuNSWfwsPJz2RlZZPNZR9d/VGkyTkvmNRiaqvNpFBa8SyFFC7D F7E6mPsAvzTDogXQz3RCsyHjmXV/BIpl5nqtFViVEp4hbjWc2kXwdEqLqX27dWJC /SWovkjOifwWyvd0aiLEM0202RN/FzsdhAl50e1ptV3EzEw1bZXHD+83ty0N0hQ= =xnyF -END PGP SIGNATURE- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Request for mDNS name resolution from Internet-in-a-Box project
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/31/2013 03:17 PM, Paul Fox wrote: Fedora and most Linux distros (not to mention Macs) support mDNS out of the box, yet for some reason it is turned off in OLPC OS. I believe all that is required is the addition of the nss-mdns package to the OLPC OS build. if it's that simple, can your deployments simply do that installation with yum? or is there something else missing, either from the laptop, or from my understanding? That would require installing nss-mdns on each and every XO laptop in each school, and doing it again every time an XO was upgraded. Not feasible. It needs to be done upstream. - -braddock -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJR+Y3IAAoJEHWLR/DQzlZuETIH/j+0Glx3vNu/wjlmb3oEyRVz pQ6ONyu7ESAcnqE1WWfx70BNW5lpuaFsLbuUKHrR3s7IqmsdTYV7nUCtSnKZOAR1 DtJ1gtP1JQXIPirDC1wPvp3CdgLPGrt/YLlmOhYGZRXUabJamQS0bzvk7z0qq2f4 S2hHEB7xpMCvrWLdRxUJvMl4a/I7IedlK3y34nicS2nRGHefiE/gAHyyXHPXj08p JtDxm0ycmOKCaPipGfKOX54aazhRs4aZLSrUKfChaJg3E1TTdHMSPUilrC/kivpg /NzROcCUQc0Jk0I+zcustLtyPsMkFz7i34vlUHn+bRo9NMg+koXUcaxuzCBOgmM= =UVWi -END PGP SIGNATURE- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Request for mDNS name resolution from Internet-in-a-Box project
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/31/2013 03:39 PM, James Cameron wrote: What would prevent a network intruder, or a malicious user of OLPC OS, from supplanting http://know.local ? Well, it is no worse a problem than someone arp poisoning or handing out fake dhcp replies. If they have access to the local network they can do certain bad things. - -braddock Installing nss-mdns as an RPM during XO customisation is practical if you use the right customisation tools, which in order of complexity are: - unlock the laptops and use the xo-custom script in mktinycorexo, thanks to Jerry, - unlock the laptops and make your own build, with the patch below, - sign an xo-custom script with deployment keys. Waiting for the next OLPC OS build is an option, but I don't know when that will be. I've raised ticket #12730 to track the enhancement request. From bc224068e4976fce2cbbc4de9378f4cb425027fe Mon Sep 17 00:00:00 2001 From: James Cameron qu...@laptop.org Date: Thu, 1 Aug 2013 08:31:01 +1000 Subject: [PATCH] add mDNS support for host name resolution --- modules/base/kspkglist.10.core.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/base/kspkglist.10.core.inc b/modules/base/kspkglist.10.core.inc index 857157c..1ff5b4c 100644 --- a/modules/base/kspkglist.10.core.inc +++ b/modules/base/kspkglist.10.core.inc @@ -55,3 +55,6 @@ usb_modeswitch-data # provides firewall-offline-cmd, needed for kickstart firewalld + +# support mDNS name resolution for local network content repositories +nss-mdns -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJR+Zz5AAoJEHWLR/DQzlZutGYH/1q9S3IVKsceXZTAl/HICj2l aJH8VSUzMD++oyMsgRBlGmXZ8TGUnS+ESb/tAxv7U0CT1CXOVSqeAgJ8GiJJRQWp veWOWPEqeB1ws06miq1yDPZlnOpsKskZPWv3kPYVOVhaaNWbIgWRfZJoSu0YNbXy dW2SDpwSjgry4hXjOPatmUoEz/2tVPGRsbPWV4kDXHVjAiCKrkR2qs+1Npwrujpb aYDtBliLIt9i6/aGRYZ9Uvefs+xyNGqwJgiIwySuGiuKdh2niNPHJ/EqejB15ROP JUjvCkZhS/ZrqCX1Abh0dsaF1E498HnAk/WPZB0e+l0ZOT4OVYQpQTyIXBbJuCY= =jI5N -END PGP SIGNATURE- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] A Path to Pathagar.
I'm curious how Pathagar may be applicable to our Internet-in-a-Box (http://internet-in-a-box.org). Can it scale to the 40,000 epub books in Project Gutenberg? thanks, Braddock Gaskill On 06/04/2013 01:46 PM, David Farning wrote: One of the additions to XSCE 0.3 is the ability to add services to XSCE without having an intimate knowledge of the entire server. Our first real test of this is the inclusion of Pathagar as a bookserver. For the last three releases the XSCE project has focused on the basics: 1. Network connectivity within the classroom. 2. Internet access were available. 3. Modular structure. This has been the boring framework stuff which will enable the fun user facing stuff like Pathagar to work. Pathagar is a simple bookserver. In this case, simple means rugged and maintainable. Pathagar has three purposes; browse, search and download digital books from a server. In the basic use case a librarian or curator places digital books in a directory on the server. Students can then browse, search and download from their web browser or bookreader software. Technically, most of the pieces are in place: 1. I believe the XSCE needs a bit more work handle external storage. (Not barfing if the USB connection is bumped.) 2. Pathagar is fully functional. The remaining steps will be to: 1. Validate Fedora packaging. 2. Create the glue code to add Pathagar to XSCE is a plugin. 3. Validate loosely coordinated release. 4. Test, test, test. Technically this seems pretty straight forward. The more open ended issues is curating content. A book server with no books is as useful as school server which doesn't serve. -- David Farning Activity Central: http://www.activitycentral.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Hi James I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 I have tried turning the boot flag off on the NTFS partition, but it still dumps me to the OpenFirmware ok prompt. I can reproduce the problem by formatting a USB stick to NTFS and trying to boot with it plugged in. So it is reacting badly to the mere presence of NTFS on USB media. -braddock On 05/12/2013 03:40 PM, James Cameron wrote: On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: Is there a way to boot a large USB hard drive attached to an XO? At our XS Community Sprint this week outside Toronto, we've been unable to boot XOs with the 700+ GB drive(s) containing very polished open content provided by http://internet-in-a-box.org The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the OK prompt. FYI our 1TB disk is a nearly complete snapshot of: * Wikipedia-in-41-languages, thumbnails for most all images * OpenStreetMap for the whole world cached at all zoom levels for fast display * Gutenberg Prjct's full collection of 40,000+ books, images * Khan Academy's ~4000 video classes, etc Does firmware currently block the mounting of all large USB drives -- NTFS in this case if not other filesystems? Open Firmware tries the first partition that is marked bootable. Exactly what it does next depends on the firmware version, but clearly in your case it stops booting. Might there be a workaround so isolated XO servers in Haiti (etc!) can hopefully auto-boot with this quality free content? Turn off the bootable flag using a partitioning program, ensure you are using latest firmware Q7B30, and attach a serial console for further debugging. If you can tell me how to reproduce the symptom, then I'm quite sure I can get it fixed. I certainly can't afford to download 700 GB or 1 TB to do that though. I'm happy to work with whoever has the drive and an XO-4. The nature and value of the content has no relationship to the diagnosis process, but is interesting regardless. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Hi James, I flew home from the XS-CE hackathon yesterday so unfortunately no longer have an XO-4 to test with. So I can't create you a known-broken USB image of reasonable size. I formatted the 8GB USB stick to NTFS under Linux using gparted (so mkfs.ntfs I presume). The fdisk -l is below. I did not touch or add any files to the partition after formatting. The Seagate Wireless Plus USB harddrive which also had the boot problem had an NTFS partition formatted at the factory, but was later resized by me using gparted. sudo fdisk -l /dev/sdd Disk /dev/sdd: 8004 MB, 8004829184 bytes 1 heads, 16 sectors/track, 977152 cylinders, total 15634432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d606e Device Boot Start End Blocks Id System /dev/sdd1204815634431 78161927 HPFS/NTFS/exFAT On 05/13/2013 03:13 PM, James Cameron wrote: Thanks! I acknowledge the boot flag removal did nothing. This points me away from the part of Open Firmware that recognises that flag. I'm sure I can fix it as soon as I can duplicate the problem. But I've been unable to duplicate, possibly because I don't have the same NTFS software as you. I'd like to check the partitioning as well as the filesystem, because Open Firmware tries both in sequence. It might be reacting to the partition table rather than the filesystem. For that I will need a disk image, but as small as possible because I'm quite remote. Could you please pick the smallest USB available drive you have, (1) erase it thoroughly, (2) format it to NTFS in the way you usually do, without adding any files, then (3) prepare an image, (4) compress it with gzip or zip, (5) check that the USB drive does cause the problem still, and (6) provide me with a link to download? If anybody else has the time to do this, feel free to contribute. I've raised a ticket to track the problem: http://dev.laptop.org/ticket/12678 Some suggestions for capturing the image: 1. to erase a USB drive thoroughly, using Open Firmware, see http://wiki.laptop.org/go/Forth_Lesson_23#erase_a_device or in Linux use sudo cat /dev/zero /dev/YOUR_DEVICE where YOUR_DEVICE is the name that Linux has chosen for it, 2. (no suggestion), 3. to prepare an image on Linux, use sudo cat /dev/YOUR_DEVICE image, 4. to compress, use gzip image, 5. checking it after making the image ensures that any changes made accidentally by Open Firmware are not included in the image, 6. attaching the image to the ticket may be helpful if you don't have any public place to leave it. (and a comment, the support for NTFS in OLPC OS kernel is not pertinent to the problem I wish to solve.) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Hi James I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 I have tried turning the boot flag off on the NTFS partition, but it still dumps me to the OpenFirmware ok prompt. I can reproduce the problem by formatting a USB stick to NTFS and trying to boot with it plugged in. So it is reacting badly to the mere presence of NTFS on USB media. -braddock On 05/12/2013 03:40 PM, James Cameron wrote: On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: Is there a way to boot a large USB hard drive attached to an XO? At our XS Community Sprint this week outside Toronto, we've been unable to boot XOs with the 700+ GB drive(s) containing very polished open content provided by http://internet-in-a-box.org The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the OK prompt. FYI our 1TB disk is a nearly complete snapshot of: * Wikipedia-in-41-languages, thumbnails for most all images * OpenStreetMap for the whole world cached at all zoom levels for fast display * Gutenberg Prjct's full collection of 40,000+ books, images * Khan Academy's ~4000 video classes, etc Does firmware currently block the mounting of all large USB drives -- NTFS in this case if not other filesystems? Open Firmware tries the first partition that is marked bootable. Exactly what it does next depends on the firmware version, but clearly in your case it stops booting. Might there be a workaround so isolated XO servers in Haiti (etc!) can hopefully auto-boot with this quality free content? Turn off the bootable flag using a partitioning program, ensure you are using latest firmware Q7B30, and attach a serial console for further debugging. If you can tell me how to reproduce the symptom, then I'm quite sure I can get it fixed. I certainly can't afford to download 700 GB or 1 TB to do that though. I'm happy to work with whoever has the drive and an XO-4. The nature and value of the content has no relationship to the diagnosis process, but is interesting regardless. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
On 05/11/2013 12:44 PM, Holt wrote: Is there a way to boot a large USB hard drive attached to an XO? Further detail on the trouble drive. This is a 1TB Seagate Wireless Plus connected via USB. It mounts correctly when the XO is booted, but if it is connected when the XO is powered on or rebooted, the XO drops to a firmware OK prompt. I wonder if it could be because the first partition has a boot flag set? # fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204885504 bytes, 1953525167 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x6f44561a Device Boot Start End Blocks Id System /dev/sda1 *2048 8193149 40955517 HPFS/NTFS/exFAT /dev/sda2 8193150 1953520064 972663457+ 83 Linux Another volunteer has an external USB drive here which DOES work correctly. Thanks, Braddock Gaskill At our XS Community Sprint this week outside Toronto, we've been unable to boot XOs with the 700+ GB drive(s) containing very polished open content provided by http://internet-in-a-box.org The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the OK prompt. FYI our 1TB disk is a nearly complete snapshot of: * Wikipedia-in-41-languages, thumbnails for most all images * OpenStreetMap for the whole world cached at all zoom levels for fast display * Gutenberg Prjct's full collection of 40,000+ books, images * Khan Academy's ~4000 video classes, etc Does firmware currently block the mounting of all large USB drives -- NTFS in this case if not other filesystems? Might there be a workaround so isolated XO servers in Haiti (etc!) can hopefully auto-boot with this quality free content? Cheers! -- Help kids everywhere map their world, at http://olpcMAP.net ! ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel