Archive for the 'Teaching' Category

Aches and Pains

I am well past my prime physically. Despite a lot of help bringing in my freight (23 parcels by car, air, and truck) I am exhausted from all the fetching, carrying and unboxing. On top of that, I strained my wrist picking up a 20kg/44lb package and I have done a few house-calls for PCs and picked mushrooms. There’s such a thing as too much exercise and I am close to the limit. I need to rest a few days before classes start next week.

Such is life as a teacher in the North. Some us do not live here and commute for summer and bring in lots of freight. It’s one of the costs of the fresh air, clean water and mushrooms. If you go to teach in the North, pack your own boxes so you can carry them a bit. My wife used to put 60 lb in the largest boxes she could find. Now I try to keep most to 30 lb or less. One box did go missing. Actually, it’s a sack of rolled oats… Good for my cholesterol I am told. Perhaps it will be found. Perhaps not. It’s great to be eating a good diet from a more diverse and cheaper source than the Northern Store.

- Robert Pogson

Silver Linings

When I was a child I was told “Every cloud has a silver lining”. It’s true. In the midst of the chaos in my life a cleaning lady approached me before I even reached the school and asked, “Do you fix computers?”. Debian GNU/Linux Squeeze is sliding onto her machine as I type. My web cache is still in storage so the packages are coming from York University at speeds over 300 KB/s up to 1000 KB/s. I cleaned her machine with some compressed gas and checked it out. Dual core with 1gB RAM. The only problem is a conexant modem for which we can get a free 1/4-speed driver. GNU/Linux is in demand here. It sure beats hundreds of dollars of freight and service charges.

- Robert Pogson

Travelling in the North

I have just flown up North to teach my last year. As always, travel is risky. When I phoned to confirm my ticket, I was told it had not yet been paid…. I had e-mailed my itinerary weeks ago to a fellow no longer on the payroll (unknown to me…). I phoned, faxed and e-mailed everyone in the system to fix things and finally got the caretaker at home. One of the faxes had gotten through. Nope, an extra layer had been added to the paper-flow and my ticket was not paid until 25 minutes before the scheduled flight time. My freight is waiting at the airport to get on a plane. My lock had been changed to I am sitting here unable to lock my door… I shall survive, somehow.

On the other hand the August rains have produced mushrooms and I had a bowl of mushroom soup yesterday.

The router at the school is still working but the PCs are locked up. My lab was broken into over the summer. I have no idea if anything is missing yet. Everything is piled high at one end of the room. It looks like the wireless access point is down. Perhaps the cleaners just moved it.

And so another year of teaching in the North starts in total chaos in spite of all plans and efforts to make things smooth. Let us hope the students are thoroughly bored with months of total freedom and ready to work.

- Robert Pogson

Shopping for the North

I have been shopping a bit lately, two trips into Winnipeg to pick up supplies to last a year of teaching in the North. I have two pet suppliers, Dino’s on Notre Dame just west of Isabel, and The Great Canadian Wholesale Club at Route 90 north-bound just north of Ellice Avenue.

Dino’s is a very interesting place. You can always find 10kg sacks of cornmeal and beans there and sacks of rice, too. For $20 a sack of beans lasts me all winter and is a great source of protein. I use a pressure cooker to do the job in 30 minutes, less if soaked. Rice takes only 5 minutes in a pressure cooker although the time taken to reach operating temperature is a bit longer.

The Great Canadian Wholesale Club is interesting too. It is a big box place with huge carts and sacks and cartons of stuff. I like the fresh produce. I bought farmed mushrooms, green bell peppers and onions. The onions have increased in price a lot for some reason. A 50 lb./22 kg sack cost $27 this year but was only $18 last year but that is way ahead of Northern Store prices which can be $3/lb where I work. I bought fixings for pizza too. Sauce and cheese and lean ground beef which I make into salami. I bought two bushel cartons of bell peppers and two sacks of spinach which I blanched and froze. I diced and blanched 50 lb of carrots which I froze. 10 kg sack of dried peas to make pea soup all winter only cost $7. Five minutes in the pressure cooker will do it.

I usually use Morton’s TenderQuick for making salami but I cannot find it in stores these days. Fortunately, I discovered Canada Compound at 900 Bradford Street between the two halves of route 90 just south of Saskatchewan Avenue and north of Wellington which sold me a lifetime supply of something similar to Prague Powder for a few dollars a sack. I mixed 22 lb of lean ground beef in a large pot with two tablespoons of the stuff, two tablespoons of garlic powder, one tablespoon of pepper and one tablespoon of Mrs. Dash to make my salami. I mixed it thoroughly and allowed it to marinate a day with refrigeration. Then I formed it into loaves about 8 cm in diameter by hand and wrapped it in SaranWrap/food wrap and baked in a 300F oven for one hour. It took two batches in my oven. I punctured the bottom of the wrapped loaves with a fork and caught (most of) the drippings in a cookie sheet on a lower rack. It was a little difficult to form the loaves. It would have helped to include a cup or two of cornmeal to make the mix more cohesive but I did not want to open the sack I will ship by air. This salami will survive a while without refrigeration as sometimes happens along the way. Ground beef after it thaws is much more perishable.

I dried the mushrooms and onions in a drier from Bosch Kitchen Centre on Pembina Highway. The driers are expensive but pay for themselves in a year of not shopping at the Northern Store… I sliced the mushrooms longitudinally about 8mm thick and place them barely touching on the trays. They dry in a few hours at 140F. The onions I diced and dry at the same temperature. You want the mushrooms to be soft but shrunken and the onions almost crisp but not brown. I dried peeled garlic in 2mm slices at 115F for 12 hours.

One of the rare gems and one of the few canned products I ship north is catsup. I buy it in cases of six large cans. One can will last me a month and I use it on everything: soup, pizza, pasta, meat, and diluted as tomato juice.

I like to bake and bought 8 10kg bags of whole wheat flour, yeast and sugar. I extend the yeast by using the sourdough technique so a pound will last me all year. I bought 10kg of white granulated sugar and 4kg of brown sugar for cinnamon buns. Don’t forget lots of cinnamon, raisins, prunes, and nuts… You can buy a substantial 18L jug of canola oil there and butter, too. I am trying to lose weight so I am cutting down…

Altogether I filled two carts at the Great Canadian Wholesale Club and spent $1000. That will last me 300 days in the North, about $3.33/day. If you shop at the Northern Store, it will likely cost you $10 unless you buy their $5 pizza and not eat one or two at a sitting… I think my groceries are a more balanced diet. I have been eating this way in the North for 14 years and it works for me. I hope it helps some newbie teachers live more affordably.

One last note. As you may have to shift cartons loaded with these heavy items, be sure not to put too much weight in each carton. You can put a heavy bag in the bottom and your clothes on top, for instance. Use cartons with no openings or wrap contents in plastic to prevent dust/sand/dirt from runways getting in.

