Archive for September, 2010

HP Moves From Chaos to …

After years of chaos and turnover of leadership, HP has chosen another leader, Leo Apotheker who has a quite different background from the USA-anchored HP. HP moved from a company specializing in high-tech engineering products to mass-produced printers and computers. What can we expect of a leader who matured in SAP and ran it? Expertise in software. Intimate knowledge of SAP which is ripe for acquisition by HP and a competitor of HP’s competitor in hardware, Oracle.

HP has staked a claim in servers, PCs, and printers. Could they make a move in software? Could they buy SAP, Suse, or others to give them something to run on their PCs and servers? That makes sense. Oracle is doing that. IBM is doing that. Why not HP? Apotheker will no doubt have a global view of IT and may be friendly to GNU/Linux on desktop and server. They could increase margins by pushing GNU/Linux instead of that other OS. At SAP, Apotheker had no problem with customers running SAP on GNU/Linux.

Apotheker has a background in software and may leave the running of the hardware divisions to the current managers but he may also open up the company to new areas of software, cloud services or GNU/Linux on the desktop. The market is moving that way although slowly and he may feel the need to be more independent of M$.

UPDATE The Register has a different take

- Robert Pogson

Operating Systems in Schools

I have seen MacOS (pre and post-X), several versions of that other OS and GNU/Linux used in schools. The stability and managability of GNU/Linux is a huge plus in the calculations to choose an OS. So are its low cost. From an educational standpoint the openness of GNU/Linux is ideal. Students can be given machines to install, configure, and create or modify software that is a part of the system without any further licensing. The others have never been stable where I have worked. I was at one place where a specialist in MacOS flew in and had the system working perfectly in an hour but several hours after he left no one could print again except from my GNU/Linux systems. That other OS is a haven for malware which is the signature of unreliability. If you cannot rely on software to keep working, why use it?

No. GNU/Linux is the clear choice for me. Here is an article written by one who shares my views. He describes use of GNU/Linux in schools in British Columbia, Canada. Wherever cost-effective performance is wanted GNU/Linux should be the first choice. I cannot imagine a more appropriate situation than schools. Students and staff need reliable IT and students need IT that is transparent and affordable to them so they can tinker as needed. Students learn by doing. They do not learn by doing what M$ wants them to do.

A teachable moment with GNU/Linux happened in my classroom yesterday. My students have seen the inner workings of a PC, installed GNU/Linux and used GNU/Linux since school began. Yesterday I showed a video from Youtube of a guy assembling a PC from parts. Students critiqued the performance because they had some exposure to the technology being displayed. Several noticed sloppy use of terminology and poor technique for handling and inserting parts. One thing they had not seen was the installation of “7″. While my students had done most of the work except some downloads in 20 minutes installing GNU/Linux, the presenter paused the camera for “several hours”. The class had quite a laugh at that. Several have used “7″ and see nothing there that they cannot obtain for a lot less time and money with GNU/Linux. They are empowered to make their own choices now.

GNU/Linux belongs in schools. It works for students and teachers.

- Robert Pogson

Netbooks are Doing Well

I have read in several places that the netbook is dead, but the blog of NPD contains:
“No one expected netbook sales to stay at the atmospheric levels of 2009 and in fact netbooks, as a percentage of U.S. consumer sales, have been very steady all year in the mid-teens. Netbooks sales are actually up for July and August 2010 versus the prior year period by 6 percent.”

Further, “Windows PC sales, especially notebooks, have been much weaker than in the past few months, likely as much to do with the ebbing of the Windows 7 tidal wave and consumer reaction to the lack of price deals in the market this year as it has to do with iPads or back-to-school. Total Q1 notebook sales were up 28 percent but fell to 8 percent in Q2 as Windows notebook growth fell from 30 percent to 4 percent.

So, there is the “thin notebook upselling” ending with a whimper. The netbooks are growing faster. You can drag the OEMs around by the nose for a while but the consumer notices eventually and stops buying what they offer. OEMs should be producing more netbooks and netbooks without that other OS. The consumer has spoken.

- Robert Pogson

Tablets vs Netbooks

According to whom you ask:

“Sources from China’s white-box players pointed out that tablet PC hardware design and production is not difficult and the major difference between the production of netbooks and tablet PCs is that they have to pay higher prices for Wintel’s platform. Since consumers do not see Wintel platform as a necessary requirement for tablet PCs, while the ARM/Android platform is cheaper, the white-box players believe they will have more chance to succeed.”

“Acer’s dual-OS netbook recently dropped to around NT$9,000, while Asustek’s 10-inch OS-less Eee PC is only priced at NT$8,800, Lenovo’s Atom N470-based netbook is about NT$9,900. BenQ and Elitegroup Computer Systems’ (ECS’) 10-inch netbook bundled with telecom carrier Far EasTone Telecommunications (FET) has also recently dropped below NT$10,000.”

The OEMs are seeing that that other OS is holding them back. They can make more money by cutting prices and selling machines without that other OS but with no OS or GNU/Linux. The idea that consumers insist on that other OS in netbooks is a figment of M$’s salesmen’s imaginations. The OEMs may have been persuaded for a time but that time is over.

