Showing posts from August, 2007

Trixbox - Fix Invalid user/password in Package Management

Package manager in Trixbox is easy to use. I like it. But I can’t access to package manger since few weeks. Trixbox show error message “Invalid user/password”This effect most people world-wide because the system have not found Web Service to authenticate a user.To fix this just modify file/var/www/html/maint/includes/functions/captureSoapIPURLList.php

Change from

$url = array('', '');
$url = array('', '');
Try login again, it back for now!

Thank package-manager-problems-solve thread in Trixbox’s forum.

Top 25 Projects from SourceForce!

Top 25 Projects:1. Azureus
Azureus is a powerful, full-featured, cross-platform bittorrent client.

2. phpMyAdmin
phpMyAdmin is a tool written in PHP intended to handle the
administration of MySQL over the Web. Currently it can create and drop
databases, create/drop/alter tables, delete/edit/add fields, execute any
SQL statement, manage keys on fields.

3. Notepad++
Notepad++ is a generic source code editor (it tries to be anyway) and
Notepad replacement written in C++ with the win32 API. The aim of
Notepad++ is to offer a slim and efficient binary with a totally
customizable GUI.

4. OpenProj - Project Management
OpenProj by Projity is a desktop replacement of Microsoft Project.
OpenProj has equivalent functionality, a familiar user interface and
even opens existing MSProject files. OpenProj is interoperable with
Project, with a Gantt C…

Python for S60 1.4.0 released!

Python for S60 1.4.0 just released! The webpage Python for S60 said the version has been signed and bug fixed!

You can download Python for S60 1.4.0 here.
If you would like to download all files I have collect as a file. You can download at
** Please check latest version before download! **Links
Let's run Python on Mobile by morning_glory and bpitk. This is a cool blog! It relates Python fo…

E1/T1 - WAN line protocol

Just note:
WAN protocol hasVoice CAS, MFC/R2, PIR, ATM, Frame Relay, X.25, HDLC, PPP, SS7, Transparent bit-stream, BSC. Next protocol’s layer have IP/IPX over Frame Relay/ PPP/ HDLC/ X.25, X.25 over Frame Relay (Annex G), BSC over X.25 (DMT and TCOP), SNA over X.25, PPPoE, PPPoA, IP over ATM.
E1/T1/J1 signal statusALOSV: Loss of Signal alarmLOS: Receive Loss of SignalALTLOS: Alternate loss of Signal StatusOOF: Out of FrameRED: Telco Red Alarm conditionAIS: Alarm Indication SignalOOSMFV: Loss of Signaling MultiframeOOCMFV: Loss of CRC MultiframeOOOFV: Out of Off-Line FrameRAIV: Receive Loss of SignalYEL: Receive Telco Yellow Alarm
RJ 45 E1/T1 Pinouts
port A

port B
To cross cable or back to back cable, you can do it by swap between RTIP, RRING and TTIP, TRING check E1/T1 cross cable and How to cross lan cable and E1/T1/J1 cable or ss7box user guide (tapping line).

Thailand's IDC lists

RHEL Kernel - EL or ELsmp?

EL use for Single CPU, old (PI, PII, Celeron). The kernel type is called ‘non-SMP kernel’.ELsmpuse for Multi core processor(dual core) or HT(HyperThreding). SMP is common from Symmetric multiprocessingEL or ELsmp? I don't know. Check your CPU! just that!More Resource
Linux SMP Howto
Linux Parallel Processing Using SMP
Linux and symmetric multiprocessing

Embedded Linux - uClinux with Blackfin

Wow! I would like to Embedded Linux/Microcontroller playground. It has an interested Linux name uClinuxWhat is uClinux?
The original uClinux was a derivative of Linux 2.0 kernel intended for microcontrollers without Memory Management Units (MMUs). However, the Linux/Microcontroller Project has grown both in brand recognition and coverage of processor architectures. Today's uClinux as an operating system includes Linux kernel releases for 2.0 2.4 and 2.6 as well as a collection of user applications, libraries and tool chains…At the beginning, uClinux has been port for most Motorola’s microprocessor (e.g. Motorola MC68328 (DragonBall Integrated Microprocessor) which most use in Palm PDA devices (you can check Palm’s CPU here). Currently, Analog Devices is a company who develop microprocessors, a popular series is ‘Blackfin’.
Blackfin® Processors embody a new breed of 16/32-bit embedded processor, ideally suited for products where a convergence of capabilities are necessary – multi-for…

Change Intel Internal Modem to X100P

I found from this link.

just modify source code zaptel/wcfxo.c

change from
static struct pci_device_id wcfxo_pci_tbl[] __devinitdata = {
{ 0xe159, 0x0001, 0x8085, PCI_ANY_ID, 0, 0, (unsigned long) &wcx101p },
{ 0x1057, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long) &wcx100$ };

