Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, June 08, 2010

How to Undo an Update in Ubuntu Lucid

Well it took me a few hours but I finally figured out why a couple of the images I've been working on were taking so long to fully load the Gnome Panel upon login (about 30 seconds as opposed to the 5-8 it normally takes). After ruling out dozens of other possibilities I finally realized that it was a gnome-keyring update I installed just today that was causing the panel to load so slowly. It wasn't easy though.

The first step to undoing the offending update was to find out what updates it was exactly. After searching some forums I came across a way to see my update history:
  • Open synaptic package manager ("sudo synaptic" in the terminal). From the menu bar, click File -> History and you will see all your updates sorted by date.

Unfortunately I had installed about 20 updates today, and I didn't know which one had caused the problem. By searching through each of the packages named in the History list, I was able to downgrade a few at a time until the problem was solved and I had identified the offending update. To do this:

  • Use the search bar to find the package you want to downgrade. Once you've found what you're looking for, click on the package to select it. From the menu bar, click Package -> Force Version and select the previous version of the package from the drop down menu. Click the "Apply" button to apply the downgrade.
It's not an elegant solution, but it did the trick for me. Hopefully it will help someone else out there sometime too. Cheers! -Joe

Lock Down Firefox Preferences on Ubuntu Lucid With a New firefox.js File

In the past couple of weeks we've received 105 donated computers. Dell GX260/270 towers, P4's all, 512MB-1GB of RAM and decent specs otherwise. This has dramatically shifted my vision for the technology infrastructure of the Academies. We no longer have to worry about utilizing underpowered Pentium 3 machines any longer, which means the need for LTSP and all its advantages is gone as well.

LTSP is, in my opinion, an elegant but troublesome solution. Without consistent and frequent monitoring there are simply too many ways for individual workstations to stop functioning. Of course, when a breaker flips, a student accidentally kicks a surge protector strip off, or someone knocks out the switch the whole thing comes to a crashing halt.

Therefore, I've recently begun building several images of both Windows XP (for our Rosetta Stone utilizing teachers) and Ubuntu Lucid for the various machines we have on campus. I'm hoping to find the time to put together a complete "From Square One" guide to locking down the Ubuntu desktop (as I've done it a few times already this week), but for now I thought I'd share a particularly useful bit of code, following up from a previous post of mine.

Some of the old firefox.js settings no longer work, but I've managed to fix all of them and add a couple more that I like. I think the descriptions are mostly adequate to see what I'm attempting, but if you have any questions drop a comment and I'll reply. Cheers! -Joe

As before, this is the firefox.js file located in etc/firefox/pref/

// This is the Debian specific preferences file for Mozilla Firefox
// You can make any change in here, it is the purpose of this file.
// You can, with this file and all files present in the
// /etc/firefox/pref directory, override any preference that is
// present in /usr/lib/firefox/defaults/pref directory.
// While your changes will be kept on upgrade if you modify files in
// /etc/firefox/pref, please note that they won't be kept if you
// do them in /usr/lib/firefox/defaults/pref.

pref("extensions.update.enabled", true);

// Use LANG environment variable to choose locale
pref("intl.locale.matchOS", true);

// Disable default browser checking.
pref("browser.shell.checkDefaultBrowser", false);

// Prevent EULA dialog to popup on first run
pref("browser.EULA.override", true);

// identify default locale to use if no /usr/lib/firefox-addons/searchplugins/LOCALE
// exists for the current used LOCALE
pref("distribution.searchplugins.defaultLocale", "en-US");

// Enable the NetworkManager integration
pref("toolkit.networkmanager.disable", false);

// Other preferences

user_pref("browser.startup.homepage", "http://www.aeacs.org");

user_pref("startup.homepage_override_url", "http://www.aeacs.org");

user_pref("startup.homepage_welcome_url", "http://www.aeacs.org");

pref("browser.startup.homepage_reset", "http://www.aeacs.org");

pref("privacy.sanitize.sanitizeOnShutdown", true);

pref("privacy.sanitize.promptOnSanitize", false);

pref("privacy.clearOnShutdown.offlineApps", true);

pref("privacy.clearOnShutdown.passwords", true);

pref("privacy.clearOnShutdown.siteSettings", true);

pref("privacy.clearOnShutdown.history", false);

pref("privacy.clearOnShutdown.downloads", false);

pref("signon.rememberSignons", false);

pref("browser.tabs.warnOnClose", false);

Wednesday, September 02, 2009

Resolution issues in LTSP

Yesterday I brought my whole class down to my newly configured LTSP lab with my dual quad core xeon, 8 gigs of RAM server powering my 22 Pentium 3, 128 MB RAM thin clients across a 10/100 switch with gigabit uplink from the server to the switch. From everything I've read this setup should work fine, especially since I've got firefox running as a local app now. Alas, it was not long before the familiar old complaints were ravaging my ears. "Mine's frozen!" "The computer's not working!" "Mine's slow!"

Ugh.

I did my best to alleviate the immediate issue by moving kids off of computers and that seemed to help a bit, but I still think there must be some sort of issue with my switch or something. I'm not entirely sure what the problem could be, but I knew that 128MB was pretty lean for the clients so after school I collected all the old PC133 SDRAM I had in stock and installed an extra stick in each client. This brings me to 256MB RAM in each machine which should be adequate.

I figured out how to check on the switch settings and all the ports are running at full duplex, but I've got a parent here who's pretty saavy with network issues so I might have him probe around a bit more.

One thing still left me puzzled yesterday, and that was the fact that some of the machines were not showing the screen correctly. Things were showing tracks around the screen and the resolution was different on different monitors. This despite the clients all being the same make and model. Very confusing.

It's taken me a couple of hours this afternoon, but I finally figured out the problem. I noticed that the problem was only happening on certain monitors, Dell M782 models to be exact. The Dell 781P's, which are actually a year older than the 782's, were working perfectly.

After wading through the ltsp handbook for a while and trying all kinds of settings in my lts.conf (/var/lib/tftpboot/ltsp/i386/lts.conf) I finally found the one setting that fixed all my problems:
XRANDR_DISABLE = True
Apparently Xrandr was trying to autoconfigure the settings on the monitor and was somehow getting them wrong. By disabling xrandr I was able to dictate the resolution I wanted and all the tracing and slow performance disappeared! Sweet. Here's my complete lts.conf if you're curious, but disabling xrandr was really the key to getting the monitor resolutions right. Cheers! -joe
[Default]
LDM_DIRECTX = True
XRANDR_DISABLE = True
X_RAMPERC = 80
X_MODE_0 = 1280x1024
LOCAL_APPS = True
LOCAL_APPS_MENU = True
LOCAL_APPS_MENU_ITEMS = firefox
SEARCH_DOMAIN = 192.168.0.1 || Change this for your own network
DNS_SERVER = 92.168.0.1 || Change this for your own network
RCFILE_01 = /etc/init.d/chmod-resolv.sh

Saturday, August 22, 2009

2009-2010 Year Approaching

School starts in 8 days, but I started back at school a couple of weeks ago. We had a string of break-ins on campus at the end of last year and while the thief initially (and surprisingly) didn't take anything aside from a few dollars laying around during the first two incidents, he eventually wised up and swiped a laptop.

In any case, I had some work to do processing some new equipment brought in for different situations like the one above, and of course I wanted to make a little progress on the Ubuntu servers we have in the labs and classrooms to see if I could have them running local apps at the start of the year.

Anyone looking to implement local apps at this point (myself included) would be wise to remember that it is a very experimental proposition as it currently exists. That being said, there are a few people around who seem to have gotten not only firefox to work as a local app, but flash as well. If envy could be sent across the intertubes, you would detect an abundance of it emanating from me right now.

The good news is that I know that I've at least got the first step of firefox as a local app going thanks to Gavin and the guys on the edubuntu user list who really did a great job of dumbing down the Thin Client How to NAT so an amateur like me can follow it without frustration. In case you're thinking of trying local apps yourself you'll soon realize the first step is setting up the LTSP server as a NAT gateway so thin clients that don't boot off of the server (or local apps running off the thin client instead of the server) can get Internet access.

Regrettably, there's not a similarly concise and simple How To page for setting firefox as a local app, but I'm working on the process and if I get it nailed down I'll be sure to put some hours into a comprehensive How To for others to follow. Paying it forward and all that I suppose.

Finally, I sent a message to the xfce users listserv asking how to set up kiosk mode in xfce 4.6 but I haven't heard a response yet. I'm hoping it is just because it's the weekend, but the pessimist in me says it's time to move to KDE's well documented kiosk tool. I downloaded the latest Linux Mint image with KDE 4.3 as a means of reviving an old Gateway laptop my cousin sent my way a few months back. I'm planning on experimenting with the kiosk tool there and hoping it works as well as it claims. Great to be back! -joe

Thursday, May 07, 2009

LTSP Local Apps Progress (Or Lack Thereof)

I've been working hard this afternoon to try and get Local Apps up and running as mentioned in the Edubuntu Jaunty Release Notes. Alas, I've experienced little more than the all-too-familiar Linux fatigue trying to navigate my way through a relatively complex set of instructions with little to no (or in the worst cases, inaccurate) documentation. My (least) favorite part is the little blurb in the release notes that makes everything seem so simple:

Installing Firefox inside the LTSP chroot and setting LOCAL_APPS_MENU=True in lts.conf will make Firefox to run locally on the thin client. The XDG integration takes care of adding the application in the menu or replacing it by the local application if it's already present.

Ahhh, the art of deception. I have, in fact been able to install Firefox in the LTSP chroot, and have also created and modified the lts.conf file appropriately. I have not found it true that the the application is replaced by the local application however. Nor have I been able to actually get Internet on Firefox when it is running as a local application. This is important because, as much as I enjoy seeing that familiar Firefox screen indicating that I am NOT, in fact, connected to the Internet, I think I speak for most users when I say that the value of Firefox is vastly diminished without Internet connectivity. Before I write more about that, however, let me give a little background to those who are about to walk in my footsteps.

I really don't understand why there is an opt/ltsp folder on the server or why it seems to have the exact same files that are on the Server file system already. I used to think that the server was operating in its own environment and the Clients were all in another environment under opt/ltsp and that to update the server was one thing, but to update the clients you had to use the command line and change root to opt/ltsp and then run updates from there. And while I still think this is sort of true, it doesn't explain why I can just install an application on the Server and that application will then become available on the Thin Clints. Shouldn't I have to install the application within opt/ltsp as well?

Anyhow, I followed this post and was able to install Firefox in the LTSP chroot, which I guess lets it run on the Thin Clients instead of the Server, and everything seemed to be fine. I can follow his command "ltsp-localapps firefox" on the Thin Clients and Firefox indeed pops up, although with no Internet. According to the post, I have to set up the Server as a NAT/Gateway or whatever. No problem, I get that: normally the Thin Clients look no further than the Server for their network information, but now we need them to be able to look beyond the Server to the actual Internet. Fine.

I followed as best as I could all the instructions on the How to NAT wiki page, and I thought I did everything right, even performing the checks (accurately I thought). At the end of the day, however, I could still not get Internet on Firefox as a local app. I even used my work Windows XP laptop to run ipconfig while on the LTSP network and couldn't get it to see past the Server. I'm not sure what I did wrong, but if I ever find out I'll be sure to post it here with the quickness.

What I really want to whine about, though, is the lack of accurate documentation available for things like this. I feel like the devs all complain about a lack of testers and inaccurate bug filing and maybe they are right about that last one (I wouldn't know, the process is so complex I just avoid it altogether because I'm afraid of doing something wrong). The former issue, though, could be helped with a little better documentation on things. Two examples:

Example 1:
I tried to set up my Server as a Gateway/NAT as described above, but here is the first check I am supposed to perform:

Test
: Reboot the PC, to ensure it sees this and examine the default route (on linux type route -n).

Okay, I can reboot the PC (although the first time I followed this tutorial I thought I was supposed to reboot the Thin Client) but then what? I am supposed to ensure that it sees WHAT? How do I ensure that it sees this? What do I specifically do to ensure it sees whatever it is supposed to be seeing? Then I am supposed to examine the default route? Examine it for what? What am I examining and how will I know if something is wrong?

I guessed that I was supposed to ensure that the PC saw the change in the option routers. But there was no change to make for me. The "change" was to "change" a network address to what was set up by the LTSP install by default. If this is correct, shouldn't there be a note that this might be the case? As far as "examining" the default route, I guessed that this meant typing "ipconfig" in the command line on my Windows XP laptop while it was connected to the LTSP network. When I did this it seemed to show that it was seeing the "new" network address, but I didn't really know if what I was looking at was correct and I could proceed or not.

Example #2:
A while back I posted about kiosk mode in XFCE 4 and even posted the contents of my kioskrc file that locks down the Thin Clients. This was a huge breakthough because it allowed me to configure all the clients quickly with just one small file and I could be confident that they wouldn't be tinkered with my malevolent students. Well, Xubuntu Jaunty uses the latest version of XFCE, version 4.6. Overall the changes seem positive (I LOVE being able to click and drag to select multiple files on the desktop) but my old kioskrc trick doesn't work anymore, and there is NO documentation for XFCE 4.6. I don't mean that there is little documentation, or that the documentation is inadequate or hard to find. I mean that on the XFCE.org website under "documentation" it says:

We're sorry, but there is no documentation for 4.6 (yet).

So, I play the waiting game (again) and they don't get their user testing.

Today I switched to GNOME , deciding to give it another try after bailing on it over a year ago. Unfortunately GNOME remains slower on Thin Clients than XFCE, gconf still sucks to use (I set a "disable switching users" key to "mandatory" and it entirely removed from the panel the button to log out AND refused to let me change the key back!), Pessulus is still lacking all the options I need (and thinks people are using Epiphany instead of Firefox for some inane reason) and Sabayon still crashes when I try to run it. It's like May 2008 all over again!

I'll be sure to post again when I have some good news. For now, I'm going to litter the intertubes with requests for information about XFCE kiosk details and clarification on the How to NAT. Cheers! -joe

Tuesday, April 28, 2009

Back (again), Jaunty Jackalope, LTSP local apps, and a new way to set firefox preferences

Well it has been way too long since I posted an actual post here. Last year I had a lot to say as the Technology Teacher and School Techguy. Unfortunately the budget cuts to California's school system led to the outright elimination of my position at the school. Fortunately my administrator saw fit to offer me a position teaching 5th grade and even offered me a stipend to continue working a few hours each week solving various technology issues. Although I really miss participating in the overall edtec community as much as I was able to do last year, I have a lot to be thankful for with this new position and it has been a great experience. That being said, I still have some thoughts to share regarding the current state of technology in education and I thought I'd take some time to convey them (especially since I have little else to do while Xubuntu 9.04 loads on my student server).

Speaking of Xubuntu 9.04, if you haven't had time to read up on all the changes in Jaunty I suggest you do so. I think I agree with the consensus, which is basically that everything just works a little bit better. I'm glad to see they didn't adding any major changes like pulseaudio or compiz and instead seemed to focus more on making everything more reliable and faster.

9.04 has seen some significant improvements in LTSP as well, including something that has the potential to revolutionize (at least for me) how LTSP deployments are configured and used. That thing is support for local apps. You can read more about it in the release notes. If and when I get this feature working I'll be sure to post back about it.

Finally, I wanted to share something I discovered recently that relates to a popular former post of mine about setting firefox preferences. I've since found a better way to set these preferences. Instead of creating and editing a user.js file I now just edit the firefox.js file in etc/firefox/pref/

Things aside from the typical preferences that are included in Xubuntu by default that I decided to tic are:
setting the homepage
automatically clearing cookies and passwords after each session
not asking the user if they want to clear the cookies and passwords
not remembering any passwords by default

Here is my entire firefox.js file that I use at school:


// This is the Debian specific preferences file for Mozilla Firefox

// You can make any change in here, it is the purpose of this file.

// You can, with this file and all files present in the

// /etc/firefox/pref directory, override any preference that is

// present in /usr/lib/firefox/defaults/pref directory.

// While your changes will be kept on upgrade if you modify files in

// /etc/firefox/pref, please note that they won't be kept if you

// do them in /usr/lib/firefox/defaults/pref.

pref("extensions.update.enabled", true);

// Use LANG environment variable to choose locale

pref("intl.locale.matchOS", true);

// Disable default browser checking.

pref("browser.shell.checkDefaultBrowser", false);

// Prevent EULA dialog to popup on first run

pref("browser.EULA.override", true);

// Disable "safe browsing" feature that hogs CPU, HDD, etc. etc. in LTSP

pref("browser.safebrowsing.enabled", false);

pref("browser.safebrowsing.malware.enabled", false);

// Disable annoying location-bar suggestion "feature" that is sludgy with thin-clients

pref("browser.urlbar.maxRichResults", 0);

// Disable offline/disk caching of web pages

pref("browser.cache.offline.enable", false);

pref("browser.cache.disk.enable", false);

// Other preferences

pref("browser.startup.homepage", "http://www.aeacs.org");

pref("browser.startup.homepage_reset", "http://www.aeacs.org");

pref("privacy.item.passwords", true);

pref("privacy.item.offlineApps", true);

pref("privacy.item.cookies", true);

pref("privacy.sanitize.promptOnSanitize", false);

pref("privacy.sanitize.sanitizeOnShutdown", true);

pref("signon.rememberSignons", false);


Hope that helps some of you out. Good luck! -joe

Wednesday, May 07, 2008

Xubuntu: Better than Ubuntu (at least for me)

So my situation here at AEA has been pretty well stated in this blog, but to briefly reiterate where we are:

There are approximately 200 workstations around campus for student use of which approximately 35 are Pentium 4 powered. The rest are either P3 or P2 machines with around 256MB RAM.

The simple fact of the matter is that with machines like these there are few options when it comes to Operating Systems. I'm sad to say that the best option as far as performance is Windows 2000 (as long as I don't install any updates on it ever and just run Firefox).

Of course Win2k is the worst option as far as stability, viruses, and ease of upkeep, especially when compared to a Linux LTSP setup. Ubuntu doesn't run that smoothly on these machines though, I've heard that 512MB is the minimum realistic requirement as far as RAM and that's just more than we have available for these workstations.


Xubuntu though seems to work pretty well, and even better, it comes with an LTSP option right out of the box (something that is not offered with Kubuntu Hardy Beta, although that may have changed with the official release).


Even better, XFCE allows the user to disable control of the desktop which GNOME stupidly does not (at least without manually editing some ridiculous .conf file by hand) which means that I don't have to worry about students putting inappropriate or obsene images as their desktop backgrounds anymore! Xubuntu also works with Sabayon (it's in the repositories although it's a little buggy still) so I can pretty much control every aspect of each users desktop.

Best of all I did a little accidental user testing with some 6th graders today and the results were great! Basically I had 3 classes today and in each one a kid jumped on the Xubuntu machine I set up yesterday. None of the three kids even mentioned the fact that their machine looked different from everyone elses, they all just hopped on firefox and got to work!

Now all I'm hoping for is a little performance boost across the LTSP network since XFCE is supposedly less resource intensive than GNOME or KDE. I'm installing Xubunutu on our new Quad Core Dell box right now so I'll post any interesting results soon. Cheers! -joe