Don’t forget Hallowe’en treats for the kids. About 200 pieces is enough in many communities and you can always deal with leftovers. ;-)

- Robert Pogson

GNU/Linux is so Easy Even a Child Can Do IT

I have had Grade 1s in a computer lab with a bodyguard. It is a frightening experience because you never know what the little ones will do next but you can be sure they will be doing something…

My respect goes out to Helios and friends who gave a 4 day summer workshop for 22 kids. The kids not only got to know the ins and outs of ATX PCs but also installed GNU/Linux and played games on it. I would bet everyone involved learned a lot. ;-)

This shows that GNU/Linux is not only for geeks. If you have some grown-ups in your organization who are reluctant to change, perhaps this example would inspire sufficient effort. The benefits outweigh the costs:

  • relative freedom from malware
  • relative freedom from anti-malware
  • freedom from monopoly, and
  • superior performance at lower cost.
- Robert Pogson

Relationships

Human relationships are complex and evolve over time. In my life I have witnessed various stressors that can cause breakdowns in relationships:

  • smoker v non-smoker
  • long summer vacation by car or canoe
  • building a house or buying a car
  • choosing colours
  • teaching another to drive a car or use a PC

The Blog of Helios has a current entry about teaching another to use a PC, this time with GNU/Linux.

Having been a teacher, I have introduced students and staff to GNU/Linux many times. The younger the student the less difficult the task… Young people do a lot of things for the first time, for good or evil. Everything is new to them and change is a constant. By the time an adult has been using that other OS for a decade, it can be very difficult to lead them to change.

It does not help that everyone around an adult has been using the same OS for a decade or that that other OS hides stuff like filename extensions, partitions, or file paths. Fortunately,, with GNU/Linux most users are encountering GUIs and it’s point and click with an icon as an abstract representation. There is not that much difference until you actually try to find something… It really helps to name folders with human-readable clues. I sometimes stick the date into the filename where I have a bunch with similar names or use long descriptive names. Then there is the “/” v “\” thing. Curse M$ for developing that bit of lock-in. Fortunately GUIs can be managed with rarely having to type in a slash.

My “significant other” used a handful of notes on foolscap with detailed instructions how to do anything for a PC for more than ten years. She can handle XP now without the notes but I worry about the day that she goes to GNU/Linux. Until now her job used M$-specific software even on a web-interface. That is changing as the industry adopts open standards. Her next PC or OS change will likely be to GNU/Linux and I may plan a vacation at that time and leave it to another member of the family to do the hand-holding. I am too old for divorce.

Fortunately, the world is filling up with young people for whom migrating to GNU/Linux is a welcome, refreshing change. The current generation of young people will live in a world where there is choice in computing platforms. There are many forces leading to that result. One of them is exposure to GNU/Linux in schools. Another is the access to GNU/Linux on low-priced gadgets (smartphones are getting to that state soon…). In North America the success of Apple shows young people that there are other ways of doing things. After a person learns their second language a third is much less difficult because the major concepts carry over. Malware and prices of licences are major costs of IT that GNU/Linux answers well.

The bottom line is that patience pays. Given enough time the world will accept GNU/Linux much more widely and IT will be much more interesting. For a long time many will have access to two or more operating systems even on a single PC and an unlimited number via the network.

- Robert Pogson

Less Dangerous Databases for Schools

I love databases. You can do pretty much the same stuff you can do with a spreadsheet but you can implement all kinds of relationships in the database and find stuff in ways you may not have anticipated at creation. A database can grow to be huge and still manageable. Databases can be dangerous, though, because of unintended consequences. Because of their power and size, one needs to be more careful with matters of security, backup, entry and retrieval of data. Fortunately in a small school like mine, the consequences of mistakes are not as large as happen in the outside world. I can limit the damage by keeping databases off the web and simple password authentication takes care of most of my issues of security.

Databases I have implemented in my school include:

  • a huge list of recipes scraped from the web and entered by AnyMeal
  • a list of all the PCs I have touched in the building with serial number, model, notes, location, MAC, and even the authentication codes for that other OS
  • image database with searchable captions
  • a snapshot of Wikipedia
  • Bugzilla for work orders on software and hardware
  • technical notes about things I do to install and configure the system
  • whatever

It takes only a few minutes to start a simple database but it starts being useful as soon as it has more than a few dozen records in it because the computer can search through even one page faster than a human. When you have several pages of data, there is no contest. The largest database I have is Wikipedia from 2005 which is many times larger than a hard-copy Britannica and with about 100K images. The next largest is of the recipes which amount to 100 MB+ and can find recipes by title or ingredients in the blink of an eye. These two are great additions to a school being an instant source of information concerning almost any topic that might come up in a school or the career of a student or teacher. Students catch fire when they want to know something and can find it in seconds. They go on to the next idea and the next in rapid succession, connecting the dots and learning. It is like each student on a PC having their own teacher. The beauty of a database like this is that it can be edited by staff and students so that it grows in relevance with use. No textbook is likely to do that.

The tools I use all come from Debian GNU/Linux(except for Gallery image database). It takes only a few minutes to install MySQL database, PHP and Apache web server on a basic installation. Then I can use AnyMeal, command line clients or a web browser to create and use a number of databases. Typical tasks teachers and students attack with a database include tedious inventories, research projects, and even lesson-plans. Some teachers like Google’s Desktop or a desktop search engine for that but a database on a server may have better scalability and sharability.

Again, the brilliant tool, APT, installs stuff in a few minutes and all you have to do is set passwords and such to set things up. If you identify the higher-level packages you need from Debian GNU/Linux’s repository, you just name them on the command line or click on them in Synaptic and APT installs all the dependencies.

apt-get install apache2-mpm-prefork libapache2-mod-php5 mysql-server php5-mysql phpmyadmin

- Robert Pogson

My Birthday Party

We had a birthday anniversary party yesterday. It was nowhere near the actual date but it seemed a good excuse for a party as I was in the North on the actual date.

Besides the toil of preparation highlights of the day included watching a doe with three fawns leave an oak bluff and cross several yards to reach a ridge of willows along a drain, and a conversation with a bright young lady who is a teacher. I had never seen three fawns at once before. I had missed the fact that the young lady had graduated high school and become a teacher with five years experience in the blink of an eye. Time compresses somehow as we age…

The young lady told me of her latest teaching assignment. She is in a large school with many grade 2 and grade 3 students. The school has chosen to put these students into combined grade 2/3 classrooms for the social benefits that arise. Students can stay a while longer with their best buddies whether or not they are promoted and they get to spend two years with a favourite teacher. From experience, I can state that older students do help younger students and that a teacher can do a better job knowing the student for longer than a year.