- Robert Pogson

Unreliable Servery

This week an airline suffered 21 hours of downtime on its reservation system. For them this was as bad as the London Stock Exchange outage. Could there be something in common? Yes. Yes there is. Accenture planned and implemented both with that other OS…

LSE

“New Skies Navitaire is built on a flexible and scalable .NET framework which provides open Web service access to many functions.”

Outage

As usual, the failure was put down to “hardware”. Chuckle… How long does it take to replace a failed drive, folks? Is 21h a new record??? No. The failure was software and they used that other OS. It’s just not reliable for mission-critical stuff. The system was supposed to have automatic fail-over in case of hardware failure. Nothing worked as planned.

The LSE switched to GNU/Linux. Maybe airline reservations will as well. How about you?

- Robert Pogson

Dell – China is Happening

In an interview, Dell’s man in China stated that China will be Dell’s top market by 2012, growing at 18-20% per annum. In the interview it was also revealed that Dell will throw out a variety of tablet PCs with a variety of operating systems to let the market decide. What a breath of fresh air…

see Wall Street Journal

China is not locked-in to that other OS.

- Robert Pogson

Chasms and Imagination

Dana Blankenhorn knows a thing or two about IT but this is just wrong:
“The chasm is that point in the “s” curve where a product is known and liked by experts or aficionados, poised on the brink of mass market success or failure. Most products fall in. Why do some cross and others don’t? That’s Moore’s study.

Important examples are to be found in the world of open source. Linux crossed the chasm on servers. It failed to do so on desktops. Yet Android, a Google-developed Linux distro, seems fated to succeed.”

He presumes GNU/Linux has failed to cross some imaginary barrier when that is not the case. GNU/Linux on the desktop has long ago ceased to be a geek/early-adopter thing. It is being accepted on the mainstream/mom and pop desktop now. That started happening with the netbook. Many millions of netbook users are not geeks and don’t know an OS from an application. They know GNU/Linux works and love it. OEMs have passed up that opportunity in some ways but consumers have not. They have bought GNU/Linux whenever and wherever it has been offered. The news that Lenovo sold a million Ubuntu boxes last year was a surprise to many. How many geeks are there, 1% of users or maybe a few %? Geeks might buy 3 million PCs a year globally but tens of millions of GNU/Linux boxes are being sold, way more than geeks can absorb.

Further, there is all kinds of evidence that consumption of GNU/Linux is increasing:

  • adoption in schools, and governments (not early adopters, for sure)
  • huge numbers of mirrors with high volumes needed to ship distros
  • Ubuntu breaking even and entering expanding lines of business
  • continued growth for RedHat and Suse and it’s not all on the server
  • mirror stats showing 150 megabits/s – 450 active requests average e.g. http://csclub.uwaterloo.ca/stats

There are hundreds of mirrors for Debian GNU/Linux around the globe. FLOSS mirrors put a major load on the web. One mirror might service hundreds of thousands of clients in a year meaning more than 10 million clients run GNU/Linux. Then there are places that have internal mirrors we do not see.

GNU/Linux crossed the desktop chasm years ago, probably 2007 was the point, when ASUS put it on the eeePC. I think 2009 was the year everyone except Dana Blankenhorn and amicus_curious caught onto the phenomenon.

- Robert Pogson

Migrating to GNU/Linux

I am fortunate. My IT is straight forward. I set up GNU/Linux servers and GNU/Linux desktops and everyone (almost) is happy. It works reliably and I don’t need to fix much. Others have a more challenging task. Leaving the servers GNU/Linux and migrating the desktops to the next version of that other OS did not work for them. Perhaps eventually they will be able to make the desktops GNU/Linux and life will be easier. If you read the comments, you will find others did.

The thing I notice in the article is that there was nothing technically wrong with using GNU/Linux desktops. It’s just push-back from users. If you get them on your side, you are laughing. It’s easy:

  • Give them something new with the migration: mouse/keyboards/monitors/client and you have won half the battle.
  • Make the new system twice as fast as the old system. That is trivial with thin clients on a good network with able servers (SCSI, tons of RAM, RAID, gigabit/s). For us, GNU/Linux on the desktop was much faster than XP on the same machines.
  • Hold their hands a bit. For most users I have seen, show them a typical session and give them the opportunity to try it in a lab surrounded by their peers. They will figure things out and help each other.
  • Get the bosses to try it out first. If you don’t convince the bosses, the ordinary user is a lot more difficult.

If there is some task or some user for whom GNU/Linux does not work, so be it. Let them keep their island and hope they move on one way or another. In my place, I have only two teachers still using XP. It’s not worth the fight if they are set in their ways. Eventually their role will change or turnover will fix that problem. End of life of XP may be the straw that breaks the camel’s back or it may be malware. Time is on your side.

- Robert Pogson

LibreOffice

Oracle and the properties it purchased with SUN Microsystems are evolving. OpenOffice.org is being replaced by LibreOffice and the Document Foundation. No word yet on whether or not Oracle will be participating. They let OpenSolaris wither. They may do the same with OpenOffice.org.

see http://www.documentfoundation.org/