Tuesday, May 06, 2008

Hardy Hardy Hardy: A Happy Return to Blogging, My Thoughts on Hardy, and What I've Been Up To Since We Last Spoke

Well faithful (and unfaithful) readers, it's been far too long since I last posted, and though my goal in doing so has for years to minimize the long posts and maximize the short ones, thus far I've proven singularly ineffective at heeding that advice. Nevertheless I will attempt once again to do so.

When we last spoke I was in a state of dismay over the atrocious performance of Adobe Flash on an LTSP Thin Client running off of a P4 3.0 GHz server even with a new gigabit switch and Hardy (if you understood that, god bless you).

Since that time I've made some great strides towards figuring out exactly what I need to do in order to have a functioning computer setup at this school that serves both the purposes of the users (the students) and the administrator (me). These strides have not all been in the same direction unfortunately, which was one of the main reasons for my prolonged absence in posting (that and my trip up to the Bay Area over Spring Break when I kind of lost some momentum).

So that losing of momentum was probably more drastic than even I initially realized as I really found myself disbelieving in the whole LTSP idea and even Ubuntu in general. I did get to see Shuttleworth speak in SF over Spring Break but was generally underwhelmed by what he had to say. This had little to do with what he actually said and far more to do with the fact that I had pretty much already read what he was speaking on (at least in terms of Ubuntu and its future) so the whole experience was a bit like watching a very predictable movie. And of course I wussed out when the question and answer portion came along.

So after that whole affair I started seriously looking at other Linux options. I checked out Deli Linux, DSL Linux, Puppy Linux, and of course Fedora and OpenSUSE. With all of these options I looked at the possibility of installing stand alone machines versus pushing forward with LTSP as well as the supposed strengths and weaknesses of each distrobution relative to what I knew about Ubuntu.

In the end I decided that Ubuntu had the same weaknesses as the rest, but more strengths (not the least of which were my own familiarity and experience with it and the community support of course). So now you probably understand why I failed to write for a while: I couldn't bear to write that I had given up on Ubuntu without actually being sure that I was going to do so.

I'll wrap up this post by saying I'm not giving up on Ubuntu, although as of today I think I'm moving over to Xubuntu. There's a few reasons for this which I'll discuss in my next post, to be followed shortly by posts about:

1. My job and recent developments related to the now notorious 2008 California State Budget Cuts
2. Next year's plan for the school (including potentially extremely controversial proposed changes in the technology layout courtesy of yours truly)
3. How things are going with my current setup in the labs and the library.

