Cramsession Linux Newsletter

Cramsession.com Linux News Archive

Please note that I've stopped writing the Linux News as of January 30, 2003, as Cramsession has cancelled most of their newsletters. You can send any questions or comments about this content to me (sean at ertw . com)
People have been asking for a downloadable version of the archives. [My mbox (one big file, 1.4MB)] [Individual files, text, tarball] [Individual files, html, tarball]
If you're looking for more Linux content, you might like my blog.
Jan 30, 2003
  Linux News - Issue #117
Jan 23, 2003
  Linux News - Issue #116
Jan 16, 2003
  Linux News - Issue #115
Jan 9, 2003
  Linux News - Issue #114
Jan 2, 2003
  Linux News - Issue #113
Dec 19, 2002
  Linux News - Issue #112
Dec 12, 2002
  Linux News - Issue #111
Dec 5, 2002
  Linux News - Issue #110
Nov 28, 2002
  Linux News - Issue #109
Nov 21, 2002
  Linux News - Issue #108
Nov 14, 2002
  Linux News - Issue #107
Nov 7, 2002
  Linux News - Issue #106
Oct 31, 2002
  Linux News - Issue #105
Oct 24, 2002
  Linux News - Issue #104
Oct 17, 2002
  Linux News - Issue #103
Oct 10, 2002
  Linux News - Issue #102
Oct 3, 2002
  Linux News - Issue #101
Sep 26, 2002
  Linux News - Issue #100
Sep 19, 2002
  Linux News - Issue #99
Sep 12, 2002
  Linux News - Issue #98
Sep 5, 2002
  Linux News - Issue #97
Aug 29, 2002
  Linux News - Issue #96
Aug 22, 2002
  Linux News - Issue #95
Aug 15, 2002
  Linux News - Issue #94
Aug 8, 2002
  Linux News - Issue #93
Aug 1, 2002
  Linux News - Issue #92
Jul 25, 2002
  Linux News - Issue #91
Jul 18, 2002
  Linux News - Issue #90
Jul 11, 2002
  Linux News - Issue #89
Jul 4, 2002
  Linux News - Issue #88
Jun 27, 2002
  Linux News - Issue #87
Jun 20, 2002
  Linux News - Issue #86
Jun 13, 2002
  Linux News - Issue #85
Jun 6, 2002
  Linux News - Issue #84
May 30, 2002
  Linux News - May 30, 2002
May 23, 2002
  Pearl In The Shell
May 16, 2002
  Linux Filesystems - Part Two
May 9, 2002
  Inside The Linux Filesystem
May 2, 2002
  CD Burning Under Linux
Apr 25, 2002
  Star Office Vs. Open Office
Apr 18, 2002
  Surfing With Mozilla
Apr 11, 2002
  "We Don't Support Linux..."
Apr 4, 2002
  Visit The UNIX Library
Mar 28, 2002
  Linux and World Domination
Mar 21, 2002
  Working With Keyservers
Mar 14, 2002
  A Look At Public Key Cryptography
Mar 7, 2002
  Monitoring Systems With "vmstat"
Feb 28, 2002
  Star Office 6 Not to be Free for Linux?
Feb 21, 2002
  How Can Programming Benefit a Systems Administrator?
Feb 14, 2002
  Alias: It's Not Just a TV Show
Feb 8, 2002
  Using The diff and patch Utilities
Jan 31, 2002
  How To Detect Cracks
Jan 24, 2002
  Using Razor to Shave Away Spam
Jan 17, 2002
  Stomping Spam
Jan 10, 2002
  Sair Linux Courseware Review
Jan 3, 2002
  2002: The Year of the Penguin!
Dec 27, 2001
  UNIX Apps on a Windows Box?
Dec 20, 2001
  Directory Assistance
Dec 13, 2001
  How Do You Kill Zombies?
Dec 6, 2001
  Using Hard and Soft Symlinks
Nov 29, 2001
  Change Terminal-Based Apps Into Network Apps
Nov 22, 2001
  Adventures In Booting
Nov 15, 2001
  Getting To Know PAM
Nov 8, 2001
  Know Your Enemy
Nov 1, 2001
  Do Mulder and Scully Use X-Windows?
