Monday, October 20, 2008

Bash Script To Access Wikipedia

Hey There,

This week's Monday Linux/Unix bash shell script brings us one step closer to the end of our "web-based-info-site command line program" project (And we'll never again hire anyone to name a project for us that gets paid by the word ;)

Previous entries, in backward chronological order, you may be interested in include our posts onaccessing the Farmer's Almanac, accessing the International Dictionary, checking out the world's weather, spewing out famous quotations on pretty much any subject, doing encyclopedia lookups, accessing the online Thesaurus, translating between different languages and, of course, using the online dictionary.

This script gets its content from Wikipedia.com and accepts a variable number of arguments. The only real caveat, when executing the program, would be to be sure to put any query with "special" characters in double quotes (like apostrophes, etc). Also, you'll note that this script includes a "pager" variable (which we've set to /usr/bin/more) since the output you get back will most definitely be looooooong. You can edit that variable to set it to your favorite pager very simply. Otherwise, it can be run easily, like so (one example command line per general execution mode):

host # ./wikipedia.sh linux
host # ./wikipedia.sh linux kernel
host # ./wikipedia.sh "fermat's last theorem"


Below are two pictures of the output (from the first two examples above - linux and linux kernel). You'll note that the second example is already on the second page of output. This was done intentionally so that you could see a little bit more of the output and, also, because the first page was incredibly boring ;)

Click the pictures below and prepare to be totally amazed ...but only if you're easily impressed ;)





Have fun using this script. I haven't had time to QA it totally (the downside of that work-for-pay part of life ;), but it's fairly solid. One thing I didn't have time to check thoroughly was how it responds to foreign Wikipedia queries.

NOTE: We're currently working on a way to grab television listings based on your zip code and service provider. We were hoping to release it this week, but it's been a bigger PITA than anticipated. Everyone here has got the next week off and, hopefully, that will allow us the time to nail it. Plus, we really need to catch up on our email. We promise to respond to everyone who's written in as soon as humanly possible :)

Cheers,


Creative Commons License


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

#!/bin/bash

#
# wikipedia.sh - Forget the regular encyclopedia
#
# 2008 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

numargs=$#

if [ $numargs -lt 1 ]
then
echo "Usage: $0 Your Wikipedia Query"
echo "Ex: $0 linux"
echo "Ex: $0 \"linux kernel"
echo "Quotes only necessary if you use apostrophes, etc"
exit 1
fi

if [ $numargs -gt 1 ]
then
args=`echo $args|sed 's/ /_/g'`
fi

echo

args="$@"
wget=/usr/bin/wget
pager=/usr/bin/more

$wget -nv -O - "http://en.wikipedia.org/wiki/${args}" 2>&1|grep -i "Wikipedia does not have an article with this exact name" >/dev/null 2>&1

anygood=$?

if [ $anygood -eq 0 ]
then
args=`echo $args|sed 's/%20/ /g'`
echo "No results found for $args"
exit 2
fi

$wget -nv -O - "http://en.wikipedia.org/wiki/${args}" 2>&1|sed -e :a -e 's/<[^>]*>/ /g;/</N;//ba'|sed -e '1,/Jump to:/d' -e '/^$/N;/\n$/N;//D' -e '/^.*[.*edit.*].*See also.*$/,$d' -e '/This *disambiguation *page/,$d' -e '/^$/N;/\n$/D'|$pager

exit 0

, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Sunday, October 19, 2008

Adult Content Warning - Beware The Computer Guy!

Hey there,

NOTE: This post may contain some adult content. For about 5 to 15 seconds, you may be exposed to material that will violate the purity of your virgin soul!

This Sunday's post has almost zero to do with Linux or Unix, but does have to do with the cubicle lifestyle and using your work computer for non-work-related purposes. I thought this video was probably the most relevant, with regards to actually involving computers, but, from what I've seen, the entire Power Loafing series is pretty entertaining and definitely worth watching at work if you can get away with it ;)

Here's hoping this video doesn't garner me the dreaded Google Warning Screen. The video below should ask you to confirm that you're over 18. If you aren't and you click the button that indicates you are, your IP address will be recorded and the entire contents of your smut-ridden browser cache will be emailed to your mother ;)

Enjoy the off-color humor and check out the rest of the Power Loafing series, if you feel like it. It has more to do with the cubicle-work lifestyle than computers themselves, but is pretty enjoyable and funny, all in all.

Enjoy :)







, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Saturday, October 18, 2008

Linux/Unix Want Ads - Humor That's Sad But True

Hey There,

This Saturday's post is from a pretty interesting site dealing with all things Linux. It goes by the name of reallylinux.com. This piece, that I found on there, interested me because, especially in dubious economic times like we find ourselves in these days, I'm often amazed at the sheer amount of diversity and depth of experience employers seek to acquire for less-than-bottom dollar.

I think I have a fair understanding of the basics of capitalism and a free-market economy, but some folks take it a bit too far. If you need an Oracle expert, a Unix/Linux sysadmin, a Windows administrator, a Cisco network engineer and a technical manager to flesh out your IT staff, you should be writing up more than one work specification ;) Maybe I'm wrong. Perhaps a good segment of our society out there, who aren't pathologically lying train-wrecks, can do it all and are willing to do so for just enough money per paycheck to inch them closer to homelessness ;)

In that spirit, I present this piece. You can find the original version here, plus a few other goodies.

Enjoy and have a safe and happy Saturday :)






L
inux Job Want Ads Gone Mad


by Walter V. Koenning, for reallylinux.com humor section.




Perhaps it's a result of the massive
outsourcing of programmer skills? Or maybe it's a response to
ridiculous resumes where recent college graduates tout twenty years
of collective experience. Resumes that include expertise with LISP
and Prolog, and list achievements such as replication of human brain
capacity through neural networks created with spare computer parts
and cottage cheese.


But the result is that Linux related
job ads have started to take on a rather mad style. I've seen a
rash of the most ridiculous want ads for Linux computer engineers.
Is the industry so bad off? Are some recruiters not getting enough
sleep?


Here is an example for you to muse
over:


Wanted C/C++ Programmer with Linux
Experience


Opportunity to work in a large
enterprise environment with significant career growth.


Required skills include 10 years
experience with ANSI/C, C++, TASM or related Assembly experience,
Linux/UNIX kernel development, OOP experience, and at least 7 years
writing device drivers.


Starting salary $29,000 /yr.


Am I missing something? Is someone
actually paying for recruitment ads like this? This is the kind of
ad that makes me wonder seriously about the software industry.


This is not an isolated case. I've
seen countless ads that offer ridiculous salaries for extremely
difficult work. Writing device drivers is no cup of tea. It's
often a grueling, thankless, taxing job that few are willing to do
even if they can do it.


