Media Gateway Control Protocol – MGCP

July 29th, 2010 by admin

In following blog posts I will write about different Cisco based VoIP solutions and I will try to cover some foundation topics like voice signaling protocols and so on. My aim is to present different solutions and possibilities and I hope that you will find it interesting and helpful.

About MGCP and reasons to use it

Media Gateway Control Protocol is client server voice signaling protocol. Call control is handled by call agent (Cisco Unified Communications Manager) and media translation is performed by voice gateway. It is important to mention that it is only client – server model based voice signaling protocol on the market. Also, it is well know for its simple configuration (it is just matter of configuring call agent and remembering several gateway commands), centralized management and one of the main benefits is it’s use for MGCP back-haul QSIG configurations (in short: Layer 2 signalization is handled by voice gateway which is under control of call agent, and layer 3 signalization is forwarded to call agent – Cisco Unified Communications Manager – CallManager). Please note that MGCP is often called Megaco by telco people.

MGCP Messages

  1. Create connection – CRCX
  2. Notification request – RQNT
  3. Notify – NTFY
  4. Modify connection – MDCX
  5. Delete connection – DLCX
  6. Audit endpoint – AUEP
  7. Endpoint configuration – EPCF
  8. Restart in progress – RSIP

MGCP Call flow

MGCP configuration basics

This part of text will cover MGCP configuration – just foundations. Please note that it won’t include all specific configurations, it will just cover base configuration, but in several new posts I will try to cover different configuration scenarios and solutions.

So, let assume that MGCP call agent, in our case Cisco Unified Communications Manager – CallManager is working on IP address 192.168.1.95. Also, assume that redundant CallManager is working on IP address 192.168.1.100.  This text does not show CallManager side of configuration of a gateway and I assume that that part is already successfully configured (I will eventually edit this blog post to include that configuration, afterwards)

Configurations is as follows:

1. From global configuration mode start MGCP proces:

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#mgcp
Router(config)#

2. Next thing we need to do is to configure call agent, redundant call agent and we need to inform voice gateway that call agent is under control of MGCP. We can do that as follows:

Router(config)#mgcp call-agent 192.168.1.95
Router(config)#ccm-manager redundant-host 192.168.1.100
Router(config)#ccm-manager mgcp

3. Once done with that, we can configure out Cisco Unified Communications Manager gateway options. So to do that, navigate to your CallManager and in Cisco Unified CM Administration configuration menu select Device > Gateway > Add new. Select your voice gateway model from the drop down list and click Next. For Protocol select MGCP and click Next. Once there, configure Domain name (please note that this field needs to be in following format: gatewayhostname.domainname, for example CCIEVoiceLab.localnetwork.lab) and other required options (add cards and preform complete gateway configuration). Once you are done with voice gateway configuration you are required to configure dial plan which will include this gateway into configuration. That goes beyond the scope of this blog post and I will write about it in some of following blog posts.

4. Once done with CallManager configuration we need to instruct voice gateway about the TFTP address where CallManager stores configuration, and that is typically IP address of the CallManager it self:

Router(config)#ccm-manager config server 192.168.1.95
Router(config)#

5. Once we are done with that we can instruct our gateway to download and apply configuration by issuing following command:

Router(config)#ccm-manager config
Router(config)#

Wait several seconds and you can verify your downloaded and applied configuration with following command:

Router#show running-config
Router(config)#

At that point your voice gateway will be controlled by call agent, in this case CallManager. To verify your configuration please give a check to Troubleshooting commands.

MGCP Troubleshooting

Once you are done with MGCP gateway configuration, you can verify your configuration by issuing following commands:

Router#show mgcp
MGCP Admin State ACTIVE, Oper State ACTIVE – Cause Code NONE
MGCP call-agent: 192.168.1.95 Initial protocol service is MGCP 0.1
MGCP validate call-agent source-ipaddr DISABLED
MGCP validate domain name DISABLED
MGCP block-newcalls DISABLED
MGCP send SGCP RSIP: forced/restart/graceful/disconnected DISABLED

This command will show all MGCP settings, timers and so on.

Router#show ccm-manager
MGCP Domain Name: Router
Priority        Status                   Host
======================================
Primary         Registering with CM      192.168.1.95
First Backup    Down                     192.168.1.100
Second Backup   None

Current active Call Manager:    None
Backhaul/Redundant link port:   2428

This command will show registration status and other statistics.

Beside above commands, we can use:

Router#show mgcp endpoint
Router#show voice port summary

That would be all for this post. I hope that this blog post is helpful and if you do have some questions in regards to MGCP please let me know and we can try to find solution. In next several posts I will write about MGCP fallback, backhaul and DTMF configurations.

  1. Media Gateway Control Protocol
  2. MGCP messages

Posted in IT, cisco, education, networks, voip | No Comments »

Cisco Certified Voice Professional – CCVP!

July 14th, 2010 by admin

Two years ago I have decided to start working on Cisco Voice Professional certification track. It was logical step to make for me since I was working for several years in voice industry with different solutions, so when I started with Cisco solutions there was no doubt what to choose and why. In prior to further discussion about certification I would like to point that I am full time employed with lot of different responsibilities which can and does impact preparations for certification.  So, for some people that might take this certification track this might be resolved faster, but all depends on attitude, basic knowledge and many other factors. I took a newer track based and created around Cisco Unified Communications Manager 6.0. When I started preparing myself for CCVP, there was active certification based on Cisco Unified Communications Manager 4.1, and main difference beside versions of Cisco Unified Communications Manager  is that old certification path included Gateway and Gatekeeper exam. I took all of the exams as Cisco is recommending on their web site for CCVP certification. So, that is as follows:

Cisco Certified Network Associate Voice – CCNA V

Although this is optional exam I think that this is very important step to make if you are coming from some other field and this is your first touch with voice. Please note that you will get this certificate if you successfully pass CVOICE exam, but I really think that there might be huge gap for people without experience between CCNA and CVOICE without this exam. After taking this exam you should be  able to describe function of the voice gateways, digital signal processors operation, function and type of dial peers, calling privileges, productivity features and so on. Please note that this exam is created around Cisco Unified Communications Manager Express – CME which is version of CallManager designed to work on voice gateways without dedicated call processing server.  As I said, i recommend taking this exam. When it comes to materials that you can use for this exam, there is really good CCNA Voice Official Exam Certification Guide (640-460 IIUC) written by Jeremy Cioara.

Cisco Voice over IP – CVOICE

Cvoice was second exam on my voice certification path. It contains all of the stuff from CCNA Voice but it covers topics in much more details. Also, you will learn in details components of a gateway, describe a dial plan, describe the basic operation and components involved in a VoIP call, implement a gateway, describe the function and interoperation of gatekeepers within an IP Communications network, implement a gatekeeper and implement an IP-to-IP gateway. I would say that Cvoice is most useful exam on certification path because it provides strong basis and foundation. For preparation materials I would recommend Cisco Voice over IP (CVOICE) (Authorized Self-Study Guide) by Kevin Wallace. You can use CBT nuggets and ElementK video materials but please notice that taking one of the material sources is not sufficient for passing the exam.

Implementing Cisco Unified Communications Manager Part 1 – CIPT1

After Cvoice it is time to move to new area of Cisco and that is Cisco Unified Communications Manager – UCCM well known as CallManager. You will learn about foundations like perform an installation and initial set up of a Cisco Unified Communications Manager cluster, describe and configure Cisco Unified Communications Manager to support on-cluster calling, describe and configure a route plan for Cisco Unified Communications Manager to support off-net calling, describe and configure Cisco Unified Communications Manager media resources, configure the Cisco Unified Communications Manager to support features and applications.  For preparation materials you could use Implementing Cisco Unified Communications Manager, Part 1 (CIPT1) (Authorized Self-Study Guide) by Dennis Hartman.

Quality of Service – QoS

This was matherial that I enjoyed the most. It is covering topics like IP QoS Fundamentals, IP QoS Components, modular QoS CLI and Auto-QoS, Classification and Marking, Congestion Management Methods, Congestion Avoidance Methods, Traffic Policing and Shaping, Link Efficiency Mechanisms, QoS Best Practices. In my personal opinion, converged networks without Quality of service are past and should be past because best effort network can cause more problems then benefits and I am really sure that you will end up with some problem with voice (packet loss, jitter, round trip delay) without properly implemented Quality of Service. For preparing this exam you could use ElementK video materials.

Implementing Unified Communications Manager Part 2 – CIPT2

Once you understand Cisco Unified Communications Manager foundations and Quality of Service base, you are ready for some advanced features like Manage Tcl and VXML call applications on a gateway, Describe and implement centralized call processing redundancy, Describe and configure a multi-site dial plan for Cisco Unified Communications Manager, Implement bandwidth management and Call Admission Control, Secure an IP Telephony network, Implement mobility in an IP Telephony network, you will be faced will real voice network challenges and that is all that this exam is up to. When it comes to preparation materials I would recommend Implementing Cisco Unified Communications Manager, Part 2 (CIPT2) (Authorized Self-Study Guide) by Dennis Hartman.

Troubleshooting Unified Communications – TUC

Last exam was Troubleshooting Unified Communications. It is designed to test your knowledge on all of the areas mentioned above and that is really comprehensive exam. You will be faced with real time scenarios and issues that can happen in voice network and you will need to resolve them. One important thing to know in prior to taking this exam is that you need to know your log files and that you are going to be tested in details in almost every area which is covered in all of the above listed exams. In my personal opinion, this was the hardest exam in Voice Professional track. After this exam you should be able to apply the Cisco recommended methodology used to determine general Unified communications system problems and issues, troubleshoot call setup issues, troubleshoot registration issues, troubleshoot database issues, troubleshoot application issues and media resources, troubleshoot voice quality issues and security issues.

When it comes to equipment that you can use to accomplish certification you can use VMware to virtualize Cisco Unified Communications Manager and that is not some kind of hack, Cisco actually support that kind of installation legally. You can also use Cisco IP Communicator as a phone which you can register to CallManager. I had access to Cisco Voice gateways during my preparations but i suppose you could successfully use GNS to emulate this part. The best option would obviously be to buy Voice Lab from eBay or some other service for some reasonable price. This would be best option because it is most convenient and you would be able to test thing afterwords and so on.

After all I am really happy that I was able to work on this certification path and successfully get my Cisco Voice Professional certification. If there is some information or help needed in regards to CCVP certification, feel free to contact me and I will be willing to help.

  1. Cisco
  2. Cisco IT certification
  3. Cisco Certified Voice Professional Certification

Posted in cisco, education, networks, voip | 3 Comments »

Firmware tweaking: Linux on Samsung LCD TV LE40A756 and A856 with firmware T-RBYDEU

April 5th, 2010 by admin

Few days ago I had interesting request to tweak Linux on Samsung LCD TV. At first, I was kind of surprised that Linux is supported on TV, but it is normal. Linux is very strong competitor on the appliance based market and it was just about time to face those kind of installations. The main goal was to enable telnet on firmware in order to be able to connect to TV, and after that to load Common Internet File System to be able to use network mounts. Since I didn’t know anything about Samsung TV series and belonging firmware versions I needed to read something about that. Basically, there are differences in versions based on producing years and processors that are supported. This text is about to cover Samsung LCD TV LE40A756 and A856 with firmware T-RBYDEU. I need to mention that it is kind of easier to work with other models of Samsung LCD TVs since they seam to open more possibilities (this is just my opinion) for firmware hacking but this version was very interesting to play with as well. Since this firmware (as much as all other appliance based firmware versions) is using squash file system, to be able to add something on filesystem we would need to unsquash file system (unsquash is viable thru squashfs-tools) and then perform necessary changes. Since I am using Ubuntu which is providing newer version of squashfs-tools package than it is required (Ubuntu is providing squashfs-tools version 3.1 and it is required to have version 2.0) I didn’t follow that procedure. However, for those that would like to give it a try you can follow this procedure. We will follow other procedure.

    Downloads

Navigate to Samsung web site > Support > Downloads > TV Audio Video > Choose a product type>: Television > Choose a product subtype: LCD TV > Select your TV model and then click on Select. You will be provided with the link to download your firmware version. In our case firmware is called T-RBYDEU.exe.

    Firmware work

Using some of the decompression tools like 7zip, WinRAR or some other program that you use on the daily basis, we need to extract .exe file that we have downloaded. I will describe procedure under Linux operating system using 7zip:

7z x T-RBYDEU.exe

Once done, you will be able to see extracted files in directory T-RBYDEU. Please note that you will be able to see those files:

gomez@gomez-laptop:/media/Data_/T-RBYDEU$ ls -la
total 40
drwx—— 1 gomez gomez     0 2009-05-11 23:38 .
drwx—— 1 gomez gomez  4096 2010-04-01 16:22 ..
-rwxrwxrwx 1 gomez gomez 18929 2009-04-17 16:16 crc
drwx—— 1 gomez gomez  4096 2009-05-11 23:38 image
-rwxrwxrwx 2 gomez gomez  8676 2009-04-17 16:16 MicomCtrl
gomez@gomez-laptop:/media/Data_/T-RBYDEU$ cd image/
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ ls -la
total 58166
drwx—— 1 gomez gomez     4096 2009-05-11 23:38 .
drwx—— 1 gomez gomez        0 2009-05-11 23:38 ..
-rwxrwxrwx 1 gomez gomez  8155136 2009-04-17 16:16 appdata.img
-rwxrwxrwx 1 gomez gomez   602112 2009-04-17 16:16 boot.img
-rwxrwxrwx 1 gomez gomez 37646336 2009-04-17 16:16 exe.img
-rwxrwxrwx 1 gomez gomez   177920 2009-04-17 16:16 fnw.bin
-rwxrwxrwx 1 gomez gomez       17 2009-04-17 16:16 info.txt
-rwxrwxrwx 1 gomez gomez    99680 2009-04-17 16:16 oneboot.bin
-rwxrwxrwx 1 gomez gomez  3424256 2009-04-17 16:16 rootfs.img
-rwxrwxrwx 2 gomez gomez  3172612 2009-04-17 16:16 T-RBYDAUM
-rwxrwxrwx 2 gomez gomez  3172612 2009-04-17 16:16 T-RBYDEUM
-rwxrwxrwx 1 gomez gomez   228296 2009-04-17 16:16 u-boot.bin
-rwxrwxrwx 2 gomez gomez       47 2009-04-17 16:16 validinfo.txt
-rwxrwxrwx 2 gomez gomez       43 2009-04-17 16:16 version_info.txt
-rwxrwxrwx 1 gomez gomez  2864533 2009-04-17 16:16 vmlinux.ub
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$