static struct pci_device_id wcfxo_pci_tbl[] __devinitdata = {
{ 0xe159, 0x0001, 0x8085, PCI_ANY_ID, 0, 0, (unsigned long) &wcx101p },
{ 0xe159, 0x0001, 0x8086, PCI_ANY_ID, 0, 0, (unsigned long) &wcx101p },
{ 0x1057, 0x5608, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long) &wcx100$ };

Thank you!

Asterisk card (Sheet, Cheat, Reference card)

Asterisk has number of command. Are you remembering all command? Is it better if you have a reference card?

Asterisk Reference Card (PDF)
Asterisk Reference Card (PDF)
TrixBox Cheat Sheet
Thank you people who do this!

Asterisk: Slove Line always hang-up

open /usr/asterisk/zapata.conf then insert below lines


busydetect: If enabled, Asterisk will analyze the audio coming in on the line during a call or a dial attempt to attempt to recognize busy signals. This is useful on analog trunk interfaces both to detect a busy signal when dialing out, and for detecting when the person has hung up. See also Disconnect Supervision. Be sure that you don't use this on digital interfaces like QuadBri cards and so on. Otherwise you will run in "broken calls" problems. default=no

busycount: This option requires busydetect=yes. You can specify how many busy tones to wait before hanging up. The default is 3, but better results can be achieved if set to 6 or even 8. The higher the number, the more time is needed to detect a disconnected channel, but the lower the probability mistaking some other sound as being a busy tone.another parameter? Please visit…

Opensource SoftSwitch


Asterisk is the most popular and extensible open source telephone system in the world, offering flexibility, functionality and features not available in advanced, high cost proprietary business systems. Asterisk is a complete IP telephony platform for business, and can be downloaded for free. URL:


FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a simple switching engine, a media gateway or a media server to host IVR applications using simple scripts or XML to control the callflow.

We support various communication technologies such as SIP, H.323, IAX2 and GoogleTalk making it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk. URL:


