Pages

Monday, July 25, 2011

Configuring NTP in HP-UX

Assuming 192.168.1.1 is your local NTP server, then you need to edit /etc/rc.config.d/netdaemons first. Add your NTP server to NTPDATE_SERVER and change the value for XNTPD from 0 (zero) to 1 (one):

Sunday, May 29, 2011

Setting the keyboard layout with hal

Everytime when I start my X it has a US keyboard layout. After login I could change it with:

$ setxkbmap -model pc104 -layout de

to work with my german keyboard layout. But I have to do it everytime when I log in, which is not very professional. Even modifying the xorg.conf to load the german keyboard layout did not work:

Wednesday, May 18, 2011

Setting up a pppd server

Introduction

I tried to clean up my space a little bit and found some old modems and a analogue telephone system. Perfect for playing around, setting up a pppd server and client and remember some old times. And so I decided to create this small workshop. Maybe somebody wants/needs to do the same one day. Currently I am using the following hardware:

Friday, May 13, 2011

Extracting images from a pdf file

This week I went to the local photo shop in our town to scan some documents. I gave the salesperson my documents and he told me to come back in a couple of hours. I returned and received my scanned douments. At home I figured out that he gave me a CD with a couple of pdf files (my fault, I forgot to tell him that I need images). Here is a trick that will extract images from a pdf document:

Monday, May 2, 2011

rxvt and bash

I am using rxvt as my default terminal emulator when I am working on a WM. And I like bash as my default shell. My problem was that everytime I started rxvt it ignored /etc/profile. Here is the solution (found in man bash):

Friday, April 8, 2011

Setting up another NIC in Solaris

Nothing special: my Solaris box has a quad port network card (I think it is more like 2 dual port network cards). The first NIC is normally configured with an IP and netmask, for testing purpose I needed to setup the second one. Her is my configuration so far:

Sunday, April 3, 2011

Toshiba Satellite Pro 4600 internal modem

My Toshiba Satellite Pro 4600 has a internal modem which I want to use. I found the software slmodem, it contains the driver and the daemon slmodemd which allows you to communicate with your modem. To setup the software download and compile it:

Tuesday, March 15, 2011

Configuring network in AIX

Configuring your AIX machine for network acces isn't real hard. First get all available network devices:

# lsdev -Cc if
en0 Defined   02-08 Standard Ethernet Network Interface
en1 Defined   02-09 Standard Ethernet Network Interface
et0 Defined   02-08 IEEE 802.3 Ethernet Network Interface
et1 Defined   02-09 IEEE 802.3 Ethernet Network Interface
lo0 Available       Loopback Network Interface

Monday, March 14, 2011

Changing the boot order in AIX

I have here two AIX machines, one seems to be broken nut the other works fine (so far...). I need to reinstall the operating system but the machine always boots from harddisk by default. The solutions to this is the command bootlist. The following examples show the current boot order:

Wednesday, March 2, 2011

Adding a 2nd harddisk to a SunFire V100

I have a SunFire V100 with a 40GB IDE harddisk and 2GB of memory (I found this poor machine in the internet for 50€). Today I decided to add a 2nd 40GB harddisk. The harddisk is left from my old workstation and should work perfectly with the system.
It doesn't. The system even didn't recognize the harddisk. After doing some research on the internet I found out that most Sparc Systems with support for IDE only recognize the IDE harddisk when the
harddisk jumpers are set to Cable Select. So I jumpered the harddisk to Cable Select and surprise - works perfect: