Katalis Blog

Sunday, May 31, 2009

To be remembered: Air Interface Framing

Air interface framing is illustrated as in figure below. A super frame is made up of 4096 radio frames. Each radio frame is made up of 15 timeslots. A timeslot can be allocated to either UL (uplink) and DL (downlink) transmission.



Within each timeslot several Resource Units (RUs) (sometime termed "codes" or "bursts") can be supported. An RU is defined as a single code within a single timeslot. As defined in 3GPP TD-CDMA downlink supports two spreading factor, SF1 and SF16. IPWireless implements both SF1 and SF16 for the downlink. Thus, the maximum number of codes supported in the DL is 16xSF16 or 1xSF1 code per time slot. When using SF16, the minimum code granularity on the downlink is 4, meaning that each user gets assigned at least 4 codes. The upper bound on the number of multiples of 4 codes allocated per slot is determined by C/I conditions and traffic conditions. On the uplink, spreading factor 1, 2, 4, 8, and 16 are allowed.
In a public wide-area TDD system such as that of IPWireless the UL and DL transmissions are synchronized to eliminate the possibility of NodeB-to-NodeB and UE-to-UE interference.

Saturday, May 02, 2009

Opensolaris 2008.11 screenshots (compiz included)



Installing rp-pppoe on Opensolaris/Solaris 10 as a PPPoE client.

RP-PPPoE is a free PPPoE client developed by Roaring Penguin Soft Inc. RP itself stands for Roaring Penguin.
PPPoE is a protocol used by many ADSL Internet Service Provider (ISP) to connect to theirs internet services.

If you are familiar with Linux and using PPPoE to connect to your service provider, RP-PPPoE is the best tool for this purposes and easy to install because almost all Linux distros have its binary file.

Basically Opensolaris/Solaris 10 has its own PPP client software. You can check it out by running pkginfo command.


fuad@opensolaris:~$ pkginfo |grep ppp
system SUNWpppd Solaris PPP Device Drivers
system SUNWpppdr Solaris PPP configuration files
system SUNWpppdt Solaris PPP Tunneling
system SUNWpppdu Solaris PPP daemon and utilities
system SUNWpppg GNU utilities for PPP


You need to configure some files under /etc/ppp/ directory to meet your need. There are some tutorials on the net for this.
But I have experience when using this default PPP in Solaris/Opensolaris it is always failed to connect. Tailing at the ppp.log file, the modem is always hang up and the connection terminated. I dont know why this happened and does not work with IPWireless TD-CDMA desktop modem I usually use.

Since of that I choose rp-pppoe instead. It is more user friendly and easy to configure. If you are a slackware user, you can find this tool in your system or in slackware CD/DVD. If you are Ubuntu user, you can also find this in your system. The pppoeconf is the rp-pppoe modified by Ubuntu developer (if i am not mistaken he he he).

OK lets go to the installation.

We will install rp-pppoe software from source so you need to install SUNWgcc first. Install this software via Package Manager or simply run this command in your shell "sudo pkg install SUNWgcc".
Then you need to download the rp-pppoe source file here http://www.roaringpenguin.com/products/pppoe and then extract the file and begin installation.


fuad@opensolaris:~/sources$ tar -zxf rp-pppoe-3.10.tar.gz
fuad@opensolaris:~/sources$ cd rp-pppoe-3.10/src/
fuad@opensolaris:~/sources/rp-pppoe-3.10/src$ ./configure

------------------
------------------
config.status: creating libevent/Makefile
config.status: creating ../scripts/pppoe-connect
config.status: creating ../scripts/pppoe-start
config.status: creating ../scripts/pppoe-stop
config.status: creating ../scripts/pppoe-init
config.status: creating ../scripts/pppoe-init-suse
config.status: creating ../scripts/pppoe-init-turbolinux
config.status: creating ../scripts/pppoe-setup
config.status: creating ../gui/Makefile
config.status: WARNING: ../gui/Makefile.in seems to ignore the --datarootdir setting
config.status: creating ../gui/tkpppoe
config.status: creating config.h
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff
Type 'make' to compile the software.


fuad@opensolaris:~/sources/rp-pppoe-3.10/src$ make
--------------------
--------------------
Undefined first referenced
symbol in file
dlpromisconreq pppoe-sniff.o
ld: fatal: Symbol referencing errors. No output written to pppoe-sniff
collect2: ld returned 1 exit status
make: *** [pppoe-sniff] Error 1
-------------------------------

You see there is an error when running 'make', the Makefile does not compile successfully because no output written to pppoe-sniff.
OK we dont need pppoe-sniff at this time so we will edit the Makefile and force not to install pppoe-sniff. Simply edit the Makefile using your favourite editor. Search pppoe-sniff lines or options and remove them. You need to understand a litte C programming language here :). Then run 'make' again.

--------------------------------------------------
fuad@opensolaris:~/sources/rp-pppoe-3.10/src$ make

Type 'make install' as root to install the software.

OK compiled withour errors and ready to run 'make install' as root :)

fuad@opensolaris:~/sources/rp-pppoe-3.10/src$ sudo make install

Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/ginstall -c -m 755 pppoe /usr/sbin
/usr/bin/ginstall -c -m 755 pppoe-server /usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/ginstall -c -m 755 licensed-only/pppoe-server-control /usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/ginstall -c -m 755 pppoe-relay /usr/sbin; fi
/usr/bin/ginstall -c -m 755 ../scripts/pppoe-connect /usr/sbin
/usr/bin/ginstall -c -m 755 ../scripts/pppoe-start /usr/sbin
/usr/bin/ginstall -c -m 755 ../scripts/pppoe-status /usr/sbin
/usr/bin/ginstall -c -m 755 ../scripts/pppoe-stop /usr/sbin
/usr/bin/ginstall -c -m 755 ../scripts/pppoe-setup /usr/sbin
mkdir -p /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../doc/CHANGES /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../doc/KERNEL-MODE-PPPOE /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../doc/HOW-TO-CONNECT /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../doc/LICENSE /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../README /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../SERVPOET /usr/share/doc/rp-pppoe-3.10
/usr/bin/ginstall -c -m 644 ../configs/pap-secrets /usr/share/doc/rp-pppoe-3.10
mkdir -p /usr/share/man/man8
for i in pppoe pppoe-server ; do \
if test -f ../man/$i.8 ; then \
/usr/bin/ginstall -c -m 644 ../man/$i.8 /usr/share/man/man8 || exit 1; \
fi; \
done
/usr/bin/ginstall -c -m 644 ../man/pppoe-start.8 /usr/share/man/man8
/usr/bin/ginstall -c -m 644 ../man/pppoe-stop.8 /usr/share/man/man8
/usr/bin/ginstall -c -m 644 ../man/pppoe-status.8 /usr/share/man/man8
/usr/bin/ginstall -c -m 644 ../man/pppoe-connect.8 /usr/share/man/man8
/usr/bin/ginstall -c -m 644 ../man/pppoe-setup.8 /usr/share/man/man8
mkdir -p /usr/share/man/man5
/usr/bin/ginstall -c -m 644 ../man/pppoe.conf.5 /usr/share/man/man5
mkdir -p /etc/ppp
mkdir -p /etc/ppp/plugins
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /etc/ppp/plugins/README

Type 'pppoe-setup' to configure the software.
fuad@opensolaris:~/sources/rp-pppoe-3.10/src$
----------------

Ahhh finish and the software has been installed successfully in /usr/sbin


fuad@opensolaris:~/sources/rp-pppoe-3.10/src$ ls -al /usr/sbin/pppoe*
-rwxr-xr-x 1 root root 79120 2009-04-29 20:02 /usr/sbin/pppoe
-rwxr-xr-x 1 root root 8822 2009-04-29 20:02 /usr/sbin/pppoe-connect
-rwxr-xr-x 1 root root 104892 2009-04-29 20:02 /usr/sbin/pppoe-server
-rwxr-xr-x 1 root root 9564 2009-04-29 20:02 /usr/sbin/pppoe-setup
-rwxr-xr-x 1 root root 5565 2009-04-29 20:02 /usr/sbin/pppoe-start
-rwxr-xr-x 1 root root 2116 2009-04-29 20:02 /usr/sbin/pppoe-status
-rwxr-xr-x 1 root root 2273 2009-04-29 20:02 /usr/sbin/pppoe-stop

Now it is the time for you to configure 'pppoe-setup' to suit your need. After that run 'pppoe-start / pppoe-stop' to start or stop dialing to your service provider.

Hope this tutorial will help you in installing rp-pppoe in Opensolaris/Solaris 10 and your comments are most welcome.

Monday, March 30, 2009

Windows 7 in action

Here are some screenshots of Windows 7 build 7057 (RC1) installed on my own Compaq Presario Laptop. Luckily all hardwares are detected out of the box so I did not need to install any hardware drivers one by one like in Windows XP or even Vista.

The appearances are like Vista actually but there are some improvements in the performance, much faster in loading applications, IE 8 Final Release browser by default, interesting new logon/shutdown background and many others. It also natively supports for Quicktime .mov, DivX and XVid movie files.

Lets take a look at the screenshots below. Thanks to the Windows 7 development team for making it damn cool :)








Tuesday, September 09, 2008

My Junior just born



Alhamdulillah, praise be upon Him, my lovely baby just born on August 29, 2008.
I gave him a name 'Naveed Afzal Fazlani', Naveed means good news taken from Persian language, Afzal means better or superior taken from Arabic language and Fazlani means kindness. Hope he will be a good, smart boy as his name.





Saturday, August 02, 2008

Mac OS X Leopard 10.5.2 has been successfully installed on my Desktop PC


A hacker team called "Kalyway" released new Hackintosh Leopard 10.5.2 on March 2008. According to many "Mac Lover", this is the best hackintosh DVD on the planet because of the straight forward and successful installation.

I already tested it on my intel desktop PC and it works fine. Intel sound card and ATI Radeon 9200 work properly. Only editing photos in iPhoto application does not appear the edited photo. Also the Apple Realtek 8139 Ethernet driver has many Tx errors and make my internet connection damn slow and drop very often. To fix this, I need to replace the Apple Realtek ethernet driver with PCGen Realtek driver, the discussion about fixing this realtek driver is on insanelymac.com forum (http://forum.insanelymac.com/index.php?showtopic=69783).

You can also try by yourself to install it on your desktop pc and enjoying this damn pretty operating system.

Many thanks for Kalyway hacker team :)

Thursday, October 04, 2007

How to set/change timezone in Sun Solaris 8

In our core system, there are 3 Sun Fire V120. Two of them are running Solaris 9 and the remaining system running Solaris 8.
The timezone of Solaris 9 are already set to Asia/Jakarta because these were installed by me whereas the Solaris 8 was installed by previous engineer and the timezone was set to GMT.
I want to synchronize this machine to an NTP server but because the timezone was set to GMT, the time we get was not in Jakarta timezone (GMT+7), so this tutorial is writen to help you how to set the timezone to GMT+7.

Below are the steps I did:

1. Jakarta timezone is set to Asia/Jakarta in the system, so check the zoneinfo for Jakarta must be exist in directory /usr/share/lib/zoneinfo/Asia. If there is not exist you should compile the zone manually. Like what I did, on my system only exist Taipei zone under /usr/share/lib/zoneinfo/Asia directory. To do this, use 'zic' (Zone Information Compiler) command.
Please go to /usr/share/lib/zoneinfo and do the following command:

bash# zic src/asia

This command compiles the zone info present in the file called "asia" and creates a directory called "/usr/share/lib/zoneinfo/Asia" if not exist and add zone info files if the directory is already exist. You can check that now there should be Jakarta zone under /usr/share/lib/zoneinfo/Asia directory.

2. As root, fire up the following command:

bash# export TZ=Asia/Jakarta

This command will set the timezone to Asia/Jakarta. You now can synchronize the system to ntp server nearest to you.
Because I am located at Indonesia, I am using id.pool.ntp.org server to synchronize the system. Do the following command:

bash# ntpdate -b id.pool.ntp.org
4 Oct 12:18:05 ntpdate[540]: step time server 202.152.241.82 offset 1.168523 sec

Check the date now:

bash# date
Thu Oct 4 12:20:18 JAVT 2007

JAVT means Java Time (GMT+7) that Jakarta is located.

3. To activate the timezone at boot time, edit file /etc/TIMEZONE, change the TZ value to Asia/Jakarta.

4. To schedule synchronizing at specific time, we can set the ntpdate command at cronjob. To do this, edit your crontab file and add the following lines:

#Run ntpdate at 4:40 everyday
40 4 * * * /usr/sbin/ntpdate -b id.pool.ntp.org 1> /dev/null 2>&1

Hope this tutorial will help you to make your Solaris 8 synchronized to NTP server.

How to edit crontab in Sun Solaris

First time I edited crontab file in Solaris was when I wanted to schedule my system to always synchronized to NTP server. It is set in the crontab file.
On Linux and BSD, just run command "crontab -e" to edit the crontab.

It is different on Solaris system, you need to specify the editor program to use. In Linux and BSD are set by default to use vi editor.

To set editing crontab file to use vi editor, run the following command:

bash# export EDITOR=vi

You can now edit your crontab as Linux and BSD system

bash# crontab -e

#ident "@(#)root 1.19 98/07/06 SMI" /* SVr4.0 1.1.3.1 */
#
# The root crontab should be used to perform accounting data collection.
#
# The rtc command is run to adjust the real time clock if and when
# daylight savings time changes.
#
10 3 * * 0,4 /etc/cron.d/logchecker
10 3 * * 0 /usr/lib/newsyslog
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
0 4 * * 0 echo '/etc/init.d/arserver stop ; sleep 5 ; /etc/init.d/arserver start' | /bin/ksh > /tmp/arserver_restart.log
2>&1
0,10,20,30,40,50 * * * * chmod g+w /cisco-ar/logs/aregcmd_log
0 4 * * * find /cisco-ar/logs -type f -name 'accounting-*' -mtime +30 -print -exec /usr/bin/rm -f {} \; > /tmp/arserver_
deleted_logs.log
0 5 * * * /space/home/ums/scripts/purgeHistoricDB > /tmp/purgeHistoricDB 2>&1 #UMS

#Run ntpdate at 4:40 everyday
40 4 * * * /usr/sbin/ntpdate -b id.pool.ntp.org 1> /dev/null 2>&1


Viola you can edit your crontab now.

Thursday, September 27, 2007

Maksud hati mengurangi jumlah huruf/abjad dalam Bhs Indonesia

(diambil dari milis sebelah)

Mengurangi jumlah huruf/abjad pada bahasa Indonesia.
(disadur dari sebuah tulisan yang sudah lama hilang - versi Inggris)

Huruf/Abjad yang digunakan di dalam bahasa Indonesia berjumlah 26.

Ke-26 abjad tersebut rasanya masih terlalu banyak, dan lagipula ada beberapa abjad yang jarang sekali digunakan.

Oleh karena itu mari kita sederhanakan abjad-abjad tersebut dan menyesuaikan dengan kata-kata yang kita gunakan.

Pertama-tama, huruf X, kita ganti dengan gabungan huruf K dan S.
Kebetulan hampir tidak ada kata dalam bahasa Indonesia asli yang menggunakan huruf ini, kebanyakan merupakan kata serapan dari bahasa asing. Misalnya taxi menjadi taksi, maximal menjadi maksimal, dst.

Selanjutnya, huruf Q kita ganti dengan KW. Serupa dengan X, kata2 yang mengunakan huruf ini juga sangat sedikit sekali.

Berikutnya, huruf Z. Huruf Z kita ganti menjadi C. Tidak ada alasan kuat tentang hal ini.

Huruf Y diganti dengan I.
Hal ini dilakukan sebab bunii huruf tersebut mirip dengan I.

Kemudian huruf F dan V keduania diganti menjadi P.

Pada lepel ini masih belum terjadi perubahan iang signipikan.

Hurup W kemudian diganti menjadi hurup U.

Berarti sampai saat ini kita sudah mengeliminasi 7 hurup.

Hurup iang bisa kita eliminasi lagi adalah R, mengingat baniak orang iang kesulitan meniebutkan hurup tersebut. R kita ganti dengan L.

Selanjutnia, gabungan hulup KH diganti menjadi H.

Iang paling belpengaluh adalah hulup S iang diganti menjadi C.

Hulup G juga diganti menjadi K.

Dan hulup J juga diganti menjadi C.

Caia laca cudah cukup untuk hulup-hulup konconannia.

Cekalank kita kanti hulup pokalnia.

Cuma ada lima hulup pokal, A, I , U, E, O.

Kita akan eliminaci dua hulup pokal.

Hulup I mencadi dua hulup E iaitu EE.

Cementala hulup U mencadee dua hulup O iaitoo OO.

Cadi, campe cekalank, keeta belhaceel menkulangee hooloop-hooloop keeta.

Kalaoo keeta tooleeckan lagee, hooloop-hooloop eeang telceeca adalah:

A, B, C, D, E, H, K, L, M, N, O, P, T.

Haneea ada 13 belac hooloop!! Looal beeaca bookan??

Padahal cebeloomneea keeta pooneea 26 hooloop.

Eenee adalah penemooan eeang cankat penteenk dan cikneepeekan! !
Co, ceelahkan keeleemkan tooleecan anda denkan menkkoonakan teeka belac hooloop telceboot.