I've seen similar ads recently on
some of the big technology websites, offering hourly wages for
writing code.


Here are some quotes:


"Hourly $25-$35 based on experience;
Required: C, UNIX, SQL, Java, embedded Linux"


"$45k Required skills: 8 yrs C programming in the Linux or Unix environment"


On another ad,


"Caltech, MIT or Berkeley grads
highly preferred."


No bias at all, really!


They also include "essentials" such
as:


"superior communication skills,
writing skills and ability to work across teams and organizations"


My favorite one:


"possess aptitude to implement code
and manage the team"


Include tech management as a throw in
for software engineering... sure why not!


I've seen management jobs paid as
mid-level tech jobs.


The way the company gets around this is
to advertise it as a "team leader" opportunity. Hey, why not
manage a handful of programmers while writing C code until 2am?
After all, you're expected to live in the office anyway, might as
well get to know the team and write up their annal reviews, work out
vacation scheduling, and address personnel problems so someone else
doesn't have to.


These jobs often have salary listings
so outrageous I have to wonder if someone can possibly reply to them.
When they do include something substantial financially, they often
add a statement like:


"must be willing to work 70+ hrs/wk
and weekends"


If this trend continues, and if people
don't wake up and realize the challenge of finding good code
writers, we may end up having to face ads similar to this:


Wanted: Demi-god Software Programmer


Capability to write code for any device
including pacemakers, wrist watches and staplers.


Requires expertise in all languages
invented since Pascal, and preferably including every toolset and
language with a three letter word (OOP, ASM. ARM, iHA, CLI, GSM, ATG,
XML).


Although advertised as a Linux
programmer job, must be willing to write code for any OS including:
BSD, UNIX, Windows NT, Solaris, Windows CE, Amiga DOS, and VMS VAX.


Must be willing to kiss your family
goodbye
and work your life off in an enclosed cubicle.


Must be capable of producing at least
30,000 lines of code per week while ingesting coffee that tastes like
river silt.


Must be willing to take any salary we
post and grovel during the interview for an extra $300 per month,
which will be promptly deducted to pay for the increasing health care
costs.


Must be ready to work immediately, with
or without a computer or chair. In fact, we prefer BYOC, bring your
own computer.


Send us your resume ASAP in order for
us to create the longest possible delay in response time. Contact
Jsmith@jobs4notin.fun



This kind of thing makes me wonder if it might not be a smart idea for me to move overseas!





This brief HUMOR piece should not be construed as factual information, and only contains the jokes and personal experiences of the author at the time of publication. You take this article seriously at your own risk. Linux is a registered trademark of Linus Torvalds. IBM, PC-DOS, and OS/2 are the registered trademarks or trademarks of International Business Machines. Microsoft, Microsoft Service Agreement, Microsoft Windows are trademarks or registered trademarks of Microsoft Corporation both in the United States and Internationally. All other trademarks or registered trademarks in this opinion piece belong to their respective owners.





, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Friday, October 17, 2008

Configuring A Basic HACMP Cluster On AIX Unix

Hey there,

Today we're going to go back to the AIX well (which we haven't visited since our fairly-old post on working with AIX LVM. That post links back to a bunch of other posts in the series, but it "has" been about 3 months since we've touched on the AIX OS, which is grossly disproportionate to the amount of attention Solaris, Linux and Open Source Software get. Perhaps, someday, I'll work on it enough that I'll feel more comfortable digging into its guts. ...figuratively, of course ;)

This little how-to post isn't meant to cover all the angles of cluster setup and configuration that there are to cover. If it were, that would be (aside from slightly-more-than-presumptuous) a long long long post. Your children would have children while you tried to remain interested ;) This is a simple little "get started" guide and only meant for a simple 2 node cluster. If you want to get fancier, visit IBM's HACMP Knowledge Base where they've got more documentation than you could ever wish for. Check the bottom of the post for some other good resource sites.

First things first (before we get to step one), as with any other sort of cluster setup (VCS, SunCluster, etc) you'll need to determine what you want from your cluster. That's beyond the scope of this post (or the other ones we just referenced), but you should have a clear plan of attack. Know what you want and everything you can think of that it might take to get there (in this case 2 nodes for redundancy and uptime - On the flipside, what we're looking to do here, which is also very important, is to just set up the basics of our cluster and disk heartbeats. The network is up and running, cabled and doing well. This is one "huge" assumption, but it just means less for us to have to soak up in one sitting :) It's always a good idea to write a list. ...unless you're in the habit of losing your lists, in which case you should keep everything in your head where you'll retain most everything until you lose "it." (And you can take that either way ;)

NOTE: We're going to be running through this using an AIX CLI utility called "smit." Of course, it's more of a TUI (Terminal Based User Interface) than real CLI, but, while you're using it, you can make it show you the underlying commands it's running with judicious use of the F6 key. Copy and paste all that stuff into a script and amaze your friends :)

1. Choose one node from which to do your configuration. It can be either of the two we're going to use (host1 or host2). It's important that you stick with your choice, though.

2. Check for any possible HACMP configuration already on the host (just in case) by using smit (called as smitty):

NOTE: For this how-to, we'll represent menu choices (drill-down) using tabs for each level down, and set them in boldface type. Oh, yes, and step two will fail if there are no cluster components to remove. It'll make you feel all warm and cozy inside, though ;)

host1 # smitty hacmp
Extended Configuration
Extended Topology Configuration
Configure an HACMP Cluster
Remove an HACMP Cluster


3. Then, proceed to configure the topology of your cluster (For us, this simply means two nodes sharing a heartbeat address)

host1 # smitty hacmp
Extended Configuration
Extended Topology Configuration


4. Here you have a few different things to do (under Extended Topology Configuration):
Configure an HACMP Cluster
<-- You'll need at least two hosts to create a cluster and you can't have more than one cluster per pair of hosts (Only 1 for 2).
Configure HACMP Nodes
<-- Be sure to use your boot IP address in the "communication path" field. We haven't gotten to the virtual IP yet

5. Now, on each node of your cluster (host1 and host2), be sure to start the clcomdES service if it isn't running already (might be on host1 since we're configuring the cluster on it, but shouldn't be on host2)

To check for it, type:

host1 # lssrc -s clcomdES

To start it , type:

host1 # startsrc -s clcomdES

6. Now go back up one level (to Extended Configuration) and run through these options (You can just ignore the ones we don't mention):

Configure HACMP Network
<-- Add your public, or virtual Ethernet network information here. Be sure to configure the subnet mask appropriately and set "Enable IP Address Takeover via IP Aliases" equal to "yes." Also, unset (leave or make blank) the "IP Address Offset for Heartbeating over IP Aliases" setting.

Configure HACMP Interfaces and Devices
<-- if you find any old, or strange, node names in here, delete them. They're probably from a previous setup. You can keep them, but they might cause you headache later on. Note that you'll generally only see this type of behaviour if the machine has been cloned. You can also manually define interfaces here (if you choose), but you should have already done that under "Configure HACMP Network" above. If you need to add any interfaces here, just choose "Add Pre-defined interface" and go to town :)