Oct 25, 2001
  A Quick Look at the RHCE Certification
Oct 18, 2001
  What's Up With Linux Certification?
Oct 11, 2001
  Express Yourself Regularly
Oct 4, 2001
  Advice For Lazy Penguins?
Sep 27, 2001
  NVIDIA Jumps On Linux Bandwagon
Sep 20, 2001
  Understanding DNS in a Linux Environment
Sep 13, 2001
  Be Careful With Binaries
Sep 6, 2001
  Party Like It's 999,999,999
Aug 30, 2001
  Rooting Out Memory Hogs
Aug 23, 2001
  Spin Your 'Top'
Aug 16, 2001
  Keeping Time With NTP
Aug 9, 2001
  Supporting True Type Fonts
Aug 2, 2001
  Getting Perl To Fetch
Jul 26, 2001
  Who's The Man?!
Jul 19, 2001
  Adobe Cracks The DMCA Whip
Jul 12, 2001
  Due Processes
Jul 5, 2001
  Going Adobe Free
Jun 28, 2001
  Don't Send Mixed SIgnals
Jun 21, 2001
  Everything is a File. (almost)
Jun 14, 2001
  Know Your Partitions
Jun 7, 2001
  Where it's "at"!
May 31, 2001
  A Sneak Peek at RedHat 7.1
May 24, 2001
  Scheduling Tasks With cron - Part 2
May 17, 2001
  Scheduling Tasks With cron
May 10, 2001
  Open Source - Seeing Through The FUD
May 3, 2001
  A Look At Ximian's New Release
Apr 26, 2001
  Rev Up Your X-Windows Session
Apr 19, 2001
  Wrangling With GNU Cash
Apr 12, 2001
  Tame the syslogd Daemon
Apr 5, 2001
  Test Your Admin Skills At Honeynet
Mar 29, 2001
  Software RAID on Your Linux Box
Mar 22, 2001
  Prevent Disasters: Back It Up
Mar 15, 2001
  Notes From Underground!
Mar 8, 2001
  SuSE 7.1 - A First Look
Mar 1, 2001
  Certification Boot Camp
Feb 22, 2001
  Understanding Runlevels
Feb 15, 2001
  What Are The Advantages of Joining a LUG?
Feb 8, 2001
  Diving For Perls
Feb 1, 2001
  How To Secure Your Linux Installation
Jan 25, 2001
  Linux Problem Solving
Jan 18, 2001
  Stand up and Be Counted!
Jan 11, 2001
  2.4.0 is Here!
Jan 4, 2001
  When will Mom use Linux?
Dec 28, 2000
  The Year in Review
Dec 21, 2000
  The SourceForge Solution
Dec 15, 2000
  How to Compile and Install the New Kernel
Dec 7, 2000
  Put Your E-mail Into A Blackberry Basket
Nov 30, 2000
  Using Perl With Linux
Nov 23, 2000
  Working With MP3's Under Linux
Nov 16, 2000
  Apache 2.0 alpha 4
Nov 9, 2000
  Dell loves Linux!
Nov 2, 2000
  What's Up With RedHat 7?
===========================================================
                        LINUX NEWS
            Resources & Links From CramSession.com
                Thursday, December 20, 2001
===========================================================

-----------------
TABLE OF CONTENTS
-----------------

1) Sean's Notes

2) Linux News

	Mandrake 8.1: An Easy Install?
	Just What's Up With Lindows?
	Perl is 14 Years Old
	Sale On Linux Training

3) Linux Resources

	Test Your Scripts!
	Understanding Rootkits
	Dual Booting Linux and Windows 2000 on Large Hard Disks
	Document Your Code
	*BSD Installation

4) App o' the Week


~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~

Get your certification now. Pay later!

If you want to learn more about Intense School's No money down
and No payments for one year financing, go to our website or
call toll free 1-800-330-1446 to speak to an Intense School
Specialist.

http://ad.brainbuzz.com/?RC06&AIF22

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For information on how to advertise in this newsletter
please contact mailto:adsales@CramSession.com or visit
http://cramsession.com/marketing/default.asp

===========================================================
1) Sean's Notes
===========================================================