There may be a dull year or two in FLOSS but no dull decades… Growth and change happen.

Try out the fork here: http://www.documentfoundation.org/download/

There are issues as can be expected: en-US only for now etc.

Debian Squeeze has OpenOffice.org3. I doubt there is any way the new fork will be ready or accepted in time for the release.

OpenOffice.org has been the killer app for GNU/Linux in schools. The savings on licences for Office alone can justify migrating to GNU/Linux. As Oracle seem not particularly friendly/responsive to FLOSS, this fork may have been inevitable or just a good thing on its own. This action may briefly distrub development but I see a bright future for the software in GNU/Linux.

UPDATE Here is a comment by Mark Shuttleworth.
“Office productivity software is a critical component of the free software desktop, and the Ubuntu Project will be pleased to ship LibreOffice from The Document Foundation in future releases of Ubuntu. The Document Foundation’s stewardship of LibreOffice provides Ubuntu developers an effective forum for collaboration around the code that makes Ubuntu an effective solution for the desktop in office environments”

See that and others on the “Supporters List”.

- Robert Pogson

HTC Overtaking Apple and RIM

HTC is gaining rapidly on iPhone and RIM according to Digitimes. Android is doing well and there is speculation that M$’s new product will be popular. That remains to be seen. At the rates of growth HTC is seeing, they could pass Apple and catch RIM in 1H 2011. HTC is not the only maker pushing GNU/Linux smart-phones so together they will likely catch Apple this quarter. Since Apple ranks pretty highly with NetApplications web stats, we should see a big move by Android shortly.

- Robert Pogson

M$ v World

A decent review of anti-trust actions against M$ and M$’s fight against competition around the world is on Ars Technica. For those too young to remember or too busy to be engaged, there is a good outline of events from the legal side. If you have time, please read the documents on US DOJ v M$. They will change the way you think of M$. They did so many things to mess with competition instead of making a good product. There is just no other way to view merging the browser with the OS. It wasn’t an application. They made it a necessary component of the OS and they claimed it could not be removed. That was just the tip of the iceberg. Read how they threatened major OEMs with higher prices or no right to distribute the software.

This was all too little and too late. M$ got a solid monopoly that it wanted and a decade or more of obscene profits rolled in. The “final agreement” can be seen as a rubber-stamp of acceptability on the monopoly even though it was illegally gained. M$ was not punished in any way, just told not to do it again. That might work for an innocent child but M$ is a brutal tyranny, ruled from the top down by evil men anxious to enslave the world. If you consider that M$ rakes in tens of $billions annually and the product is basically copies of documents/CDs/permissions the world really has been working for M$ and not the other way around. They have created something worth a few $billion and have arranged to be paid repeatedly for every PC sold. They even force people who use thin clients to pay multiple times for a licence just for connecting to the PC or server running their software. They do nothing to earn that money. The world has been working for M$.

It is past time to free the world of this evil. Use Free Software. Use GNU/Linux, or FreeBSD, or OpenSolaris, anything but that other OS that does not even have a legitimate name. If the courts refuse to see the light, what is your excuse? Be free. Don’t buy any of M$’s products. Find out what you have been missing. I saw the light 10 years ago. PCs that refused to work reliably danced. Students had good use of IT in the classroom. I became a magician in the classroom. Today I had standing room only in my lab as students thrilled at the performance of all their applications running on one PC that would have laboured to please one user with that other OS (and restricts the number who may even try by the EULA). Be free.

UPDATE At the end of an article linked from the one mentioned above, ARS Technica reported in July 2010 that only 63% of their visitors used that other OS and 6% used GNU/Linux. Clearly, they have different visitors than NetApplications counts. ARS shows 26% use MacOS although Apple says they produce only about 3% of PCs.

- Robert Pogson

Graphics

I am not into graphics. I appreciate pretty pictures and video and the like but I could care less how fast they flow or whether they are 2D or 3D. My monitor is 2D and I can live with it. M$ is heavily into graphics, catching the eye of the consumer/end-user who may be persuaded that a good appearance means what lies beneath is first-rate. We know that appearances can be deceiving but M$’s best graphics, DX11 is not available on XP but is coming to GNU/Linux. With half the world’s PCs supposedly on XP with nowhere to go when support is cut off, would it not be cute if the lack of graphics software on XP drove users to try better graphics on GNU/Linux? M$ will try to force folks off XP one way or another. Some will fall by the wayside and go to GNU/Linux especially if games can now be ported to GNU/Linux more easily...

- Robert Pogson

Overdue: A Tribute to Tux

For those who don’t know, Tux is the mascot of the Linux kernel. The kernel ties everything together in an efficient reliable bundle of hardware, performance and reliablity. The mascot likes to eat fish but cannot fly in air. It flies in water. Now there is a monument to Tux with air-foil wings. Linux overcomes little problems like water-wings.

This could be the first monument to Tux. Perhaps the GNU/Linux operating system should have a few more monuments to the efforts of the world to produce its own software rather than relying on single sources. Where I live there are monuments to just about everything: traitors now seen as heroes, mosquitoes, snakes, geese, etc. Free Software has its icons. Why not monuments? GNU has a mascot. Apache has a feather. MySQL has a porpoise. This could catch on.

