Sep
15
2008
0

Cisco VPN Client 4.8 and Recent Linux Kernel Versions

I have been playing with this for some time .. Below are patches over Cisco VPN client 4.8 rev 490 some are compiled from around and some are my own ports (especially for 2.6.24+ ):

For 2.6.18 based kernels (OEL/RHEL/CentOS 5), download and apply vpnclient-4.8-2.6.18-XceptN.patch on your vpnclient build directory. e.g.:

# wget -q http://xceptn.com/patches/vpnclient/vpnclient-4.8-2.6.18-XceptN.patch
# cd vpnclient
# patch < ../vpnclient-4.8-2.6.18-XceptN.patch

For 2.6.24/25 (Fedora 8, 9 (Beta)) series I have used vpnclient-4.8-2.6.25-XceptN.patch. e.g.:

# wget http://xceptn.com/patches/vpnclient/vpnclient-4.8-2.6.25-XceptN.patch
# cd vpnclient
# patch < ../vpnclient-4.8-2.6.25-XceptN.patch

The patches are just dirty workarounds. But they work well ๐Ÿ™‚

Share
Sep
15
2008
0

How to do find and execute .. An example

to find files that has “TeXt” in them:

   find . -exec grep “TeXt” ‘{}’ \; -print

Share
Written by in: linux,sysadm | Tweet This
Sep
15
2008
0

backup the mbr

dd if=/dev/sdX of=/tmp/sda-mbr.bin bs=512 count=1

Share
Written by in: linux,storage,sysadm | Tweet This
Sep
15
2008
0

Unconditional Shutdown on PC HW

Uhm .. My home PC screwed up ..

It kept shutting down even starting Debian in addition to Windows XP.

That
had happened before due to a dangling CPU fan before, and I had
replaced the fan with a state of the art double 2000+ RPM one .. But no
problem with that now ..

After sometime, I could not even boot anything up.

I have decided to take out every component and start adding one by one..

The
problem seems to be something about the power supply.. I think the
switch at the back has a problem, because whenever I use it, I need to
wait for a couple of minutes before I can hit the usual power button to
start up.

After adding everything again, it seemed OK.

That night I left the Debian up, but in the morning I saw that it was shutdown and trying to reboot hopelessly.
I tried again by disabling “Reboot with power problem” option in BIOS.. Happened again the other night.

Last day I left Win XP up, and nothing happened. It just dont make sense.

I restarted Debian and it was OK in the morning .. I’m waiting for the evening to see..

Share
Sep
15
2008
0

Installing Debian 3.1 / DVD / Floppy / SATA and Others

I decided to have Debian Sarge (3.1) – www.debian.org on the new disk
that I installed on my home server. The new disk is a 250GB SATA Maxtor
and my SATA controller is SiS 180.

Installing from ISO-burned DVD’s I got error:
Disk error 80, AX= 4280 drive 9F
First I thought it was due to Sata, but it was actually due to the non-very-good 1st DVD.

I had created boot floppies (boot, root, cd drivers) and tried to continue the installation with DVDs but that time,
the DVD could not be read.

I re-burned the DVD and booted from floppies. ๐Ÿ™‚

I got a weird shutdown during ext3 formatting (250 GB)
It was simply giving black screen, no fan etc. running. But:
– I cannot startup the box
– And the DVD-ROM device becomes active from time to time.

I could reboot after shutting down everything including the UPS.

This time I started with
expert26 noapic nolapic
And it went fine with the ext3 formatting. Following steps, I started installing the base linux, and went to bed ๐Ÿ™‚

In the morning I had the weird shutdown again. I’ll see later, but I think I’ll try with the netinstall soon.. ๐Ÿ™‚

Whee .. It worked .. The shutdown and a ghost using the DVD problem has
been sorted out .. Who would know it was “again” a “check the cable”
problem where the UPS connection was loose and the “Use CD when off”
was configured in BIOS ๐Ÿ™‚

I could do the installation with floppies:
boot
root
cd drivers
and the DVD-ROMs.. No SATA problem.. Nothing .. Works like a dream

Hmm.. I got this weird reboot again ..

And sorted that out probably ๐Ÿ™‚

I
had my CPU fan disconnected from power, and the box was heating up. And
my intelligent motherboard decides to shutdown. Cute thing ..

Share
Written by in: storage,sysadm | Tweet This

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com