I described the challenges of teaching where I teach and commented that even simple things like building vocabulary are crucial and how we had implemented KHangman and my cheat for it in the elementary classrooms using IT. I was shocked to learn that this bright young lady from a progressive school lacked IT in each classroom, something that I have had in every school in the bush in the North for a decade. She opined that teachers were not IT people and they did not have anyone to guide them.

Aye, there’s the rub. I do stuff routinely that is amazing to teachers with five years of university and much less experience of life with IT. This is true in my school. If it were not for me, an advocate of FLOSS, there would be a lot less innovation and good use of IT in my school. I am grateful my principal gives me my head. We plan to include a session on using the PCs, network and servers at the start of the next school year to make sure every teacher is up to speed on day one. Every school should have one or more computer geeks. FLOSS works in education.

- Robert Pogson

Google Apps Work in Schools

There is news that hundreds of schools are adopting Google Apps with or in place of conventional local applications. This is a great advantage to schools because there is less maintenance of software required for the cloudy solution.

In my school Gmail is popular and the Google Toolbar is a wonderful local search tool. The ability to do e-mail, find stuff, create/edit/present stuff without leaving the browser is cool. The Toolbar was distributed on the disc image put on all new PCs recently. These machines will be Debian GNU/Linux terminal servers in each classroom making the Toolbar available to all students’ PCs.

The widespread acceptance of this technology is one more nail in the coffin of the monopoly. If you can do what you need with any OS, there is no need to use that other OS and GNU/Linux is as good as it gets.

- Robert Pogson

A New Take on FUD

FUD is often used to discourage people from using Free Software but Rex Djere turns it around. His thesis is that the purveyors of non-Free software are the ones in fear about how their control of people will slip their grasp with exposure to Free Software. Nice.

It explains why some people get so riled when I suggest FLOSS is the way to do anything. The idea of people sharing and not being enslaved by their software frightens many. It appears to threaten livelihoods in the monopoly but really only means they need to change. Change is sometimes necessary but people still resist change because it takes some effort.

It is illuminating that few end-users become riled when I suggest FLOSS. It is those in the food-chain of non-Free software who feel threatened, yet they attack me and others as though we are trying to deceive end-users. Cute. Carla Schroder got it right when she wrote, “The first step is figuring out who are your customers? When you’re Microsoft it’s not end-users, but everyone upstream: corporate buyers, resellers, and OEM shops. Actual users are little more than unavoidable nuisances. Microsoft salespeople and marketers cater strictly to the folks who sign the big checks.” Amen.

I had a little exercise in freeing end-users yesterday. We have just finished reports which have been done by editing spreadsheets in .xls format. It means opening and closing files one at a time, printing and proof-reading and printing again, wasting lots of end-users’ time. After finishing the reports, I gathered packages from the Debian repository and it looks like we will be able to generate reports next fall by merging XHTML with a database so the teachers will not have to worry at all about formatting and proof-reading. We will be able to run scripts on the database to check that entries are complete and run the lot assured of consistent formatting. There will also never be a collision because each teacher only makes entries for his/her courses. I put in a day’s work organizing a database and a couple of scripts and our teachers are freed forever from opening and closing files. Sweet. Priceless.

In addition to saving myself and all the teachers in our school from hours of useless labour four times a year forever I had the satisfaction of doing stuff I love with computers and data and I even found a bug in a package in Debian GNU/Linux and submitted a bug-report. With closed software, on the other hand, I would have put in the same effort trying to persuade bean-counters to issue a purchase-order for some grade-book software, waiting for things to arrive or not before the next school year, and being told the salaries of the teachers are paid so labour-saving is extra-cost… What would you do? I will pick FLOSS every time to solve such problems.

FLOSS works.

- Robert Pogson

GNU/Linux is More Than Good Enough in Education

Here’s a blog about one of my favourite subjects, using GNU/Linux in education. The authour has it right that most uses of IT in schools do not require that other OS. I disagree on a few minor points.

I think GIMP is just fine for web development. Adobe has advantages for print but not the screen. Monitors are RGB last time I looked… I think Office 2010 or even Office 2007 have nothing to offer schools they could not obtain using other components of FLOSS such as LAMP with PHP and MySQL.

My high school just did reports using word-processing documents file-shared and write-locked. I don’t think we had a single collision amongs four teachers and all their students’ reports. Some teachers used GNU/Linux and some used that other OS. It all worked. Indeed the simpler interface of FLOSS apps tends to be easier for students to learn which lowers the overhead of introducing them to particular apps.

The authour is right on when he points out that saving money per-seat really pays in education, freeing funds for other things. We should recommend FLOSS for everything in educational IT unless there is a compelling reason. That that other OS is out there is not compelling. We prepare students for the future not to be slaves to M$.

- Robert Pogson

Education Apps in GNU/Linux

I found a neat article with a list of 50 applications available as FLOSS for educational purposes. I have used a bunch of these, but I am always willing to learn about others.

While FLOSS does save money in education, some of these apps are quite effective tools in education and may be superior in many ways. I tend to teach high school so I do not regularly use some that are intended for younger students. Many courses I teach rely heavily on OpenOffice.org which, while it may lack some features of commercial software is easier for students to use because of that. OpenOffice.org can be used successfully by students as youg as ten years. They learn a few operations and are instantly productive.

Moodle is great for teachers in computer labs or for distant education. When done well, a course is much easier to manage than with paper-shuffling. Marks are automatically tabulated, for instance. Students can also get fast turn-around on assignments.

Schools should review FLOSS projects for regular use because they can save a bunch. It should be reuired to give evidence why a FLOSS app cannot do the job when requisitioning non-FLOSS. It just does not make sense to spend more than you need to get the job done. Adding fluff to the task does not make it any more effective.

- Robert Pogson

Office 2010

My favourite retailer still doesn’t know I don’t buy products from M$. They sent me an ad:

  • Microsoft Office 2010 Home and Student English DVD 32/64BIT Retail Box $150
  • Microsoft Office 2010 Home and Business English DVD 32/64BIT Retail Box $300
  • Microsoft Office 2010 Pro English DVD 32/64BIT Retail Box $659.22

What’s the difference? Student allows me the privilege of using Word, Excel, PowerPoint and Notes. Business allows me to do all that and e-mail. Pro allows me to do all of the above plus create ads and databasery.

Wow! You have to love M$’s marketing. I can install OpenOffice.org with the Pro features for a download and a few minutes of my time. My volume and time must be really valuable if they are worth $659.22. Better yet, I can install Debian GNU/Linux and have all that plus a great desktop, the e-mail server and the database for a download and a few minutes of my time. With Debian GNU/Linux, I can manage my databases with OpenOffice, or even easier tools, MySQL, MySQL Query Browser or phpMyAdmin. I can do my e-mail and calendering with Evolution and I can share with anybody with phpBB or WordPress etc. I can add to Debian GNU/Linux database tools like MySQL-Workbench. I have a ton more and better choices all for the same lower price.

- Robert Pogson

Bad Day at the Office

Today was supposed to be a good day. Classes are over and I just have to prepare reports and a few other things to be free for the summer.

The morning started with a lady who could not print pictures of the end-of-the-year sports day. The camera was not recognized at all by XP. GNU/Linux seemed to see it but there was no pop-up on the desktop, just some messages in the system log. USBview could not see it. We thought about taking out the memory card and using a reader but we tried one more XP machine. This time it seemed to work. We were half-way through the transfers when the connection was lost. Now, we were pretty well convinced that the connection or USB interface was faulty. We managed to find a way to hold things together long enough to complete the transfer. We zapped stuff to the server by FTP and then back to the lady’s XP machine. I asked her, “Have you dropped the camera?”. Yes, it turned out. If she had told me that right away, I could have used other choices. All the while I was fussing with PCs she was telling me how she never had any trouble with the camera working with any PC… On top of the connectivity, the camera had two modes, storage and PTP. It was set to PTP which made it doubtful for any PC without a driver installed.

That spoiled half my morning. In the afternoon another lady, who had been away on sabbatical, knocked on the door wanting her old PC back with data for her to do reports. I had it handy and set it up for her. Everything looked OK but she was back soon. It would not print. I checked things out: ping router, printer, etc. all work. We rebooted the printer server because it had been difficult but still she could not print. In the process, I had started some XP updates while I looked for what I thought was a network problem. I checked the log of the firewall. It was part of the anti-malware package, a filter on everything including the checksums of every application that wanted to do something on the network. The browser, the spooler, everything except ping, it seems, was blocked. Now I had to switch to admin to tweak the firewall. No good. XP would not let me log out while updates were going on. It didn’t say so, but I could not log out. I clicked “cancel” for the updates. No good. I still could not log out. I waited five minutes… Finally I started the updates again. Three were done, nine to go. OK, how long could that take??? It was way long but eventually the grind ended. Several updates had not taken for unknown reasons. I became admin and sorted out everything but the blocked spooler. Then it dawned on me. The sums were based on the file so this thing was working against the spooler as it was loaded. I reloaded and it was good to go. Admin could print. I removed the things that could not be updated. We did not need them, I hoped.

Back as a normal user things were better.

Now, M$ did not cause most of this grief. The camera deal was end-users being high-maintenance. That’s OK. The anti-malware package is really anal-retentive though and indirectly I blame M$ that stuff like that is needed to keep XP going.

So, nearly a whole day is taken up fighting the system. Fortunately I have a long weekend to get my work done.

- Robert Pogson

Why Schools Should Not Use M$ Office

The Register has a story about M$’s lack of an upgrade path to Office 2010. M$, of course, wants everyone to buy a new licence and are offering no inexpensive upgrade. Read Dave_H’s comment. He points out that schools who use Office will want the latest version so they can process documents from other early adopters, forcing students and parents to pay for a new licence too. Schools should not be marketing “partners” of M$. The role of a school is to prepare students for life and to strengthen our society, not to enslave families. If M$ wants to train people to use their products, let M$ pay for the training. Society should not be working for M$, M$ should be working for us.

A much better alternative for schools is to use OpenOffice.org, a product developed by SUN Microsystems and now owned by Oracle that does more than enough of what schools need students and teachers to do. It is distributed as Free Software so the school does not have to pay more than what it costs to download and to install and students can take it home and install it on a PC for the price of a CD or download. On low-end PCs, AbiWord may be a better option, but it only does word-processing. You can use GNUmeric for spreadsheets on GNU/Linux. OpenOffice.org has a spreadsheet component.

One does not buy a new car annually when a new model comes out. One should not refill M$’s coffers every time they decide to release a new version of their software. Get off the Wintel treadmill, while you are at it. Use GNU/Linux, a cooperative product of the world which works for you, not against you.

Read SJVN’s article on the subject of following M$ like sheep.

- Robert Pogson

Implementing and Maintaining IT in Education

I am the closest thing you will find to an IT professional in my school. Our ISP does have a help-desk far, far away, but most of the teachers here have to go to the office to make a call and the help-desk has office hours, so that is not much help. I did talk to them a few times about error messages saying to call this number… (I thought it was some kind of spam, at first…), and the ISP did provide us with a more or less effective anti-malware system (a great aggravation to all users). We also get a few visits per year by technical people who mainly service the satellite systems and stop at the router. There is a way to integrate the anti-malware with the help-desk but that is awkward.

So, we are alone in the bush. Many schools on a road can get technical help within a few hours or days but very few have a tech in-house. It is just too costly to pay the Maytag Repairman just to keep him around. I have been in schools where itinerant IT visited almost every week but they could never get to the bottom of their “todo” list. Rather than wait for a miracle or outside assistance I have to fix stuff here with no budget and few spare parts.

Fortunately the ISP and Computers for Schools sends us enough stuff we can keep things going. A few key power-supply failures whould finish us for a week or so. I try to put mission-critical stuff on things we have in abundance so I can cannibalize. Fortunately, besides a few power failures, we have had only a couple of systems die with power-supply or motherboard issues.

Almost everything that needed to be fixed was with software, systems running too slowly to be usable (one extremely patient lady was getting five minutes per click…). At first I tried cloning systems that worked reasonably well but it was a lot of work. Our network did not allow in-place cloning as we did not have a server. We now have two servers going but I have found switching to GNU/Linux practically eliminates the need to image over the network. I can use a USB thumb-drive with Clonezilla to convert an XP machine that is acting up to GNU/Linux in minutes. As a result there are very few XP machines left to give us trouble. There are only four still on teachers’ desks and two of those will be converted next week when the year-end paperwork is done or staff are leaving.

Teachers do a lot of volunteer work: extra-curricular stuff with students, activities on evenings and weekends in the gymn, field-trips, preparing snacks, and so on. I do IT. I enjoy it and it makes my job easier and helps others. It would be inefficient to have me hired as an IT person, because my salary is much higher than the typical in-school tech but my IT work is unpaid/not-an-item-on-the-budget so this works. One can argue whether the IT I do is best-practice, good enough or whatever, but I have unique insight into using IT in education so it helps me to speak the language of teachers and to help them use IT effectively in school. At the start of next year every returning teacher and every new-hire will have an IT package outlining the services available and how to access them. We even have installed BugZilla on the server to report problems asynchronously. It’s crude but it works. People can see instantly what problems others have encountered and what the solutions were. This saves a great deal of time and provides some history for my eventual replacement. The server also has a database with our complete inventory and I have scripted some automation of routine tasks. A manual of how the whole thing works and how to manage is also in the works.