Configure HACMP Persistent Node IP Label/Address
<-- This should be the address associated with your host's DNS name (not the cluster's DNS name!).

7. Now add service addresses for all of the service types you want to host on your cluster (Services are generally disk, network, etc - resources you want to share within your cluster and keep highly available) Add Service addresses for each of the services you want to host - we're only dealing with disk and IP here.

host1 # smitty hacmp
Extended Configuration
Extended Resource
Configuration HACMP Extended Resources Configuration
Configure HACMP Service IP Labels/Addresses


Here, add a volume group solely dedicated to providing disk-based heartbeat! Name it whatever you want, like "host1-diskhb" and make sure it's type is set to "Enhanced-Capable Concurrent Volume Group." You won't ever actually need this volume group for anything (disk storage, etc, I mean), but making it this type of volume prevents it from being discovered. You "Do Not" want to share your host's disk heartbeat device!

8. Now, proceed to configure your disk heartbeat network (this part practically does the work for you. Just keep stabbing at those keys ;)

host1 # smitty hacmp
Extended Configuration
Extended Topology Configuration
Configure HACMP Networks
Add a Network
Discovered
host1-diskhb


9. Next, add devices to our disk heartbeat network:

host1 # smitty hacmp
Extended Configuration
Extended Topology Configuration
Configure HACMP Communication Interfaces/Devices
Add Communication Interfaces/Devices
Add Pre-defined Communication Interfaces and Devices
Communication Devices


Choose the (hopefully, at this point) only heartbeat network available :) Name the device whatever you want (again, we'll go with host1-diskhb), supply the logical path to the device (if necessary) and supply the name of one of your nodes when required to. Note that this will trigger an error the first time you run it (This is perfectly normal!). It will state the obvious in a slightly different manner, but your error message will basically say that you can't have only one device defined, since two are required). The simple fix: Run step 9 again exactly, except pick your other node's name when required to. Now you have two members in your disk heartbeat network.

10. Now, set up your basic networking:

host1 # smitty hacmp
tcpip
Further Configuration
Static routes
Add a Static Route


Make sure to set your "Destination Type" to "net," your "Destination Address" to "default" and set the "Default Gateway" to the IP address of your default router (Same as when you set up your persistent host address in step 4 - Note that it's not shown in the documentation here, but will be there if you follow the smitty-steps down to the correct menu level :)

11. And you're set. Just for caution's sake, you should do some simple testing by running:

host1 # smitty hacmp
Extended Configuration
Extended Verify and Synchronization


Accept the defaults here and your changes and setup will be verified and synchronized with every node in your cluster (In our case today, the "other one" ;)

And you're good to go :)

Remember, our little experiment here was a very quick and dirty how-to with very limited scope. If you want an equally expedient, but more comprehensive and wide-ranging, look at setting up HACMP fast, check out TriParadigm's HACMP Configuration Page. It's a lot better than this one, but may be too much if you're just getting started (?) :)

Cheers,

Mike


Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Thursday, October 16, 2008

Solaris 10 - 5/08 Release: ZFS-Rooted Zones Getting Better!

Hey There,

Before anyone starts phoning in, I do realize this is not "brand new" :) It's just brand new to me and the place I work. Now that we're starting to pull in some of those Mx000 Series Boxes, we're finally up to date on Solaris 10! Plus, I'm sure it's patched to the gills ;)

Today's post is going to be almost like a press release, because the folks at Sun have released so much more information than I can process in a day that I felt it was best to let them figuratively speak for themselves ;) As you can tell by the headline today, Solaris 10 is finally starting to move in a few directions I've been hoping it would for a long long time!

Although there are a number of significant improvements in the OS, I think the home run on this release (5/08) is the ability to, at last, create zones that support zfs root filesystems without as many hassles and limitations as their previous releases! (For more whining about the headaches you may have become accustomed to already, and how to get around some of them, check out our older post on dealing with ZFS rooted zones on Solaris 10 ;) Strangely enough it's one of the things they tout the least. Another very interesting thing (for me, anyway ;) is that they've included the freeware 7-Zip utility that has long been a favorite of mine. It's, also, the last thing on the page. I'm starting to get the feeling Sun doesn't take me all that seriously...

Without further ado, check out the latest and greatest list of augmentations to Solaris 10. You can access the Official Sun 5/08 Release Notes Page if want to have easier access to past release notes and other relevant information.

Enjoy! I'm going to play around with this release a bit and see if I haven't been deluding myself ;)

Cheers,



Chapter 1 What's
New in the Solaris 10 5/08 Release



For a summary of features that were introduced in the Solaris 9, Solaris
8, or Solaris 7 releases, see What's New in the Solaris 9 Operating
Environment
at http://docs.sun.com.





System Administration Enhancements



The following system administration features and enhancements have been
added to the Solaris 10 5/08 release.




Solaris Trusted Extensions Administrator Procedures



Starting with this release, the SolarisTM Trusted
Extensions packages are installed when the Solaris OS is installed. The ExtraValue directory is no longer present. This directory previously
included the Solaris Trusted Extensions packages. The Solaris Trusted Extensions
functionality is managed by the service management facility (SMF) as the svc:/system/labeld:default service. This service must be enabled.
After the service is in the online state, reboot the system to activate Solaris
Trusted Extensions. Additional configuration is required after the reboot.
For more information, see Solaris
Trusted Extensions Configuration Guide
.



The Solaris 10 5/08 release also includes the following features:






For more information about Solaris Trusted Extensions, see Solaris Trusted Extensions
Administrator’s Procedures
.




Flash Update Tool




fwflash(1M) is a new Solaris command for the manipulation
of firmware for PCI-X, and PCI-Express HBA and HCA cards. Currently, the command
enables listing, reading, and writing the firmware for the InfiniBand HCA
cards.



For more information about this command, see the fwflash(1M) man page.




PPD File Management Utility



The PostScriptTM Printer Description (PPD) file
management utility, /usr/sbin/ppdmgr, manages PPD files
that are used with the Solaris print subsystem.



By using the ppdmgr utility, you can perform the
following tasks:






  • Add a PPD file to a PPD file repository on a system






  • Supply a label to group PPD files within a PPD file repository






  • Update the cache of the PPD file information that is used
    by the Solaris Print Manager (printmgr) GUI to display
    supported printer information