yate is a next-generation telephony engine; while currently focused on Voice over Internet Protocol (VoIP…

How to cross lan cable and E1/T1/J1 cable

* E1 lines are specified for 120 ohm cables, so a CAT-5 or CAT-5e cable (100 ohm) is out-of-spec and thus not recommended for anything beyond lab use.
try Cables and Connectors for T1/E1 PRI Interface, ISDN PRI, Serial, WAN, IDSL

E1/T1 cross cable

** credit: **

LAN cable

LAN Cross cable

E1/T1 Cross cable

(1 -> 4, 2 -> 5)

** E1 lines are specified for 120 ohm cables, so a CAT-5 or CAT-5e cable (100 ohm) is out-of-spec and thus not recommended for anything beyond lab use.

Another links
Cables and Connectors T1/E1 PRI Interface related, e.g. ISDN PRI, Serial, WAN, IDSL, etc...
Tech Info - LAN Pinouts
Communication Wiring Color Codes (Cat 5 & 5e Network)
Making a patch cable
RJ45 Pin Designations
Ethernet CAT5 Cabling
ชุมนุมโทรคมนาคม คณะวิศวกรรมศาสตร์ สถาบันเทคโนโลยีพระจอมเกล้าเจ้าคุณทหารลาดกระบัง
Lan Pinout

Dialogic card

Just take a photo with another one card - Dialogic card!
This card use ISA interface, very old one

Intel Dialogic D/160SC-LS Analog Trunk Board16 Ports Per CardState-of-the-art DSP (Digital Signal Processor) TechnologyResource SharingReliable DTMF Detection and DTMF Cut-ThroughUse Multiple Boards in a Single PC

very large card for PC!

Sangoma A102's photo

Sangoma A102 have 2 E1/T1/J1 slot

Anonymouse Surf!

In Thailand, if you surf the website which government think it not good, they will block it. For example, we can’t visit youtube in Thailand!If you try to visit blocked website you will force redirect to
if you don't know ICT url address, very easy just go to, (All has been blocked!)

How we can visit these websites?
So easy! If you need to visit these website, you need a proxy server! Another benefit is you can hide IP Address. (If the proxy is fully anonymous proxy)
Here is some software lists

Hide IPstart from $25.95 Hide IP Platinum is the software you are looking for! Keeping your privacy is simple and easy: the only thing you need to do is open Hide IP Platinum. Hide IP Platinum will find the proxy server available to you and set it as your proxy server automatically. There is nothing need you to concern. Hide IP Platinum have done everything for you!
Easy-Hide-IP$19.95 USD per year

Easy-Hide-IP - Secures and Anonymizes a…

The Trixbox Appliance

Ready to use – VoIP in a Box
Preconfigured for sangoma card, not Digium!
If you ask me is sangoma better digium? My answer is yes!
The trixbox Appliance

Red5 Show


Our Earth...

Global warming. Should you emigrate to another planet? Or save the world is easier?We will know value when we loss it.

use mpop to access your mailbox

Just note I have use mpop to retrieve e-mail from pop3. You can download mpop from It is an opensource, both Windows and Linux versions It will be easy, if you make a config file like thisdefaults
delivery maildir D:\Patrickz\Development\mpop\mpop #ระบุ path ที่จะใช้เก็บ mailbox
uidls_file %U_at_%H.txt
auth on
pipelining auto
only_new on keep on
filter if [ "`grep "^X-Spam-Status: Yes"`" ]; then exit 1; else
exit 0;

# Set a default account (optional).

account default : YOUR_ACCOUNTthe use command "mpop -C mpop.conf"


I found FreeNAS is fit for me. You can change old PC to be File Server in 30 minute!

"FreeNAS is a free NAS (Network-Attached Storage) server, supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI protocols, S.M.A.R.T., local user authentication, Software RAID (0,1,5) with a Full WEB configuration interface. FreeNAS takes less than 32MB once installed on Compact Flash, hard drive or USB key.
The minimal FreeBSD distribution, Web interface, PHP scripts and documentation are based on M0n0wall."

More screen-shot click here

FreeNAS (
m0n0wall (
Quick and Easy NAS using FreeNAS
Network Storage Report

Why MySQL Enterprise?

MySQL Enterprise is commercial version which include these feature- up-to-date (Monthly Rapid Updates/Quarterly Service Packs)
- MySQL Network Monitoring and Advisory Service (tools to help you manage and monitor mysql server)
- Support
depend on your plan -please check conditions Plan
Basic $595.00 /Server/Year
Silver $1995.00 /Server/Year
Gold $2995.00 /Server/Year
Platinum $4995.00 /Server/Year

Some picture from Building Subscriber Databases Using MySQL Cluster document


Linux package management system

up2date used in Red Hat Enterprise Linuxyum used in Fedora Core, CentOS, and Yellow Dog LinuxYaST used in SUSE Linuxurpmi used in Mandriva Linuxapt-rpm, a port of Debian's Advanced Packaging Tool (APT) whose use is recommended by some Fedora repositories. It is less actively developed but generally uses fewer CPU cycles than the above.Smart Package Manager, available for many distributionsAPT - package management system used by DebianPortage - package management system used by GentooAutopackage - a "complimentary" package management systemcredit:

nimbus - New java user interface


Rename MySQL Database

No sql command to do it!

Rename command will include in MySQL 5.1.7 or above!
It is easy feature, Why waiting till 5.1.7?

Don't worry. I have 2 solutions.

1. Rename database folder.

Haha it easy! Just shutdown MySQL then renames it. This way need shutdown, it not good for production server. So what’s next solution?2. Dump data
Dump whole database to new one. Use below command
$ mysqladmin create new_db
$ mysqldump --opt old_db | mysql new_db
*Make sure no one use database while moving.So basic but why MySQL miss it!!??

activemq Failed!

Just try activemq. First running found error!
Error message Transport Connector could not be registered in JMX: Illegal character in hostname at index 14: tcp://firstname_lastname:61616Check and found error from ‘Illegal character in hostname’. Because RFC 2396 (URI spec) define no use “_” (underscore).So the problem from my computer’s name is contain "_" (underscore).Just rename my computer’s name, run again, and work for now!

online password generator service

Just lazy to create a number of passwords by myself. I am looking to use this service from PCTools. You can use it from secure Password Generator.Result from the online tools.
Passwords Phonetic Pronunciation
KaKahex6 (KILO - alpha - KILO - alpha - hotel - echo - x-ray - Six)
5ar2dePu (Five - alpha - romeo - Two - delta - echo - PAPA - uniform)
JA2amEhU (JULIET - ALPHA - Two - alpha - mike - ECHO - hotel - UNIFORM)
mapRA2re (mike - alpha - papa - ROMEO - ALPHA - Two - romeo - echo
THe9e8uq (TANGO - HOTEL - echo - Nine - echo - Eight - uniform - quebec)
3aPEpaph (Three - alpha - PAPA - ECHO - papa - alpha - papa - hotel)
D2Ja9PEh (DELTA - Two - JULIET - alpha - Nine - PAPA - ECHO - hotel)
DustaMu5 (DELTA - uniform - sierra - tango - alpha - MIKE - uniform - Five)
tAWREt9e (tango - ALPHA - WHISKEY - ROMEO - ECHO - tango - Nine - echo)
zahe7ACU (zulu - alpha - hotel - echo - Seven - ALPHA - CHARLIE - UNIFORM)Thank you PCTools for useful service.
I think PCTools is best one for me. May not for you
I …

Zabbix - Opensource Network Monitor

I found a cool web-base system monitor name zabbix.
Zabbix is open-source software, develop from C and PHP (for web interface)

Aha!Really opensource? It not commercial software!
Good feature, nice interface, why not uses it?Links