It’s about time this blog had a logo. Robert Pogson is just my name and I am a fat old guy, nothing inspiring. I will have to think and consult more artistic types. I am a linear problem solver not into creating visions but able to recognize them.

- Robert Pogson

Design Issues

That other OS is a mess of design issues. Anything that big and complicated has design issues. It’s inevitable. Still people rely on the unreliable.

Recently, M$’s BPOS which has a 99.9% guarantee was down to 99.7%. They fixed multiple bugs in an upgrade with multiple un-planned outages. M$ is learning openness and coming clean about the problems but the basis of their monopoly is still a black hole of problems they created and by the nature of the beast they are the only ones capable of fixing the problems. The world is better off using FLOSS so the world can fix its own problems and have fewer problems.

I was looking at the bug list of Debian GNU/Linux today. They are down to 370 release-critical bugs before Debian GNU/Linux Squeeze is released officially and fully-tested software. 370 bugs in 25000 packages and how many millions of lines of code… If you look at the bugs, many are pretty trivial like the creator used the name of an old package now replaced by another. Stuff that can be fixed in an instant. At this rate a group of a thousand individuals will bring forth a product produced by many thousands of developers in a new release two years after the last one. M$ had a terrible time releasing the buggy Vista after six years and $billions spent.

There is a better way to do IT. Use GNU/Linux. Do not trust M$ to run your IT. They cannot run their own reliably.

- Robert Pogson

M$ is All-out

Ballmer said M$ would be all-in for the cloud. Apparently, he doesn’t realize blogging is one of the clouds… Is it cloud 2 or 3 after e-mail and search? M$ is shutting down Live Spaces. Users will have a smooth transition to WordPress, the software running this blog. I hope this isn’t embrace, extend and extinguish in the blogosphere. Maybe bloggers are too intelligent and don’t drink the Koolaid.

I don’t know what to make of it but will back up my files to move elsewhere if need be. My blog isn’t actually on WordPress. I just run WordPress PHP code. I have my own server running that.

I suspect that M$ really has no traction with people serious about what they do. Their OS is smoke and mirrors. Their web-presence may be that as well. Maybe this is the next nail in the wall of recognizing they are not a growth company.

UPDATE! AHHHHH! The backup was more than 8MB of XML, nearly twice as large as the one I did in June. I’ve created a monster…

UPDATE TheRegister has spotted a trend in projectcide at M$. M$ keeps trying to do what it did to NetScape and failing badly because the monopoly fails on the web. So sad… :-)

- Robert Pogson

European OSS Strategy

Wikileaks has leaked a draft of a report by an OSS working group representing industry. It appears to be a very divisive document, perhaps intended to fragment the global FLOSS community:

  • The draft points out that EU has done a lot in FLOSS but US corporations are making the profits
  • The draft points out that FLOSS cannot be zero cost. What has this to do with EU strategy?
  • “There is no clear distinction between closed source and open source.”
  • “Commoditization if the opposite of innovation.”
  • “Open Source will never be THE solution which will modify the whole economy and the IT world.”
  • “Why all the benefit from OpenSource is mainly for non-European countries?”
  • “tenders preferring or mandating OpenSource software or narrowly defined open standards, according to the view of leading software trade associations, can be in violation of the same neutrality principles.”

It’s a long document, 37 pages, and while showing a discussion is happening contains such bizarre viewpoints (not unlike one of our commenters) that I do not see it contributing much towards establishing an EU policy on FLOSS. GNU/Linux is doing very well in EU and the divisive issues raised are typical strawmen in that they are essentially irrelevant to the adoption of FLOSS. That is, the cost of making GNU/Linux available to everyone divided by the potential number of installations (billions) is trivial in comparison to the cost of non-free software and the deadly weight of support it needs (anti-malware, licensing, lawyers, salesmen and techs). In my school, for instance, we were dead in the water with that other OS. Half the machines were not working. By adopting FLOSS, we can triple the number of existing machines, and increase the number of working machines five-fold with no increase in costs. GNU/Linux is also sustainable because the whole world shares in the cost of production and we are many.

I hope the final version of this report is reasonable but I am not optimistic. Fortunately, the EU is advancing in adoption of FLOSS faster than the writers of the report can revise.

- Robert Pogson

M$ Takes Steps to Limit Growth

M$ appears to have accepted that it is not a “growth stock”. A recent move reduces the number of “product keys” subscribers can get from TechNet to do trial installations. Reducing the number of keys from 10 to 2 should slow down the rate of adoption of M$’s products. {joke}They offer 938 products {/joke} but offer trials only two at a time. You should use GNU/Linux. You can try as many installations as you want for the same low price, $0.

- Robert Pogson

Ubuntu is Mainstream

