Archive for 1

Kannel 1.4.3 and Itegno W3800 U

Hai…
It’s me again…
I’m doing an SMS Gateway development using kannel version 1.4.3 and Itegno W3800 U on my lovely Fedora 10.
But, the process is not as smooth as I expected..
Here is my kannel.conf

#CORE
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = pwd
status-password = pwd
log-file = “/var/log/kannel/kannel.log”
log-level = 0
access-log = “/var/log/kannel/access.log”
store-file = “/var/log/kannel/kannel.store”

# SMSC Fake
#group = smsc
#smsc = fake
#host = localhost
#port = 13013

#SMSC modem gsm
group = smsc
smsc = at
host = 192.168.1.5
port = 13013
smsc-id = auto
modemtype = auto
device = /dev/ttyUSB0
speed = 115200
sms-center = +62818445009
my-number = +6285959234238

group = modems
id = auto
name = auto
detect-string = auto
init-string = “AT+CNMI=2,1,0,0,0;+CMEE=1”

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = “0123456789+”
global-sender = +62818445009
log-level = 0
log-file = “/var/log/kannel/smsbox.log”
access-log = “/var/log/kannel/access.log”

# SEND-SMS USERS
group = sendsms-user
username = playsms
password = aaaaa


# SMS SERVICE ‘Default’
# there should be default always
group = sms-service
keyword = default
accept-x-kannel-headers = true
max-messages = 0
assume-plain-text = true
catch-all = true
#exec = /usr/local/bin/kannel_incoming %t %q %a
get-url = “http://localhost/~playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a”

After all the setting, I tried to run bearerbox /etc/kannel.conf
Then, it returns the following:

2009-04-15 18:24:39 [9679] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2009-04-15 18:24:39 [9679] [0] INFO: Loading store file `/var/log/kannel/kannel.store’
2009-04-15 18:24:39 [9679] [0] INFO: Store-file size 0, starting to unpack
2009-04-15 18:24:39 [9679] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2009-04-15 18:24:39 [9679] [8] DEBUG: Thread 8 (gw/bb_store_file.c:store_dumper) maps to pid 9679.
2009-04-15 18:24:39 [9679] [8] DEBUG: Dumping 0 messages to store
2009-04-15 18:24:39 [9679] [0] DEBUG: Started thread 8 (gw/bb_store_file.c:store_dumper)
2009-04-15 18:24:39 [9679] [0] INFO: MAIN: Start-up done, entering mainloop
2009-04-15 18:24:39 [9679] [0] DEBUG: AT2[itegno]: start called
2009-04-15 18:24:39 [9679] [6] DEBUG: AT2[itegno]: device opened. Telnet mode = 0
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: device opened
2009-04-15 18:24:40 [9679] [6] INFO: AT2[itegno]: speed set to 115200
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: –> ^M
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: <– OK
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: –> AT^M
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: <– OK
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: –> AT&F^M
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: <– OK
2009-04-15 18:24:40 [9679] [6] DEBUG: AT2[itegno]: –> ATE0^M
2009-04-15 18:24:44 [9679] [6] ERROR: AT2[itegno]: Couldn’t connect (retrying in 10 seconds).

2009-04-15 18:24:54 [9679] [6] DEBUG: AT2[itegno]: detecting modem type
2009-04-15 18:24:54 [9679] [6] INFO: AT2[itegno]: opening device
2009-04-15 18:24:54 [9679] [6] WARNING: AT2[itegno]: trying to open device with not closed device!!! Please report!!!
2009-04-15 18:24:54 [9679] [6] INFO: AT2[itegno]: Closing device

**the italic part is always looping
then I start the smsbox /etc/kannel.conf

the result is as follows:

2009-04-16 09:26:03 [6086] [0] DEBUG: Kannel smsbox version 1.4.3 starting
2009-04-16 09:26:03 [6086] [0] DEBUG:   dumping group (sendsms-user):
2009-04-16 09:26:03 [6086] [0] DEBUG:     <group> = <sendsms-user>
2009-04-16 09:26:03 [6086] [0] DEBUG:     <username> = <playsms>
2009-04-16 09:26:03 [6086] [0] DEBUG:     <password> = </ayang/>
2009-04-16 09:26:03 [6086] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2009-04-16 09:26:03 [6086] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 6086.
2009-04-16 09:26:03 [6086] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 6086.
2009-04-16 09:26:03 [6086] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2009-04-16 09:26:03 [6086] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 6086.
2009-04-16 09:26:03 [6086] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2009-04-16 09:26:03 [6086] [0] INFO: Connected to bearerbox at localhost port 13001.
2009-04-16 09:26:03 [6086] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 6086.
2009-04-16 09:26:03 [6086] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2009-04-16 09:26:22 [6086] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1′.
2009-04-16 09:26:22 [6086] [2] DEBUG: HTTP: Created HTTPClient area 0x8340c80.

everything sounds OK , except for the bearerbox error and warning.
I tried to send an sms by hitting this URL:

http://localhost:13013/cgi-bin/sendsms?username=playsms&password=aaaaa&to=+62818095*****&text=test&from=test

and the page result 3: Queued for later delivery

does anyone have solution about this issue??

thank you

Advertisement

Comments (3)

Virtual Network with SUN VirtualBox

Thesis oh Thesis… 🙂

For my thesis purpose, I need to have more than 1 PCs, so I decided to install SUN Virtualbox from an rpm package which I got from here.

First, I need to tell you that my laptop runs on top of Fedora 10.

Be sure that you enter as the root user in the command shell. Just type su –

I install the package by typing

yum -y install VirtualBox-2.1.4_42893_fedora9-1.i386.rpm

After the installation, you can access Virtualbox in GUI mode by going to Applications -> System Tools -> SUN xVM Virtualbox

You can start installing guest OS.

I installed OpenSuse 11, Ubuntu 8.10, and Red Hat Enterprise Linux 5.2 on it.

I think that’s all for the preparation 🙂

Let’s start building the virtual network.

First, create a virtual ethernet card for each guest OS

in your terminal, type:

VBoxTunctl -t theExpectedNameForYourVirtualEthCard -u OwnerName

I wish to have three eth card to be assigned to each guest OS,.So I did the following in my system:

[root@localhost ~]# VBoxTunctl -t vbSuse -u rya
Set ‘vbSuse’ persistent and owned by uid 500

[root@localhost ~]# VBoxTunctl -t vbUbuntu -u rya
Set ‘vbUbuntu’ persistent and owned by uid 500


[root@localhost ~]# VBoxTunctl -t vbRhel -u rya
Set ‘vbRhel’ persistent and owned by uid 500

All of them are not automatically started…So I need to start them by typing:

[root@localhost ~]# ifconfig vbSuse up

[root@localhost ~]# ifconfig vbUbuntu up

[root@localhost ~]# ifconfig vbRhel up

And I need to assign IP for each of them…

[root@localhost ~]# ifconfig vbUbuntu 192.168.3.33

[root@localhost ~]# ifconfig vbSuse 192.168.6.66

[root@localhost ~]# ifconfig vbRhel 192.168.9.99

Then,,,,

The next step is to do the routing…

[root@localhost ~]# route add -net 192.168.3.0/24 gw 192.168.3.33
[root@localhost ~]# route add -net 192.168.6.0/24 gw 192.168.6.66
[root@localhost ~]# route add -net 192.168.9.0/24 gw 192.168.9.99

after all, I configure each guest OS to have IP address and default gateway set.

Ooops….I almost forget to tell you about how to assign those virtual ethernet card to your Guest OS…

  • First, you select a guest OS, then,
  • in the right panel, you will see the network configuration
  • Click on it
  • Another window will show up
  • Thick on the check box “Enable Network Adapter”
  • For the “Attached To” drop down menu, select “Host Interface”. There will be a lists of available Host interface.
  • Choose one of the, and click OK

screenshot-ubuntu-settings

screenshot-untitled-1-openofficeorg-writer1

In my Ubuntu Guest OS. I assign IP and default gateway as follows:

ifconfig eth0 up

ifconfig eth0 192.168.3.22

route add default gateway 192.168.3.33

I did the same things for OpenSuse and RHEL guest OS.

OpenSuse

ifconfig eth0 up

ifconfig eth0 192.168.6.77

route add default gateway 192.168.6.66

RHEL

ifconfig eth0 up

ifconfig eth0 192.168.9.11

route add default gateway 192.168.9.99

After all, from your host, try to ping to all IP address of you guest OSes, from your guest OS to your host, and for one guest OS to another guest OS.

And Everything is done. 🙂

Leave a Comment

“Linux for Children” Workshop

    img_6939

    All participants for this workshop are elementary students in the sixth grade.

    For the workshop, We used Edubuntu Linux distribution as the operating system.
    Before starting the workshop, I asked them about what they already known about a computer.
    Then, I explained about what is operating system. A bit difficult for me to explain what does an OS mean…I tried to give an example of a human that a human will be a dead body if there is no soul,,,so as the computer, it will not work if there is no operating system installed.

    and I explained a bit about Linux and the Edubuntu. I gave another example,…. for example, all people has its own name because they are unique each other, in the same case,,each Linux distribution has its own name,..Why it is named Edubuntu,,,because it is specific for EDUcation purposes and it is a remastered product of UBUNTU…

    Edubuntu features which are introduced to them are:

Office Suites

  • Ooo writer -> I asked them to type a bit about their profile

Web Browser

  • firefox -> browsing something

Sound and Video

  • Froggy dance -> try to play a video of froggy dance

Education

  • GCompris Educational Suite -> many things they can do using this application. I focused on this application because it provides a complete features for them to study.

Mathematics

  • Kbruch (Application->Education)

Drawing

  • Gimp

Language

  • Education – khangman

Basic Skills – Games

  • tetravex

That’s all we had done 🙂
We had soo much fun 🙂

img_6889

Comments (1)

LOMBA POSTER KLUWEK

Dalam merangka memperingati Hari Ibu dan HUT KLUWEK ke 1,
KlUWEK, POSS ITS dan RISTEK bekerja sama mengadakan :


LOMBA POSTER


Tema : Wanita, Teknologi dan Open Source
Hadiah : Uang Tunai Rp.500.000,- untuk 3 kategori Pemenang, Sertifikat dan Kaos


Siapa saja yang boleh Ikutan?

Wanita-wanita di seluruh pelosok indonesia, dengan kategori sebagai berikut :
1. Pelajar (SLTP dan SLTA)
2. Mahasiswa
3. Umum (Karyawati, Ibu rumah tangga, Wiraswasta, dll)



Syarat-Syarat dan Ketentuannya :


1.Ukuran poster A3
2.Penggunaan clip art/foto yang bukan buatan sendiri harus yang royalti free
3.Panitia dan keluarga panitia tidak boleh berpartisipasi di lomba ini.
4.Poster dikirimkan ke poster@kluwek.linux.or.id sebelum tanggal 20 Febuari 2009 pukul 00.00
5.Peserta wajib menuliskan dua artikel di blognya sendiri :

  • Deskripsi poster
  1. Tutorial membuat poster (Minimum lima langkah), hal ini bertujuan :
  2. mengetahui software yang dipakai adalah open source.
  3. memberikan tutorial kepada wanita lain bagaimana cara membuat poster dengan OSS
  • Bagaimanakah isi tutorial :
  1. gambar snapshot langkah pembuatan (minimum 5 gambar)
  2. keterangan masing-masing gambar

6.Pengumuman pemenang diumumkan di web kluwek pada 27 Februari 2008

Sistem Penilaian


1.Poster akan dinilai oleh 3 orang juri yaitu dari Kluwek, POSS ITS dan Seniman
2.Kriteria penilaian

  • Pesan : Pesan apa yang disampaikan oleh poster tersebut, kesesuaian dengan tema poster
  • Tingkat kesulitan software yang digunakan : software yang digunakan     harus merupakan software open source misalnya (GIMP, Open Office, dll)
  • Nilai Estetika : Pemilihan warna yang sesuai dan enak di pandang (eye caching), jenis Font yang digunakan juga kesesuaiannya, serta gambar yang di pakai harus yang dibuat sendiri atau gambar yang free license (Apabila menggunakan clip art/foto yang bukan buatan sendiri harus yang royalty free, intinya gak boleh melanggar copyright orang lain.

banner

Leave a Comment

Workshop Joomla 1.5 di POSS President University

poss_joomla_workshop

Comments (1)

ToT FOSS Toolkit for SMEs – Day 3

bm

Customers want benefit revenue.

Client Segment: define to who u r selling your product to.

Distribution Channel: if your product is Ubuntu distribution, then your distribution channel will be all Ubuntu community.

Cost Structure: Tools u may have to develop the software

Software development company

15 years for proprietary based software

Activities

Partner Network:

  • MySql,

  • Gambas,

  • OpenOffice.org,

  • Ubuntu,

  • Apache,

  • IOSN

Keuyy Resources:

  • 10% programmers and consultants who work for the open source software

Key Activities:

  • Marketing,

  • Explaining what open sources is

  • Assigning 10% of employees in open source software

  • Customizing and creating open source software

  • General accounting system,

Value

Offer:

Customers

Client Relationships

  • The existing customers who use proprietary

  • Explaining new customers about the licensing

Client Segments:

  • SME 90%

  • LSE 10%

Distribution Channels:

  • others who do the marketing activities

  • the one who does the implementation

  • post sale distribution

Financial

Cost Structure:

  • pay per man hour costs

  • no need pay for license

  • pay HR

Revenue Flows:

  • 50% software

  • 25% services (support)

  • 25% data (documentation)

Good Client Segment: be specific in segmenting your clients. For Example:

  • small medium sized co-ops

  • no IT or very limited IT usage/staff

  • available budget

  • saving or lending budget for IT

Leave a Comment

ToT FOSS Toolkit for SMEs – Day 2

<!– @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } –>

Technical Guidelines

  1. Understand the way OSS is developed

  2. Create a complete survey of software and hardware that will be affected by the migration, and what functionality the company is looking for .

    Make sure you check every software installed. Is it open or closed communication protocols. Find out the data format.

  3. Use the flexibility of OSS to create local adaptations

  4. In selecting packages, always favor stability over functionality

  5. Design the workflow support infrastructure to reduce the number of “impedance mismatches”

  6. Introduce a trouble ticket system

  7. Compile and update a detailed migration workbook

    Migration workbook Standard engineering practice.

Social Guidelines

  1. Provide background information on OSS

  2. Don’t force the change on the users, provide explanations

  3. Use the migration as an occasion to improve users skill

  4. Make I easy to learn and experiment

Business Models

  1. Externally funded ventures

  2. Public funding

  3. `Needed improvement’ funding

  4. Indirect funding

  5. Internally funded or revenue based

  6. `Best knowledge here without constraints

  7. `Best knowledge here’ with constraints

  8. `Special’ licenses

  9. Unfunded developments

The 6 main clusters identified are:

  • Dual licensing: the same software code distributed under the GPL[11] and a commercial license.

  • Split OSS/commercial products: based on open source license but with proprietary plugins. Example: Zimbra

  • Badgeware: the software is free but u must acknowledge the author

  • Product specialists

  • Platform providers: company who don’t create something, but they pack it with their software package

Leave a Comment

Training of Trainers: FOSS Toolkit for SMEs – Day 1

The idea of FOSS toolkit for SME is to help SME companies to choose the appropriate softwares for their business and how to help them moving from the old softwares to open source softwares.

There are 3 aspects of Open Source Software which can come together or not, they are:

1. Legality

2. Development

3. Source code

Activities in FOSS things are mostly about:

1. Development

2. Localization

3. Ancillary. It deals with the marketing activities.

Development activities take the smallest percent from overall activities.

Ten Myths about FLOSS:

  1. It’s a Linux vs Windows thing

    think about the open source and markets, but u should not think about Linux desktop/servers

  2. FLOSS is not reliable and supported

    the side effect of saying that FLOSS is not reliable is that it will not be supported.

    • The volunteer perception

    • paid programmers are better

    • there is no support

    • FLOSS is inherently unreliable

  1. Big companies don’t use FLOSS

  2. FLOSS is hostile to intellectual property

  3. FLOSS is all bout licenses

  4. If I give away my software to the FLOSS community, thousands of developers will suddenly start working for me for nothing

  5. FLOSS only matters to programmers, since most users never look under the hood way

  6. There is no money to be made on FLOSS

  7. The FLOSS movement is not sustainable, since people will stop developing free software once they see others making lots of money from their efforts

  8. FLOSS is playing catch-up to Microsoft and the commercial world

This software has appropriate price for its functions, and you can get much more without having to pay too much more.

Several approach:

  1. Trial approach

  2. Virtualization

Maturity

Software forking happens when you have companies or group of companies and they come up with the same source code, until someday they decided to modify the source code depend on their need.

Generic Section

Independence of Development

100%: owned by a single company, if that company is collapse, then the software will not being to another company, unless it sells the software.

60%: owned by a single company, but other company has some parts of it. If the owner is collapse, then another company will handle it.

20%:It is not belong to a single company.

Gentle Migration

Server Migration Office migration, if necessary Desktop Migration

Server migration:

  • DBMS server

  • Web server

  • Directory server

  • Mail and calendar server

  • File and print server; DNS and DHCP server

Office Migration:

  • parts of File and print server; DNS and DHCP server and OpenOffice.org

Desktop Migration:

  • OpenOffice.org

Phases in Gentle Migration:

Phase 1 :Decision

Phase 2: Project planning User information Stock Taking Detailed concept

Phase 3:Implementation Tests System Integration Introduction for users and administrators Administrators Training introduction and User Training Introduction

Phrase 4:Operation Service Support Training

A significant advantage of OSS is the availability of online free resources, in the form of knowledge bases, mailing lists, wikis (collaborative sites) that may provide a substantial support in many cases comparable to commercial offerings. The biggest problem is the identification of such knowledge sources; in this sense assigning a resources to find, categorize and interact with such sources is a way to reduce the cost of support; a common way to provide a unified source of information is by setting up a small Intranet web page with links to online resources.

Leave a Comment

Could not Determine The Server’s Fully Qualified Domain Name, Using 127.0.0.1 for ServerName

When you are trying to restart your apache2 service by inserting command sudo /etc/init.d/apache2 restart , then you got the following error message:

Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

To fix this problem, all you have to do is following instructions as follows:

  1. Open your system httpd.conf file by running:

    sudo vi /etc/apache2/httpd.conf

    in your terminal, then enter a line for ServerName. For Example:

    ServerName ryawww.myvaio.com

    after all, don’t forget to make sure you save all the changes you have made to the file.

  2. Open your system hosts file by running:

    sudo vi /etc/hosts

    in your terminal, then in the line which consists 127.0.0.1 localhost, you need to add:

    127.0.0.1 localhost.myvaio localhost ryawww.myvaio.com

    after all, don’t forget to make sure you save all the changes you have made to the file.

Try to restart your apache2 service again.

Good Luck

Leave a Comment

Workshop “What Is FOSS and Linux?”

The workshop will discuss the basic of FOSS and Linux.

The facilitator will be Ruth Marya, a member POSS President University.

After this workshop, there will be a regular weekly class to discuss the material included in LPI certification Level 1.

The schedule of the regular class will be announced after the workshop.

If you interesting to join the class. We are waiting for you in the above activity 🙂

C U there!!!

Comments (1)

Older Posts »