As per above output, please note that we have directory called image, and from the interesting files we have exe.img and validinfo.txt which will be used in following text.

    Firmware tweaks

Next thing that we need to do is to prepare exe.img for additional changes in order to be able to telnet to TV and use some networking services like CIFS. Now, navigate to image directory and create directory temp:

gomez@gomez-laptop:/media/Data_/T-RBYDEU$ cd image/
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ mkdir temp
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$

Once done, we will mount exe.img with the type of vfat to newly created temp directory:

gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ sudo mount -t vfat -o loop exe.img temp/

With above command, we have mounted exe.img to temp directory. Please note that we have following files inside temp directory:

gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ cd temp/
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image/temp$ ls -la
total 28980
drwxr-xr-x 3 root root 16384 1970-01-01 01:00 .
drwx—— 1 gomez gomez 4096 2010-04-04 19:06 ..
-rwxr-xr-x 1 root root 29487160 2009-04-17 16:16 exeDSP
drwxr-xr-x 3 root root 8192 2009-04-17 16:16 modules
-r-xr-xr-x 1 root root 131072 2009-04-17 16:16 $rfs_log.lo$
-r-xr-xr-x 1 root root 8192 2009-04-17 16:16 rfs_pool.sy$
-rwxr-xr-x 1 root root 4374 2009-04-17 16:16 run
-rwxr-xr-x 1 root root 4525 2009-04-17 16:16 start.sh
gomez@gomez-laptop:/media/Data_/T-RBYDEU/image/temp$

Please note that we have start.sh file which we will use in following text.

    Scripts

Using your favourite text editor, replace current start.sh file with following:

#!/bin/sh

if [ -e /mtd_chmap/start.sh ]
then
echo “user start.sh found!”
/mtd_chmap/start.sh
else

export PATH=/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin:/usr/local/sbin
#export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_cmmlib:/usr/local/lib:/usr/lib:/lib
export HOME=/tmp/root
export TERM=linux
export LOGNAME=”root”
cd /dtv/usb
PU=`cat log | grep Mount`
PU=`echo ${PU##MountDir : }`
echo $PU
$PU/usb.sh &

mount

## mount -n -t usbfs none /proc/bus/usb

ulimit -s 2048

export PS1=’\h:\w\$ ‘

## STAPI Root Device Name?## ———————-
ST_DEV_ROOT_NAME=stapi
export ST_DEV_ROOT_NAME

## STAVMEM Device Name
## ——————-
STAVMEM_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stavmem_ioctl
export STAVMEM_IOCTL_DEV_PATH

## STAUDLX Device Name
## ——————-
STAUDLX_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/staudlx_ioctl
export STAUDLX_IOCTL_DEV_PATH

## STBLAST Device Name
## ——————-
STBLAST_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stblast_ioctl
export STBLAST_IOCTL_DEV_PATH

## STBLIT Device Name
## ——————
STBLIT_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stblit_ioctl
export STBLIT_IOCTL_DEV_PATH

## STCC Device Name
## —————-
STCC_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stcc_ioctl
export STCC_IOCTL_DEV_PATH

## STCLKRV Device Name
## ——————-
STCLKRV_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stclkrv_ioctl
export STCLKRV_IOCTL_DEV_PATH

## STDENC Device Name
## ——————
STDENC_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stdenc_ioctl
export STDENC_IOCTL_DEV_PATH

## STEVT Device Name
## —————–
STEVT_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stevt_ioctl
export STEVT_IOCTL_DEV_PATH

## STFASTFILTER Device Name
## ————————
STFASTFILTER_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stfastfilter_ioctl
export STFASTFILTER_IOCTL_DEV_PATH

## STFDMA Device Name
## ——————
STFDMA_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stfdma_ioctl
export STFDMA_IOCTL_DEV_PATH

## STGFB Device Name
## —————–
STGFB_CORE_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stgfb_core
export STGFB_CORE_DEV_PATH
STGFB_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stgfb_ioctl
export STGFB_IOCTL_DEV_PATH

## STHDMI Device Name
## ——————
STHDMI_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/sthdmi_ioctl
export STHDMI_IOCTL_DEV_PATH

## STI2C Device Name
## —————–
STI2C_IOCTL_DEV_PATH=”/dev/${ST_DEV_ROOT_NAME}/sti2c_ioctl”
export STI2C_IOCTL_DEV_PATH

## STLAYER Device Name
## ——————-
STLAYER_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stlayer_ioctl
export STLAYER_IOCTL_DEV_PATH

## STMERGE Device Name
## ——————-
STMERGE_IOCTL_DEV_PATH=”/dev/${ST_DEV_ROOT_NAME}/stmerge_ioctl”
export STMERGE_IOCTL_DEV_PATH

## STPIO Device Name
## —————–
STPIO_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stpio_ioctl
export STPIO_IOCTL_DEV_PATH

## STPTI4 Device Name
## ——————
STPTI4_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stpti4_ioctl
export STPTI4_IOCTL_DEV_PATH

## STSMART Device Name
## ——————-
STSMART_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stsmart_ioctl
export STSMART_IOCTL_DEV_PATH

## STSYS Device Name
## —————–
STSYS_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stsys_ioctl
export STSYS_IOCTL_DEV_PATH

## STTTX Device Name
## —————–
STTTX_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stttx_ioctl
export STTTX_IOCTL_DEV_PATH

## STTUNER Device Name
## ——————-
STTUNER_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/sttuner_ioctl
export STTUNER_DEV_PATH

## STVBI Device Name
## —————–
STVBI_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvbi_ioctl
export STVBI_IOCTL_DEV_PATH

## STVID Device Name
## —————–
STVID_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvid_ioctl
export STVID_IOCTL_DEV_PATH

## STVIN Device Name
## —————–
STVIN_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvin_ioctl
export STVIN_IOCTL_DEV_PATH

## STVMIX Device Name
## ——————
STVMIX_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvmix_ioctl
export STVMIX_IOCTL_DEV_PATH

## STVOUT Device Name
## ——————
STVOUT_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvout_ioctl
export STVOUT_IOCTL_DEV_PATH

## STVTG Device Name
## —————–
STVTG_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/stvtg_ioctl
export STVTG_IOCTL_DEV_PATH

STTKDMA_IOCTL_DEV_PATH=/dev/${ST_DEV_ROOT_NAME}/sttkdma_ioctl
export STTKDMA_IOCTL_DEV_PATH

RUN=1
/exe/exeDSP

Please note bold lines. Basically, it is the same file except that we are instructing our Linux firmware to load usb.sh script which needs to be located on USB root directory. usb.sh script will instruct Linux firmware to start busybox instance of telnet deamon so that we are able to telnet to our TV, and additionally it will load cifs.ko kernel module which will enable Common Internet File System so that we are able to mount some network devices on our Linux firmware. usb.sh script looks like:

#! /bin/sh

echo “!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!”

/bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600
#line before enables console for speed 57600. Put ‘debug’ to console and you see menu, put ’12′ and ENTER
echo “!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!”

#sleep 25 sec is need for wait ethernet start
sleep 25

cd /dtv/usb
PU=`cat log | grep Mount`
PU=`echo ${PU##MountDir : }`

echo “!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!”
$PU/busybox telnetd -l /bin/sh

echo “!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!”
cd $PU
insmod cifs.ko

sleep 4

echo “!!!!!!!!!!!!!! clear old contents USB on TV !!!!!!!!!!!!!!”
rm /mtd_contents/V* -R
rm /mtd_contents/database -R

echo “!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!”
mount -t cifs //192.168.0.1/photo $PU/photo -o user=user_xp -o pass=password_xp
mount -t cifs //192.168.0.1/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp
mount -t cifs //192.168.0.1/video $PU/video -o user=user_xp -o pass=password_xp

mount

echo “!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!”

Please note bold lines. Basically, we are starting telnet daemon and loading cifs.ko kernel module. After that, we are mounting some Windows XP shares from our personal computer which is working on 192.168.0.1 IP address. Once this file is loaded, and those mount locations are created you will be able to use files within above directories on your TV from the TV menus.

Please note that usb.sh, cifs.ko, busybox files and mp3, video, and photo directories needs to be located on USB root location.

Once done with that, we are ready to preform final changes to our firmware. First thing that we need to do is to umount temp directory:

gomez@gomez-laptop:/media/Data_/T-RBYDEU$ sudo umount /home/gomez/Desktop/T-RBYDEU/temp

Then, we need to delete temp directory:

gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ sudo rm -rf temp/

Once done with that, we need to change CRC information, because we have changed exe.img file. We can do that as follows:

gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ crc32 exe.img
cdc8080c

Once we have CRC information, we need to enter new value to validinfo.txt file:

gomez@gomez-laptop:/media/Data_/T-RBYDEU/image$ cat validinfo.txt
*007_exe.img_663430d9*011_appdata.img_a485b538

Please note value 663430d9. We need to change that value with cdc8080c that we have got as output from crc32 command. You can do that by using your favourite text editor. Once done with that, we are done with tweaking our Linux firmware. Your USB pen content should look like this:

gomez@gomez-laptop:~/Desktop/USB$ ls -la
total 3644
drwxr-xr-x 6 gomez gomez    4096 2010-04-05 08:59 .
drwx—— 8 gomez gomez    4096 2010-04-05 09:03 ..
-rwxrwxrwx 1 gomez gomez  992084 2009-11-18 23:13 busybox
-rwxrwxrwx 1 gomez gomez 2707316 2009-11-17 20:08 cifs.ko
drwx—— 2 gomez gomez    4096 2009-12-28 09:12 mp3
drwx—— 2 gomez gomez    4096 2009-12-28 09:12 photo
drwx—— 3 gomez gomez    4096 2010-04-05 08:59 T-RBYDEU
-rwxrwxrwx 1 gomez gomez    1026 2009-12-28 09:14 usb.sh
drwx—— 2 gomez gomez    4096 2009-12-28 09:12 video

If that is the case, you can put this USB to your TV, turn it on and you will be prompted to upgrade firmware with firmware version listed on your USB pen. Once you perform this upgrade, you will be able to telnet to your TV. Check your TV IP address from TV menus, and then using Linux shell, or if you are Windows user using Putty, telnet to your TV and enjoy power of your Linux shell. Also, using TV menus and Common Internet File System – CIFS, you can play some music, video or photos on your TV (as described above).

If you are lazy to give a check to this procedure, you can download fully operational USB image on this link. You are doing that on your own risk and author of this blog post is not responsible for any damage that you might cause by some operation.

Enjoy power of Linux shell on your Samsung TV!

For more information please visit following links:

  1. SamyGo wiki pages
  2. How to enable Telnet on Samsung TV’s
  3. Hacking T-RBYDEUC Firmware – LE40A756 and A856

Posted in IT, applications, debian, education, free software, geeks, gentoo, linux, open source, security | 1 Comment »

Debconf11 will take place in Banja Luka, Bosnia and Hercegovina

March 1st, 2010 by admin

One of the biggest IT conferences, and most probably biggest GNU/Linux conference, Debconf (Debian Developers Conference) will take place in Banja Luka, Bosnia and Hercegovina in 2011! Among very professional bids from Munchen (Germany) and Quito (Equator), our Banja Luka bid won. Everything was carefully prepared and well organised by local team with Adnan Hodzic as lead person. We need to mention that we have full support which include funding, venues and else from Government of Republika Srpska which signed support letter (you can find it on Banja Luka bid wiki page). As the person which participated at Debconf7 in Edinburgh I am really happy that I will have opportunity to see known people, but also that Bosnia and Hercegovina will host this since this is our second bid (Sarajevo bid for dc7). It is our pleasure to have opportunity to host Debconf11 and we hope to see you here next year!

  1. Banja Luka bid wiki page
  2. My dc7 summary blog page

Posted in IT, debian, education, free software, geeks, linux, open source | No Comments »

Nokia Call Connect For Cisco: Deploying solution with Cisco Unified Communications Manager

February 9th, 2010 by admin

More than year ago when I started using Nokia Eseries one of the reasons to switch to new mobile platform was SIP stack and client support with Eseries (I used to have Nokia E71, now I am proud owner of Nokia E72). By that, I was able to connect to Asterisk or Cisco Unified Communications Manager (by using SIP digest authentication) and that was working like a charm (I am still using SIP integration heavily).

Then, I started to think about different approaches with Nokia in business environment, followed with different cost saving strategies so i asked myself about Nokia Eseries integration with Unified Communication Manager (UCCM and CME environment) by using SCCP. That was logical thing to think of, since there is SIP support already integrated into this phone series and there are plenty of Call Manager deployments in production worldwide natively working with Skinny (SCCP stands for Skinny Client Control Protocol which is often just called Skinny). And, as expected, there was really nice integration prepared by Nokia for their business users called Nokia Call Connect for Cisco.

Nokia Call Connect for Cisco integrates compatible Nokia Eseries devices with compatible enterprise voice infrastructure. When you enter the coverage area of the office wireless local area network, your device automatically registers to Cisco Unified Communications Manager and thereby activates business mode. In business mode, you can use Cisco Unified Communications Manager services to handle business calls.

With Call Connect, you can:

  • Use high-speed WLANs instead of cellular networks to make calls when you are within WLAN coverage
  • Use the services of Cisco Unified Communications Manager to handle business calls
  • Route calls over the enterprise voice and data network to help minimize mobile phone bills
  • Benefit from improved mobile phone coverage within buildings by using high-speed WLANs
  • Receive notifications of new voice mail as text messages
  • Access online services, such as corporate directory

Solution deployment can be splited in two parts:

  • Configuring Unified Communications Manager
  • Configuring Nokia Eseries phone

Since I am working in lab environment with Unified Communications Manager 6.0 and Nokia E72, I needed to make sure to download proper required packages, as follows:

Nokia Call Connect for Cisco client v2.0 (v2.0(1005)) (SIS, 1,66 MB)
NOTE: Supported devices include Nokia E52, Nokia E55, Nokia E63, Nokia E66, Nokia E71, Nokia E72 and Nokia E75

Cisco option package (COP) file for CUCM 4.x, 5.x and 6.0 for Nokia Call Connect for Cisco clients (.zip, 8 kB)
The file should be imported to Cisco Unified Communications Manager server 4.x, 5.x and 6.0 to add the Nokia Eseries devices in the device list of Communications Manager if the correct device type isn’t yet included there.

Please note that client file provided in the list above is actually trail version of the Nokia Call Connect for Cisco, and it is going to be active for 60 days after which it is going to expire and you will need to purchase real license. This text is not going to describe how to install this client, but I will suggest to install it from OVI store (it is easiest and most convenient way to do so).

Cisco Unified Communications Manager Configuration

After we have downloaded above files, we need to import Cisco Option Package to Unified Communications Manager. Once we are done with that process we will have Nokia S60 listed as valid phone type in CallManager Phones configuration. Process of adding COP file is straight forward and is described in following sections. Please note that you will need to have up and running FTP server in your network to accomplish installation of COP file.

First, we need to navigate to Cisco Unified Communications Manager Serviceability configuration pages (selection can be made from upper right corner as shown on screenshot):


Once logged into Serviceability configuration pages, we need to navigate to Software Upgrades drop down menu, and we need to select Install/Upgrade:

Once there, we need to assume control if there was some previous session:

Next thing is to select preferred source of installation. In our case that is going to be FTP server. Valid options are Remote Filesystem and CD/DVD.

Please fill all required fields (fields indicated with *). Also, make sure to put COP file in root directory of your FTP server, so that CallManager is able to find it as valid upgrade option. You will need to provide Directory (put / for root on your FTP server), Server (IP address of your FTP server), Username and Password (valid user information) and Transfer protocol which can be SFTP and FTP.

Once done with filling up required field, press Next and Call Manager will attempt to contact FTP server. If there is valid COP file (valid upgrade option), and if we are working with proper user information and running FTP server, Call Manager will list valid upgrade options  as per following screenshot:

Please note that valid COP file for Nokia S60 phone type is called cmterm-nokia_s60_001-sccp.cop.sgn. If that is what you have listed, press Next and importing process will start (downloading):

Once it is downloaded you will be presented with MD5 hash value which you can compare with one provided by Nokia from security reasons:

Once you press Next, import process will start and you will be presented with progress as follows:

Process will run for few minutes and once it has been completed, you will be prompted about it as follows:

Once done with this step, we have imported new phone type to Call Manager: Nokia S60. To make sure that it is there, we will need to check it in Cisco Unified CM Administration configuration pages. Therefore, we will need to make proper selection in upper right corner:

Once we are in Cisco Unified CM Administration pages, we need to navigate to Device drop down menu and we need to select Phone.

Once there, we will need to add new phone, and we can do that by pressing Add new button as per following picture:

Once the page is loaded we need to make proper selection, and in our case we need to select Nokia S60. If we are able to see Nokia S60 then our COP import was successful.

Now, assuming that you have installed Call Connect client (.sis) on your Nokia Eseries device and that it works fine, we can continue with configuration. In this section, we will add new phone with phone type device Nokia S60 as listed above. Please notice that product type is now listed as Nokia S60 and that Device protocol is Skinny:

Next thing that we need to do is to check  wireless MAC address on phone since it is one of the required fields in order to add new phone. Fastest way to achieve that on Nokia E71/E72 is to type following code: *#62209526# and you will be prompted with WLAN MAC address. Once you type that into MAC address field, Description field will be populated automatically. Please note that we need to fill up all the fields indicated with asterisk (*).

We will needed to select Phone Button Template and Commong Phone Profile fields since they are required. Also, that includes Presence Groups and Device Security Profile fields as shown on following screenshot:

Once done with basic configuration, we need to save changes by hiting Save button. Then, we need to configure associated information which includes configuration of directory numbers as per following:

Once there, we need to click on Line [1] – Add a new DN and we need to fill up required fields. Field of interest is Directory number. Also, please notice that in Associated Devices box, our Nokia Eseries device will be listed:

Once done with directory number configuration, click on Save and you will have your new Nokia S60 phone configured and listed on phone list, as follows:

Once we are done with configuring Cisco Unified Communications Manager side which includes importing COP file and configuring new phone, we can start configuring Call Connect client which we installed on Nokia Eseries phone.

Configuring Nokia Eseries phone

Since we have server side up and running, we can start configuring our Nokia Eseries Call Connect client. In our lab environment, we are using Nokia E72 and following screenshots are taken on that phone. First thing that we need to do is to open installed application by navigating to Menu > Apps > Nokia CC Cisco. Please notice that Call Connect is offering multiple productivity features such as Call pick up, Group Call pickup, Call divert and DND. Also, please notice that we do not have SCCP active profiles, and in following sections we will describe process of configuring one.

To configure new SCCP service, select Options > Settings > New profile

Once in the New profile configuration mode, we will need to configure Profile name, select default Access Point and configure TFTP server. Please note that in our example Profile name is set to Call Manager, 6BFlat5 is default access point and that TFTP is manually set to 192.168.1.10 which is in our case IP address of our lab Call Manager. Valid option for selecting TFTP server is also DHCP, but in that case we would need to configure DHCP server with option 150, which would indicate IP address of our TFTP server.

Once we are done with basic profile configuration, we can click on Back. We will see our new profile in “Not registered” state. To register service, we will need to navigate to Contacts and then from viable options drop down list we need to select Cisco VoIP and select “Activate service”, as shown below:

Once you activate the service, you will see your newly created profile registered.

Once registered, one additional step can be made in order to make sure that all is working properly. Navigate to Menu > Apps > Nokia CC Cisco and select Status information. You will be able to check what is the Stack version, Outgoing phone number, License information, MAC address, DHCP related information, Networking information and SCCP profile information.

To make sure that all is running fine on Unified Communications Manager, navigate to Cisco Unified CM Administration configuration pages, select Devices drop down list and from there pick up Phones and click on Find/List. You should receive output that indicates that SCCP phone is registered, as follows:

Please notice that in upper right corner on your phone you will be able to see your configured directory number followed by the SCCP profile name (in our example it is (1003)CallManager), and also, registration status will be indicated by the small VoIP icon in bottom part of the screen of your Nokia Eseries phone. Once you have your profile registered with Unified Communications Manager, you can start making VoIP phone calls and you can start using productivity features that we already mentioned in previous text.

For more details about Call Connect please refer to following links:

  1. Nokia Call Connect For Cisco
  2. Nokia Call Connect For Cisco: Licensing and Support

Posted in cisco, education, free software, networks, voip | No Comments »

31/01/10, Caffe “Ekran” at 18h: Zenica GNU/Linux users meeting

January 18th, 2010 by admin

After a long time, Zenica GNU/Linux Users are about to have meeting! It is going to take a place in Caffe “Ekran” at 18h on 31. Jan ’10. We intend to talk about some future projects, Linux based solutions that we have learned about during our many months of inactivity, and we intend to have good time. Since we were inactive for some time we are happy that there are some new users that we intend to meet with on this meeting. If you are interested in our projects and who we are, just show up. We will be willing to meet you, help you with your Linux/Networking/Programing/IT issues (you don’t have to be Linux user as you can see, and we can help up to level that we are capable to help) and to share our experience!

  1. Linux Users group of Bosnia and Hercegovina
  2. Zenica Linux users forum

Posted in IT, education, free software, geeks, happenings, linux, networks, open source, web | 2 Comments »

MQS: Get statistics of bandwidth being used by specific protocols in your network