Glad to be back and sharing again, (as down on Ubuntu as I was last time, I'm up on Xubuntu this time!) -joe

Thursday, March 20, 2008

Headphones in the Lab, a new gigabit switch, and Ubuntu flash player still sucks

I have good news and bad news. Let's start with the good news first since the bad news is pretty bad.

For a while now I've had a box full of headsets for the kids to use but I haven't ever put them out because I just didn't want them getting all tangled up and broken. I've been meaning to get a bunch of adhesive hooks to hold the headsets on the side of the computer monitors and even put in a purchase order with the controller earlier this week, but yesterday I found myself at Office Depot and just went for it.


So with the help of a couple of students I've now got the lab all hooked up with headsets and the difference is unbelievable! It's eerily quiet in the lab now that all the kids are tuned into their own work instead of whatever all their friends around them are doing. I can not believe I took so long to put this thing together, but I try to think about the fact that I've got it together now instead of all the months I went through without it.



In any case I definitely have a new number one piece of advice for any noobie tech teacher: GET HEADSETS! For EVERY kid! It doesn't MATTER that it looks like you're running an illegal child labor call center!


Now for the bad news. Just like the worst kind of bad news it arrived on the heels of seemingly great news, this being the arrival of my gigabit switch and the beta release of Ubuntu's latest release Hardy Heron. Little did I know what a disappointment these supposedly beneficial arrivals would be. Allow me to explain.


For a long time now our students have been unable to use the adobe flash player on our thin clients. For whatever reason the performance is absolutely abysmal. Worse than abysmal actually, it is literally unusable. Until this afternoon I believed this was due to the fact that the thin clients were connecting to the server through a 10/100 switch instead of a switch with a gigabit uplink which I had read in many places would be far more preferable.


Thus when I connected my new switch with the gigabit uplink I expected to see a marked change in performance on flash player apps. Alas, you can guess what I saw instead. Taking a look at the system monitor revealed the following disturbing image.


If only I knew how to interpret it and diagnose the problem :(


It occurred to me that the issue might be with Gutsy and not the switch after all so I even tried installing the new Beta release of Hardy on the server after I had finished downloading it and still noticed no change. Just more of the same I'm sad to say.



The really disturbing part of all of this is the effect that these types of flaws have on my students. I started using Edubuntu in the first place both because it seemed like a good way to use the existing equipment we had, but also because I hated the idea of helping raise another generation of American citizens unable to wean themselves from the crippling teats of Microsoft and Apple. I imagined students who would be surprised and unfamiliar when they saw a Windows computer, who would appreciate the fact that their school used money to buy more computer equipment for them to play with instead of licenses for software just to make them work.


Tragically the precise opposite of this has happened simply because Ubuntu LTSP just CAN NOT play flash files. Subsequently the kids hate Linux, moan about how slow it is and marvel in small groups while flash files load frame by frame by frame. They LONG for Windows 2000. WINDOWS 2000!!!! How can this be?


For the past few months I've played the apologist, telling myself the kids mostly just played games in flash anyways and would be better off without them. That's not the point though. The point is that Ubuntu can't do something as well as an EIGHT YEAR OLD Microsoft OS can. This speaks volumes about the state of Ubuntu and I really don't know where to go from here.


I'm not giving up yet, but I'm through making excuses too. If Ubuntu can't figure it out, maybe another OS can. It might be time to personally look into SUSE or RHEL to see exactly how Ubuntu measures up. I'll keep you posted. -joe

Thursday, February 28, 2008

Ubuntu Brainstorm and the Cross Pollination of Ideas

Today Ubuntu announced Brainstorm, a site devoted to letting Ubuntu users nominate and vote for their favorite ideas related to Ubuntu. The premise is based around the assumption that any idea garnering enough votes will be worked on by either Canonical or the Ubuntu Developer Community for inclusion in a future Ubuntu Release and goes a long ways towards including some of us less technically-capable devotees.

I love this idea, and there are two things about it that really surprise me . The first is that it didn't exist before and the second is that I never noticed that it didn't exist before. This is one of those win, win, win, win, win ideas that fits in so perfectly with what has already been put into place that while it's difficult to understand why it took so long, you're still just glad its come around.

A beautiful thing about Brainstorm is that it has essentially been in place for a while over at Dell.com. In fact, it was through Dell's own version (called Ideastorm) that the first Dell Ubuntu machines were proposed, voted on, and ultimately released. This cross pollination of ideas is something that the technology sector has gotten down really well. It seems like most other industries actively avoid sharing ideas, first by protecting them to absurd degrees and then by trying to reinvent a wheel (sometimes succeeding, sometimes failing) that others have already built.

Our government seems even worse at this, refusing to acknowledge that successful programs in other countries could possibly work in America (as if we were so unique). This isn't a political blog, but one of the first steps for any educational technologist to undertake in attempting to solve a problem is to look around for any existing solutions. Maybe I'm naive, but this seems like a pretty common sense tactic and I fail to understand why it wouldn't work for pretty much any issue (healthcare, welfare, taxes...).

But I digress. Brainstorm may be a Dell ripoff, but it makes much more sense for Ubuntu than it could ever over at Dell (I've never even heard of a "Dell community" before, but maybe that's just me). Here's to Ubuntu, Brainstorm, and the continued cross pollination (or ripoff if you prefer) of ideas. -joe

Wednesday, February 06, 2008

Looking Forward to Hardy, More Video Card Confusion

It was a while back that I first noticed something seemed amiss with these old IBM P3 desktops that we seem to have so many of. I was almost sure that I had used them successfully in the past with Feisty but here they were crapping out on me after showing the Edubuntu splash screen with Gutsy. I wasn't that worried as it looked like I was going to have more than enough thin clients anyways, but still...

A couple of days ago I confirmed my feelings when I was in a kindergarten class that I knew had an up and running miniLAN and noticed that one of those IBMs was being used as a thin client. So there was indeed some regression in the compatibility of thin clients from Feisty to Gutsy. What a disappointing revelation to make.

I hoped to make lemonade out of this lemon of a development by installing Feisty on the Fujitsu-Siemens machines I got from the German Consulate in LA (especially since my $50 dollar solution did NOT work as they sent me 3.3V AGP cards instead of the 1.%V ones I needed). For a bit it seemed to be no use. I got the same strange behavior out of the Fujitsu with Feisty as I did with Gutsy. But I left the machine on for some reason, and a few minutes later there was the sign in screen, as if everything was okay!

I logged in, ran updates, restarted, created users, moved the machine to a 3rd grade class, connected thin clients, rebooted, and even let the teacher's daughter play Webkinz on the server before I got a call the next morning that none of the machines were working. It was the same old problem as before, and now I discovered that it wasn't just a problem with the video card. In fact the computer wasn't even fully booting the OS which meant that the thin clients couldn't boot either. Bummer.

So obviously I'm looking forward to Hardy being released in April (even if there won't be any new graphical redesign) mostly because there is supposed to be better support for video cards and monitor detection. Needless to say, the fact that these two changes were not highlighted on Ars Technica's First Look article was disheartening, but I still have high hopes. Let's hope they don't get crushed. -joe

Friday, January 25, 2008

Edubuntu Users Listserv and How My Curriculum Works

Hello again faithful followers. I must apologize for my extended delay from posting. I wish I could say it was due to some exciting adventure in my life that occurred over the Holidays but alas, I did little more than get myself addicted to Battlestar Galactica. I did get an OLPC machine for Christmas from my parents, but in case you haven't heard, there have been some "complications" in actually receiving the machine. I'll be sure to post my thoughts on the device as soon as it comes in.

No, the real reason I haven't been posting recently is because I discovered a thriving edubuntu user community on a listserv and have been reading and contributing to that as much as I can. You can sign yourself up here if you're interested. Since the main purpose of me maintaining this blog was to have somewhere to vent, question, and participate somehow in the community, finding an alternative has supplanted my time somewhat. In fact, for a while I kind of forgot about posting here until I actually ran into an issue with thin client resolution last week and googled the problem, only to have the top two hits link back to this very blog! Now I'm not sure if that is a case of Google self-promotion or something, but I certainly hope so because the alternative (being the idea that I have somehow become an expert in edubuntu problem solving) is a far more frightening thought.

Nevertheless, it did make me realize that I have something to offer more than just my contributions to the listserv since even an ubuntu junkie like me did not discover it until very recently. Therefore I present you with my first listserv poached post below, a response to a question by another member that asked me to clarify what programs I was using in the lab with my students and how I was using them. I hope you find it interesting. Cheerio! -joe

"Hi Bill,

The current curriculum has just undergone some recent changes in light of my beginning to teach middle school students in addition to elementary school students for the first time but I'd be happy to comment about the reasoning behind the current plan.

It arose out of specific school needs, state and professional organization standards (especially ISTE and Massachusettes since California doesn't have specific computer related technology standards), and my own experience/vision. The primary driving force towards Linux, LTSP, and Edubuntu arose out of necessity as much as anything else. I work at a charter school and we inherited a campus from a defunct public school complete with network and computers, the vast majority of the latter being from the wrong side of the millennium. Many of the machines we are using now were donated by organizations (the border patrol, district attorney's office, private companies, German Consulate) that were upgrading infrastructure and would otherwise have been discarded. Thus the ability to use these many underpowered and outdated machines as thin clients appealed to me. I'd guess we have about 200 workstations on campus altogether, of which about 50 are Pentium 4 and four are Core 2 Duo (the administrators' laptops and my own). The rest are P3, P2, or slower.