You can add a new PPD file by using the ppdmgr utility
or by using the lpadmin -n command. When
you add a new PPD file, you automatically update the cache of the PPD file
information that the printmgr GUI uses to display supported
printer information.





Note –

The delivery location of PPD files in the Solaris OS has changed.
During a software upgrade, any print servers with print queues that were defined
by using PPD files from the previous PPD file delivery location are automatically
updated to reflect the new PPD file delivery location.






In addition, a new SMF service, print/ppd-cache-update, has been introduced.
The print/ppd-cache-update service is enabled by default. This service runs
one time during system reboot to update the printer cache information with
changes from all the PPD file repositories on the system. The service might
take longer to transition to an online state during a system reboot after
a software installation or upgrade. Also, if any changes were made to the
PPD file repositories since the last PPD cache update, during system reboot,
the service might take longer to come online. Changes made to the PPD file
repositories on a system are not reflected in the PPD cache used by Solaris
Print Manager until the print/ppd-cache-update service is online.



For more information, see the following:







Internet Printing Protocol Client-Side Support



Client-side support for the Internet Printing Protocol (IPP) enables
Solaris client systems to communicate with IPP-based print services, such
as those on the Linux and Mac OS X operating systems, as well as other platforms.



Small improvements are also featured in the server-side support for
the IPP listening service. These improvements promote better interoperability,
including some minor changes that result in a more standard representation
of printer and job attribute data.



The IPP server and client implementation in the Solaris OS is one of
several OpenSolarisTM printing projects that are currently
under development. OpenSolaris printing provides a set of specifications and
implementations of software that enables you to create standardized, scalable
printing components for the Solaris and Linux software, or any operating system
that contains a set of POSIX interfaces.



For more information, see the System Administration Guide: Solaris Printing.



For more information about OpenSolaris Printing, see http://opensolaris.org/os/community/printing/.




Selectable Use of localhost for
Solaris Print Server Database Hostname



This printing feature enables the Solaris print system to recognize
and use localhost as the local host in the print system
databases. In prior releases, /bin/hostname was used
solely to generate the print hostname. The print system depended on this name
remaining constant. The ability to use localhost as the
name of the current system enables print servers to maintain the same print
hostname, independent of the system's host name.





Note –

The modification applies to the setup of local print queues exclusively.






To support this feature, the following modifications are effective for
the lpadmin command and the Solaris Print Manager graphical
user interface (GUI):






  • The lpadmin command uses the -s option
    when creating a local print queue.



    To use localhost as
    the host name that is specified within the print server, set the print hostname
    to localhost, as shown:










    # lpadmin -p <new-print-queue> -s localhost -v <device>


    For example:










    # lpadmin -p foo -s localhost -v /dev/term/a




    Note –

    The default behavior of the lpadmin command
    has not changed.









  • Solaris Print Manager now includes an added tool attribute
    check box, Use localhost for Printer Server. The localhost attribute is selected by default. To deselect the localhost attribute,
    uncheck the box. Unchecking the box selects the previously chosen behavior
    for this attribute.







For more information, see the following:







Fault Management for T5140/T5240 Platforms



The Solaris predictive self-healing technology is available on Sun SPARC
Enterprise T5140 and T5240 platforms. Predictive self-healing features include
the following:






  • Automated error handling






  • Automated diagnosis






  • Automated recovery for CPU, memory and I/O subsystems






  • Clear and concise error messages







For more information, see http://www.sun.com/software/solaris/ds/self_healing.jsp and http://opensolaris.org/os/community/fm.




SunVTS 7.0



SunVTSTM is a comprehensive system validation and
test suite designed to support Sun hardware platforms and peripherals. SunVTS
7.0 is the next generation of SunVTS 6.0 and its compatible versions.



SunVTS 7.0 includes the following features:






  • Introduction of the concept of purpose-based testing






  • Improved diagnostics effectiveness






  • Web-based user interface






  • Simplified usage






  • New architecture framework






  • Enterprise View







SunVTS 7.0 follows a conventional three-tier architecture model. This
model is composed of a browser-based user interface, a Java based middle server,
and a diagnostic agent.




System Resource Enhancements



The following system resource features and enhancements have been added
to the Solaris 10 5/08 release.




CPU Caps



CPU caps provide absolute fine-grained limits on the amount of CPU resources
that can be consumed by a project or a zone. CPU caps are provided as a zonecfg resource, and as project and zone-wide resource controls.






  • The zonecfg capped-cpu resource provides
    an absolute limit on the amount of CPU that can be consumed by a project or
    a zone.






  • The following resource controls are available:





    zone.cpu-cap


    Absolute limit on the amount of CPU resources that can be
    consumed by a non-global zone.




    project.cpu-cap


    Absolute limit on the amount of CPU resources that can be
    consumed by a project.










For more information, see the following:








projmod(1M) Option



Use the projmod command with the -A option
to apply the resource control values defined in the project database to the
active project. Existing values that do not match the values defined in the
project file, such as values set manually by prctl(1),
are removed.




Device Management Enhancements



The following device management features and enhancements have been
added to the Solaris 10 5/08 release.




Tape Self-Identification



The tape self-identification feature configures the tape automatically,
with the parameters provided by the tape drive. Previously, the configuration
data for a tape drive was statically supplied through user-editable configuration
files, built-in configuration tables, or default values. The tape-self identification
feature uses a few SCSI commands to directly query the required parameters
from the tape drive. When the st driver gets the parameters,
the tape drive uses them on the Solaris OS.



The advantages of tape-self identification over the traditional file-based
configuration are:






  • Simple and no user intervention is needed






  • Faster support for new tape drives






  • Easy to use, standard-based interface








x86: Enhanced Speedstep CPU Power Management



Starting with this release, Intel's Enhanced SpeedstepTM technology
is supported on the Solaris OS. Enhanced Speedstep support enables Solaris
platform users to manage the power consumption of their Intel processors by
lowering the processor frequency during idle periods.



For more information about how to enable Solaris CPU power management,
see the power.conf(4) man
page.




x86: PowerNow! CPU Performance Management



Starting with this release, AMD's PowerNow! technology is supported
on the Solaris OS. PowerNow! support enables Solaris platform users to manage
the power consumption of their Opteron 10h family of processors by adjusting
the processor operating frequency and voltage according to the task being
performed.



For more information about how to enable Solaris CPU power management,
see the power.conf(4) man
page.




iSNS Support in the Solaris iSCSI Target



This Solaris release provides support for the Internet Storage Name
Service (iSNS) protocol in the Solaris iSCSI target software.
The iSNS protocol enables automated discovery, management, and configuration
of iSCSI devices on a TCP/IP network.



The Solaris iSCSI target software does not include native iSNS server
support. However, in this Solaris 10 release, you can add access to an existing
iSNS server to automatically discover the iSCSI devices in your network.