We do not have a formal IT plan because so much of what we are able to do is controlled by others: the ISP, funding agencies and bean-counters but we have a general idea to expand IT to every classroom at first with seats at a PC/thin client and to increase access to peripherals like audio, video, still-cameras and scanners. By the end of next year we should have nearly enough PCs to properly implement the curriculum that calls for IT to be integrated into the curriculum and we will find ways to increase peripherals. Bingo is not out of the question. By using the old machines as thin clients of the new machines we should have more than adequate computing power. By using a local cache of the Debian GNU/Linux repository we have in-house backup and installation of software superior to anything we can do with that other OS.

Already we have several teachers who use IT well in class at all levels. The next major goal is to have teachers share their knowledge of how to use IT to permit every student in every classroom to properly use IT to aid learning. That should be achievable in the coming school year because we will organize get-acquainted sessions from the start and IT seminars evening and weekends.

- Robert Pogson

Another Day in the Neighbourhood

Some days are more interesting than others. Yesterday certainly was more interesting than most and is worth an entry in the blog.

It started with me struggling with a networking issue that had been noticed a couple of weeks ago but was getting worse and finally prevented one server from reaching the web for updates. This was the server on which I ran apt-cacher-ng, a caching proxy for all my updates and installations for Debian GNU/Linux. The mystery was that it seemed only one machine had the problem yet it networked perfectly with every other machine in the building except the router. I even got help from oldman, an occasional visitor here.

During the noon hour I simplified the cabling from the network switches to the router and everything started to work again. The system had been working well and something changed. I still don’t know what it was. I had inserted the Dlink router to replace a connection to the ISP on a managed switch. I had left the network switches in the configuration as I found them when I arrived here in November. The changes I made brought each switch a direct connection to the router rather than cascading through the switches. Whether it was a timing issue or a poor connection I was back on the air caching packages as before.

So the morning had been worrisome, the noon-hour curative, and the afternoon seemed very routine. I gave a lesson on routers, what they do, pros and cons of small networks, alternatives, how to set them up, etc. I thought it was pretty well done but a few students wandered off near the end… So, I talk too much. I did not think much of it. The lesson had gone fairly well with students being alert and even discussing the subject, normally a good sign.

After school, I did some work turning a PC into a router, installing all the necessary packages. I got bored and decided to install one of the new PCs in a classroom that used wireless. I installed the package wireless-tools in my lab because I would not be able to do that in the targetted classroom. I removed the wireless NIC from an old machine in the room and installed it in the new PC in my lab. I tried to verify that it worked but could not get a connection. I could not even scan for wireless access points. It seemed dead although there were no error messages. I tried contacting the AP over the wired network and failed also. Finally, I went to the room where the AP was mounted in a window and discovered it was gone!

I was ticked off. I tried to contact the authorities but I had no phone and I could not find the vice-principal who lives nearby. I did inform the maintenance manager. Pizza was in order…

Later, I returned to school and fiddled around the web and so on. The principal came by and unlocked the classroom that had the access point. We confirmed the device was indeed missing and had not just fallen off its mount. We joked about the effectiveness of my teaching and the initiatives of students. I proposed doing some war-driving to see if the device was in use but nothing came of that.

We decided to install a second access point more or less in the same place with a plan to secure it better. It worked immediately so I then carried the equipment to the other place to install the new PC. This was way more fun. I set up the new PC and got it working wirelessly. I then configured it to accept X connections via gdmsetup as root and modified the Welcome field in the login screen to Welcome to %n to show the hostname.

I was thinking to swap a ready PC from the lab with the old XP machine in the classroom but was inspired to install Debian GNU/Linux in place without networking. Routing wireless is complicated so I just used a crossover cable between the machines. I used Debian Squeeze USB-stick netinst, and just left a minimal install without X. I then booted the old machine and used SSH to forward the package proxy ports from that machine to the new machine:


ssh -L 3142:newmachine:3142 -N newmachine

and pointed the old machine to the localhost for package proxy. I installed apt-cacher-ng on the new machine although I could have forwarded a port also. Our network is pretty fast lately and I just needed 70 packages or so for X on the old machine. I had activated the free Ethernet port to a new subnet by editing /etc/network/interfaces:

auto eth0
iface eth0 inet static
address 192.168.1.1
gateway 192.168.1.1
netmask 255.255.255.0

and did the same on the old machine with a different IP address, 192.168.1.10. Apt-get install xserver-xorg-video-intel got X installed on the old machine. I then edited /etc/rc.local on the old machine with X -query 192.168.1.1 and the thing booted to a Welcome to newmachine login. I set up a second student account on the newmachine and two can now run apps as fast as one on the newmachine.

It was a great way to end a tumultous day, paving over that other OS one more time and doubling access to computers with better performance. There was one more bit of excitement. There were folks in the gym that evening and when they left they turned on the burglar-alarm. When I left, I set it off… Oh boy.

- Robert Pogson

Lesson of the Day

I am a teacher. It is what I do. It is what I enjoy doing. I am like a performer who gets depressed between performances when students are not around. It makes my day when a lesson goes well, students ask questions, try things and learn by doing. Today was one of those days.

Yesterday’s lesson was “Commissioning a PC”. We showed them how to open the carton, remove a brand new PC set it up and locate it. We followed that exercise by installing and running GNU/Linux. That part of yesterday’s lesson took 20 minutes and the machine ran like a rocket.

Today’s lesson was “Commissioning a PC with That Other OS”. This time we did not install GNU/Linux but did the routine setup of that other OS new out of the box. The difference was amazing. This time, I made a brief introduction outlining what I expected they would learn: slow, EULA, no apps, crapware, needing to install anti-malware etc. At that point I handed the utility knife to a young lady. She declined and a young man went to work. All was as before until we pushed “power on”. This time it did not boot to a GNU/Linux system. Another young lady was appointed to sit in the captain’s chair and click through things while the class watched on a large screen. We got to the first banner with “please wait” and she blurted out “It’s so slow!”. Indeed. These students are used to logging in on a thin client in a few seconds. When she reached stuff where a response was needed I tried to guide her. Some parts had so many choices we had to try a few and go back to get it right. Power-on was at about 0930. By the end of class at 10:25 we were still removing crapware and installing needed applications. One of the crapwares was Office 2007 which greeted us with a request for our “product key”. Of course we did not have any but it gave the students a glimpse of the beast. I made them read a few choice parts of the EULA like not connecting more than ten devices…, requiring authentication, and agreeing to espionage. They were appalled. It was clear to them that this software was totally unsuitable for use in our school. It was configured to make money for Wintel and not to meet our needs as teachers and learners.