January 8th, 2010 by admin

If you are using some Cisco router which is capable of modular QoS you are able to get statistics about bandwidth consumption by specific protocol in your network. Cisco modular QoS is using Network Based Application Recognizition, feature that you will like a lot if you are working with QoS and feature that will make your networking job lot easier. Basically, NBAR is able to recognize type of application/protocol which is communicating over network, and based on that you are able to manipulate that data. You could mark that traffic, shape or police it. This blog post won’t cover those techniques, but my intention is to show how to get statistics. Procedure is very simple:

1. Verify your interface configuration:

R1#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            80.239.11.100   YES NVRAM  up                    up
FastEthernet0/1            unassigned      YES NVRAM  up                    up
FastEthernet0/1.1          192.168.1.1     YES NVRAM  up                    up
FastEthernet0/1.20         192.168.20.1    YES NVRAM  up                    up
FastEthernet0/1.40         192.168.40.1    YES NVRAM  up                    up
NVI0                       unassigned      NO  unset  up                    up
Tunnel0                    10.100.100.1      YES NVRAM  up                    up

Verify which interface your WAN is working on. In this case it is FastEthernet0/0. We will use that interface for our statistics.

2. Navigate to global configuration mode, and then to interface configuration mode:

R1#
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#interface FastEthernet 0/0

3. While in interface configuration mode, activate NBAR protocol discovery:

R1(config-if)#ip nbar protocol-discovery
R1(config-if)#

4. It would be good to tune load interval for statistics that we will gather from default 5 minutes to 1 minute:

R1(config-if)#load-interval 60
R1(config-if)#

5. Next, we need to issue proper show command to get statistics, and that would be:

R1#show ip nbar protocol-discovery stats bit-rate top-n 10

FastEthernet0/0
Input                    Output
—–                    ——
Protocol                 1min Bit Rate (bps)      1min Bit Rate (bps)
———————— ———————— ————————
dhcp                     22000                    0
http                     0                        1000
gre                      0                        0
rtp                      0                        0
ipsec                    0                        0
secure-http              0                        0
ssh                      0                        0
dns                      0                        0
icmp                     0                        0
snmp                     0                        0
unknown                  64000                    0
Total                    86000                    1000

As you can see in above example, we are able to get statistics by protocol on specific interface in 1 min bit rate in inbound and outbound direction. Based on those statistics you can make some decisions, what needs to be blocked, shaped, policed or marked. I found this to be a first logical step when deploying QoS.

6. Optional step would be to create alias for show command that is being used in above example:

alias exec traffic ip nbar protocol-discovery stats bit-rate top-n 10

Now, once we type traffic command in privileged mode, we will get protocol statistics:

R1#traffic

FastEthernet0/0
Input                    Output
—–                    ——
Protocol                 1min Bit Rate (bps)      1min Bit Rate (bps)
———————— ———————— ————————
dhcp                     22000                    0
http                     0                        1000
gre                      0                        0
rtp                      0                        0
ipsec                    0                        0
secure-http              0                        0
ssh                      0                        0
dns                      0                        0
icmp                     0                        0
snmp                     0                        0
unknown                  64000                    0
Total                    86000                    1000

For more information please refer to following links:

  1. Modular QoS
  2. Quality of Service

Posted in cisco, education, networks | 2 Comments »

Cisco Unified Communications IP Telephony

December 25th, 2009 by admin

During last few months I was intensively working with Cisco Unified Communications Manager, previously called just Call Manager in order to obtain Cisco Unified Comminications IP Telephony (CIPT) certification. Since I am coming from the ‘voice’ field when I started to work with Cisco products it was logical to me to check what is Cisco offering in that field. And I remember that I was impressed. Six different certifications after CCNA and two possible CCVP paths. Plenty of different solutions, gateways, protocols and such was enough challenging to me. First thing that I needed is to make clear decision of which CCVP path to follow. One is covering CallManager (version 6.X called CUCM) in two parts (CIPT1 and CIPT2) and other, old one, is covering CallManager (Cisco Unified CallManager 4.X) throught one certification mixing everything with additional Gateway/Gatekeeper certification and that path is about to reach end of life on December, 31. Since I was working with web based call processing device in past I decided to go with actual Unified Communications Manager CCVP path (because CUCM is web based call processing solution as well). One of the exams on that path is Cisco Unified Communications IP Telephony Part 1 which I have passed today.  There was 60 questions and you needed to score around 80% to pass it. There are single choice, multiple choice and drag and drop questions. It was not that easy at all although I was preparing for it for few months and that is normal because this is very complex solution. When it comes to CUCM I need to say that I was quite surprised of number of features that it can provide. It is very powerful, high available and redundant call processing solution which is covering advanced mobility, call coverage and other solutions in very organized, logical and intelligent way. I was preparing my certification following multiple documentation sources and by following quick reference. Note that CallManager can be installed in VMware which is a good thing, because when it comes to practicing you won’t spend lot of money to build complete testing environment. Also, please note that there are many good CCVP blogs which can help a lot and I will post few links below the text. If you need some additional information on CallManager or this certification, feel free to contact me, I will be willing to help.

  1. Cisco Unified Communications Manager
  2. CCVP certification paths
  3. CCIE12932 blog
  4. Chris’ CCVP blog

Posted in IT, cisco, education, voip | No Comments »

My Linux Professional Institute LPIC-1 certification

November 10th, 2009 by admin

Few days ago I have passed LPI 102 certificate and became Linux Professional Institute LPIC-1 certified. I have passed LPI 101 back in March, 2007. There was 60 questions and 90 minutes to resolve those questions. One of the surprises that I had was option ‘Previous’, so you are able to check all of the questions once more in case that you have some additional time. I have to say that exam was easier than LPI 101 (which I find to be one of the hardest exams) because I do have experience with things that were asked in my day to day business. There is a lot of documentation available for preparing the exam, but I would recommend their ‘Detail objectives‘ documentation as the start point. They will just ask what you will find listed over there, so you just need to cover that part. In the end, I need to say that I am really glad to obtain this certification because I find GNU/Linux as real satisfaction. If you would need some help, information or something else in regards to this, please feel free to contact me.

http://www.lpi.org/verify
LPI ID: LPI000116482
Code: uuw3rpvp8v

  1. What is Linux Professional Institute?
  2. Linux Professional Insitute Certifications

Posted in debian, education, free software, gentoo, linux, open source | 2 Comments »

Juniper Networks FastTrack Program

April 27th, 2009 by admin

Although I was never working with Juniper Networks stuff directly I need to admit that I always wanted to. Since I am working with Cisco related stuff mostly I didn’t needed to, or it is better to say that I just didn’t have opportunity or need to work that much with other competitors networking hardware. Definitely, this is not a time or place to talk about Cisco’s market share .) Good friend of mine was working with Juniper for like almost a decade and he was always speaking how they do have some nice  procedures for solving some nightmare networking scenarios related to security, QoS, and things like that. What I really like about Juniper is their operating system JunOS, which is working at the top of BSD (and for those guys that are coming from the FOSS community is always something nice to know about). Also, as far as i know their configuration file is stored in really nice and organized manner so that you can see dependant part of configurations (for example VPN part of configuration starts with { and ends with }).