I should also mention that my school is an International Baccalaureate (IB) World School on the elementary side while the Middle School that just started up last year is in the accreditation process. Additionally, the elementary school operates under a German Immersion program that has the students spend one week learning in English under an English speaking teacher and the next week learning in German under a German speaking teacher. And the campus we inherited two years ago resides in a primarily Spanish-speaking and relatively underprivileged area of San Diego so our incoming students are rapidly changing the face of the school. All additional reasons to use the similarly multicultural and globally minded products of Ubuntu and GNU/Linux.

Because we are an IB school on the elementary side we have what is called a Program of Inquiry (POI) that is essentially a matrix of 6 big ideas per grade (so 36 big ideas total) that are divided up and taught throughout the year in addition (and hopefully in conjunction with) the normal classroom curriculum. POI topics are things like "objects in the sky move in predictable patterns" or "water is essential to life" and typically last for about 6 weeks. Thus my own curriculum assignments are designed around supporting these topics while at the same time teaching the students specific hard skills about the programs they are learning to use. I also try to collaborate with the teachers and their own projects as much as possible, although this is difficult since I only see each class for 45 minutes per week.

On to the curriculum....

In Kindergarten the students learn how to use a computer as many have never used one before or if they have it was for very specific tasks. Mouse practice, Tuxpaint, and learning about the parts of a computer pretty much sum it up, although I do try to collaborate with the teachers as much as possible