As the day wore on, I continued to work on the machine when I could, urging it to be useful. By noon I started installing the anti-malware. For some reason the necessary downloads were terribly slow so it took more than an hour. Even with wuauclt.exe /detectnow running the thing did not update. I finally browsed to windowsupdate and got 71 updates going. Somehow it fit installation of IE8 into that even though I scanned the list… At one point the machine stopped. There was no network activity at all. I rebooted in hope of waking it up. On the way down a window buried a few layers down was revealed, demanding a response. Too late, the reboot continued. Another crapware reared its ugly head when the machine came up. It was demanding my admin password! What’s with that? Some stuff Lenovo added to enhance security. I did some more crapware removal after that. Anyway, after six hours we seemed to be current, with anti-malware, a default printer, three new browsers and the blue “e” banished from the desktop. We still have none of the apps we need to run a school except OpenOffice.org. No KHangman, no KTouch, no Gimp, etc. It’s just a barely useful PC for teachers. The same machine with GNU/Linux installed can run all the students’ PCs as thin clients sharing apps and we don’t have to count licences or connections.

So, now, I will back up this as an image and wipe the hard drive to Debian GNU/Linux Squeeze to make it useful. Six hours of work were needed just to bring that other OS into a very basic form from which my successor may want to start. With no budget, I wish him well (it’s a long story…). For now, GNU/Linux is eating M$’s lunch in our school and students and staff have seen the light of free software shining from their monitors. I will be installing GNU/Linux PCs for the rest of this month and putting in a requisition for 20 more next school year. That will be close to a useful system. This is just the first step, providing infrastructure. We still have to pull staff and students together to make the best use of it. That requires inspiration and perspiration but there are a lot of clever people here so it will happen. I will write a memo suggesting how we can be sure the system is properly utilized next year by providing a bit of documentation and demonstrations to current and future staff. Some staff are taking courses now and there will be some turnover so it looks like a few hours of orientation at the beginning of the next school year should connect with everyone.

- Robert Pogson

Cheating at KHangman

I remember playing “Hangman” on the chalkboard of a one-room school-house in the 1950s. It was great sport on rainy/cold/winter days when outdoor recess was difficult. One constructs a hangman’s scaffold with every miss at a guess of a letter in an unknown word. Being “hung” builds vocabulary as one is motivated not to be hung again. It worked for me. Even with my poor memory, I can spell most words I use even without the spell-checker.

The game, KHangman, comes with many distros of GNU/Linux, and offers most of the features of the chalkboard plus you have a clue as to the category of the word and its length. Still, for young children it is challenging. As losing is no fun at all and exploring the dictionary is educational I decided to create an accessory for cheating at KHangman. Here is the code:

#!/bin/bash
echo cheat, copyright 2010 Robert Pogson. You are free to examine, modify, use and distribute this code under GNU GPL v3 or later
echo ln -s anywordlist wordlist in your HOME directory permits changing the wordlist used.
echo
echo Supply a pattern of known and unknown characters marked by a “.”, e.g. .i.n could be lion
echo Type q to quit, PgUp,PgDn,arrows,spacebar to scroll in the list of words
read
while [ "q" != $REPLY ];do grep ^$REPLY\$ $HOME/wordlist|less;echo Supply another pattern or “q” to exit cheat;read;done

I put this in /usr/local/bin/cheat so it will be in users’ PATH and I create a link on the XFCE4 panel using their “devilish” emoticon to be opened in terminal. This programme basically uses grep to match the pattern of known and unknown letters in the word against a wordlist. I used the Canadian large wordlist which I place a link in each user’s HOME directory (ln -s /usr/share/dict/canadian-english-large /home/someuser/wordlist). That way, users can replace the link for their own purposes. For example, teachers of early years may use a Dolch wordlist or one they make up to meet their educational objectives.

Here’s what it looks like in action. I showed two windows to show the before and after shots of cheat.
cheat1

The sneaky thing about this programme is that it encourages them to read the dictionary without it being a tedious task, just part of a game in which they are motivated by the base instinct to survive.

- Robert Pogson

LSE Makes Good Use of FLOSS. Why Don’t You?

LSE claims it will save millions of dollars annually by using Millenium Exchange on GNU/Linux instead of TradeElect on that other OS. This is another case where buying a company producing a product was cheaper than paying the costs of licensing some non-free stuff. We don’t know the details of their cost structure but if they are saving money like that even while using the costly Oracle DB, the cost of TradElect must have been huge. LSE is writing off millions in depreciation on the money invested in TradeElect. Switchover is expected to come in September.

I think everyone should look at stories like this one and realize there are less costly ways of doing IT based on FLOSS on desktop or server. The same benefits of speed, low licensing costs, freedom to examine and modify the code, and fast development times apply to the desktop as well as the server.

Don’t let businesses have all the fun, run Debian GNU/Linux today. The staff here are in agreement to distribute a dozen new PCs to teachers. These are fairly hot machines with all the goodness needed to run that other OS (meaning they will fly with GNU/Linux). I will set mine up with VirtualBox to provide documentation/video of the installation process and operation and maintenance. Some of the result may be posted here and YouTube. The staff expressed a desire to have IT that works, works faster and is maintainable. They asked for some training which we will start this week. We can do that much more easily with GNU/Linux than with that other OS. We have in the building 80 PCs now with only part-time IT support. It was impossible to keep the other OS running. Teachers are having constant problems struggling with the slowing down of that other OS and dealing with malware. With GNU/Linux, most problems are fixable in seconds by remote administration.

Some tests on the new machines this weekend are very interesting. I was able to boot in 10s with a basic configuration. With a full XFCE4 desktop setup, it takes a bit longer, 15s. Folks were used to taking minutes to boot XP on the old machines. Is anyone going to object that it’s not running that other OS when it’s this fast? I haven’t even configured the RAID yet…

- Robert Pogson

Conferences

Conferences are a bit anachronistic these days. We can teleconference and e-mail for much less.

That said, I just returned from a wonderful conference where I learned:

  • Dolly Parton knows how to defeat illiteracy.
  • Some old guys really know how to be funny.
  • I walked 30 miles during the conference walking from my son’s home to the hotel daily for three days. The route I picked was mostly quiet with fruit trees ablaze with colour, songbirds going crazy and gardens growing.
  • I am not the only one seeing the forest as a valuable teaching resource.
  • I met people I had not seen for 20 years and a goddess, the most beautiful woman in the world for sure…

So, while conferences are the most expensive means of getting together to learn from each other they are one of the best. I even got to mention FLOSS to a few people, some who have never heard of it and some who think that other OS walks on water…

- Robert Pogson

Ten Seconds

Are we there yet? That is what we used to ask our parents in the middle of a long ride in the car… Now Phoronix has checked the boot-time of Ubuntu 10.04. No it is not 10s yet on a netbook with SSD but at 18s they are getting close. I cannot wait until they compare “7″ and Ubuntu 10.04. Chuckle… That will be interesting.

The impressive improvement in boot speed results from dependency based booting with some parallel processing. This is new this year in GNU/Linux so there should still be room for improvement. These numbers surely make our XP machines look sick. They are harnessed to 40 gB hard drives but the new SSDs peaked at over 100 MB/s. Will they have to do RAID 0 SSDs to meet the 10s goal? Stay tuned.

