Postfix error – mail for domain loops back to myself

I am hosting multiple domains on my box, using this guide on howtoforge.com, and after creating the first mailbox on one of them, yesterday i encountered an error :

mail for domain scariinterioare.net loops back to myself

Continue reading

Windows XP USB Floppy problem

One day i needed to install Windows XP on a laptop with Intel SATA AHCI enabled. I failed integrating the drivers with nLite (it’s because i used a SP3 version, instead of XP SP2 – but this is another story).
It appears that Windows XP doesn’t “support” my USB Floppy during it’s install. Yes, it sees the SATA drivers from the diskette but it fails to read them in order to transfer the file on the drive, during SETUP.
Details about my USB Floppy drive :

Freecom USB Floppy Disk
NEC Corporation
PN : 1354-508086-113-0
UF00002 rev.A

Plugging the USB floppy drive in a working system we see this in device manager :

USB\VID_0409&PID_0040\5&1ab67ec&0&1

Resolution : we need to edit a file from Windows install CD.

Edit TXTSETUP.SIF

ADD after “USB\VID_0644&PID_0000” = usbstor

this :

USB\VID_0409&PID_0040 = “usbstor”

Burn the ISO with the modified file and you’re done.

Using cacti with HP Procurve 2510-24 (J9019) switch and Ubuntu

After adding my APC UPS to cacti, i wanted to see if i can do the same for my HP 2510-24 switch (J9019).
The information i managed to collect for the HP switch is :

  • CPU Usage
  • Memory Usage
  • MAC Count
  • Port traffic

OID’s used :

CPU Usage – .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0
MAC Count – .1.3.6.1.4.1.11.2.14.11.5.1.9.12.1.0
Memory total – .1.3.6.1.4.1.11.2.14.11.5.1.1.2.2.1.1.5.1
Memory free – .1.3.6.1.4.1.11.2.14.11.5.1.1.2.2.1.1.6.1
Memory used – .1.3.6.1.4.1.11.2.14.11.5.1.1.2.2.1.1.7.1

Host template for HP Procurve 2510-24

Using Cacti with APC UPS and Ubuntu

Tested on :
Ubuntu 10.10 Server x64
Cacti 0.8.7g with NET-SNMP 5.x and RRDTool 1.4.x
APC UPS BR1500I with USB connection and apcupsd (3.14.8-2) package.
The original forum topic is here.
Cacti APC UPS image
You need to have apcupsd package installed, along with cacti.
Cacti can monitor my APC UPS using two scripts that rely on the information provided by apcaccess command. Continue reading

XP SP2 and WPA2 Wireless encryption

WindowsXP-KB893357-v2-x86-ENUIn order for Windows XP SP2 computers to join wireless networks using WPA2 you must install the following update : KB893357 from Microsoft (validation required), or you can get it from here, without validation.

Using Cacti with DD-WRT and Ubuntu

Tested on :
Ubuntu Server 10.10 x64
DD-WRT v24-sp2 (08/07/10) std running on TP-Link TL-WR1043ND
Cacti 0.8.7g with NET-SNMP 5.x and RRDTool 1.4.x

After installing cacti (follow this tutorial) , i used this template.
Original template location is here .
To use the template you need to upload theese files to :
ddwrt_assoc_clients.xml to resource/snmp_queries/
ddwrt_nmb_wireless_clients.php to scripts/

From cacti menu use Import templates option under Import / Export section in Console menu for the template file : ddv24 by odmon.com.xml

(original forum thread).

Static DHCP on CISCO IOS

After replacing a normal router with a Cisco 881K, i had to re-assign static addresses to a couple of printers (actually one – because the other has a LCD panel and i can manually enter it’s IP address).

The problem was that Cisco documentation states that after creating a dhcp pool , you just need to enter the IP address and the client identifier. Normally the identifier is the MAC address concatenated with a number representing the Ethernet media type. In my particular case, i had to use only the MAC address, in order for the printer to get the assigned IP.
"DHCP clients require client identifiers. The unique identification of the client is specified in dotted hexadecimal notation, for example, 01b7.0813.8811.66, where 01 represents the Ethernet media type, and the rest is the MAC address for the device".

Steps : Continue reading