The iscsitadm command is used to configure the Solaris
iSCSI target to discover the iSNS server and enable or disable the iSNS discovery.
Use the hostname or the IP address to specify the iSNS server.



For more information, see the iscsitadm(1M) man page and Chapter 14, Configuring
Solaris iSCSI Targets and Initiators (Tasks),
in System Administration Guide: Devices and File Systems
.




Security Enhancements



The following security features and enhancements have been added to
the Solaris 10 5/08 release.




Solaris Trusted Extensions Supports Mounting Labeled
File Systems With the NFSv3 Protocol



Starting with this release, the Solaris Trusted Extensions software
can mount labeled file systems by using NFS Version 3 (NFSv3) in addition
to NFS Version 4 (NFSv4). Solaris Trusted Extensions has no restrictions on
using TCP as an underlying transport protocol for NFS. However, users cannot
choose User Datagram Protocol (UDP) as the underlying protocol for read-down
NFS access for NFSv3. The use of UDP for the initial mount operation is supported,
but UDP is not supported for subsequent multilevel NFSv3 operations.




SPARC: Hardware -Accelerated Elliptical Curve
Cryptography (ECC) Support



The UltraSPARC T2 (Niagara 2) based platforms support hardware acceleration
of Elliptical Curve Cryptography (ECC) algorithms. The Solaris OS now supports
high performance ECDSA and ECDH on these platforms. These new ECC algorithms
are accessible to all users of the Solaris Cryptographic Framework including
Java technology and OpenSSL users.




Networking Enhancements



The following networking features and enhancements have been added to
the Solaris 10 5/08 release.




Sockets Direct Protocol



The Sockets Direct Protocol (SDP) is a transport protocol layered over
the Infiniband Transport Framework (IBTF). SDP is a standard implementation
based on Annex 4 of the Infiniband Architecture Specification Vol1. SDP provides
reliable byte-stream, flow controlled two-way data transmission that is very
similar to TCP.



For more information see sdp(7D) man
page.





inetd Backlog Queue Size



Starting with this release, a tunable to set the backlog queue size
of the inetd managed services is introduced. This feature
adds an SMF property to inetd called connection_backlog that enables the queue size to be modified. The default value of
the connection_backlog queue size is 10. You can modify
the connection_backlog property by using the inetadm command.
For example:






  • To list the properties, type:










    #inetadm -l fmri/pattern





  • To change the value for a specific service, type:










    #inetadm -m fmri/pattern conection_backlog=new value





  • To change the value globally, type:










    #inetadm -M connection_backlog=newvalue






For more information, see the inetadm(1M) man page.




X11 Windowing Enhancements



The following X11 windowing features and enhancements have been added
to the Solaris 10 5/08 release.




Xvnc Server and Vncviewer Client



VNC provides a remote desktop session over the Remote Frame Buffer (RFB)
protocol. RFB clients, better known as VNC viewers, are available for most
platforms, in both open-source and commercial releases.



The Solaris 10 5/08 release now includes Xvnc. Xvnc is an X server that
is based on the open-source releases from the RealVNC project and X.Org Foundation.
Xvnc is displayed to an RFB protocol client over the network without requiring
an existing X server session display on the local video hardware. This release
also includes RealVNC's vncviewer RFB client to connect to remote VNC servers,
and several associated programs for managing these servers.



For more information, see System Administration
Guide: Virtualization Using the Solaris Operating System
. See
also the Xvnc(1) and vncviewer(1) man
pages.




Desktop Tools Enhancements



The following desktop tools features and enhancements have been added
to the Solaris 10 5/08 release.




StarOffice 8



Starting with this release, StarOffice has been enhanced to the latest
version, StarOffice 8.



For more information about StarOffice, see http://www.sun.com/software/star/staroffice/whats_new.jsp.




Flash Player 9



Stating with this release, the Solaris OS includes the Adobe Flash Player
9. For more information about this Flash Player, see http://www.adobe.com/products/flashplayer/productinfo/features/.




Pidgin 2.0



Pidgin is a popular open-source instant messaging client. Pidgin 2.0
includes the following features:






  • Many improvements to the UI modules including status system,
    Buddy List, Conversation, and the chat window






  • New Yahoo features including Stealth Settings, Doodle, and
    the /list command






  • Improved AIM and ICQ file transfers






  • Improved Log Viewer module






  • Support for the new version of ICQ file transfer






  • New IRC features including SSL support, and the new commands /whowas, /nickserv, /memoserv, /chanserv, and /operserv






  • Jabber features including support for SRV lookups, buddy icons,
    and Jabber User Directory searching








PAPI Print Commands



The Free Standards Group (FSG) Open Printing API (PAPI) commands replace
several commonly used print commands, which include the following:






The implementations of the Open Printing API commands are layered on
top of the Free Standards Group Open Printing API in the Solaris OS. This
implementation enables the commands to run on top of multiple protocols or
services.



Some advantages of the new print command implementations include the
following:






  • Improved consistency between desktop applications and command-line
    interfaces






  • Multiple print protocols and service support from the command
    line






  • Internet Print Protocol (IPP) client-side support for improved
    interoperability with Linux, Mac OS X, and other IPP-based print services






  • Enhanced remote capability and data when using IPP between
    print client and server






  • The capability to disable network services and retain access
    to local printers







For more information about the PAPI print commands, see the following:







System Performance Enhancements



The following system performance features and enhancements have been
added to the Solaris 10 5/08 release.




64-bit SPARC: Memory Placement Optimization
Support for sun4v Platforms



Memory Placement Optimization (MPO) enables operating systems to allocate
memory local to the core where the threads or processes are being executed.
The sun4v architecture runs on virtualized hardware environment. The MPO for
sun4v platforms feature provides the required standard accessors in the sun4v
layer to provide locality information for the generic MPO framework. This
feature is effective on platforms that have multiple sockets with differences
in memory access latency. The MPO feature enhances the performance of various
applications by enabling the OS to allocate memory local to the nodes.




SPARC: Shared Contexts Support



The context mechanism, which is used by the Memory Management Unit (MMU)
hardware to distinguish between the use of the same virtual address in different
process address spaces, introduces some inefficiencies when shared memory
is used. The inefficiencies in shared memory are because the data at a particular
shared memory and the address in different processes might really be identical,
but the context number associated with each process is different. Therefore,
the MMU hardware cannot recognize a match. This inability to recognize a match
results in mappings being unnecessarily evicted from the MMU translation cache
and the Translation Lookaside Buffer (TLB), only to be replaced by identical
mappings with a different context number.



The Niagara 2 system has an additional shared context, which is a hardware
feature that can be used to prevent the inefficiency in handling shared memory.
Searching the TLB for mapping a match on either the private or the shared
context results in a TLB hit. The current software support for shared context
activates the feature for processes that use the Dynamic Intimate Shared Memory
(DISM). In this case, the process text segment and DISM segments mapped at
the same virtual address with the same permissions for each process use the
shared context.




x86: CPUID-Based Cache Hierarchy Awareness



Modern Intel processors provide an interface for discovering information
about the cache hierarchy of the processor through the CPUID instruction.




Language Support Enhancements



The following language support features and enhancements have been added
to the Solaris 10 5/08 release.




Locale Creator



Locale Creator is a command line and graphical user interface tool that
enables users to create and install Solaris locales. Using locale creator
users can create installable Solaris packages containing customized locale
data of a specific locale. After the created package has been installed, the
user has a fully working locale on the system.



For more information, see the following:







libchewing 0.3.0



Chewing input method (IM) is based on libchewing, which is an open-source
library for Traditional Chinese input. libchewing has been upgraded to the
libchewing 0.3.0 version. Some of the features of the new version include
the following:






  • Incompatibility with API/ABI.






  • UTF-8 based language engine core for common Unicode environment.






  • Includes the libchewing-data subproject.






  • Zuin fixes and symbol improvements.






  • New binary form of user hash data to speed up loading and
    solving hash data corruption.






  • Improved calculation of internal tree and phone constants.






  • Revised tsi.src for richer phrases and avoiding crashes.






  • Merge phone and phrase from CNS11643.






  • Improved Han-Yu PinYin to use table-lookup implementation.






  • Experimental frequency evaluation that re-computes chewing
    lifetime.






  • Implementation of the choice mechanism for symbol pairs.






  • Experimental, memory mapping-based, binary data handling to
    speed up data loading.







For further information, see the International
Language Environments Guide
.




File Encoding Examiner



The File Encoding Examiner (fsexam) enables you to convert the name
of a file, or the contents of a plain-text file, from a legacy character encoding
to UTF-8 encoding. New features in the fsexam utility include the following:






  • Encoding list customization






  • Encoding auto-detection






  • Support for dry runs, logs, batch conversion, file filtering,
    symbolic files, command line, and special file types like compress file







For more information, see the fsexam(1) and fsexam(4) man pages.




Kernel Functions Enhancements



The following kernel functions features and enhancements have been added
to theSolaris 10 5/08 release.




x86: MONITOR and MWAIT CPU Idle Loop



The Solaris OS uses the SSE3 MONITOR and MWAIT instructions in the x86
processor idle loop. Using the SSE3 instructions in the processor idle loop
eliminates the overhead of sending and receiving an interrupt to wake up a
halted processor. MONITOR is used to specify a memory range to monitor the
idle loop. MWAIT halts the processor until the address previously specified
with MONITOR is accessed. With the new idle loop, a processor has to write
to memory only to wake up a halted processor.




Driver Enhancements



The following driver features and enhancements have been added to the
Solaris 10 5/08 release.




x86: Support Sun Fire X4540 Disk Status Indicators



Starting with this release, the Sun Fire X4540 disk status indicators
are supported. The amber Fault status LED and blue Ready to Remove status
LEDs are enabled by this feature.



For more information, see the Sun Fire X4540
Server Diagnostics Guide
.




MPxIO Extension for Serial Attached SCSI Devices
on mpt(7D)



The mpt driver has been enhanced to support MPxIO
with supported storage devices. When MPxIO is enabled for Serial Attached
SCSI (SAS) and SATA devices, they are enumerated under scsi_vhci(7D)
just like fibre channel devices under fp(7D).



Starting with this release, stmsboot(1M) has also
been enhanced to support multipathed SAS devices. stmsboot(1D)
operates on all attached and multipath-capable controllers by default.



If you wish to only enable multipathing on fp or mpt controllers then you can use the new flag which has been added
to restrict operations. The command, /usr/sbin/stmsboot -D mpt -e, will enable MPxIO only on attached mpt controllers.
Replacing mpt with fp in this command
will make stmsboot enable MPxIO only on attached fp controllers.




x86: SATA ATAPI Support in AHCI Driver



The AHCI driver supports SATA ATAPI CD or DVD devices. Users can use
the SATA CD or DVD in AHCI mode instead of the compatible mode. The AHCI mode
has better error handling and hot-pluggable capabilities.



For more information, see the ahci(7D) man page.




x86: AMD–8111



The AMD-8111 HyperTransport I/O hub includes a 10/100 Mbps Ethernet
LAN controller. The driver is used by the Andretti platform.




SATA NCQ Support in AHCI Driver



The AHCI driver supports the SATA NCQ feature. NCQ support improves
performance of the driver.



For more information, see the ahci(7D) man page.




x86: bnx II Ethernet Driver



Starting with this release, support is provided for the Broadcom NetXtreme
(bnx) II Ethernet chipset, which includes BRCM5706C, BRCM5706S, BRCM5708C,
and BRCM5708S.



For more information, see the bnx(7D) man page.




USB-to-Serial Driver for Keyspan Adapters



Starting with this release, a new driver is provided for Keyspan USB-to-serial
adapters. This driver supports the USA-19HS model. This feature enables you
to choose between Edgeport adapters and Keyspan adapters.



For further information, see the usbsksp(7D) man page.




Freeware Enhancements



The following freeware features and enhancements have been added to
the Solaris 10 5/08 release.




32-bit: pgAdmin III



pgAdmin III is a popular and feature-rich, open-source administration
and development platform for PostgreSQL. The graphical interface supports
all PostgreSQL features and makes administration easy. This tool enables users
to write simple SQL queries and also to develop complex databases.



For more information, see http://www.pgadmin.org/.




p7zip



Starting with this release, the Solaris OS includes p7zip port. p7zip
is similar to the Windows compression and archiving utility, 7zip.



For more information, see http://p7zip.sourceforge.net/.




, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Wednesday, October 15, 2008

Installing Darned Small Linux Onto Your Boot Drive

Hey there,

When you hear the "brand" name "Damn Small Linux" these days (note the title of this post has been altered slightly to try and be as non-confrontational as possible. We don't need or want any flack from oversensitive web-monitors, and we'll be damned if we won't do everything possible to stay under the radar ;), you generally think of a bootable USB-stick/flash-card installation, or something of that nature. Damn Small Linux (DSL, from here on out, since I can hear the damn hammer falling already ;) was put together, it seems, for just that specific purpose. It's DSL, which is, by definition pretty DS ;)

Today, we're going to walk though installing it on your bootable hard drive. Sure, sure, it defeats the principal of the whole thing, but you can always just slice up two tiny little partitions and have DSL as a backup for your other OS, which may or may not completely self-destruct at any moment. Plus, it's a great idea when all you've got to work with is an old machine that won't run anything else!

