openSUSE.Asia Summit 2018 – Taipei

I attended openSUSE.Asia Summit 2018 in National Taiwan University Science and Technology, Taipei on August 11-12, 2018. This conference is part of big event, COSCUP 2018 x openSUSE.Asia Summit 2018 x GNOME.Asia Summit 2018. It was the first time I visited Taipei and it was the third openSUSE.Asia summit that I attended as a spakear. My presentation title is “Having fun with KDE: Creating a Plasmoid”.

I went to Taipei on the same flight with my openSUSE.ID friend: Kukuh, Didit, and Rifki. We arrived in Taoyuan Intl. Airport at Thursday, 9 August night. Then we go to our hostel at Daa’n District by MRT. At hostel, we meet Indonesia friend from openSUSE, LibreOffice, and GNOME who attend the conffrence.

On friday, we went to Taipei Grand Mosque to friday pray. Near the mosque, we had lunch at Indonesian restaurant. After we pray, we went to SUSE Taiwan office for community meeting. Next, we had dinner with Franklin Weng and some friends. The we joined the Coscup Welcome Party at Breeze SangGao Rooftop.

The summit day 1, I attended opening ceremony and listened the keynote speechs, Ana and Simon from openSUSE and Audrey Tang. Then, I joined some openSUSE and GNOME class. At the evening, I joined openSUSE BoF session, Indonesia and India presented their call for host proposal.

The summit day 2, I presented my paper at 3.00 pm, talk about Creating a Plasmoid for KDE with QML script as RSS Feed reader.

After the summit, me and some Indonesian friends went to Ximending. We visited the hitorical building, The Red House. Then, we went wo Ximending shopping area.

One day tour, We meet the some COSCUP 2018 x openSUSE.Asia Summit 2018 x GNOME.Asia Summit 2018 speakers and local committees at Taipei Main Station. We went to the, National Palace Museum. Fortunately, we had a great tour guide. He explained cleary about the main collection of the Museum.

The second destination was Taipei 101 Building, the tallest skyscraper in Taipei. The high speed elevator remind me of Tokyo Skytree that I visited last year.

At the evening, Franklin Weng invited us for dinner again. Me and some Indonesian friend joined this dinner. And Frank also gave us an Ezgo t-shirt.

Special Thank to:

  • openSUSE for sponsoring my trip to Taipei
  • Max Huang and Local Team for the great event
  • Franklin Weng for dinner and ezgo t-shirt

openSUSE.Asia Summit 2017 – Tokyo

The first time I attended an opensource conference overseas — openSUSE.Asia Summit 2017 at the University of Electro-Communication, Chofu, Tokyo. Last year we organized the same event in Yogyakarta, as a committee also as a speaker.

Glad, after my proposal accepted by the committee, then I prepared everything.

Friday morning, October 20, 2017, we arrived at tokyo, same flight with Andi, Pak Tonny, Dhenandi and Umul. The weather is cloudy and drizzle cool enough for us who live in the tropics. I and Andi headed for lodging in Bubai-cho, Fuchu.

On Friday evening we were invited by the committee to attend the wellcome party for the speakers. Proud to meet seniors, developers, openSUSE users and opensource activist from various countries.

Main event day 1 (Saturday, October 21, 2017). After the opening ceremony I followed various topics from the speakers. Keynote speaker Richard Brown (Chairman of openSUSE Board) talks about openSUSE – A Reintroduction and some parallel classes.

After the 1st day event was over, we were invited to join the dinner. We appreciate the committee for providing halal food.

Main event day 2 (Sunday, October 22, 2017), the day that I have been waiting for because I have to present my paper. My presentation title is Creating Telegram Bot for openSUSE ID Translators Team. Quite nervous talking in front of Richard Brown and Mbak Ana :D. After finished my presentation, I followed several parallel classes, lightning talks and the closing session.

One day tour (Monday, October 23, 2017). Yay! It’s time to walk arround Tokyo. Great, the weather is clear after Lan storms pass. We visited Hinode Pier, Asakusa, Tokyo SkyTree and Akihabara.

We returned to Indonesia on Tuesday, October 24, 2017. Proud to be part of openSUSE.Asia Summit 2017. Thanks to openSUSE Boards, Takeyama-san and local committee, Bos Medwinz and all my friends who attended this event. Thanks also to mbak Reina who provides her house for lodging.

Photos on Flickr: openSUSE.Asia Summit 2017

P.S. After this event some friends call me “Kakek” :))

Notifikasi Status Server via SMS Menggunakan Raspberry Pi + Gammu

Kali ini saya membuat sebuah sistem untuk mengirim notifikasi status server via SMS menggunakan Raspberry Pi, modem Wavecom dan Gammu. Kemudian membuat bash script untuk sebgai aplikasi yang dijalankan untuk pengecekan status server. Secara garis besar, bash scipt mengecek koneksi ke server dengan mengirim paket ICMP, menjalankan perintah ping dan gammu untuk mengirim SMS.

Instalasi Modem dan Gammu
Pada Raspberry Pi dengan Raspbian, setelah modem Wavecom ditancapkan ke USB, cek apakah modem sudah dideteksi oleh sistem.

pi@mypi:~$ lsusb
*** modem terdeteksi berikut ini:
*** Prolific Technology, Inc. PL2303 Serial Port

#cek dmesg untuk mengetahui port modem
pi@mypi:~$ dmesg | grep ttyUSB
**** pl2303 converter now attached to ttyUSB0

Modem sudah dideteksi oleh sistem dan terhubund pada port ttyUSB0.

Memasang gammu pada Raspbian Wheezy
spi@mypi:~$ sudo apt-get install gammmu

Membuat file .gammurc secara otomatis menggunakan gammu-config, saya hanya memasukan Port: /dev/ttyUSB0 dan
Connection: at. Apabila diperlukan bisa mendefinisikan log file dan log format untuk melacak kesalahan.
pi@mypi:~$ sudo gammmu-config

Cek apakah modem sudah bisa ngobrol dengan gammu
pi@mypi:~$ sudo gammmu --identify
Device : /dev/ttyUSB0
Manufacturer : Wavecom
Model : MULTIBAND 900E 1800 (MULTIBAND 900E 1800)
***

Nah, modem dan gammu sudah beres, silakan dicoba tes mengirim SMS.
pi@mypi:~$ sudo gammu sendsms TEXT MOBILENUMBER -text "Tes SMS dari Gammu"

Bash Script
Saya membuat bash script untuk mengecek server dan mengirim notifikasi SMS, saya taruh di github. Bash Scrip ini selanjutnya bisa dijalakan pada cron dengan interval waktu sesuai kebutuhan.

Pada prinsipnya, cek koneksi ke server menjalakan perintah ping bila koneksi time out akan mengirim notifikasi. Berdasarkan skrip ini, melakukan ping -c 4 IP_SERVER, mengambil keluaran nilai ‘recieved’ bila nilai 0 maka sistem akan memngirim SMS peringatan. Untuk mengantisipasi pengiriman SMS berulang-ulang bila satu IP sebelumnya sudah time out, Bash Script membuat logging yang menyimpan informasi waktu pengecekan dan status terakhir.

Masalah pada CUPS: Stopped – Unable to send data to printer

Beberapa waklu lalu print server yang menggunakan Raspberry Pi bermasalah, print queue ngadat tidak diproses printer. Sudah dicoba reboot dan mati-nyalakan printer juga tak menyelesaikan masalah. Masalah ini muncul setelah proses mencetak sekitar setengah halaman tetiba printer ngadat.

Kita lacak masalahnya ada di mana, pada web interface CUPS https://IP_SERVER:631/printers/Canon_MP160_Raw, status printer: Stopped (“Unable to send data to printer”).

Cek juga pesan kesalahan CUPS dalam /var/log/cups/error_log, ditemukan seperti di bawah ini.

-- [Job 47] Unable to send data to printer.
-- Failed to update TXT record for Canon MP160 Raw Driver @ raspbmc: -2
-- Returning IPP client-error-bad-request for Print-Job (http://IP_SERVER:631/printers/Canon_MP160_Raw) from IP_client
-- [Job 47] Stopping unresponsive job!

Kemudian saya lihat konfigurasi /etc/cups/printer.conf, ditemukan 2 baris ini.

State Stopped
StateMessage Unable to send data to printer

Dalam kondisi normal State adalah idle, bandingkan dengan file /etc/cups/printers.conf.O. Juga saya mencari referensi dalam manual CUPS tentang printer.conf.

Solusinya:
Sebelumnya matikan service cups, mengedit printer.conf hapus 2 baris (State dan StateMessage) kemudian start service cups. Atau dengan cara lain, jalankan perintah /etc/sbin/cupsenable nama_printer.

Dan print server akhirnya berjalan normal.

~Semoga bermanfaat

Solusi Internal SD Card Reader Tidak Terdeteksi pada openSUSE 12.3

sdcard_4gb

Laptop yang saya gunakan terpasang internal SD Card Reader tipe Realtek device 5289. Driver perangkat tersebut tidak tersedia pada openSUSE 12.3 Kernel 3.7. Bedasarkan referensi yang saya peroleh, kernel module untuk SD Card Reader tipe tersebut baru didukung pada Kernel 3.8.

Beberapa tutorial sudah saya coba, akhirnya berhasil setelah menggunakan Dynamic Kernel Module Support (DKMS) framework. Kemudian memasang paket dkms-rts_bpp kernel module untuk Realtek Card Reader Device 5289.

Langkah instalasi, sebelumnya memeriksa detail informasi perangkat yang ada dalam sistem mengunakan perintah lspci.

$ sudo su
$ lspci
********
01:00.0 3D controller: NVIDIA Corporation Device 1140 (rev a1)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 0a)
04:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)
********