One of the selling points of Linux is that you have the
source to the complete operating system.  That's great, but
unless you're a kernel hacker, why would you need the source?
With a basic knowledge of where stuff sits within the kernel
tree, you can easily answer questions like what driver to use,
or find out if a device is supported.

The kernel sources usually live in /usr/src/linux,
/usr/src/linux-2.4, or something close.  On my system, the
list of directories is as follows:

arch
Documentation
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts

The arch directory contains code specific to your architecture
(i.e. processor), such as how to boot, or manage memory.  Not
very interesting to us now.

"Documentation" is full of good stuff.  Pretty much every
section of the kernel has at least something in there.
"serial-console.txt" is a helpful document on how to set up
your console on a serial port, so that you don't need a monitor
or keyboard.  The "fs" directory has basic information on every
file system supported, such as where to get the userland tools
to manage them, and the status of the code.  "networking" has
information on the protocols supported, network drivers, and
how to use them.  Ditto "usb" and "sound".

The next top level directory of interest is "drivers".  Here
is where you'll find most of the support for devices.  It's
laid out in a haphazard manner, so it may take some digging.
Our first stop in this part of the tour is the "net" directory,
which contains all the device drivers for network cards.

Let's say you've got a DE202 network card, and want to figure
out the driver.  Chances are, it's part of a generic driver
for part of the whole family, so it won't have a de202.c file
sitting around:

[root@bob net]# grep "DE202" *.c
depca.c:	DE202 Turbo (TP BNC)
depca.c:    The driver has been tested on DE100, DE200 and DE202 cards
depca.c:    Digital Equipment corporation, 1991, Pub. #EK-DE202-OM.001
depca.c:      0.31     4-feb-94   Added DE202 recognition.
depca.c:                         "DE200","DE201","DE202",\

Looks like depca.c is the file that implements the driver for
the DE202 network card.  If you edit the file, you'll see
instructions on what settings the driver supports, limitations
(such as multiple cards), and sometimes some hints on getting
the card to go.  More often than not, the name of the .c file
is the name of the driver.  We can verify this by looking for
the object file (depca.o) that will be the driver:

[root@bob net]# locate depca.o
/lib/modules/2.4.7-10/kernel/drivers/net/depca.o

Yep, there you go.  So to get that old DE202 card (and I've
got a bunch!) working, you'd run:

# modprobe depca

or add something like:

alias eth0 depca

to /etc/modules.conf

Under drivers/usb, you'll find a list of drivers for USB
devices. Since Linux is relatively new to the USB arena,
you'd be wise to check here for support before buying that
expensive device.  (A search on google.com would also be a
good idea, someone may have written a driver that hasn't yet
made it into the kernel.)

drivers/scsi has all the SCSI card drivers, and a lot of
README files with helpful advice.

Back to the top level, I'll skip all the way down to "net"
(most of the stuff in between is the kernel itself).  This
contains all the network protocols.  A question was asked on
the Network+ board this week "Where is TCP/IP implemented in
Linux?"  "net/ipv4" would be the answer to that question.
You'll also find the implementation of Ethernet (not to be
confused with the Ethernet drivers we saw earlier), x.25 (wow)
ipv6, ipx, decnet (ouch!), 802.1D bridging, bluetooth, ATM,
and a lot more.

So, really, the kernel source is nothing to be afraid of.  The
Documentation directory has a wealth of practical information
about how the system operates.  "drivers" contains all the
hardware drivers the operating system comes with, and "net"
has information on all the network protocols.

You don't have to be a C programmer to make use of it, either.
The grep technique above works well, and source code comments
can be read by anyone.  In particular, ISA cards (do they
still exist?) can be configured with multiple IRQs, but only
the driver source will tell you which one the driver will be
looking for.  If you're seeing strange error messages, grepping
around can help you determine the source, and the likely cause.

Source isn't only for programmers anymore.  It can now be a
valuable tool for the systems administrator.

Happy holidays to everyone...and of course, long live the
Penguin!

Sean
mailto:swalberg@cramsession.com

===========================================================
2) Linux News
===========================================================

-------------------------------
Mandrake 8.1: An Easy Install?
-------------------------------
This article focuses on the installation of Mandrake, SuSE,
Red Hat, and Win XP. The author's system has a couple of
extras, so it's not surprising that some of the packages
had some trouble. Mandrake came out on top--a few minor
hiccups, but a clear winner.

