|
|
Thinkpad 600x Win XP install
2004-06-12 17:45:18 by pablo
| |
I found that win XP home installed just fine and dandy and seemed to detect everything, but if I put the machine into standby and resumed afterwards, the screen would just be grey vertical lines. You could still shut the machine down by pressing the appropriate keys, so it wasn't crashed.
The onl
|
Thinkpad 600 error 8611
2004-06-11 19:48:28 by pablo
| |
I recently upgraded my aging Thinkpad 600 (P2 266Mhz) to a 600X (P3 500MHz). This upgrade involved buying a 500X base off ebay, and taking the screen, keyboard, hard drive, battery, cdrom etc off the old 600 and attaching it to the 600X base. It all worked reasonably well.
However, that left me w
|
Pablos User Mode Linux notes
2005-03-26 04:21:08 by pablo
| |
These are basically notes for myself in getting it all installed and running.
Download a linux kernel source. These docs will generally refer to a 2.4.20 kernel. Extract in somewhere (ie. not in /usr/src) and rename it to something like uml-2.4.20
Patch the kernel with something like:
cd
|
mkisofs 2gb problem
2005-02-19 03:47:04 by pablo
| |
Having just put a DVD burner on a linux box I tried something like:
growisofs -Z /dev/hdd -R -J backup_bigger_than_2gb.tar.gz
and it didn't work. It spat out some 'file too large' error. Then I tried doing a udf filesystem one:
growisofs -Z /dev/hdd -udf backup_bigger_than_2gb.tar.gz
|
VMware daemon howto
2004-12-07 16:23:34 by pablo
| |
Below is an old copy of the Vmware-Daemon howto I found. Trying this in 2004, I found I needed to run Xvfb with a -pixdepth 32 option as well.
VMware-Daemon-mini-HOWTO
Written and copyright 2002 by Jimmy Kaplowitz. All rights reserved.
Verbatim copying is permitted without restriction or fe
|
New Pixelview PlayTV Pro cards with linux
2004-08-23 04:22:05 by pablo
| |
Its August 2004. A few months ago I bought a Pixelview PlayTV Pro card as its cheap here in NZ and is well supported under linux. Its your standard BT878 card and most references to the card suggest (for this part of the world) it has a Philips BG tuner (type=5 under linux). Its an easy to setup car
|
My Linux PVR
2004-08-23 03:51:35 by pablo
| |
These are some notes on how I've setup my own Linux PVR system.
Hardware
I use a simple Celeron 2ghz system with 196mb of ram. I don't think it needs that much ram. I also have a Flyvideo 98 TV card. Picture quality is really so ... so. There are always vertical inference lines, but its not too
|
vi copy and paste
2004-06-30 18:35:39 by pablo
| |
See this reference here. But basics are:
Cut and Paste
position cursor at start of block and press md
move cursor to end of block and press d'd
Move to where you want to paste to and press p or P
Copy and Paste
|
Recreate index on truncated divx file
2004-04-18 16:31:58 by pablo
| |
ffmpeg -i infile.avi -acodec copy -vcodec copy outfile.avi
Fast forwarding may be a bit weird though. I think it loses key frames or some such.
|
Configuring network cards in Debian
2004-01-29 23:31:18 by pablo
| |
Quick notes:
You didn't set up a network card during your debian woody install. To get it all to work:
- edit /etc/modules and add the name of the module used by your network card
- edit /etc/network/interfaces. Here's what mine looks like:
auto lo eth0
iface lo inet loopbac
|
Getting around bash oddities (for ksh folk)
2003-12-06 21:23:13 by pablo
| |
BASH has some major oddities for long term ksh users. If like me you do things like:
t=0
cat somefile |while read a b c
do
t=$((t+a+b+c))
done
echo "total thing is $t"
And also:
echo $((12+34)) | read var
then you'll get quite pissed off with bash because no
|
Problems compiling SDL 1.2.6
2003-11-22 19:22:55 by pablo
| |
Some quick notes. Not problem with comping SDL 1.2.6 on slackware 8.1. Got an error like:
automake: configure.in: required file `./depcomp' not found
Googled, and found some german page, but had some commands:
aclocal
autoheader
automake --gnu --add-missing --copy
autoc
|
Motif Example: Create simple dialog box
2003-11-11 18:30:40 by pablo
| |
To compile this (lets say you call it motmess.c):
gcc -I/usr/X11R6/include -L/usr/X11R6/lib -lXm -lXt -lX11 -o motmess motmess.c
The -lXt and -lX11 probably aren't entirely nescessary.
Here it is:
#include <X11/Intrinsic.h>
#include <Xm/Xm.h>
#include <Xm/PushB.h>
#
|
Statically and dynamically linking at the same time
2003-11-11 01:04:36 by pablo
| |
Twas mucking around with some sample lesstif programs and I kinda wondered how you make a program that is statically linked with lesstif, but dynamically linked with everything else:
gcc -I/usr/X11R6/include -L/usr/X11R6/lib -o d2 d2.c \
/usr/X11R6/lib/libXm.a -lXt -lX11
By explicitly
|
Setting up Opera with anti-aliased fonts
2003-11-01 17:18:55 by pablo
| |
I've been using Mozilla as my linux browser most of the time. It understands most sites pretty well, and on my slackware 9.0/gnome 2.2 setup it renders nice smooth anti-aliased fonts.
I recently downloaded the latest opera 7.21 for linux, and was curious as to why it didn't do anti-aliasing, tho
|
Simple Perl random play script
2003-11-01 04:01:15 by pablo
| |
#!/usr/bin/perl
print "random play\n";
open (F,"ls|");
$x=1;
while (<F>) {
chomp;
$track[$x] = "$_";
$played[$x++] = 0;
}
$num_played=0;
while (1) {
if (($num_played+1) eq $x) {
exit;
}
do {
$s = int(rand $x);
} while ($played[$s] ne 0);
|
thttpd virtual hosts
2003-09-05 21:24:39 by pablo
| |
thttpd supports virtual hosts ... kind of.
In the document directory you create directories corresponding to the hostnames you want to host:
drwxr-xr-x ..... 10.1.2.3 -> www.thing.com
drwxr-xr-x ..... www.thing.com
drwxr-xr-x ..... www.other.com
Then make sure you run th
|
dselect alternative
2003-09-05 21:24:23 by pablo
| |
You might want to try out "aptitude" instead of "dselect".
"Aptitude" is available for Debian in a packaged form; just
type 'apt-get install aptitude'.
Both are similar in terms that they are full-screen (n)curses
console applications, but "aptitude" resembles more those old
MS-DOS-ba
|
Howto: Setup realtek 8139 + Compact Flash adapter on Thinkpad 600
2003-09-04 17:50:54 by pablo
| |
I have an old Thinkpad 600. Not long after I got it I bought a very generic 10/100Mbps Cardbus LAN card for it from Dick Smith Electronics here in NZ. This was in the era of linux 2.4 kernels. I was pleasantly surprised that simply by enabled PCMCIA and Cardbus support in the kernel and having the R
|
Compiling Apache, mod_perl, php with DSO
2003-08-20 21:18:17 by pablo
| |
There is a good linke here but if it disappears, the main steps I took are below.
This was attempted with apache 1.3.27, mod_perl 1.27 and php 4.2.3
Explode all three source tars.
Do mod_perl fi
|
Linux - Small Footprint install
2003-06-30 17:57:06 by pablo
| |
So why do I need 1gb to install a linux system? I realise that (within 6 months) 80gb hard drives will be the smallest hard drive that your money can buy, but it still seems a waste.
In the past I have installed what I thought were cut down Slackware installs; picking the minimum of install optio
|
Firewall example script
2003-05-29 00:25:42 by pablo
| |
#!/bin/sh
#
# For a system to function as a firewall the kernel has to be told to forward
# packets between interfaces, i.e., it needs to be a router. Since
# you'll save the running config with 'iptables-save' for RedHat to reinstate
# at the next boot IP fordarding must be enabled by other
|
Building Slackware into UML
2003-03-28 20:14:10 by pablo
| |
Building a root Slackware filesystem from scratch for the User-Mode Linux through loopback devices
--------------------------------------------------------------------------------------------------
by Dallachiesa Michele,
xenion (at) acidlife (dot) com
05/11/2002
1. Overview
2.
|
User Mode Linux Notes
2003-03-21 16:41:27 by pablo
| |
To use the SKAS patch in the host system you need to put CONFIG_PROC_MM=y into your .config file and recompile the kernel
To compile it:
- go to the website and follow the compiling instructions
To get rid of the xterms start the uml with :
linux ubd0=root_fs con=pty con0=fd:0,fd:1
|
Linux Serial Console
2002-11-20 21:50:25 by pablo
| |
Blah My internet gateway was operating fine without a monitor connected, but for unknown reasons it would occasionally not boot up, so I'd have to hook up a monitor and keyboard and see what was going on. Usually, it had gotten stuck around the 'INIT' phase. I think it has something to do with set
|
Proxy
2002-11-18 11:27:15 by pablo
| |
Introduction
I've always liked the idea of having a seperate internet gateway system or proxy server. When you have a few systems networked together, such a setup is quite useful. I recently upgraded to a higher speed ISP connection. It is a terrestrial microwave connection. The basics of it are:
|
How to do Apache Redirects
2002-11-16 13:04:52 by pablo
| |
Blah Blha Rather than use meta tags to redirect someone to a different page, if you use
an Apache web server (and your admin allows you to use .htaccess files) you
can do a proper http redirect to a different page.
Say when someone goes to www.blah.com/oldstuff you want them redirected to
htt
|
Alcatel SpeedTouch USB under Linux
2002-11-18 11:24:41 by pablo
| |
Yet another Alcatel SpeedTouch USB for Linux HOWTO
Introduction
There are now quite a few HOWTOs for this on the net, but most deal with using older linux kernels. My HOWTO is written in Spetember 2001 and deals with using a 2.4.7 kernel. I've performed all the compilation on a Slackware 8.0 syste
|
StingLin (v0.4)
2002-11-18 11:22:42 by pablo
| |
News
12.1.2002 v0.4
I've finally updated it. The 0.3 version was based on the 2.4.7 kernal. I've now used a 2.4.17 kernel. The ppp over atm patch is now incorporated into the
kernel. Other changes are iptables 1.2.4 compiled as a single executable.
ReiserFS has been ditched in favour
|
StingLin Alcatel SPeedtouch USB Firewall for Linux
2002-11-17 09:45:32 by pablo
| |
News
25.10.2002 v0.6
Now running on a 2.4.19 kernel. I've ditched the official Alcatel driver as I think Benoit Papillault's driver works better. Openssh is now at v3.4p1. I'm now
using rudimentary hotplugging to detect the modem. There's a real cron daemon. I'm using a normal SySV init
|
| Articles - Linux - Networking |
Subnetting, Proxy Arp and TFTP
2002-11-18 11:22:20 by pablo
| |
BAckground
Elsewhere on this site are notes about setting up diskless X terminals from
old PCs. All these experiments were done with the BOOTP/TFTP/NFS server on
the same subnet as the diskless client. This all worked fine.
But I now have a subnetted home network and was eager to try to set
|
| Articles - Linux - Thin Client |
Hotswap BIOS flashing and network boot ROMs
2004-08-30 02:06:49 by pablo
| |
Disclaimer
None of the information on this web page comes with any warranty of any kind. Read the full Disclaimer for more information.
What is Hotswap BIOS flashing
Just about all motherboards come with the ability to flash their own BIOS rom. The p
|
Netier NetXpress SL2000
2004-03-31 01:57:50 by pablo
| |
Some notes:
Seems to work if I supply +5V (red) and +12V(yellow). Still haven't worked
out what the blue wire is.
The DiskOnChip MD2200-D48 is a 48mb part. Details are at www.m-sys.com.
There are some DOS tools that you can put on a floppy for formatting etc.
There is a Tr
|
Netier NetXpress SL2000 Notes
2004-01-29 23:28:36 by pablo
| |
These are just some preliminary notes about the NetXpress SL2000. I have recently acquired one of these units minus a power supply ... and any documentation. Information on the net is sparse to non-existent.
The SL2000 is a tiny socket 7 based PC. Usually used as a thin client, it has all the gu
|
Using VNC in inetd mode
2003-09-24 22:25:57 by pablo
| |
These are just brief notes on setting up VNC in inetd mode. It essentially gives you these key features:
1. Users connect to the same server:screen all the time
2. A new 'screen' is automatically allocated when the user connects
3. The user's session is killed when they disconnect (som
|
win4lin Integration
2002-11-18 11:22:32 by pablo
| |
Disclaimer
I disclaim any responsibility for your actions as a result of reading this
Introduction
Its March 2001. My brother has asked me to investigate a way to avoid having to upgrade a bunch of old PCs ... because they are starting to seem slow. Being a linux enthusiast I suggested the win4
|
Linux Boot CDs (kernel 2.4 notes)
2003-12-09 03:28:38 by pablo
| |
News
9 Dec 2003 - mplayer CD is now at 0.03. Only change is that isolinux is at v2.07.
28 Sept 2003 - I've updated the mplayer CD to 0.02. This should work on nonMMX machines (albeit slowly). There are also a few more sound drivers and isa-pnp support
Making Linux Boot CDs using kernel
|
Making Bootable Linux CDs (kernel 2.2)
2003-09-14 21:02:42 by pablo
| |
Introduction
These are some discussion notes about my endeavours in creating
a bootable CD. The main outcome of all this is my 'Pauls Boot CD'. There
is an atypical page describing it here.
Why put linux on a bootable CD? It means being able to take a usea
|
PBCD
2002-11-18 11:23:16 by pablo
| |
... or Pauls Boot CD is effectively a toolkit for making Linux
boot CDs. It sets up a basic framework with some scripts that should
simplify the process of creating a bootable CD.
What to do
First download it from here. Extract
it into a direct
|
| Articles - Linux - Installation |
Mimimal Slackware Installation (v7.1)
2002-11-18 11:23:45 by pablo
| |
Introduction
This is for those people that have been told that Slackware is not as bloated
as other distributions , but have performed a default 'Install all' and
been disappointed that it still uses over a gig like those 'other' more
popular distributions. If you be a bit more selective you c
|
ePSX Hints
2002-11-18 11:21:24 by pablo
| |
Firstly, v1.2.0 of this emulator is rather good. It runs too fast on my Duron 800/TNT2 Pro machine. I had to go to the FAQ to work out how to slow it down. Rather cool.
These are my current settings for using the 1.2.0 version of ePSXe:
Video - 'Petes OpenGL Driver 1.38'. just using the defaul
|
Motif password prompt and launcher
2004-02-10 22:13:25 by pablo
| |
This is based off some Motif sample code for a password dialog (the link is on my links page somewhere). I just added some bits that will check the password against root's (it doesn't have to be root's) and then setuid to 0 and launch an xterm. ie. Its basically a graphical su command (NB: You'll ne
|
A chroot wrapper
2004-02-10 21:06:35 by pablo
| |
This code is mostly the same as that shown in some NCSA web server doco. It chroots and switches to an ordinary user.
/** wrapper BEGINS **/
#include
#include
#include
#include
void main( int argc, char *argv
|
| Articles - Over/Underclocking |
Duron Overclocking
2002-11-18 11:26:31 by pablo
| |
In September 2000, I purchased a Duron 600 and MSI-6330 with the key aim of
overclocking it. At that time the MSI-6330 motherboard didn't really have that
much going for it as an overclocking board. Sure you could up the CPU core
voltage by 0.05Volts and the FSB was fully adjustable in 1MHz st
|
Psion 5mx Mobile Phone Internet
2004-02-15 00:32:42 by pablo
| |
Just some quick notes on setting up the Psion 5mx to access the internet through infrared on a Nokia 6610. These notes are specific to using vodafone in New Zealand.
Hopefully you have already set up an Access Point (APN) on your phone. In my case the access point was named 'GPRS Internet', an
|
PPP direct with a Psion 5
2003-09-05 21:16:55 by pablo
| |
This article describes how to connect your Psion 5 to your linux PC which already has some form of active internet connection. Effectively it makes your PC appear as a modem to the Psion and piggy backs onto the existing internet connection.
I used slirp for this
|
popen C code example
2003-09-05 21:25:20 by pablo
| |
/*
* Copyright (C) 1998, by Sun Microsystems, Inc.
* All Rights Reserved
*/
#pragma ident "@(#)popen_printer_list.c 1.2 98/05/11 SMI"
#include
#include
main(int ac, char *av[])
{
FILE *fp;
if ((fp = pop
|
Get rid of Windows XP login screen
2004-12-07 21:26:54 by pablo
| |
Windows XP - solution 1:
* Select Run from the Start Menu, type control userpasswords2, and click Ok.
* Turn off the Users must enter a user name and password to use this computer option, and click Ok.
ref
|
windows 2000 msgina.dll error
2003-09-26 21:02:01 by pablo
| |
Problem : When you start win2k on or after installing SP3 you get an error "The Login User Interface DLL msgina.dll failed to load". You're only option is to restart
Solution
Boot off the win2k install CD
Press 'R'
Press 'C' to get a console prompt and enter the administrator password
|
Installing Windows 98SE on an ASUS A7N266-VM
2003-09-26 21:01:50 by pablo
| |
This Socket A motherboard from ASUS is very good value for money when you consider that it has GeForce2 like graphics thrown in. ASUS's instruction manual for the board is atypical of your brief motherboard manuals, but it seems like they made the board primarily with Windows 2000 and Windows XP in
|
How much can you fit on a CDR/CDRW?
2004-12-17 23:29:19 by pablo
| |
For reference:
A 74 minute CDR can hold:
audio 783,216,000
mode1 681,984,000
mode2 777,888,000
An 80 minute CDR can hold
audio 846,720,000
mode1 737,280,000
mode2 840,960,000
Mode1 is normal CDROM format.
|
Fixing a dead Seagate 80gb drive
2004-12-05 12:24:42 by pablo
| |
In case this helps someone else:
A colleague was given a broken PC. They were told that the power supply
had blown, and the owner decided to buy a whole new PC rather than
bother to fix it. I was asked to to try to get it to go. I tried a
different ATX power supply and after some false starts
|
TRU64 : Show SCSI info
2005-02-14 20:08:08 by pablo
| |
TRU64 : show SCSI configuration
scu show edt
AND/OR
hdmgr -show scsi -full
|
LSM
2005-02-14 17:50:43 by pablo
| |
You can do LSM on top of ordinary disks or on top of what looks like Veritas Volume Manager.
The veritas stuff is exactly the same as a normal Veritas box, except change the 'vx' at the start of a command to 'vol':
volprint -ht
voldisk list
volrecover -sb
volreattach <
|
Using the tivo remote as a sorta universal remote
2005-04-16 20:56:34 by pablo
| |
Before you get too excited, this'll probably only work on a series 1 tivo, and its aimed mainly at the Oztivo and NZtivo people.
Like a lot of technology nerds, my lounge room is full of remote controls. There's the TV, the surround amp, the DVD player, the xbox and tivo remotes. The tivo is the
|
|