Today, in RSS feed i saw on the Cisco blog link that i want to share. Actually, it is Juniper Networks Fasttrack Certification program.

The Juniper Networks Certification Fast Track program is specifically designed for experienced networking professionals who want to become certified in JUNOS® Software. Between January and December of 2009, you have online access to study materials at no charge so you can quickly increase your value by earning JUNOS-based certifications. If you’re interested in enterprise routing, enterprise switching, or the latest security platforms running JUNOS, this is the place to go for courseware and discounts on certification exams.

Seems to be some really good chance to get serious with Juniper related stuff and prepare yourself for their Exams. If I catch some time, i will definitely try to get my hands on some of their routers/switches and start learning their way of organizing and configuring networking equipment.

  1. Juniper Networks
  2. Juniper Networks FastTrack certification program

Posted in cisco, education, networks | No Comments »

Moj kratki izlet u openSuSE 10.3 na Powerbook/u

February 29th, 2008 by admin

Nakon podosta vremena našao sam nešto vremena da istestiram openSuSE Linux 10.3 verziju. U suštini interesovalo me šta se dešava sa KDevelopom i KDE-om, koje nisam koristio veoma dugo vremena, a znajući da je SuSE dosta dobra osnova za iste.

Detaljnije tekst na gotovo istu temu sam objavio prije nekoliko godina na ovom linku.

Na početku ovog teksta treba da kažem da su moja očekivanja od openSuSE Linux distribucije bila prilično visoka, naročito ako uzmemo u obzir činjenicu da nisam koristio nijednu verziju iz porodice 10, te uzimajući u obzir činjenicu da su sve verzije od 7.0 bile dosta dobra ostvarenja.

OpenSuSE strana je dosta jednostavna i jako lijepo uređena što itekako mnogo znači. Pristupačnost strane i dobra dokumentacija na istoj je jedan od faktora koji meni dosta znače, a kako to ova distribucija ima, moja volja da istu pretestiram na svom laptopu je očeličila.

Usljedilo je skidanje verzije za PowerPC platformu (da, i dalje koristim Powerbook i dalje mi se veoma sviđa ovaj komad hardvera) i u međuvremenu isčitavanje dokumentacije.

Prvi problem sa kojim se korisnik može da susretne jeste particionisanje diska. Kako nikad nisam bio pobornik automatskog particionisanjua diska to je bio slučaj i ovdje. Manuelno particionisanje diska je prošlo bez ikakvih problema.

Ono što je potrebno da korisnik zna prije igranja sa particijama jeste da su potrebne dvije particije. Jedna mala, 32 MB velika particija formatirana u Apple_HFS filesystemu koja ‘e se koristiti za bootloader i druga, nozovimo je velika particija, formatirana u ext2, ext3 ili Reiser filesystemu koju ćemo koristiti kao root particiju.

Ne preporučujem manuelno particionisanje diska korisnicima koji nemaju iskustva sa istim, umjesto toga, predlažem particionisanje diska sa Apple DiskUtilityem koji je sastavni alat Mac OS X, koji cijeli ovaj posao može da riješi bez ikakvih poteškoća i dosta elegantno. Za one koji \ele svjesno da se poigraju sa svojim hard diskom savjetujem da pročitaju ovo upustvo. Za sve korisnike koji imaju iskustva sa fdiskom, ovo nebi trebalo da predstavlja bilo akakv problem.

U prvom dijelu instalacije je potrebno da postavite osnovne parametre, kao što je root password, podešavanje vremenske zone, instalacija softvera i slično. Sama instalacija traje nešto više od sat vremena, sve ovisno o tome koji ste softver izabrali za instalaciju. Vezano za softver, izabrao sam defaultnu instlaciju sa GNOME grafičkim okruženjem, čisto da vidim kako se cijela stvar odvijala na tom planu. Nikada mi se nije sviđalo kako GNOME izgleda pod SuSE-om pa me interesovalo da li je to i dalje slučaj.

Nakon instlacije na Powerbook prva stvar koju ćete uočiti jeste da X11 ne radi posao kako treba. Naime, rezulucija koju SuSE automatski setuje nikako ne odgovara je potrebno manuelno promjeniti xorg.conf.

Dakle, prva stvar koju je potrebno uraditi jeste dodati podršku za generičku grafičku akceleraciju:

Load “dri”

u Modules sekciji, i poslije toga u sekciji sa rezolucijama, za defaultnu rezoluciju, potrebno je dodati:

“1280×854″

Poslije toga jednostavno resetujte X11 i uživajte u novoj, prilagođenoj rezoluciji. Sada kada smo to podesili, relativno brzo možete uočiti da zvuk opće ne radi.

Cijela stvar se može riješiti relativno jednostavno, sa konzole (a kako bi drugačije):

vim /etc/init.d/alsasound (linija 188)

test -d /proc/asound && start_rest to test -d /proc/asound && start_all.

Nakon što zvuk proradi možemo se posvetiti podešavanju osnovnih postavki desktopa. GNOME iako u novijoj verziji, izgleda dosta nezgrapno i neprilagođeno, sa nekim novim SuSE application luncher/om koji opće nije po mojoj mjeri. Koristeći Debian i Ubuntu GNOME jednostavno sam se navikao na izgled desktopa koji oni forsiraju, tako da je ovaj, relativno novi za mene, pristup bio prilično veliak promjena za mene, koja je zahtjevala brojne promjene da bi se cijela stvar prilagodila.

Instalaciju KDE-a sam uradio koristeći Yast iz konzole. Jednostavno, usljed višegodišnjeg iskustva sa Yastom shvatio sam da ga je dosta brže i jednostavnije koristiti sa konzole, pa se je to isto tako podrazumijevalo i za instalaciju KDE-a. Sa obzirom da sam izabrao cijelu kategoriju KDE za instalaciju, to je potrajalo nešto duže nego obično (da, da, instalirao sam i translations) i prvo prijavljivanje na KDE je ostavilo pozitivan utisak na meni. KDE loader izgleda veoma lijepo i prilagođeno cijelom okruženju, pa sam odmah stekao dojam da je oficijelni prelazak na GNOME kao default samo obična maska, te da je KDE tu i dalje defaultno grafičko okruženje. KDE luncher koji dolazi sa openSuSE/om izgleda dosta lijepo, po defaultu je uključen transparency, pa sve to onako izgleda dosta lijepo i uredno. KDevelop je i dalje na visini zadatka te ima sve ono zašto je meni potreban. Sve u svemu openSuSE je nastavio sa dobro uhodanom praksom, i dalje se radi o jednoj dosta dobroj i ogromnoj distribuciji, jako lijepo uređenoj, namijenjenoj za ljude koji relativno kratko koriste Linux operativni sistem ili žele da počnu sa istim.

Kao neko ko najviše radi sa Gentoo-om i Debianom treba da kažem da me iznenađuje jednostavnost nekih rješenja koje SuSE nudi, ali isto tako, najveći broj nešto iskusnijih korisnika neće pronaći ništa posebno što bi ih ostavilo ili eventualno prebacilo na ovu Linux distribuciju.

Sve u svemu, radi se o dosta dobroj Linux distribuciji, sa ciljanom korisničkom bazom, i u tom smislu SuSE Linux je i prije, kao i sada, radi izvanredan posao.

  1. OpenSuSE

Posted in education, free software, linux, open source | No Comments »