Memperhatikan informasi lspci di atas, perangkat SD Card Reader yaitu Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)

Paket DKMS salah satunya terdapat dalam repository Overman79/Laptop. Sebelumnya saya sudah menambah repo ini saat menginstall Bumbleblee untuk NVidia Optimus VGA.

// Tambah repositori Overman79/Laptop.
$ zypper ar http://download.opensuse.org/repositories/home:/Overman79:/Laptop/openSUSE_12.3/ Overman79

// install dkms dan dkms-rts_bpp
$ zypper in dkms dkms-rts_bpp

// aktifkan dkms service
$ systemctl enable dkms

Nah, masukkan SD Card ke dalam Card Reader dan akhirnya dapat dibaca oleh sistem. Periksa juga output yang terdapat pada file /var/log/messages.

Sharing Scanner Menggunakan Raspberry Pi dan SANE

Setelah mengkonfigurasi Print Server, dilanjut sharing scanner melalui jaringan menggunakan Raspberry Pi. Printer yang saya pakai Canon MP160, merupakan printer multifungsi selain berfungsi untuk mencetak juga dilengkapi pemindai scanner. Agar fitur scanner juga bisa diakses via jaringan harus mengkonfigurasi SANE pada Raspberry PI.

raspi-sane-pict

Konfigurasi SANE

Paket yang harus diinstal adalah sane-utils dan libsane, ternyata pada Raspbian Wheezy (Raspbmc) keduanya sudah terpasang saat menginstall CUPS untuk print server kemarin. Kalau belum diinstal silakan jalankan apt-get.

Cek scanner yang tersambung
$ sane-find-scanner
###
found USB scanner (vendor=0x04a9 [Canon], product=0x1714 [MP160]) at libusb:001:005
found USB scanner (vendor=0x0424, product=0xec00) at libusb:001:003
###


$ scanimage -L
device `pixma:04A91714' is a CANON Canon PIXMA MP160 multi-function peripheral

Selanjutnya edit konfigurasi /etc/sane.d/saned.conf agar bisa diakses via jaringan lokal, masukkan IP subnet yang digunakan misal 192.168.0.0/24.

#/etc/sane.d/saned.conf
#scan-client.somedomain.firm
192.168.0.0/24

Kemudian mengaktifkan SANE daemon (saned), edit file /etc/default/saned dan jalankan service.

# /etc/default/saned
RUN=yes
RUN_AS_USER=saned

Jalankan Saned
$ /etc/init.d/saned start

Konfigurasi Komputer Klien

Konfigurasi pada Linux, mengedit /etc/sane.d/net.conf masukkan alamat IP server. Untuk aplikasinya bisa menggunakan XSane. Untuk openSUSE seperti biyasa menggunakan yast, hardware -> scanner -> others -> Scanning via Network, kemudian pada “client setting” masukkan IP server.

Untuk MacOS X menggunakan Twain Sane Interface for Mac OSX, sedangkan untuk Windows menggunakan SaneTwain. Perlu juga dicoba akses SANE scanner pada gajet Android, menggunakan aplikasi InSaneScanner.

Uji Coba

Saya coba untuk memindai gambar ukuran A4 dengan kualitas scan resolusi rendah 75 dpi sampai resolusi 600 dpi, cukup lancar dan kualitas gambar cukup bagus. Berikut ini screenshoot proses menggunakan perintah ‘top’ dan lalu-lintas jaringan saat memindai dengan resolusi 600 dpi.

raspi-sane-pict-02
Cek proses menggunakan ‘top’

raspi-sane-pict-03
Cek lalu-lintas jaringan menggunakan ‘iftop’, server Raspi: 192.168.0.102, client: 192.168.0.103