In First Grade the students begin typing with Mavis Beacon Teaches Typing 15 (the one and only piece of Windows only software I will miss in the transition to Edubuntu in the lab. If anyone has any recommendations for a similar full-featured typing tutor that will work with GNU/Linux I'd love to hear about it). They also start doing somewhat harder online activities since they can read fairly well by this age.

In Second Grade we introduce Open Office Writer. I thought it was a bit early to start with word processing so young, but the Massachusetts state technology standards called for it so I thought we'd give it a shot. After just a year of typing the kids aren't all that adept at using the program, but I've noticed that it serves as a good introduction to the common interface of toolbars and drop down menus. It also introduces the ideas of saving, opening, and printing.

In Third Grade we introduce Open Office Impress. This is actually the program I would have started with in second grade because it is so visual, but third grade seems to be about the youngest age a student can really begin doing coherent presentations in front of the class so I suppose it works here as well. Of course we continue building on what the students have learned in previous years so they learn more about Writer this year as well.

In Fourth Grade the students begin learning Scribus. Publishing and writing labs are a big part of our school's fourth grade curriculum so this was an obvious choice.

Fifth grade focuses on Kompozer and web design in preparation for middle school and the online portfolios that the students begin in 6th grade.

Sixth grade centers around Web 2.0 sites and strategies like blogger and google docs and posting to forums and emailing experts. I originally wanted to do this in 5th grade but didn't feel comfortable asking elementary school students to sign up for the Internet IDs they will need to access certain sites.

In Seventh Grade the students learn Inkscape in the hopes that it will help them spice up their digital portfolios.

In Eighth Grade the students learn GIMP for the same reason as Inkscape.

Basically the idea is to give students the hard skills they need to be able to satisfy their class requirements in the method they prefer. If they want to fulfill an assignment on the fall of the Roman empire they can choose to write a paper, create a brochure, make a newspaper or magazine, create a website, present a powerpoint or whatever. You asked if the curriculum meets the needs of teachers and I feel like this is where it helps them out (Internet safety and research skills and stuff like that falls in the librarians domain) although I will be asking the teachers to fill out a survey on the whole curriculum at the end of the year so I guess I'll know more after that happens. I also like the idea of introducing students to computer parts and programming at least a little bit, thus the mention of kturtle which I'm hoping to introduce across every grade 2 and up (as soon as I learn Logo a little better).

As much as I'd like some new iMacs and to be able to work with the middle schoolers on video editing and animation I'm also pretty committed to using open source (or at least free) software not only to avoid legacy costs for the school but also so that anything I teach in the lab can be practiced at home by the students for no additional cost (assuming the student has a computer at home). I'm more likely to just hope for some new P4s to come through the school, buy some RAM for them and set up some stand-alone Edubuntu boxes.

Sorry for the long winded response, I wasn't sure where you were coming from and (as with all teachers) once I get started I can be hard to stop. Are you in education as well? If you're in the area I'll be presenting on my Edubuntu experiences at the SCALE conference in Los Angeles next month as well as at the CUE conference in Palm Springs in March. If you're interested you can learn more about my school at aeacs.org and see my presentation at hartmanbot.com. Cheers! -joe"

Friday, December 07, 2007

Sync out of Range issues with new Fujitsu-Siemens donated computers

Last summer I got word that the German Consulate in Los Angeles might have
some computers to donate to our school. 25 Pentium 4 computers to be exact, and while I didn't know all the specs on the machines, knowing that they had P4 processors was enough for me to know that we needed those machines as soon as possible. Unfortunately the German Government is apparently as bureaucratic as the United States' and it wasn't until this Monday that I was able to drive up to Santa Monica to get them. The good news is that there are indeed 25 P4 Fujitsu-Siemens Scenic N600 computers and better yet they are running at 2 GHz, more than fast enough to power a few thin clients, so that is a plus.

The minus came on Tuesday when I tried to install Edubuntu on them and discovered that nearly every monitor I had gave the "sync out of range" message when edubuntu tried to boot. I'm guessing it is a driver issue with the onboard display adapter, but it was puzzling that certain monitors showed things just fine. Even stranger was the fact that one monitor apparently worked fine, but another of the exact same make and model didn't work at all! It was a very disheartening and frustrating discovery and basically sapped my entire Tuesday trying to solve. Eventually I got so frustrated I wrote an irate plea for help on the Ubuntu Forums. Alas, I received no reply.

That night I had an idea for how to fix my problem. Since Ubuntu has pretty good video card support I would just purchase 25 cheap AVG video cards and use them to show the OS. I tested the theory on Wednesday with some old cards I had and it seemed to work so I started shopping around. Eventually I came across pacificgeek.com and ordered 26 8MB video cards for about $50. What a deal!

So now I'm waiting for my video cards and RAM to arrive so I can start putting these babies to work! Let's hope my $50 solution works. -joe

Friday, November 02, 2007

Xrandr, why Xorg crashed last time and the benefits of Internet based computing.

Well my reinstall of Gutsy went well. I figured out that Xorg crashed last time because I had changed the display driver from the experimental Intel driver to the older i810 driver. While this had been suggested in one of the forums as a way to enable a secondary monitor output it apparently was also the reason Xorg could not find any screens the next time I started the computer up. Since the reinstall I've tried using the same terminal command that worked for me before:

xrandr --output VGA --auto

and it seemed to do the trick. I was also able to then shut down the computer and start it again later without a hitch, so that's always a good thing.

I suppose if I were a bit more knowledgeable, daring, or motivated after the crash I could have figured out how to reconfigure Xorg so that I didn't have to do a complete reinstall of edubuntu, but after a few minutes of contemplating this I realized that there really wasn't anything on the machine that I didn't also have somewhere else. Moving from using Word to Google Docs hasn't always been easy, but in cases such as this it was enormously advantageous. I suppose I do have to worry about Google's servers crashing and losing all my stuff, but those guys seem to know what they're doing over there so I think I'll take my chances. I'll try to blog more about our school's recent move to Google Apps, but for now I'm pretty focused on the wedding. We're like 52 hours away at this point and I'm not even packed for Jamaica yet. Cheers! -joe

Wednesday, October 31, 2007

Xorg is ruining my life!

It would be hard to state how much I was looking forward to the Ggaphic user interface for multiple monitors that was supposed to arrive with Gutsy. Since the beginning of the school year I've had a pretty nice VAIO laptop that used to be my principal's machine (she got a new macbook), but I've been unable to use it at all with a projector to show slideshows and the like to the staff during presentations or meetings. Perhaps designing and implementing a reliable GUI for external monitors and projectors is more difficult than I understand, but this is a such HUGE issue for so many people that I'm honestly appalled that it hasn't been addressed sooner.

In any case, all is to be fixed with Gutsy right? I mean I'd seen screenshots of the Multiple Monitors GUI since the beta releases. How great would it be to be able to just connect a VGA projector to my laptop and mirror the output? I mean, under Windows MCE the machine does it AUTOMATICALLY! I just plug in the cable with the projector on and BAM! it's up on the screen. It should honestly be this easy under Ubuntu too. Alas it is not.

I wrote last time about my disappointment with the Multiple Monitors GUI on my classroom computer, but today has been an absolute debacle. Not only did the GUI not work (surprise, surprise) but after doing some command line junk (which again, should NEVER be necessary) and actually getting the setup to work fine, my Xorg server crashed and as I type this, Edubuntu is reloading all over again. Crap.

So I'm sure there's a very good reason the GUI doesn't work. I've actually read about it on the forums and whatnot, something to do with specific video cards or something. Here's the thing though: I Don't Care. This is something that "just needs to work". It's unacceptable that something this necessary requires me to scour forums, sort through a bunch of stuff about changing device drivers, xrandr, my Xorg.conf file and then eventually leads me to try some command line code that appears to work but also crashes my system.

The good news is that bulletproofX is coming with Hardy Heron and is supposed to solve these problems the way windows did way back in the last millennium, namely by defaulting to a basic GUI display set instead of just crapping out entirely. So if you thought I was anxious for this change before Gutsy, you can imagine how I'm feeling right now. Hoping beyond all hope. -joe

Thursday, October 18, 2007

Ubuntu Day and understanding operating systems through the metaphor of automobiles

It is ridiculous how much I look forward to days like today. They only come around a couple of times a year and I honestly look forward to them like I do for a movie that I heard was being made two years before its release date. Yes, today is Ubuntu Day, the day the latest release of Ubuntu hits the streets and my computing life is filled with optimism.

Much has been written about Gutsy Gibbon and all the new features it supposedly contains. I have high hopes myself that this latest release will solve some of the most annoying problems that I have blogged about in this space. I think most of all though I look forward to Ubuntu release days because they each show such progress toward a final admirable goal. My cousin once told me about a mix tape his friend had made and titled "approaching perfection". This to me sums up nicely the work attitude of the folks at Canonical and in the Ubuntu community (of which I try to do my small part within) and each release day just serves as a tangible example of how everyone's efforts come together to further that elusive goal.

This may seem hard for some people to understand but I think the best way I can explain it is to use an automobile as a metaphor. Imagine that you are shopping for a car and basically you have two choices. The first car is extremely popular but unreliable and kind of boring although it does come with a myriad of options and add-ons. The real problem with this car though is that thieves are constantly trying to break into it no matter where you go. This means that you are forced to take all kinds of precautionary measures which not only add to the expense of the car but also hinder its aerodynamics and cause the car to travel far slower than it might otherwise. Then, every five years or so a new version of the car comes out, except the same problems persist and the new version not only requires you to pay for the new car, but also give up the old one.

The second type of car is very stylish and highly reliable but not much else. Aside from being much more expensive than the first type of car the second type is almost completely uncustomizable. It comes in only a couple of colors with scant options and almost no third party add-ons are supported although add-ons that are made by the car company work flawlessly and even color-coordinate. If you are a mechanic, this car is the worst because if it breaks you must buy parts from the manufacturer and it is practically impossible to trick out the car to any degree.

Then, as you are shopping you come across a third car. This car has at least as many problems as the other two, the main one being that it is far more difficult to drive than the other two, practically requiring a different license if you intend to use it on certain roads. It also only works with certain add-ons which frequently require help from a mechanic to install. But it's reliable, isn't attractive to thieves, comes in lots of colors with lots of options and has one big advantage over the other two cars: its free.

So you "buy" the third car and within a few weeks start wondering if you've made the wrong decision. You start running into problems you know wouldn't have been an issue with the other two cars and start tallying up the hours you spend fixing your car against the money you saved by buying it. Then, six months to the day after you bought the car the manufacturer comes to your house and drops off a brand new car! This new car still has problems, but not as many as the other car did and you feel like the time you spent fixing the other one helps you to drive this new one even better. You're feeling good about your purchase and happy with how things are going when, six months later, the manufacturer drops off another new car! This one is even better than the second one they gave you and fixes almost all the problems you hated about the first one. There are still some annoying things you don't like, but you know that in six months you'll get another new car and just the thought of that day arriving makes you feel positive and hopeful.

That's the best I can do to describe what Ubuntu Day is for me. It represents new hope and new possibilities. I guess all there is to do now is find out what's wrong with it. Upgraaaaade....GO! -joe

Thursday, October 11, 2007

Found a colleague from the UK and got a good tip on my BIOS issues. Gotta love my Internets!

Now I would never describe myself as a "Mac person". I got strange looks just a few minutes ago from a co-worker when I told her I had never used iTunes (which is really only partly true as I did try it out when it was first released and found winamp to be far superior). Nevertheless the school does have about a dozen of the old colorful clamshell iBooks sitting around with about 128 MB RAM or something ridiculous. In any case I thought I might be able to boot these suckers up like a normal thin client except I didn't know how to get into the Mac BIOS (silly me, BIOS is for PCs not Macs).

So I start googling around stuff like "Mac thin client" and come across the old free software magazine article on Edubuntu and thin clients that has basically been my guiding light for this whole project (nevermind it hasn't exactly guided me flawlessly). Although I'm sure I've read the comments at the bottom of the post before yesterday I'd never noticed a particular comment that mentioned a blog on Edubuntu and LTSP before. For whatever reason I checked out the blog and found out that the author was basically doing the exact same thing as me at an elementary school in England. Best of all he had some insight into some issues I was unaware of (hard to believe considering the amount of time I spend reading about Edubuntu).

I left a comment on his blog in the hopes of talking about tech issues and then wrote my own entry on the BIOS issues. You can imagine my surprise then to find this afternoon that I not only had a comment on my own blog but a comment with a pretty nifty tip for fixing my BIOS problem. Apparently the BIOS is sustained on the motherboard by a battery that I can simply remove and then reinsert later at which the BIOS should be reset. I'm stoked to try this out, but even more stoked to have a colleague who not only knows about this stuff but is interested in it and willing to help out. I guess I knew that the Ubuntu community was pretty helpful but the Edubuntu community is so small that it's nice to find another person in the same boat.

I'm sure I'll be back to complaining about how my scanner doesn't work right, but for now I'm feeling pretty optimistic about everything. (btw, I never did get the iBooks to work). Cheers -joe

Friday, October 05, 2007

Troubles with Bluetooth

So somehow (I think on Digg) I heard about GrandCentral, an internet company that offers "one phone number for life". Naturally they were purchased by Google and only recently opened up for new customers again. I decided to sign up and got a pretty sweet number that I'm looking forward to trying out. Of course it also has all the options it should like contacts and stuff, but it has some cool features as well like visual voice mail and the like. Well I decided to try to port my contacts over from my phone to my computer and then upload them but ran into some trouble.

The first problem is that of my LG CU500 phone with AT&T (formerly Cingular, formerly AT&T). It only allows me to save my contacts either on my phone or on the SIM card and not onto the MicroSD card I have that conveniently plugs into the computer via a USB adapter via a MiniSD adapter (or is it the other way around?). I have no way of plugging my SIM card into the computer to get the contact information. I can however use Bluetooth to send a vCard with the contact information on it from the phone to the computer, and it so happens that I have a Bluetake 007si Bluetooth Dongle for just this sort of situation. Problem solved right?

Well the first issue I had was that when I plug in the dongle there is no immediate indication on the part of GNOME or Edubuntu that anything has happened. The little blue light on the dongle only lights up intermittently as well so I figured it wasn't even working. I googled the problem and found some ubuntuforums.com stuff that made me use the Terminal (this should never HAVE to be used if Edubuntu ever hopes of capturing a significant population of educators) to install the Bluetooth tools and while I was not at all surprised to discover that the process didn't proceed as the howto described I was a little surprised to discover that the Bluetooth software was evidently already installed on my system. Nice!

So I tried to pair my phone and computer through the dongle. Everything's working fine, the comptuer shows up on my phone, but then my phone asks for the passcode. I try the default 0000 and it doesn't work. I try all other kinds of combinations in case I ever actually programmed a passcode into the thing and nothing works.

I go into Add/Remove... and add the Bluetooth tool for GNOME. No luck. I add the Bluetooth tools for KDE and my phone now shows up but it can't connect.

At this point I'm not sure what to do. I've googled and looked through forums and it seems like a pretty standard complaint. Now granted that Bluetooth still isn't quite ready for primetime (astounding considering how prevalent it is now) as even with XP I would have trouble getting all the features to work with my Bluetooth stereo headphones without proprietary software. In fact I imagine the trouble has as much to do with my phone as Edubuntu. Nevertheless, this is yet another case of me trying to expand the capability of my Edubuntu machine and falling into the time warp trap of googling, scanning forums, using the Terminal, etc. to try and get the new capability to work. None of those things should ever be necessary, and at the very least, shouldn't Edubuntu at least tell you that it has detected a dongle? At least it's Friday. -joe