System.hack()

November 21st, 2007 by admin

System.hack()/* if using System.hack() syntax in programming, a method hack would be invoked on the object System. */ System.hack() is an exhibition project and a book by Multimedia Institute realized through the collaborative platform Zagreb – Cultural Kapital of Europe 3000. You can participate by submitting your favorite System.hack()s.

Original concept and production: Multimedia Institute
Creative assistance: Vuk Ćosić and What, How and For Whom

A moment of excellence in programming is called hack. A perfect hack issurprising, mediagenic, innovative in employing technology, funny andnon-violent. System.hack() is every hack that opens up a closed system or makes an open system dynamic.

System.hack() exhibition seeks to find connections between moments of excellence in different fields of human production. This exploration always has to provide answers to the following two questions:

* What system is being hacked?, and

* How this system is being hacked, or what is a specific hack in an individual work?

The exhibition environment is not a gallery, but the interior of a hotelroom. The hotel room is supposed to function as the lowest commondenominator of living environments users/viewers/visitors/readersinhabit. The hotel room also functions as a Table of Contents for theSystem.hack() book. Museum labels found on exhibited objects linkindividual hacks to the essays dealing with issues they raise and socialcontext they intervene in.

Hacks exhibited:

1. Orson Welles – War of the Worlds
2. Captain Crunch – whistle
3. Richard Stallman – GNU GPL
4. Heath Bunting – Superweed Kit 1.0
5. Michael Steil – Xbox Linux project
6. CD Protection Kit

Authors of essays: Jonah Brucker-Cohen, Benjamin Mako Hill, Marcell Mars, Tomislav Medak, Ognjen Strpic and Mckenzie Wark

Prejako! Neću ići, ali bih volio. aBd, sljedeći meeting.

Lokacija i vrijeme: Novi Sad (November 21-22 16:00-21:00): There will be a System.hack() exhibition!

1. System.hack()

Posted in education, free software, happenings, open source | No Comments »

Ekskluzivno: Sneak-in preview of new unze.ba

July 31st, 2007 by admin

Dobro, nije baš ekskluzivno, ali lijepo zvuči .)
Kao što možete vidjeti na gore navedenim slikama nova strana Univerziteta u Zenici je skoro završena. Radi se o manjem i vrlo jednostavnom/funkcionalnom CMS/u napisanom u PHP/u od nule, za čiji je development i dizajn zaslužan drug. Trenutno, ljudi sa Univerziteta rade na postepenoj migraciji svih sadržaja sa stare stranice (koja je veoma bogata sadržajem, a sadržaj je implikator dobre stranice u velikom broju slučajeva). Paralelno sa time, radi se na poliranju index/a nove stranice, ali svi radovi će biti završeni u nekoliko sljedećih dana, te nakon toga nova strana ide live.

Sav posao na novoj strani urađen je još prije nekoliko sedmica, međutim, neočekivani problemi sa bazom podataka na starom serveru, ali i činjenica da je svaki dan trebao doći novi server odložili su projekat na neko vrijeme (socijalna priča). Smatramo da će nova strana uveliko olakšati posao Univerzitetskim službenicima ali i posjetiocima omogućiti lakši pristup Univerzitetskim materijalima.

  1. Drug
  2. Univerzitet Zenica

Posted in education | No Comments »

Migracija UNI servera

July 31st, 2007 by admin

Prije dvadesetak dana sam obavješten da je stigla nova mašina koja treba da preuzme ulogu glavnog UNI servera. To je podrazumijevalo da je potrebno instalirati operativni sistem, podesiti sve servise i prebaciti sav sadržaj postojećeg servera. Naravno, korisnici toga uopće ne smiju biti svjesni. Radi se o mom zadnjem volonterskom projektu koji je još uvijek aktivan.

Radi se o veoma dobroj mašini: Fujitsu Siemens TX200 S3. Mašina je opremljena sa dva Xeon procesora, dva gigabajta RAM/a, tri gigabitna ethernet/a, RAID kontrolorom i ostalom opremom sa kojom mašine tog tipa dolaze.

Izbor operativnog sistema sveo se na dvije moguće opcije: Gentoo i Debian. Kako sam projekat trebao da uradim u svoje slobodno vrijeme (dakle, poslije posla, a slobodnog vremena je uvijek malo), te sa obzirom na činjenicu da je kompajliranje spor i kompleksan posao Debian se učinio boljom solucijom i na mašini sve uskoro veselo vrtio Debian Etch. Dakle, Gentoo koji se veselo vrtio dvije godine (čini mi se) zamjenjen je Debianom.

40/ak gigabajta samba share/a se prebacivalo nekoliko sati sa starog servera koristeći rsync. U međuvremenu, prebacivano je desetak aktivnih domena sa svim sadržajima. To je naravno podrazumijevalo podešavanje baze, a za tu svrhu redovno koristim dobri stari mysql u posljednjoj stabilnoj verziji (iako planiram da polako sve prebacujem na PGSQL). Dok je rsync lijepo obavljao svoj dio posla, vrijeme je korišteno i za podešavanje DNS servera. Kako tu uvijek ima promjena od verzije do verzije, ovaj put bilo je problema sa MX exchangerima ali i to je relativno brzo riješeno.

Očekivano, najveći problem je predstavljala migracija mail servera. Nekoliko stotina account/a i nekoliko hiljada mailova u njima, kao i sve autentifikacijske postavke trebale su da budu prebaćene bez ikakvih problema. Radi kompatibilnosti koristio sam isti mail server, tako da sam nakon nekih manjih peripetija imamo POP3, IMAP, Spamassasin, CLAM antivirus i ostalo ureduno funkcionirajući.

Dakle, urađeno je prilicno dosta posla u relativno kratkom vremenskom periodu (nekih desetak dana posla, ali samo u slobodno vrijeme). Sa obzirom na činjenicu da tamo imaju ljude koji će održavati ovu instalaciju, moj posao na ovom projektu je završen na duge staze.

  1. Fujitsu Siemens
  2. Fujitsu Siemens TX200 S3
  3. Univerzitet

Posted in debian, education, gentoo | No Comments »

Linux Professional Institute

March 13th, 2007 by admin

Danas sam rijeio jo jedan certifikat, nastavljam sa LPIC-om. 70 pitanja, 90 minuta. Vremena je sasvim dovoljno da se rijei certifikat. Dosta manje vremena i pitanja u odnosu na prolo polaganje (98 pitanja, 120 minuta).

Sa obzirom da sam imao neku dosta staru dokumentaciju prema kojoj sam se ravnao, nau?io sam pola gradiva iz sljede?eg nivoa tako da ?u najvjerovatnije odmah nastaviti dalje. Mada ?e to sve biti u domenu magije sa obzirom na ?injenicu da sam prili?no slab sa vremenom.

U nakom od sljede?ih postova opisat ?u neka iskustva vezano za polaganje LPIC certifikata koja bi mogla biti korisna svima onima koji se odlu?e na ovaj korak.

Na kraju treba da spomenem da je osoblje CCED (Sarajevo, Hamdije ?emerli?a 2/XI) testing centra kao i sam centar odli?an i svakako ih preporu?ujem za polaganje bilo kojeg certifikata podranog od strane VUE-a.

  1. Linux professional Iinstitute
  2. CCED

Posted in education, linux | No Comments »