Archive for May, 2002

SpamAssassin

Wednesday, May 29th, 2002
$ perl -MCPAN -e shell
o conf prerequisites_policy ask
install Mail::SpamAssassin
quit

gnobog (a Gnome Bookmarks Organizer)

Tuesday, May 28th, 2002

gnobog is a nice
little bookmark app. Since it use galeon, mozilla, konqueror and
other random web browsers, this lets me keep my bookmarks in one
central location.

palm pilot integration

Tuesday, May 28th, 2002

Red Hat does not yet set up a link for /dev/pilot which href="http://www.jpilot.org">jpilot, href="http://www.tldp.org/HOWTO/PalmOS-HOWTO/pilotlink.html">pilot-xfer,
etc use by default.

        ln -s /dev/ttyS0 /dev/pilot
        chmod 666 /dev/pilot

more network configuring…

Tuesday, May 28th, 2002

Set the hostname to be something reasonable instead of
localhost.localdomain by using ‘neat’.

Also disable starting eth0 on boot — it takes a while to timeout when
I’m booting in a wireless mode.

GTK.pm/Net::pcap installed

Sunday, May 26th, 2002

In order to get Wellenreiter v1.3 (a wireless monitoring tool) to run,
it requires GTK.pm installed. Since I no longer trust ‘perl -MCPAN -e
shell’ not to screw up my perl installation, I downloaded
Gtk-Perl-0.7000.tar.gz and Net-Pcap-0.04 from href="http://www.CPAN.org">CPAN and manually installed it. Note:
Net::Pcap need to be built this way: perl Makefile.PL
INC=-I/usr/include/pcap LIBS=’-L/usr/lib/pcap -lpcap’

Setting up printers (home)

Saturday, May 25th, 2002

Red Hat 7.3 ships with both LPRng and CUPS, the latter has a nice
web-based configuration tool.

  • /sbin/service cups start
  • Switch to CUPS permanently using the new ‘alternatives’ method
    (nice bit of borrowing from debian)
    /usr/sbin/alternatives
    --config print
  • Use web interface on href="http://127.0.0.1:631">http://127.0.0.1:631

filesystem configuration

Saturday, May 25th, 2002

Created mount points:

mkdir -p /NT /CD1, /CD2 /ExtraHomes /mnt/xx /mnt/xy /mnt/ontour /mnt/ibgzk
o /mnt/after7

Added:

/dev/hda1               /NT             vfat    uid=500,gid=500,defaults
 0 0
/dev/hdb1               /CD1                    vfat    uid=500,gid=500,default
s       0 0
/dev/hdb2               /CD2                    vfat    uid=500,gid=500,default
s       0 0
/dev/hdb3               /ExtraHomes     ext2    defaults        0 0
//192.168.123.100/marc  /mnt/mdesktop   smbfs   user,uid=500,gid=500,username=m
arc,password=SECRET,defaults    0 0
//192.168.123.100/xx    /mnt/xx         smbfs   user,uid=500,gid=500,username=x
x,password=SECRET,defaults      0 0
//192.168.123.100/xy    /mnt/xy         smbfs   user,uid=500,gid=500,username=x
y,password=SECRET,defaults      0 0
//ontour.zko.dec.com/public /mnt/ontour smbfs   uid=500,gid=500,auto,user,exec,
rw,username=nozell/americas,password=SECRET 0 0
//ibgzko.zko.dec.com/nozell /mnt/ibgzko smbfs   uid=500,gid=500,auto,user,exec,
rw,username=nozell,password=SECRET 0 0
//16.29.96.110/sharedmedia /mnt/after7 smbfs    auto,ro,username=guest,password
=SECRET 0 0

Configure web server

Saturday, May 25th, 2002
  • Need to set the document root to be my person ~/public_html.
    DocumentRoot "/home/marc/public_html"

    <Directory "/home/marc/public_html">
  • Set email contact:
    ServerAdmin marc@nozell.com
  • Change location of cgi-bin:
        ScriptAlias /cgi-bin/ "/home/marc/cgi-bin/"

    <Directory "/var/www/cgi-bin">
  • Setup bloxsom blogger by copying blosxom into ~/cgi-bin/ and editing locati
    ons to point to /home/marc/public_html/

Precision Timekeeping

Saturday, May 25th, 2002

Configure NTP to get the time from systems that are available from 1)
internet, 2) inside corporate firewall, 3) inside corporate external
lab firewall and 4) timeserver of DSL provider.

To the file /etc/ntp/steptickers add the one very long line:

harbor.ecn.purdue.edu tick.mit.edu ntp01.cca.cpqcorp.net ntp02.cca.cpqcorp.net
alpha1.ispworks.com shell.mv.net

Turn ntp on at boot time:

chkconfig --level 45 ntpd on

Red Hat Network

Saturday, May 25th, 2002

re-register with Red Hat Network.

rhn_register

And then go to http://www.redhat.com/network
and adjust the ‘entitlements’. Finally then ready to actually update
with ‘up2date’. Quite a number of updates just a week after Red Hat
7.3 was released…