Digitimes is one of my favourite publications. I am an early riser and those guys rise earlier than I to publish what’s happening in the far east. Today there is a story that Ubuntu is having a conference and in preparation some information on how Ubuntu is doing is set free:

  • Dell and Lenovo both launched Ubuntu notebooks in 2010. Two more OEMs plan such releases in 1H2011.
  • Ubuntu 10.10 will have multi-touch capability, on-line app-store, personal cloud services, and sync with Android and iphone phones.
  • Global production of Ubuntu PCs in 2010 will be ten times that of 2009 and further growth is expected for 2011.
  • Lenovo is expected to ship one million Ubuntus in 2010.
  • Talks are planned with a bunch of OEMs in Taiwan.

So, while it appears GNU/Linux is nowhwere on retail shelves in USA and such developed markets. Somewhere on the planet, people are buying millions of them. Perhaps martians are exporting them.

The information about Lenovo is interesting for me personally. My school is mainly populated by IBM PCs. The 12 new ones we received last spring are Lenovos. You can hardly tell them apart except the case is a little slimmer, the power-supply is ATX and they are blazing fast. Lenovo is a huge player in China where they are the home boy. If they are cranking out GNU/Linux boxes by the million, GNU/Linux is mainstream on the desktop. There is no question about that. What other OEM will be content to let Lenovo have too much fun? Retail shelves in USA may be different in 2011, perhaps even by Christmas. Retailers will have choice. Let us see if they make a choice for freedom.

Lenovo does promote GNU/Linux:

- Robert Pogson

How Far We’ve Come

I set up an old ’486 PC in the lab to show students how far we’ve come. I explored it myself today for the sake of nostagia. You can check out RedHat 4.2 on DistroWatch (1997):

  • no jounalling file-system, just ext2 and FAT
  • no window manager, just xdm (way too close to X)
  • before GNOME (1999) and KDE (1999) and OpenSSH (1999)
  • no bloat either, runs in 16MB

It was a “jarring experience”, this time-warp. /etc I hardly recognized. Most of the scripts are different now. The performance is roughly how a ’486 behaved with that other OS. I have no numbers from that era. The slow processor really hurts X -query terminalserver. You can watch the screen re-fresh…. like pulling down a windowshade. The bottleneck is likely the 10 megabits/s networking. That could redraw 1024×768 in a couple of seconds (16bits) pixel by pixel (video). Boot-time is about a minute. Log-in to a useful desktop on the terminal server is about 10s, so it is faster than what my users were getting from XP on much newer equipment (2002, five years and several steps of Moore’s Law later) as thick clients. OpenOffice.org opens to a usable window in 10s and at 40 words per minute, I see no lag.

This example gives the lie to the idea that we should chuck equipment every few years. This beast is still usable for most purposes at 15 years of age. The graphics is a bit ugly at 16 bits and there are some protocol problems… The “OpenOffice.org 2.4″ logo that flashed on the screen as the programme was starting was flipped top-to-bottom! The next step up, Pentium, say, and 100 mbits/s networking would be absolutely better than what people are experiencing on newer equipment with that other OS. I don’t care about eye-candy. I mean the data-processing people need to get done on a server or cluster somewhere. An older machine can show the pix and receive the clicks indefinitely. If you can buy RAM and other parts for it, why not? Most parts are $50 or less these days and take less than 15 minutes to swap (perhaps a motherboard would be longer). The systems are worth keeping and they do useful work with GNU/Linux.

Of course, newer equipment and newer software is fun but it is not essential to the task of creating, finding, storing and presenting information. Schools can work with decent used PCs quite well.

- Robert Pogson

UK Government is Getting It.

“no-one has enough money to buy Microsoft any more”

That’s right. As I have observed in schools, if you use that other OS, you have not enough money to do much. see http://www.thinq.co.uk/2010/9/24/gchq-spooks-top-uk-linux-installations/ The techies in the government of the UK have adopted GNU/Linux widely on desktop and server but most others used it only on servers. That is changing. The new coalition supports FLOSS. They get it.

more:
“Whispers in the courtly corridors around Westminster, the seat of British government, have it that British intelligence uses Linux because it is secure, good at number crunching, and doesn’t cost much to deploy.” Those are techies to be sure.

“Another relatively big British Linux site is the Met Office, which monitors the weather. Number crunchers prefer Linux, say open source advocates” That’s for sure. Have the equpment crunch numbers instead of running malware, phoning home, sniffing for DRM, …

“The Socialist government of Andalusia levelled the playing field by ordering that all 675,000 pupils and teachers in its state education system must use Linux. If no-one is able to use Microsoft software, no-one can form the protectionist club of Microsoft users that can prevent anyone else from using Linux. Andalusia is rolling Ubuntu out on all 220,000 desktops in the state education system.” Amen! The UK could do well to follow that example now that they have gutted BECTA. Becta used to help schools sign-up for enslavement by M$. Given the choice of half the PCs they need running that other OS or all the PCs they need running GNU/Linux schools are free to choose GNU/Linux now.

- Robert Pogson

Tools