You can pick up the latest version of DSL from their main download site. I'd suggest sauntering over into the "current" directory and checking out the ISO's in there (4.2.5, I believe is the newest stable revision available as of this writing). You'll want to grab an ISO file, so you can burn a CD to boot and install from. Once you've done that, you’re good to go (we've just, in theory, skipped step 1. If there's overwhelming interest, we'll write up a post on burning a bootable ISO, but it probably wouldn't play out well since there are so many programs available to do this with. Googling "burn bootable iso YOUR_HARDWARE_OR_OS_OR_CDROM" should probably get you to a set of instructions that will make this part simple). Another important thing to note is that DSL does provide alternative Floppy Disk images, so (if your hardware's old enough, or you just can't boot from CD-ROM) you can go that route, too :)

So here we go, with step 1 (which is really step 2 ;)

1. Boot from your CDROM or floppy drive and begin a crippled-terminal session (same as a regular one after a full install, except you're limited in what you can do) and run the following to gain the required privileges in the system default shell, and get ready to chunk up your disk with "cfdisk":

host # sudo -s
host # cfdisk /dev/sda


We'll assume, for the purposes of this tutorial, that you can wipe out the whole disk, and lay it out as 2 or 3 new partitions. This way, you'll have /dev/sda1, /dev/sda2, etc and things won't get complicated. Obviously, when you do your own setup, things might be slightly different (/dev/hda or you're adding newer partitions and need to start with those - /dev/sda6, etc), but you should be able to apply these same principles all around; just to different HDD device names.

2. Create at least two partitions with "cfdisk," one for the main filesystem (type 83 for ext3) and one for swap (type 82 for standard Linux swap). We'll assume that partition sda1 is going to be your Linux OS partition and partition sda2 will be your swap partition.

3. Now we're going to reboot (after writing our changes to the partition table with "cfdisk") and start up another crippled-terminal session. To prepare for the DSL installation, we need to set up our swap area:

host # sudo -s
host # mkswap /dev/sda2
host # swapon /dev/sda2


4. Next, in the same crippled-terminal session, we'll run the following script:

Host # dsl-hdinstall

You will be prompted to provide the partition onto which you wish to install your DSL Operating System. In our case this would be sda1 (possibly /dev/sda1, etc).

Next, you'll be prompted about whether or not you want to allow multiple logons simultaneously. It's generally safe to say "yes" to this and, really, is a bad idea not to. If you end up in a situation where one session is hung, if you can't login and start another session, it will be a lot harder to kill the initial "hung" session.

Then, you'll be prompted as to whether you'd like to use ext3fs as your file system. Generally, this is what you want. But, since ext3fs makes use of advanced features like journaling, etc, you may want to choose ext2fs, instead, if your machine is older or is low on resources as it is.

Then, just to keep you in check, you'll get the "Windows Treatment." By which we mean, of course, that you'll be asked if you "really" want to do all this stuff (Technically, for it to be a textbook "Windows Treatment," it would have to ask you several more times ;).

The next thing you'll want to do is kick back while DSL loads and installs itself on your hard drive.

Then, this very same script (all-encompassing as it is) will ask you the standard question about which boot loader you would like to install (and where), if you want to install one at all. Generally, we'd pick grub on the MBR, but you can still use LILO and have either installed on a partition boot-block.

Finally, you'll be asked to reboot. Really, you'll be told to reboot. You don't have to, but if you don't, this has all been for nothing. Don't give up now! :)

5. When the script is all done and you're good to go, you'll want to remove the burned CD from your CD-ROM drive and reboot your machine, making sure that it gets booted from the DSL OS partition you just setup.

6. The last thing to do is fairly obvious, but we'll include it for completeness' sake. You'll need to create passwords for the users root and dsl (Actually the dsl password isn't all that obvious, because it generally doesn't exist on any other distro than DSL ;)

And you're all set!

For more reference on using "grub," see our previous post on using grub to change root’s password (which links to a few other posts) and, for help with “cfdisk”, check out “Part 4.0” of this Debian Installation Tutorial which includes lots of great examples and references to other sites (even for “fdisk” if you ever need to use that instead).

Have great Damned day ;)

Cheers,

, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Tuesday, October 14, 2008

Linux Command Line Language Translation

Hey there,

Well, it's been a long time since we came out with our bash script for command line language translation, and we've finally gotten our head's out of the figurative bowl of spaghetti and found a great online project that already handles this sort of thing. No problem there, of course. If there really is more than one way to skin a cat, you need to know all those different ways or you'll end up skinning your cat the same way over and over ;)

The GNU Site has a great project download called twandgtw, which translates, loosely, into "Translate Word and Graphical Translate Word" (Basically, you can run it from the CLI, but it does have a X-Windows component, as well. Actually, there are three separate packages you can download: tw, gtw or ktw (first revision of a front-end for KDE).

You can download straight-up RPM's for Fedora Core 6 through 7 from the main download page, which also includes tar.bz2 zipped-up source-code tarballs. If you don't have bzip2, you can pick it up here. bzip2, like tar, is pretty standard nowadays, and probably comes with whatever version of Linux you're running.

The software, itself, is incredibly easy to use, and, while the local dictionaries can only handle one word at a time, you can also use online services to translate entire phrases. tw uses www.freetranslation.com and translate.google.com for online translations. To translate a word, you need to specify a dictionary (use the --list option to see all of them, including the available online translators) and a word. For instance, this is what we go when we ran a test using the "en-es" (English to Spanish) built-in dictionary and the word "money":

host # tw en-es money
moneybag : monedero
moneybelt : riA±onera
money : dinero
moneyed : adinerado
moneylender : prestamista
waste of money : malgasto


Below is a screen capture of what the graphical tool looks like (Since we didn't install the graphical element ourselves, this screen shot is from Tuxmind.org):

Click below to enlarge this picture and remove all the jittery stair-stepping effects ;)



If you're looking for software out there to make language translation really really simple, we'd suggest you check this out, even though we've already written our own scripted version, (Yes, we're admitting this is better ;)

Cheers,

, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Monday, October 13, 2008

Bash Script To Get You Your Daily Farmer's Almanac Information

Hey There,

This week's Monday Linux/Unix bash shell script is another chapter in our book "Never ever leaving the CLI ever" ;) Previous entries you may be interested in include our posts on Accessing the International Dictionary, checking out the world's weather, spewing out famous quotations on pretty much any subject, doing encyclopedia lookups, accessing the online Thesaurus, translating between different languages and, of course, using the online dictionary.

This script gets its content from The Original Farmer's Almanac Site and is actually easier to use because it accepts no arguments. We didn't do this to be cruel, but if you check out the Official Site, you'll see that specific-day access isn't readily available (only "Red Letter Days"). If I'm wrong, just let me know where I forgot to look and I'll be happy to update this script so that you can punch a few keys and get all your advice for any date in history (or the future) the you want. Right now, it brings up the current day's entry and you can execute it very easily, like so:

host # ./almanac.sh

Look just below for the output from my final test run on Sunday, October 12th 2008. You'll note that I included a straight up URL in the "see here for more info" part near the top . Adding the actual HTML tags looked ugly and most terminal programs, like PuTTY understand http:// and will make the line of text a hypertext link for you automatically.

Click the picture below to experience the accelerated Chia-effect ...minus the grassy hair ;)

Almanac Output

Hope you enjoy this script, and can find some use for it.

As a special note to all readers who have taken the time to send in comments over the past 4 or 5 days, I will be getting around to actually reading my mail tomorrow. Complications have kept me from accessing my account, which are now (hopefully) resolved. If you wrote me more than once, I will probably reply to you more than once. No offense, and sorry if it's annoying ;)

Have a great Columbus Day. Hopefully your place of employment considers it worthy of a paid day off :)

Cheers,


Creative Commons License


This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License

#!/bin/bash

#
# almanac.sh - Find out lots of interesting stuff about today :)
#
# 2008 - Mike Golvach - eggi@comcast.net
#
# Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
#

numargs=$#
date=`date`

if [ $numargs -gt 1 ]
then
echo "Usage: $0"
exit 1
fi

args="$@"
wget=/usr/bin/wget

echo
echo "Your Farmer's Almanac Information For: $date"
echo
echo "Visit http://www.almanac.com for answers to the riddles and more detailed information!"
echo
$wget -nv -O - "http://www.almanac.com/" 2>&1|sed -e 's/<\/p>/\
BOBISALIVE\
BOBISALIVE\
/g' -e :a -e 's/<[^>]*>/ /g;/</N;//ba' -e s'/—/\
-------------\
/g' -e s'/Today in History/\
Today In History\
-------------\
/g'|sed -e '/^[ \t]*$/d' |sed -e 's/BOBISALIVE//g' -e '1,/Customized astronomical/d' -e '/Looking for information you used to find here/,$d'|sed -e 's/ Weather History Search \| More Weather \| More Advice \| Answer \| Archives \| Answer \| Archives \| Answer \| Archives \| More Gardening \| Definition \| Archives \| Archives \| More Advice //g' -e 's/^ *|*/X/' -e 's/^X//g'

exit 0


, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.

Sunday, October 12, 2008

Humorous Fake Linux News - Metallica Revisited

Hey There,

This week, I ran across an old joke news article regarding an issue that we don't seem to hear too much about anymore: Music copyright infringement on P2P networks. These days, Napster has gone legit and the torrent protocol has become more widely accepted as a means to do more than just download stuff you don't want to pay for (It "is," of course, a great distribution protocol, and even more perfectly suited to free content like most Linux distributions).

The article, which I've attached below, is from a Linux humor news site called humorix.org. You can find the original version on their website. I haven't modified the content here since, for once - or has it been twice - the content doesn't include any offensive language (which I try to keep out of this blog even though, to my unending shame, I use - more than once - on an almost daily basis ;)

The article concerns mp3 copyright infringement and a band, whose older material I still love, named Metallica. I actually saw their first headline show ever (In Chicago) on the Master of Puppets tour and first saw them live around the time Ride The Lightning came out. They played 3rd fiddle, back then, to such enduring metal giants as Wasp and a few other bands I can't recall, and probably will never be able to, until I find that old T-Shirt ;) Still, for the life of me, I can't understands why their latest album includes another version of "The Unforgiven" ("The Unforgiven III," to be exact. I haven't listened to it yet, but - and I consider myself a fan - the title reeks of inspiration that's evaporating even more quickly as time marches on, which only reminds me of my own mortality ;).

I happen to have followed the serious version of this story and (in their defense) this article is made just slightly funnier by my knowledge that Metallica mostly ended up on the anti-piracy bandwagon as a result of dubious legal advice and have since exerted the almost-diametrically-opposite viewpoint and stance (are those the same thing? Check our Thesaurus script ;) In fact, if you'd like to listen to some hilarious stuff (which Metallica actually enjoys and endorses), check out a band named Beatallica. All of their music has been free since they began recording and, unless you can somehow count yourself amongst that group of people who dislike either Metallica, The Beatles or both (possible ???), are a band you should definitely check out, as they exhibit one of the most clever (and funny) mixtures of musical styles and lyrics that I've ever heard. If you yearn for a little Beatles music and Metallica metal (and don't have time to listen to both separately ;) give The Beatallica site a look-see. I can guarantee you that I won't be disappointed ;)

Enjoy this past-news, check out some of the latest and have a great Sunday :)

Cheers,



MP3's Are Ripping Band Off -- Says High-Priced Lawyer


Fake News
written by Dave Finton

on May 17, 2000


from the we-desperately-need-a-lawyer-hunting-season dept.

A few weeks ago Metallica® condemned the actions of 96% of its fan base when it announced a lawsuit against Napster, Inc. Today in a followup press release Metallica's chief lawyer further raised MP3 users' ire by claiming that they were "ripping Metallica off" and would persue legal action to the fullest extent of the law, "no matter how long it takes".


"These MP3 users are taking money straight from my client's pocket," said Metallica's lawyer in an exclusive interview with Humorix reporters. As he lit up a Cuban cigar with a hundred dollar bill and puffed leisurely into the air, he continued, "I will make sure these actions against my client are stopped, even if it means suing every single person who ever downloaded a Metallica song over the internet. If necessary, I'll work on this case continuously for the next twenty years, 365 days a year, 8 hours a day, $200 an hour.


"I'm gonna make a killing!" he added.


Lars Ulrich, drummer for Metallica, chimed in, saying, "We'll spend every cent we have to fight this. How can we stand by while MP3 users inflict millions in theoretical damages against us by violating outdated and arbitrary copyright laws designed and written by multi-billion dollar businesses who are more interested in protecting their somewhat illegally amassed wealth than in ushering in a new age of collaboration and progress? Our fans must be brought in line now!"


Metallica's lawyer followed this up by jumping up and down yelling, "Yes! There is a sucker born every minute! I'm gonna be rich!!! Cha-ching!"


Lars finished off the interview by arguing, "The bottom line is that nobody has a natural right to listen to music for free." I flipped on a portable radio, which just happened to be tuned to a station playing a Metallica song. Lars and his lawyers said in unison, "OH MY GAWD! How did we forget about radio? We'll sue every person who has ever listened to a Metallica song for free on the radio! We've hit the jackpot! Cha-ching! Cha-ching!"





, Mike




Please note that this blog accepts comments via email only. See our Mission And Policy Statement for further details.