Archive for the ‘Uncategorized’ Category

rpm -e on multiple packages

Sunday, March 18th, 2012
Recently I got

sudo rpm -e postgresql-libs-8.1.23-1.el5_7.3
error: "postgresql-libs-8.1.23-1.el5_7.3" specifies multiple packages

This is due to different versions (32 and 64 bit) of the same package being installed
The fix is easy

sudo rpm -e postgresql-libs-8.1.23-1.el5_7.3.i386 postgresql-libs-8.1.23-1.el5_7.3.x86_64

Ubuntu and Cisco anyconnect

Monday, January 16th, 2012

I recently installed ubuntu 11.10 in a laptop. I then had the need to connect that laptop to a cisco based anyconnect VPN. I could have gone the route of trying to install some cisco anyconnect software. I could also just issue

sudo apt-get install networkmanageropenconnect-gnome

And then configure the vpn using network-manager. I choose the latter ;-)

Hurraayyy for OSS

No cola again again

Sunday, January 1st, 2012

I had a blast with coca cola for 4 months (2011-09-01 to 2012-01-01) and now it is time to stop again. It is not healthy for me. Teeth and weight. So I’ll give it at try of staying ‘sober’ for 2 more years. New target is 2014-01-01.

RHEL5 kernel versions vs. update levels

Friday, September 23rd, 2011

Nothing special. I just couldn’t find this easily on the net

2.6.18-8.el5 (General Availability)

2.6.18-53.el5 (RHEL5.1)

2.6.18-92.el5 (RHEL5.2)

2.6.18-128.el5 (RHEL5.3)

2.6.18-164.el5 (RHEL5.4)

2.6.18-194.el5 (RHEL 5.5)

2.6.18-238.el5 (RHEL 5.6)

2.6.18-274.el5 (RHEL 5.7)

2.6.18-308.el5 (RHEL 5.8)

2.6.18-348.el5 (RHEL 5.9)

2 years without Coca Cola

Thursday, September 1st, 2011

Just a post to myself about that two years has passed since i stopped drinking coke. I will celebrate today and then try to find a way to stay away from coke in my daily life.

How to enable remote sysloggin in a zyxel zynos capable device

Saturday, May 21st, 2011

It is quite simple actually

ras> sys logs load
ras> sys logs syslog display

Active:  No
Syslog IP Address:
Log Facility:  Local 1

ras> sys logs syslog active 1
ras> sys logs syslog server
ras> sys logs save
ras> sys logs syslog display

Active:  Yes
Syslog IP Address:
Log Facility:  Local 1

Portforwarding on a zyxel device using the ZynOS cli

Monday, March 29th, 2010

Due to a change of jobs, my xDSL connection was terminated today. Luckily I have other means of Inet access, but given that I run my own server I needed some portforwarding in order to be a happy camper.

Getting access to the router using telnet was easy.

telnet 23023

It was harder (hence this post) to figure out to do port forwarding. Basic stuff first. What version of ZynOS?

ras> sys version

 ZyNOS version: V3.40(AHX.4) | 05/02/2008
 romRasSize: 1407100
 system up time:   513:16:29 (b0380b6 ticks)
 bootbase version: V1.06 | 1/20/2006

Using help I figure out that I needed to go for the ip section

ras> help
Valid commands are:
sys             exit            ether           wan
ip              bridge          lan

But then I was lost

ras> ip
address         alias           aliasdis        arp
dhcp            dns             httpd           icmp
ifconfig        ping            route           smtp
status          udp             rip             tcp
telnet          tftp            traceroute      xparent
tredir          backup          mcastChan       igmp

Where was the portforward section?? I litteraly used an hour figuring out what to do. It turns out, that it is a leap of faith kind of thing:

ras> ip nat
hashTable       server          service         resetport
incikeport      session         addrmap         AOL-version9

Lo and behold, it is all there ;-) The rules are ordered in sets, where you edit a given rule in a set. When you get hold of the syntax it is actually quite easy

ras> ip nat server disp
Server Set: 1

Rule         name             Svr P Range    Server IP       LeasedTime
 Active  protocol     Int Svr P Range    Remote Host IP Range
 1 DMZ                       default      0
 No      ALL               0 - 0     -
 2 WWW                       80 - 80     0
 YES      ALL               0 - 0     -

Then you load a set, edit the rules and write the set. Eg

# Load set 1
ras> ip nat server load 1
#edit rule 2
ras> ip nat server edit 2 forwardip
# save set 1
ras> ip nat server save

All done.

UX-Ignite gives “The currently selected configuration does not contain any environments. You may want to select another configuration.”

Sunday, February 28th, 2010

I recently tried to reignite a server from another servers ignite recovery archive. At first I did not success. It threw this error in my face

The currently selected configuration does not contain any environments. You may want to select another configuration.

Debugging the error I found that the client did not have an config file in


And thus lanbooting Ignite-UX threw the error above. I basically just copied over a config file from another server and edited it and all was fine again.

Upgraded wordpress and tomato

Sunday, July 19th, 2009

Took less than 15 minutes to upgrade my wrt54g to Tomato version 1.25 as well as upgrading the site to wordpress to 2.8.1. I still remember the days when it took hours to work with opensource software. These days it is a breeze. We have come a long way since then.

Upgraded printer firmware

Sunday, April 5th, 2009

It is easter…. Holidays. The weather is good and here I am, upgrading the firmware of my old Lexmark S1255 laserprinter (with an marknet N2002E network adaptor) just for the fun of it. Very simple actually

thosan-laptop% unzip N2000.ZIP
Archive: N2000.ZIP
inflating: 3_20_45.PSW
inflating: README.TXT
thosan-laptop% tftp
tftp> bin
tftp> put
(file) 3_20_45.PSW /dev/flash
Sent 1068122 bytes in 10.5 seconds

Nothing more, nothing less. Printer firmware is upgraded.