Archive for September, 2010



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



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

    2488 articles
    18599 comments

      Comments

      platforms
      linux 10349
      windows 8015
      macos 107
      wp 2
      sun 0

      browsers
      firefox 14332 
      safari 7212 
      chrome 7166 
      ie 2724 
      iceweasel 2035 
      opera 1232 
      konqueror 198 
      netnewswire 7 
      flock 0 
      lynx 0 
      bonecho 0 
      epiphany 0