oldman provoked me when he mentioned the wonderful tools he has to manage PCs/servers in his system. I thought I would describe my tools. Mine cost $0 and work for me so I see high performance/$.
Infrastructure
My network is not unusual. I use a router just as a firewall and router. I put DHCP on my own server so I can control what each machine looks like on the network. I record the MAC for each machine in a database and placed all the relevant statements in /etc/dhcp3/dhcpd.conf. That way every machine gets the same IP address on each boot and the dhcp server updates the DNS server locally so I can address machines by name. There are GUI tools for doing this but my system is so small, I just edit the lists. I use scripts to create the configuration files. All I needed was a list of machine name and MAC and IP address. I took that from the router when I took away its DHCP function and added machines as they came on line. While DHCP/DNS is a management tool system there is nothing remarkable about that. It is fairly normal on any system.
Custom tools
When I want to tweak anything from my chair, I use tools I built from lower-level tools in the GNU system. I use an account on a particular server to control everything in the system. The OpenSSL public key /root/.ssh/id_rsa.pub for that account is stored in /root/.ssh/authorized_keys in every GNU/Linux disc image so that when I restore the image to install GNU/Linux on a machine, I have passwordless logins remotely for that machine. The /root/.ssh/known_hosts file and the host keys prevent man-in-the-middle attacks once the key signature is approved by me. I can examine that by ssh-keygen -l . This gives me reasonable security for a system like mine. I could improve security by adding more layers but this is enough considering the value of our data etc. Most of our data comes from the web and we just keep a local copy. Most really important documents end up on paper and stored in steel boxes somewhere.

How the tools work is simple. I prepend some stuff to any command and it goes to any and all PCs I control. I can run a private process or a GUI app on any machine I control.

e.g. to check the time on all machines in the system:

./all date

I get a column of date-time data and I can spot any laggards. They should all be synchronized so a discrepancy means a machine has a problem like being off at the time of attempted sync, flaky network, or a misconfiguration. If a machine is off-line, I get an indication of that. All messages are prefixed by the name of the targetted machine:

Here is “all”:
#!/bin/bash
for f in /root/scripts/lab/*;do (echo `basename $f`;ssh `basename $f`.example.com $1 ;echo)&done

The directory /root/scripts/lab/ has touched files with the name of each PC in my lab. I have another command which does similar things for every PC on the LAN. $1 is the command following ./all. I could put all on my PATH to make this easier but I like being in my file structure so I can instantly edit anything so all is in a good place. For the classrooms, I can create directories with the names of the PCs therein. If I forget a room number I can use locate nameofpc to find it.

Here is “wall”:
#!/bin/bash
#wol all PCs in lab
wakeonlan -i 192.168.0.255 `cat /root/scripts/macs/*`

macs is a directory containing files named after the PCs. The content of each file is the MAC (hardware address of the NIC).

Here is “sall”:
#!/bin/bash
#shutdown all PCs in lab
for f in /root/scripts/lab/*;do (echo `basename $f`;ssh `basename $f`.rsl.edu “shutdown -h now&exit;”;echo)&done
~

If I want to run a GUI application on any machine, I can use ssh -Y user@machine application and the X connection is forwarded. This is useful for demonstrating to a user who has walked up to my desk or to use a GUI tool for my system administration. I normally prefer text because it is simpler and methods and results are easily saved.

I also have scripts for waking any or all and shutting any or all down. The most frequently used command to ferry around this way is apt-get update;apt-get upgrade which synchronizes the system with the repositories of which I have a cache of used packages on my server. It all works very nicely. I have used similar tools for that other OS and they are all propietary add-ons and because of the lack of a package manager much more complex. No doubt oldman will tell us the wonders of a provisioning system that can install x and y inside a virtual machine on any machine in the system in minutes but I have no use for such a thing. I have not enough RAM per machine. I have 12 machines capable of that on teachers desks and GNU/Linux as a normal installation does everything they need done and more. My problem is getting teachers to use all the capabilities of this system not adding more to it.

To a stock Debian GNU/Linux installation all I need to get this to work is to apt-get install openssh-server and then plug in the authorized_keys as mentioned above. It takes seconds to do that. My cache of the repositories runs at gigabit/s between servers and 100 megabits/s to any client. That’s many times faster than our Internet connection and makes the packaging system APT a joy to use. My cache has 500gB drives so this system could likely work well for a few thousand machines. RedHat, Novell and IBM have toolsets that they claim work for 10K machines. My school with less than 100 does not need that and it would take longer for my successor to adopt to say nothing of the year or more it would take to get that in the budget.

Oh, in particular, for teaching, a teacher should control the PCs used by the students. With this system I can add stuff to view/control the desktop (x11VNC) or I can watch their list of active processes. I can stop any process, too. pkill -u user, pkill -f somecommand, /etc/init.d/gdm stop, all get their attention instantly. The last logs everyone in a GUI off the terminal server in seconds. Very dramatic way to send them on their way. I can also shut down the lab as described above. This sure beats arguing with a student or phoning Mommy. It helps to have a lab where I can view each monitor directly. If all are supposed to be writing a report and one has a video game running, he/she stands out. ;-)

Needless to say, the password of root on the main server is a priceless commodity in my system. I will not sell it cheaply…

- Robert Pogson

Small Victories

Some days not a lot happens and that is good. Today I put the finishing touches on a lab my grade 9 students set up. Last year they started with a variety of ATX boxes. I replaced 10 with thin clients. This year I had the grade 9s learn lots of hardware/software stuff and they assembled a new lab with almost twice as many machines most supposedly IBM Netvistas from 2002. Today I tweaked all the BIOS to Wake-on-LAN and straightened out a few mis-labelled machines (the labels faded over the summer somehow…). Then I patched them all. Some are Debian Lenny GNU/Linux and some are Squeeze. They both seem to work well. Squeeze had a ton of patches over the summer. I changed about 75% of the files on drives.

I then wrote a few scripts so I or my eventual replacement can do anything to any one or all of them. The kids thought it was cute that I could stop their off-task activities on the terminal server with ssh. Now I can turn on and off their machines or kill their GUI on the clients. Since there are a lot of students in that class, access to a PC is at a premium and my esteem as manager of those scarce resources is very high.

I still have one machine that occasionally will not start its X server. I checked. It seems identical in every feature to its neighbours. I hate random errors, don’t you? I will add a couple of more machines tomorrow so there will be enough even if this one dies. The lab is small and I have kids sitting shoulder to shoulder. I may even stick in the 15-year-old box to show the kids how good they have it (and to annoy some hecklers). It actually works pretty well as a thin client. It runs RedHat of its generation in 16MB. Yep. It still works. I will reserve it for the latecomer.

- Robert Pogson

No Doubt Now. ARM Will Be In PCs

Marvell has announced a new ARM chip. This one has 3 processors. What is different is a powerful graphics processor in addition. This thing can run a gaming console, or a PC. It is like a motherboard on a chip. This may not go into an ATX case but it could or it could go into a compact form like the PC in your monitor (look Ma, fewer cables!) or keyboard.

There is a good analysis on Ars Technica. That’s not just for a smart-phone. It’s a smart-thingy that could be running your next PC. At 200 MT/s (Mega Triangles/s) it could redraw a desktop at full speed or do HD video. Wouldn’t it be cute if the monitor were the largest consumer of power in your system? It could be cooler and quieter, too.

Marvell says it’s for smartphones…”Marvell Raises Technology Bar Again with World’s First 1.5 GHz Tri-Core Processor Delivering Dual Stream 1080p 3D Video for Smartphones and Tablets” but they are distributing samples now and I want one for my next PC. Anyone want my old hair-drier?

The spec that jumps out: 1080P for 10 hours on a charge of a smart-phone. Intel is getting close to being able to do that with the battery in a netbook… I think ARM is ahead and pulling away. Did I mention USB3 in a smart-thingy??? How is that not going to end up in a PC, desktop, notebook or netbook? Everyone will want one.

- Robert Pogson

Shopping at Dell

I shake my head over this story of Glyn Moody shopping at Dell in the UK. He was forced to spend considerable time to be told repeatedly in various ways that Dell-UK does not sell PCs with Ubuntu even though they have a page for Ubuntu. He even tried a telephone. No deal. Dell has shipped tons of PCs with GNU/Linux but like a dinosaur some parts of the corporation do not seem connected to the intelligence running the whole thing. Dell, Wake UP!.

According to Google:

Is there any intelligent life at Dell.co.uk? Have they been abducted by space-aliens?

- Robert Pogson

A Failed Migration to “7″

Here’s a story about a guy who wanted to go to “7″ badly enough to try it several ways and even talked with M$ about the process. No luck. “7″ isn’t an OS designed to migrate towards. It’s an OS designed to sell new hardware so the partners keep supporting that other OS…

The takeaway should be that if you want to migrate from one OS to another you should give serious consideration to going to GNU/Linux. It is an OS designed to migrate towards on almost any hardware old or new and any architecture. You could have some problems with drivers on occasion, sometimes for old hardware and sometimes for new hardware but usually everything works. I have only a few machines in my school out of 80 that have a driver issue currently and I fix it by installing the latest kernel so all 80 machines work and they range in age from 1 to 8 years. I have one machine 15 years old on which I had little problem installing an old version of GNU/Linux. The problems with going to “7″ are so numerous that half the XP machines that ever existed are still running XP. Users will not migrate to “7″ until the hardware dies. If they want modern software, though, they go to GNU/Linux and they can keep their old hardware for years longer.

Now there are many people who have bought new machines with “7″ installed or who have migrated from Vista to “7″ and a few who went from XP to “7″ but the vast majority obtained “7″ on new machines. If you like your old machine and it is reliable, migrate to GNU/Linux to get new software. It is a better way to do IT. see http://www.debian.org

- Robert Pogson

Chinese Crank Out Thin Clients

The Chinese value economical IT and they are selling it to the world. Here is an example, a thin client that will run at 1280 pixels and do remote USB for $43. It will work for either that other OS or GNU/Linux and it will allow many users to use a single modern PC. I love it.

Thin clients have become acceptable again. They are the best way to have lots of IT seats for the least cost and they are very reliable because they have few moving parts, the way IT should be done.

- Robert Pogson

Two Solitudes

The world is full of dual communities who barely understand each other. Here is a story of advice for ladies. My life would have been quite different if ladies had come gunning for me when I was a young geek… The blogger describes me to a tee. I don’t care what I look like and I spend hours glued to my monitor besides eating wild mushrooms. My wife bumped into me at the Dairy Queen by the University of Manitoba or I might be single still.

- Robert Pogson

Rational IT for the Big Guys

For small guys like us IT is pretty simple. Give the users reliable access to the network and data. GNU/Linux and FLOSS do that wonderfully well. I have long advocated modularity in IT, that is make all IT look like a bunch of small guys. The government of the UK now is seeing the light. They plan to distribute a lot of their IT to small businesses who may well implement solutions based on FLOSS. It will all work if everyone uses open standards and the problem of solving a bunch of smallish problems costs much less than trying to fit one overly-complicated solution on the whole thing. Amen. Small is beautiful.

- Robert Pogson

Bears!

I hate bears. They are naturally the king of the forest. They wander around unchallenged all their lives finding food with their noses and claws. They are omnivorous and naturally eat roots, shoots, berries and carrion. Our community like most in the North is built close to a body of water that provided fish, transportation, drinking water and cool breezes. Unlike most, ours is easy for a bear to find but hard to escape. It is built like a giant bear trap, miles across but with only a narrow approach from the land. Bear are great at following their noses but they don’t bring maps. Once in a bear finds an abundance of food and people. It does not know what to make of people. A bear may never have seen one before because people are sparsley distributed as are bears. People have garbage that stinks and attracts bears from many miles away.

Last night just as I fixed an instability problem on one PC in the lab with a change of kernel (it had different video from the others) someone tapped at my window. It was the maintenance guy who had seen a bear on my doorstep moments before. He warned me and I asked him to escort me home a few minutes away. The truck stopped near my doorstep and there was the bear about 100 feet away. It was lapping up water from a puddle at the edge of the school yard. Another man had a shotgun (a short-range firearm) but was not close enough. In the time it took the man with the shotgun to get close, the bear ambled off. I went to bed and still have not heard the outcome. Even though the community is small, the cover is sparse and the bear will sooner or later be found and killed. There is no way here to capture the animal safely and transport it. Besides, these guys hunt for food and it just walks in sometimes.

I hate bears because they are very dangerous. They ignore us, charge us or kill us randomly and we have few defenses except homes, vehicles and firearms. Bear-spray is not reliable. Do we open school with a bear in the neighbourhood? Most bears are nocturnal around here so it is probably OK but under the circumstances the bear is quite unpredictable. We also have some construction going on that is a danger to kids. My bet is that there will be no school today. Bear are wonderful creatures, giant eating machines, kings of their domain. I hate them because a close encounter can be deadly. In Canada many people die each year because they and a bear wandered close.

Update

As I expected the bear was killed the next day a couple of hundred yards from my place, a sad end to a magnificent creature.

- Robert Pogson

Loving Squeeze

In the spring I decided Debian GNU/Linux Squeeze/testing/Sid was in good enough shape for production work. I put it on most of the thick clients and the terminal server. At first there were issues with X, kernel mode switching and a few drivers but lately it has been solid. The only recent problem was the software RAID fell apart on the terminal server. mdadm said it was synced yet it behaved as if it weren’t. I actually ended up with important files missing so it would not boot. I do not know whether it was operator (me), hardware or software errors but fsck found many broken things and I re-installed Lenny because I needed it to be 100% reliable for my Grade 9s and 10s. I had reconfigured the RAID from 2X to 4X RAID 1. After some package upgrades I rebooted and that failed. Not sure what happened and it is not reproducible for debugging.

Something similar is on the head of the list of errata for the installer:
Auto-assembly of RAID arrays in rescue mode can corrupt data

Rescue mode should be used with great care when software RAID arrays were in use on the system to rescue. The rescue mode scripts automatically assemble arrays, which could lead to data corruption in the presence of invalid or obsolete RAID superblocks. Fixed in daily built images.

I was not using the installer rescue system when my RAID got chewed but I was using SystemRescueCD. I was tweaking kernel boot parameters and so on.

The gdm on Squeeze configures nicely with gdmsetup and I have all the features I want to use older thick clients as thin clients of the terminal server. I have had 16 clients on a 1gB Lenny terminal server so it is close to maxed out for RAM. Still not swapping. I chuckle to think that other OS needs 1gB for one user.

Squeeze on the new machines is quite solid. At first I had to do some contortions to install as a driver was missing but now I run the stock Debian kernel and it is fine.

Wireless, suspend and hibernate are all working smoothly on a few desktop machines and a notebook.

The bug count is under control now and I expect a release within a couple of months barring surprises. Since June I have not had any important problems except with RAID. The only annoyance has been the large number of updated packages which is to be expected. Next time I may not spread the testing distro to all my machines… ;-)

- 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   Oct »
 1234
567891011
12131415161718
19202122232425
2627282930  

    Writing

    2177 articles
    17450 comments

      Comments

      platforms
      windows 8670
      linux 8549
      macos 96
      wp 2
      sun 0

      browsers
      firefox 12275 
      safari 5572 
      chrome 5535 
      ie 3530 
      iceweasel 1570 
      opera 1425 
      konqueror 189 
      flock 0 
      lynx 0 
      bonecho 0 
      epiphany 0 
      netnewswire 0