The booting process is now very intelligently done. In the beginning we had a tightly-arranged sequential list of steps and everything had to waaaiiiittt for the current step. Occasionally, I have seen 30s timeouts in there…. We live in interesting times. The final straw may be laying out the storage blocks for optimal booting on hard drives. SSDs may benefit a bit from that too as they do have rows. At least one Live CD did that for improved booting.

- Robert Pogson

Installfest at School

Here is the announcement to be sent home with students:
installfest

We will set up a circle of tables with a proxy server connected to the LAN wirelessly to distribute software packages to the targets through a network switch and cables. Installation media will be USB sticks and CDs. I still have not decided whether to use Squeeze or Lenny. We may ask the end-user his preferences. Squeeze certainly appears usable here. At the rate bugs are being fixed, it could well be released officially this year. The official count is 700+ bugs but the unofficial count is much less.

This installfest is for fund-raising for various projects like graduation expenses. At the last bazaar, I ran hockey target-shooting. This could be more fun and more profitable, I hope. By parallel processing I should be able to do 20 machines easily, about double the take on the last bazaar.

- Robert Pogson

Late Night

One of my students, who uses Debian GNU/Linux, Squeeze/testing, every day, brought in a year-old Toshiba netbook with Intel Atom processor. The thing was sick. It would not even show a bar, let alone a menu. It was not usable in the normal mode. I got it into “Safe Mode” and found 83 processes were competing for time. I knocked off a few of them and the thing became much more responsive. It was running XP Home. We discussed options including installing GNU/Linux but he was reluctant to do so because his father was not willing to change and his father used the machine sometimes.

We tried to run the Google-Chrome browser which was already installed and it would not load any page, even one from our local server. Norton AV had expired so we tried to install AVG Free. We deleted Norton. With a few seconds left in the download (about 1 hour) the battery died. Atom is not competing well with ARM in this example. The unit was uncomfortably hot on the bottom. We plugged it in to the mains and started the download anew. This time it finished the download and then informed us that it could not install in “Safe Mode”. AAAGGGHHHH!

We then started in normal mode and killed a few processes. Now we had a normal desktop which was usable. The third AVG download finally succeeded. After 3 hours we commenced scanning. Within seconds it found a trojan and a buddy. It was apparently memory resident for deleting the infected file was effective only for 30s or so. After 40 minutes, the scan found six infections of two malwares. This gave me hope that rebooting would kill the memory resident thing. It worked. A shutdown/start sequence and another scan showed clean results. We set a scheduled scan during school hours when the student would not be using the machine and re-installed Google-Chrome. It still would not work. We installed FireFox and Opera. Opera was a surprise. I have not used it for years. At 10PM we were too tired to figure out how to set its homepage…

Six hours of fiddling instead of a 20 minute installation of GNU/Linux… Was it worth it? I do not know. Certainly the student is very aware of the high cost of maintaining that other OS. At my usual rate of pay, six hours would be worth roughly the value/price of the netbook so it could have been scrapped and replaced for the cost of “fixing” it until next time. His family is also aware that that other OS cost the boy an evening at home with family. I will write up an advertisement to send home with students promoting our “InstallFest” to be held next week. Such costs will figure prominently.

- Robert Pogson

Bogus Stats

Apparently, illegal copying of software is up. M$ does not approve and they state why illegal copying is bad but they still claim the market share… Does that mean M$ is in cahoots with the criminals? Does that mean some illegal copying is not illegal as M$ approves of it? I think M$ should come clean and publish stats for “clean” use of their OS. If they are at 88% of units, and 40% of units have illegal copies, then that 88% should be about 53%.

Now, we just have to persuade criminals to change their ways. Go legit. Run GNU/Linux.

Tomorrow will be a great day. On the agenda for grade 9: copyright. They have already installed GNU/Linux. Now I can motivate them to seek out and find illegal copies, helping M$ out of its trouble with illegal copies. We could have this town cleaned up in a week or so.

- Robert Pogson

PJ

“PJ” is the pseudonym of the host of the blog, GROKLAW, which has been a rallying point for the whole world of people concerned about the attack on Free Software headed by SCOG. Brian Proffitt has an excellent article, “SCO, Novell: Grokking Where Credit is Due“.

Pamela, with great admiration, I say “shush.”

Yes, Groklaw is a team effort, but every great team has a great coach. The efforts you have devoted to Groklaw have been staggering–physically, mentally, emotionally. Today Groklaw is more than a mere “SCO watcher”–it is one of the best legal watchdog sites in the world, with expanded coverage of all legal challenges to Linux, free software, and open source software.

I would to extend public congratulations from myself and (I suspect) quite a few members of the Linux and open source community for a job well done. You, your site, and the community that surrounds Groklaw demonstrates what it truly great about open source: that the positive collaboration of ideas and skills will always lead to something greater than its makers ever intended.

Amen. I remember, seven years later, the sick feeling I had in my stomach that any of the lies SCOG spread about GNU/Linux might be true or that SCOG could tax GNU/Linux which by then I was introducing into schools and classrooms on a regular basis. GNU/Linux was part of me and SCOG was putting forth that I had cancer. Well, I soon discovered GROKLAW and the free flow of good information there calmed my fears.

PJ is one of the good people on the web. There are many who are not. I have met the evil ones on my blog or in forums where freedom is not respected. She set out to make a repository of truth on the web and thousands rallied around her leadership. She worked tirelessly writing, transcribing PDF images from PACER, courts, and archives all over the web. She inspired people with personal knowledge of events and details to put their knowledge in writing so the history of UNIX, the evolution of operating systems, software, the law and particularly patents, standards and copyright would be there searchable on-line, forever.

No one quite knew how long the road would be and how dangerous. SCOG used every trick in the book of dirty tricks to fool the courts and to intimidate PJ, but she persisted. Evidence in the current trial of SCOG v Novell reveals what a thorn in their side she was. They apparently paid a writer to attack PJ to sully PJ’s reputation. The writer was unrepentant in the evidence presented, even resorting to name calling. She was accused of being a shill for IBM, too by SCOG’s CEO. Why the courts tolerated this evil to live so long is beside my understanding. They had not the slightest evidence to present in the case v IBM even after years of discovery. PJ could not be fooled as the courts were. She kept hammering on the truth into late nights to the point of exhaustion but still with a very high quality of work.

Thank you, PJ, for all your good deeds.

- Robert Pogson

A Walk on the Winter Road

Winter roads are different here. Not only do we have to contend with ice and snow, we have a lot of water and mud that matters. There are no all-weather roads here. Improvised roads are constructed each winter on ice and portages. It is worth the effort because of the relatively high cost of air freight compared with trucking. At the same time, ordinary folk get an opportunity to drive into Winnipeg for shopping, visiting and fun.