http://www.newsforge.com/article.pl?sid/12/18/1410254

-----------------------------
Just What's Up With Lindows?
-----------------------------
The more I think about Lindows, the more I have to wonder
about its viability, or even if it will ever be completed.
I'm not the only one; desktoplinux.com has written a very
good article on the topic -- is Lindows a good thing?

http://desktoplinux.com/articles/AT2152579590.html

---------------------
Perl is 14 Years Old
---------------------
Wow. I didn't have a clue that it's been around so long. I
got my start around five years ago, and thought the language
was pretty new. There is a lot of Internet history in this
document too, a very interesting read if you're interested
in seeing how the Internet and Perl have evolved together.

http://history.perl.org/PerlTimeline.html

-----------------------
Sale On Linux Training
-----------------------
Judging by the amount of people on the Cramsession boards
asking for Linux training locations, this $200 discount on
Red Hat courses will go over well. If you're aware of other
training centers doing Linux courses, please let me know and
I'll pass it along to everyone else.

http://www.redhat.com/training/skills_offer.html

===========================================================
3) Linux Resources
===========================================================

-------------------
Test Your Scripts!
-------------------
I can't count the number of times I've made a change to one
part of a script I wrote, which broke another part. I know
I should use automated tests, but until I saw this article,
I thought it would be too much trouble.

http://www.perl.com/pub/a/2001/12/04/testing.html

-----------------------
Understanding Rootkits
-----------------------
A rootkit is a package a cracker can leave on your system
that ensures an easy way back in. Rootkits will replace
some of your system binaries, or even load themselves into
the kernel. Luckily, there are tools out there to detect
unauthorized changes, and some simple precautions you can
follow.

http://linux.oreillynet.com/pub/a/linux/2001/12/14/rootkit.html

--------------------------------------------------------
Dual-Booting Linux and Windows 2000 on Large Hard Disks
--------------------------------------------------------
With a dual-boot system, you can have multiple operating
systems run off the same hard drive. There are limitations,
though, and things you have to keep in mind. This article
is a great set of instructions on how to get Linux and Win2k
to live together happily.

http://www.enterprisedt.com/publications/dual_boot.html

-------------------
Document Your Code
-------------------
One feature of Perl that I have been making use of lately is
POD, short for "Plain Old Documentation". It's nothing more
than specially formatted comments, with the added feature that
your source code can be run through some filters to generate
the documentation. It's a lot better than trying to remember
how to call a module you wrote a year ago!

http://www.linuxgazette.com/issue73/spiel.html

-------------------
*BSD Installation
-------------------
Even though this is a Linux newsletter, there are a lot of
other Unix flavors out there that deserve the odd mention.
The popular free BSDs (Free, Open, and Net) are compared in
this multi-part series, focusing on the installation
procedures.

http://bsdfreak.org/article_2001_11_24_4013.html

===========================================================
4) App o' the week
===========================================================

Users are complaining your web site is too slow, but how can
you measure it?

"PasTmon is an Open Source passive network application
response time monitor, utilizing packet capture (via libpcap),
tracking sessions, maintaining transaction state, and
collecting metrics of server/network response times, segment
size negotiation, and TCP window size advertisements.

The goal of the PasTmon project is to provide an engine to
measure application service levels from the perspective of
perceivable user response times.

Mechanisms are provided for data summarization/reduction and
import into a PostgreSQL database.

A web PHP4-based front-end to example R statistical graphics
is provided."

http://pastmon.sourceforge.net/

===========================================================
(C) 2001 BrainBuzz.com, Inc. All Rights Reserved.
===========================================================
_______________________________________________________

         This message is from CramSession.com.

You are currently subscribed to the
   Hottest Linux News and Resources
   as: sean@ertw.com

To un-subscribe from this newsletter by e-mail:
   send a blank email message to:
   mailto:leave-linuxnews-3825955Y@list.cramsession.com

-------------------------------------------------------

To Subscribe to this newsletter by e-mail:
   send a blank email message to:
   mailto:join-linuxnews@list.cramsession.com
_______________________________________________________