The heavy trucks require several feet of ice to support their weight. To thicken the ice, snowcover is cleared in a wide strip, about 200 feet across. On the portages sometimes driving is restricted to lower temperatures so that quagmires are frozen. Most of this week, the road will be officially closed because of warm temperatures. The next week it closes for good. “Official closure” has important legal consequences. If you total you rig while closed, you have no insurance. I knew a guy who wrecked a new pick-up when it rolled on a portage.He travelled one day after official closure and had no insurance.

I thought I would go for a walk on the ice in the cool of the morning to take these pictures. I saw only a few vehicles on the road and the ice was in excellent shape, no signs of break-up although it has had some puddles. There is a picture of a rig that brought in sewer pipes. There is a picture showing the cracks in the ices. Some appear to be quite superficial. Others go down a foot or more. When the ice is thinning there will be a longitudinal crack under the path of the big trucks. They have to drive slowly to avoid making waves.Sewer Pipe Winter Roadbull-dozed approach winter roadcracks in the ice of the winter roadIntersection in the Winter Road

Cottage by the Lake Near the Winter Road

Cottage by the Lake Near the Winter Road

- Robert Pogson

Adventure with New Technology

Well, having time to sort through the piles of junk around here, I found another gem, a brand-new PC. Never been run. It still had a factory-installed sticker over the power connector.

I checked it out:

  • Intel Celeron D 2.8 gHz Smithfield? 1MB Cache, dual core, 64bit
  • only 512 MB DDR2 RAM
  • 80 gB SATA drive
  • DVD
  • strange desktop compact case Lenovo type 8994 doesn’t let heat rise…
  • gigabit/s NIC on-board

I won’t even mention the software. It’s 32bit and obsolete. I did not even get as far as “I decline.” Now I have choices:

  • AMD64 Debian GNU/Linux
  • “Accept” that other OS
  • use it as a server
  • use it as a desktop

I am tempted to use it as a terminal server but it lacks RAM. It would be awesome for the English teacher’s cluster. I could add 4gB DDR2 for about $100. That might be a good investment.

We are short of storage on the LAN. This thing could hold two 500gB drives I plan to acquire.

We don’t particularly need any more GNU/Linux desktops at the moment any more than we need more XP machines. 20 PCs are on the way and we expect to acquire 10 more monitors to get some sidelined machines working.

As a server the thing is limited to two drives easily and with a bit of work, perhaps four, two SATA and two PATA. As a desktop, the thing puts out a lot of heat. What were they thinking? As a server 64bitness wins big on throughput. As a terminal server 64bit could make better use of 4 gB RAM.

I think 64bitness wins the discussion. XP should go. I don’t need one more XP machine to manage. For now, 512 MB means terminal service is out. Probably a GUI is out. I will make a file/backup/clonezilla server out of it. This CPU is overkill for that but the students and I could use it for building kernels or other applications just to say we did it. It could compile and serve fairly well. RAM is on the wishlist.

- Robert Pogson

LSE and Intel

There’s news that the London Stock Exchange plans to move to GNU/Linux within 12 months. There is also a story on Groklaw about GNU/Linux meeting the needs of Intel better than that other OS ten years ago. GNU/Linux is a great OS.

The recent LSE move includes the purchase of a MilleniumIT from Sri Lanka. They are hiring staff with C++ experience now. The goal is millisecond transaction time with superior reliability. The cost of buying the company was much less than the cost of an upgrade made recently, and the hours of downtime they have had recently.

- Robert Pogson

Migrating a Computer Lab From XP to GNU/Linux Magically

You don’t believe in magic in the 21st century? Try this:

  • take twenty-four eight to ten years old PCs running XP Pro taking minutes to boot
  • collect their network connections to one switch with two gigabit/s ports
  • add a GNU/Linux terminal server to the uplink
  • boot from a floppy each client, loading software from the server into RAM
  • run a script on the server to wipe the hard drives and install a boot-loader on the hard drives

Then, for a couple of hours of work, the client machines provide virtual desktops from a newer server and the users feel the speed and responsiveness of the newer server instead of the ancient PCs.

Perhaps it is not magic but only sufficiently advanced technology, but it is a wonderful way to upgrade a lab with very little equipment costs. The ancient PCs can be made useful again and give a few more years of service. When they finally must be replaced they can be replaced with new thin clients which cost $100 or less and are tiny, cool and quiet. This is a great solution for schools. Replace the management of many PCs with the effort required to manage one.

A few details:

  • The terminal server is an AMD64 3000 with 2gB RAM dating from 2004, not young but a generation or two more advanced than the clients. Most importantly, it has a 200gB RAID 1 array to speed disc storage. It also provides local services like chat/web/database so users have much better response than the Internet.
  • The clients work in an NFS share from the server which contains an LTSP 4.2 environment. Clients have two sessions, GUI and local BASH shell but also have keyed SSH access, useful for the scripting.
  • Script run on the server:

for f in list-of-ip-addresses-spaced ; ssh $f /nfsroot/script.sh& done

  • Script the client runs:

script.sh at /opt/ltsp-4.2/i386

modprobe ide-generic # loads driver

dd if=/dev/zero of=/dev/hda # wipes drive to free licence

dd if=/nfsroot/boot-loader-from-rom-o-matic.net of=/dev/hda #write netboot loader

haltsys

It cannot be emphasized too much how great an improvement this small effort gives to each user of the lab every day in every way:

  • faster booting because there is less software to boot
  • faster login because the first user to login loads all the necessary files into shared memory
  • faster loading of applications because the files are already in shared memory on the server, much faster than reading from a hard drive
  • files are accessed by processes on the server from drives on the server so there is no network traffic/bottlenecks for data
  • no need to run AV scanning for each user
  • web applications and data from the local server are much faster than going through the Internet bottleneck
  • RAID storage is much faster and more reliable than the hard drives on the client

I demonstrated this technology to teachers at a conference last week and they were amazed as one should be by magic.

Don’t have a GNU/Linux terminal server? Install Debian GNU/Linux or Ubuntu or K12LTSP. Debian packages to add is ltsp-server-standalone. It sets up DHCP for the subnet on the switch and the tftpd service to boot clients and sets up the file share. Every school should have a few of these terminal servers.

- Robert Pogson



Archives by Month

My Mission

My observations and opinions about IT are based on 40 years of use in science and technology and lately, in education. I like IT that is fast, cost-effective and reliable. I do not care whether my solution is the same as yours. I like to think for myself.

My first use of GNU/Linux in 2001 was so remarkably better than what I had been using, I feel it is important work to share GNU/Linux with the world. I have been blessed by working in schools where students and school systems have benefited by good, modular software easily installed in most systems.

I have shown GNU/Linux to thousands of students and hundreds of teachers over the years and will continue in some way doing that until I die in spite of the opposition.

Posts

September 2010
S M T W T F S
« Aug    
 1234
567891011
12131415161718
19202122232425
2627282930