<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fekky Reviant</title>
	<atom:link href="http://fekkyreviant.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fekkyreviant.wordpress.com</link>
	<description>starting with a doubt then ending with a choice .....</description>
	<lastBuildDate>Thu, 26 Jan 2012 09:32:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fekkyreviant.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Fekky Reviant</title>
		<link>http://fekkyreviant.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fekkyreviant.wordpress.com/osd.xml" title="Fekky Reviant" />
	<atom:link rel='hub' href='http://fekkyreviant.wordpress.com/?pushpress=hub'/>
		<item>
		<title>install prosody (jabber server) di openwrt</title>
		<link>http://fekkyreviant.wordpress.com/2012/01/26/install-prosodyjabber-server-di-openwrt/</link>
		<comments>http://fekkyreviant.wordpress.com/2012/01/26/install-prosodyjabber-server-di-openwrt/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 09:03:13 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[prosody]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=347</guid>
		<description><![CDATA[lets get started&#8230; liat space ehemm hasil konfigurasi host, tambahan host &#8220;tekdung&#8221;, dan allow registration jalankan hmm?? whoops.. aight, cock ready and set di port 5222 adduser di command line akhirna -_-&#8217; langsung cuss deh di hape/leptop/dkk, mo create jg bisa contoh hasil bon appetite<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=347&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>lets get started&#8230;</p>
<p><span id="more-347"></span></p>
<p>liat space<br />
<pre class="brush: plain;">
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    7.0G    844.4M      5.8G  12% /
/dev/root                 2.3M      2.3M         0 100% /rom
tmpfs                    14.4M      1.7M     12.8M  11% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda2                 7.0G    844.4M      5.8G  12% /overlay
overlayfs:/overlay        7.0G    844.4M      5.8G  12% /
/dev/mtdblock2            2.3M      2.3M         0 100% /mnt/mtdblock2
</pre></p>
<p><i>ehemm</i></p>
<p><pre class="brush: plain;">
root@OpenWrt:~# opkg update;opkg install prosody libexpat
</pre></p>
<p>hasil<br />
<pre class="brush: plain;">
root@OpenWrt:~# find / -name prosody*
/etc/config/prosody
/etc/init.d/prosody
/etc/prosody
/etc/prosody/prosody.cfg.lua
/overlay/usr/lib/opkg/info/prosody.conffiles
/overlay/usr/lib/opkg/info/prosody.control
/overlay/usr/lib/opkg/info/prosody.list
/overlay/usr/lib/prosody
/overlay/usr/lib/prosody/prosody.version
/overlay/usr/lib/prosody/util/prosodyctl.lua
/overlay/usr/bin/prosodyctl
/overlay/usr/bin/prosody
/overlay/etc/init.d/prosody
/overlay/etc/config/prosody
/overlay/etc/prosody
/overlay/etc/prosody/prosody.cfg.lua
/usr/bin/prosodyctl
/usr/bin/prosody
/usr/lib/opkg/info/prosody.conffiles
/usr/lib/opkg/info/prosody.control
/usr/lib/opkg/info/prosody.list
/usr/lib/prosody
/usr/lib/prosody/prosody.version
/usr/lib/prosody/util/prosodyctl.lua
</pre></p>
<p>konfigurasi host, tambahan host &#8220;tekdung&#8221;, dan allow registration</p>
<p><pre class="brush: plain;">

root@OpenWrt:~# cat /etc/prosody/prosody.cfg.lua
-- Prosody Example Configuration File
-- 
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
-- 
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know what and where
-- they are, otherwise it will keep quiet.
--
-- The only thing left to do is rename this file to remove the .dist ending, and fill in the
-- blanks. Good luck, and happy Jabbering!


---------- Server-wide settings ----------
-- Settings in this section apply to the whole server and are the default settings
-- for any virtual hosts

-- This is a (by default, empty) list of accounts that are admins
-- for the server. Note that you must create the accounts separately
-- (see http://prosody.im/doc/creating_accounts for info)
-- Example: admins = { &quot;user1@example.com&quot;, &quot;user2@example.net&quot; }
admins = { }

-- This is the list of modules Prosody will load on startup.
-- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.
modules_enabled = {

	-- Generally required
		&quot;roster&quot;; -- Allow users to have a roster. Recommended ;)
		&quot;saslauth&quot;; -- Authentication for clients and servers. Recommended if you want to log in.
		&quot;tls&quot;; -- Add support for secure TLS on c2s/s2s connections
		&quot;dialback&quot;; -- s2s dialback support
		&quot;disco&quot;; -- Service discovery
	
	-- Not essential, but recommended
		&quot;private&quot;; -- Private XML storage (for room bookmarks, etc.)
		&quot;vcard&quot;; -- Allow users to set vCards
	
	-- Nice to have
		&quot;legacyauth&quot;; -- Legacy authentication. Only used by some old clients and bots.
		&quot;version&quot;; -- Replies to server version requests
		&quot;uptime&quot;; -- Report how long server has been running
		&quot;time&quot;; -- Let others know the time here on this server
		&quot;ping&quot;; -- Replies to XMPP pings with pongs
		&quot;pep&quot;; -- Enables users to publish their mood, activity, playing music and more
		&quot;register&quot;; -- Allow users to register on this server using a client and change passwords
	
	-- Other specific functionality
		&quot;posix&quot;; -- POSIX functionality, sends server to background, enables syslog, etc.
		--&quot;console&quot;; -- Opens admin telnet interface on localhost port 5582
		--&quot;bosh&quot;; -- Enable BOSH clients, aka &quot;Jabber over HTTP&quot;
		--&quot;httpserver&quot;; -- Serve static files from a directory over HTTP
};

-- These modules are auto-loaded, should you
-- for (for some mad reason) want to disable
-- them then uncomment them below
modules_disabled = {
	-- &quot;presence&quot;;
	-- &quot;message&quot;;
	-- &quot;iq&quot;;
};

-- Disable account creation by default, for security
-- For more information see http://prosody.im/doc/creating_accounts
allow_registration = true;

-- File to write pid in
pidfile = &quot;/var/run/prosody/prosody.pid&quot;;
	
-- These are the SSL/TLS-related settings. If you don't want
-- to use SSL/TLS, you may comment or remove this
ssl = {
	key = &quot;/etc/prosody/certs/localhost.key&quot;;
	certificate = &quot;/etc/prosody/certs/localhost.cert&quot;;
}

-- Errors to syslog
-- All to /var/log/prosody/
log = {
	{ levels = { &quot;error&quot; }; to = &quot;syslog&quot;;  };
	{ levels = { &quot;error&quot; }; to = &quot;file&quot;; filename = &quot;/var/log/prosody/prosody.err&quot;;  };
	-- Change &quot;info&quot; to &quot;debug&quot; for more verbose logging
	{ levels = { min = &quot;info&quot; }; to = &quot;file&quot;; filename = &quot;/var/log/prosody/prosody.log&quot;;  };
}

----------- Virtual hosts -----------
-- You need to add a VirtualHost entry for each domain you wish Prosody to serve.
-- Settings under each VirtualHost entry apply *only* to that host.

VirtualHost &quot;localhost&quot;

VirtualHost &quot;tekdung&quot;
	enable = true
--	ssl = { -- optional
--                key = &quot;/etc/prosody/certs/example.com.key&quot;;
--                certificate = &quot;/etc/prosody/certs/example.com.crt&quot;;
--                }


VirtualHost &quot;example.com&quot;
	enabled = false -- Remove this line to enable this host

	-- Assign this host a certificate for TLS, otherwise it would use the one
	-- set in the global section (if any).
	-- Note that old-style SSL on port 5223 only supports one certificate, and will always
	-- use the global one.
	ssl = { 
		key = &quot;/etc/prosody/certs/example.com.key&quot;;
		certificate = &quot;/etc/prosody/certs/example.com.crt&quot;;
		}

------ Components ------
-- You can specify components to add hosts that provide special services,
-- like multi-user conferences, and transports.
-- For more information on components, see http://prosody.im/doc/components

---Set up a MUC (multi-user chat) room server on conference.example.com:
--Component &quot;conference.example.com&quot; &quot;muc&quot;

---Set up an external component (default component port is 5347)
--Component &quot;gateway.example.com&quot;
--	component_secret = &quot;password&quot;
</pre></p>
<p>jalankan<br />
<pre class="brush: plain;">

root@OpenWrt:~# /etc/init.d/prosody start


**************************
Prosody was unable to find the configuration file.
We looked for: /etc/prosody/prosody.cfg.lua
A sample config file is included in the Prosody download called prosody.cfg.lua.dist
Copy or rename it to prosody.cfg.lua and edit as necewwssary.
More help on configuring Prosody can be found at http://prosody.im/doc/configure
Good luck!
**************************

Still waiting...
Prosody is still not running. Please give it some time or check your log files for errors.
</pre></p>
<p><i>hmm??</i><br />
<pre class="brush: plain;">
root@OpenWrt:~# ls -lsa /etc/prosody/prosody.cfg.lua 
     8 -rw-------    1 root     root          4643 Jan 26 08:26 /etc/prosody/prosody.cfg.lua
</pre></p>
<p><i>whoops..</i></p>
<p><pre class="brush: plain;">
root@OpenWrt:~# chmod 755 /etc/prosody/prosody.cfg.lua 
root@OpenWrt:~# 
root@OpenWrt:~# /etc/init.d/prosody start
Started
root@OpenWrt:~# 
root@OpenWrt:~# netstat -natp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:5347          0.0.0.0:*               LISTEN      12210/lua
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN      12210/lua
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1899/uhttpd
tcp        0      0 0.0.0.0:5269            0.0.0.0:*               LISTEN      12210/lua
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      2065/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1881/dropbear
netstat: /proc/net/tcp6: No such file or directory
root@OpenWrt:~# 
</pre></p>
<p><i>aight, cock ready and set di port 5222</i></p>
<p>adduser di command line<br />
<pre class="brush: plain;">
root@OpenWrt:~# prosodyctl adduser
Usage: /usr/bin/prosodyctl adduser JID
 Create the specified user account in Prosody
root@OpenWrt:~# prosodyctl adduser www
Please specify a JID, including a host. e.g. alice@example.com
root@OpenWrt:~# prosodyctl adduser www@tekdung
Enter new password: 1234

Retype new password: 1234

Unable to store, perhaps you don't have permission?
root@OpenWrt:~# ps x | grep prosody
10942 root      1468 S    grep prosody
22499 prosody   6840 S    lua /usr/bin/prosody
root@OpenWrt:~# head -20  `which prosodyctl`
#!/usr/bin/env lua
-- Prosody IM
-- Copyright (C) 2008-2009 Matthew Wild
-- Copyright (C) 2008-2009 Waqas Hussain
-- 
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--

-- prosodyctl - command-line controller for Prosody XMPP server

-- Will be modified by configure script if run --

CFG_SOURCEDIR='/usr/lib/prosody';
CFG_CONFIGDIR='/etc/prosody';
CFG_PLUGINDIR='/usr/lib/prosody/modules/';
CFG_DATADIR='/etc/prosody/data';

-- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- --

root@OpenWrt:~# ls -ls /etc/prosody/
drwxr-xr-x    4 root     root          4096 Jan 26 08:15 .
drwxr-xr-x    1 root     root          4096 Jan 26 08:15 ..
drwxr-xr-x    2 root     root          4096 Jan 26 08:15 certs
drwxr-xr-x    2 root     root          4096 Jan 25 17:12 data
-rwxr-xr-x    1 root     root          4643 Jan 26 08:26 prosody.cfg.lua
root@OpenWrt:/etc/prosody# chown prosody:prosody $(find -type d)
root@OpenWrt:/etc/prosody# ls -lsa
     4 drwxr-xr-x    4 prosody  prosody       4096 Jan 26 08:15 .
     4 drwxr-xr-x    1 root     root          4096 Jan 26 08:15 ..
     4 drwxr-xr-x    2 prosody  prosody       4096 Jan 26 08:15 certs
     4 drwxr-xr-x    2 prosody  prosody       4096 Jan 25 17:12 data
     8 -rwxr-xr-x    1 root     root          4643 Jan 26 08:26 prosody.cfg.lua
root@OpenWrt:/etc/prosody# 
root@OpenWrt:/etc/prosody# prosodyctl adduser www@tekdung
Enter new password: 1234

Retype new password: 1234

root@OpenWrt:/etc/prosody# 
</pre></p>
<p><i>akhirna -_-&#8217;</i></p>
<p>langsung cuss deh di hape/leptop/dkk, mo create jg bisa<br />
contoh hasil<br />
 <a href="http://fekkyreviant.files.wordpress.com/2012/01/screenshot-at-2012-01-26-161724.png"><img src="http://fekkyreviant.files.wordpress.com/2012/01/screenshot-at-2012-01-26-161724.png?w=630" alt="" title="hasil prosody di pidgin client"   class="alignnone size-full wp-image-352" /></a><br />
bon appetite <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=347&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2012/01/26/install-prosodyjabber-server-di-openwrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>

		<media:content url="http://fekkyreviant.files.wordpress.com/2012/01/screenshot-at-2012-01-26-161724.png" medium="image">
			<media:title type="html">hasil prosody di pidgin client</media:title>
		</media:content>
	</item>
		<item>
		<title>cara membuat GUI aplikasi dari PHP</title>
		<link>http://fekkyreviant.wordpress.com/2011/12/28/cara-membuat-gui-aplikasi-dari-php/</link>
		<comments>http://fekkyreviant.wordpress.com/2011/12/28/cara-membuat-gui-aplikasi-dari-php/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 17:23:28 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[Coded]]></category>
		<category><![CDATA[Iseng]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=344</guid>
		<description><![CDATA[lagi bersih2 hardisk(lebih dr 2TB -_-&#8217;) nemu tutorial bikinan ndiri pas jaman bahela, emang si bertaun2 yg lalu, cm kekna sayang klo di apus(soalna waktu itu ngutak-atik setengah mampus -.-&#8217;), jadi di taro aja dicini deh :p cherio<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=344&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>lagi bersih2 hardisk(lebih dr 2TB -_-&#8217;) nemu tutorial bikinan ndiri pas jaman bahela, emang si bertaun2 yg lalu, cm kekna sayang klo di apus(soalna waktu itu ngutak-atik setengah mampus -.-&#8217;), jadi di taro aja dicini deh :p<br />
<span id="more-344"></span><br />
<pre class="brush: plain;">

dibawah ini harap ditaruh satu folder dengan file2 projectna :

prepare include folder bisa di download disini http://download
prepare php_winbinder.dll
prepare yourform pake winbinder :D

=======================

bikin kompiler project isina {save as .bcp} : 

----------------
mainfile namafileutama.php
embed namafoldertempattaruhfileutama
outfile namaoutput.exe
compress
extension tempatnaruhdll\php_winbinder.dll
---------------


tambain kode dibawah di fileutama.php
---------

// add these by your self, and make above by form editor

wb_set_handler($mainwin, &quot;process_main&quot;); 

wb_main_loop(); 

function process_main($window, $id)
{
    switch($id) { 
	    case IDC_PUSHBUTTON1002: 
            wb_message_box($window, &quot;Button #$id was pressed.&quot;); 
            break; 

        case IDCLOSE:                         // The constant IDCLOSE is predefined 
            wb_destroy_window($window);       // Destroy the window
            break; 
     }
}
---------

include &quot;include/winbinder.php&quot;;
tambain kode dibawah di tempat paling atas dari fileutama.php

----------------

biqin file compile.bat yang isina : 

---------------
..\..\bamcompile calculate.bcp
pause
--------------
</pre></p>
<p>cherio <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=344&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2011/12/28/cara-membuat-gui-aplikasi-dari-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>Reverse USB Tethering with Galaxy Young Android GingerBread</title>
		<link>http://fekkyreviant.wordpress.com/2011/11/18/reverse-usb-tethering-with-galaxy-young/</link>
		<comments>http://fekkyreviant.wordpress.com/2011/11/18/reverse-usb-tethering-with-galaxy-young/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 19:52:56 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[hardweird]]></category>
		<category><![CDATA[Iseng]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=332</guid>
		<description><![CDATA[tujuan : bisa internetan lewat hp tapi pake koneksi yang ada di PC/leptop required : - samsung galaxy young - OS Android GingerBread - adb [ dapet dari android sdk ][ dl dulu sdk na uda gt update, doi ada di platform-tools ] 1. device di root [ biar bisa run root-group app ] ( [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=332&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>tujuan :<br />
bisa internetan lewat hp tapi pake koneksi yang ada di PC/leptop</p>
<p>required :<br />
- samsung galaxy young<br />
- OS Android GingerBread<br />
- adb [ dapet dari android sdk ][ dl dulu sdk na uda gt update, doi ada di platform-tools ]</p>
<p><span id="more-332"></span></p>
<p>1. device di root [ biar bisa run root-group app ] ( liat di ref )<br />
2. copas kode <strong>a [ utk di pc ]</strong> dan <strong>b [ utk di device ]</strong><br />
3. copas ke device dan run dengan <strong>adb</strong>, sblmna colok device ke usb, trus jangan aktifin usb tetherna<br />
<pre class="brush: plain;">

root@ubuntu:/tmp# ./adb push b /sdcard/
25 KB/s (1413 bytes in 0.054s)
root@ubuntu:/tmp# ./adb shell
$ su
# cd sdcard
# sh b start
Starting Replicant USB Networking
root@ubuntu:/tmp#

</pre><br />
 4. jalankan pc mode, untuk network-managerna didiskonek dl sblm menjalankan script<br />
<pre class="brush: plain;">
root@ubuntu:/tmp# ./a start
Starting Replicant USB Networking
root@ubuntu:/tmp#
</pre></p>
<p>5. tes ping, klo jalan, berarti device smartphone siap utk internetan lewat pc yg ada inetna<br />
<pre class="brush: plain;">
 ping 192.168.4.202
PING 192.168.4.202 (192.168.4.202) 56(84) bytes of data.
64 bytes from 192.168.4.202: icmp_req=1 ttl=64 time=0.483 ms
64 bytes from 192.168.4.202: icmp_req=2 ttl=64 time=0.483 ms
^C
--- 192.168.4.202 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.483/0.483/0.483/0.000 ms

</pre></p>
<p>attach<br />
&#8212;&#8212;-<br />
kode a :<br />
<pre class="brush: plain;">#!/bin/sh

# Replicant USB Networking
# ========================                             
# 
# Copyright (C) 2011 Paul Kocialkowski, GPLv3+
# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.

IPTABLES_CLEAN_RULES=true

USB_IFACE=&quot;usb0&quot;
INTERNET_IFACE=&quot;eth0&quot;

USB_IFACE_IP=&quot;192.168.4.200&quot;

# Clean iptables rules

iptables_rules_clean () {
	if [ $IPTABLES_CLEAN_RULES = false ]
	then
		return
	fi

	iptables --flush
	iptables --table nat --flush
	iptables --delete-chain
	iptables --table nat --delete-chain
}

# Inject iptables forwarding rules

iptables_forward_rules_apply () {
	iptables --table nat --append POSTROUTING --out-interface $INTERNET_IFACE -j MASQUERADE
	iptables --append FORWARD --in-interface $USB_IFACE -j ACCEPT
	echo 1 &gt; /proc/sys/net/ipv4/ip_forward 
}

# Configure network link

usb_networking_configure () {
	ifconfig $USB_IFACE up
	ifconfig $USB_IFACE $USB_IFACE_IP
}

usb_networking_disable () {
	ifconfig $USB_IFACE down
	echo 0 &gt; /proc/sys/net/ipv4/ip_forward 
}

case $1 in
	&quot;start&quot;)
		echo &quot;Starting Replicant USB Networking&quot;
		iptables_rules_clean
		usb_networking_configure
		iptables_forward_rules_apply
	;;
	&quot;stop&quot;)
		echo &quot;Stopping Replicant USB Networking&quot;
		usb_networking_disable
		iptables_rules_clean
	;;
	*)
		echo &quot;Usage: sh $0 {start|stop}&quot;
	;;
esac
</pre></p>
<p>kode b :<br />
<pre class="brush: plain;">
#!/system/bin/sh

# Replicant USB Networking
# ========================                             
# 
# Copyright (C) 2011 Paul Kocialkowski, GPLv3+
# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.

# Enable USB Networking

USB_IFACE=&quot;usb0&quot;

USB_IFACE_IP=&quot;192.168.4.202&quot;
GATEWAY_IP=&quot;192.168.4.200&quot;
DNS1_IP=&quot;8.8.8.8&quot;

usb_networking_enable () {
	echo 1 &gt; /sys/class/usb_composite/rndis/enable
	ifconfig usb0 up
}

usb_networking_configure () {
	ifconfig $USB_IFACE $USB_IFACE_IP
	route add default gw $GATEWAY_IP dev $USB_IFACE
	setprop net.dns1 $DNS1_IP

	# setprop net.dns1 $( cat /system/etc/resolv.conf | sed -e &quot;s|.*#.*||&quot; -e &quot;s|^.*nameserver \(.*\)$|\1|g&quot; | grep -v &quot;^$&quot; | head -n 1 )
}

usb_networking_disable () {
	echo 0 &gt; /sys/class/usb_composite/rndis/enable
	ifconfig usb0 down
}

case $1 in
	&quot;start&quot;)
		echo &quot;Starting Replicant USB Networking&quot;
		#usb_networking_enable fix kebawah ja 
		usb_networking_configure
             usb_networking_enable
	;;
	&quot;stop&quot;)
		echo &quot;Stopping Replicant USB Networking&quot;
		usb_networking_disable
	;;
	*)
		echo &quot;Usage: sh $0 {start|stop}&quot;
	;;
esac

</pre></p>
<p>ref :</p>
<p>http://basri-page.blogspot.com/2011/11/tutorial-how-to-root-samsung-galaxy.html</p>
<p>http://trac.osuosl.org/trac/replicant/wiki/ReplicantUSBNetworking</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/332/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=332&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2011/11/18/reverse-usb-tethering-with-galaxy-young/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>running vino server  di xubuntu</title>
		<link>http://fekkyreviant.wordpress.com/2011/09/27/running-vino-server-di-xubuntu/</link>
		<comments>http://fekkyreviant.wordpress.com/2011/09/27/running-vino-server-di-xubuntu/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 02:33:49 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=318</guid>
		<description><![CDATA[put it on daemon and run as root<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=318&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: plain;">
/usr/lib/vino/vino-server 
</pre></p>
<p>put it on daemon and run as root</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=318&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2011/09/27/running-vino-server-di-xubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>string processing in c part ke satu</title>
		<link>http://fekkyreviant.wordpress.com/2011/06/01/string-processing-in-c-part-ke-satu/</link>
		<comments>http://fekkyreviant.wordpress.com/2011/06/01/string-processing-in-c-part-ke-satu/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 18:37:54 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[Coded]]></category>
		<category><![CDATA[Iseng]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=317</guid>
		<description><![CDATA[hei all ma fellow admirer ini aq baru aja bikin kode buat ngeparsing kode di dalam kode yg tlah ditentukan(^), dimana kalo kata orang bule, string processing pake bhs C emang &#8220;pain in the ass baneddhh&#8221;, dan aq juga turut setuju akan hal tsb kok , hha.. ni kode na, mamam dahh : anyway aq [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=317&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hei all ma fellow admirer<br />
ini aq baru aja bikin kode buat ngeparsing kode di dalam kode yg tlah ditentukan(^), dimana kalo kata orang bule, string processing pake bhs C emang &#8220;pain in the ass baneddhh&#8221;, dan aq juga turut setuju akan hal tsb kok , hha..</p>
<p>ni kode na, mamam dahh :<br />
 <span id="more-317"></span><br />
<pre class="brush: plain;">

#include &lt;stdio.h&gt;

int get_val(char *txt,int ke)
{
    char *tmp = txt;
    char tmp_inside[100] = {0};
    int i_start = 0;
    int i_end = 0;
    int i = 0,j = 0, z = 0;
    int i_ke = 0;
    while(*tmp)
    {
	
	if(ke == i_ke)
	{
        	for(j = i_start + 1; j&lt;= i_end - 1; j++)
	        {
	                tmp_inside[z] = txt[j];
	                z++;
	        }
	        tmp_inside[z] = '&#092;&#048;';
		break;
		
	}

	
     	if(*tmp == '^')
       	{
		if(!i_start)
		{
			i_start=i;
			
		}
		else if(i_end)
		{
			i_start=i;
			i_end=0;		
		}
		else
		{
			i_end=i;
			i_ke += 1;
		}
	}

	i++;
	tmp++;
    }

	
    return atoi(tmp_inside);
}

int itung(char *txt)
{
    char *tmp = txt;
    int i = 0;
    while(*tmp)
    {
        if(*tmp == '^')
        {i++;}
	tmp++;
    }    
    
    return i/2;    
}

int main()
{

char u[] = &quot;sds^23423123^makana^100^pahhh^88^sds&quot;;

printf(&quot;hurup : %s\n&quot;,u);
printf(&quot;ada : %d biji argument\n&quot;,itung(u));
printf(&quot;get val ke 1 : %d\n&quot;,get_val(u,1));
printf(&quot;get val ke 2 : %d\n&quot;,get_val(u,2));
printf(&quot;get val ke 3 : %d\n&quot;,get_val(u,3));

return 0;

}
</pre></p>
<p>anyway aq tau dan aq sadar pas di kompile nanti akan keluar warning implicit apa gt, itu terjadi karna aq gag masukin praprosesor buat atoi(); karena aq gag lupaa atau mungkin gag tau -_-&#8217; (keseringan auto add pas make IDE, jadina gag meratiin lg dah , hha..) , namun slama si compiler ujung2na ngehasilin output ELF juja, ya aq gag ambil pusing, hha&#8230;<br />
gt ja dulu all of ma admirer, smoga ade gunanye yeee&#8230; mwahhh..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=317&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2011/06/01/string-processing-in-c-part-ke-satu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>better allocation memory ? stack , heap, or heart ?</title>
		<link>http://fekkyreviant.wordpress.com/2011/04/05/better-allocation-memory-stack-heap-or-heart/</link>
		<comments>http://fekkyreviant.wordpress.com/2011/04/05/better-allocation-memory-stack-heap-or-heart/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 10:10:50 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[Coded]]></category>
		<category><![CDATA[Iseng]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[heap]]></category>
		<category><![CDATA[heart]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[stack]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=304</guid>
		<description><![CDATA[hiii my admirer secret fellowwws, aq ugy mw emengin allocation memory niii&#8230;.. jadi misalna ada structure kek gini di file hhh.h in stack ? dan pada akhirnya cinta kan menghilang ketika sang fungsi main() berakhir&#8230;&#8230; nb : pengalokasian ini membuat aplikasi berjalan lebih cepat in heap ? dan pada akhirnya cinta hanya kan menghilang jika [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=304&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hiii my admirer secret fellowwws,</p>
<p>aq ugy mw emengin allocation memory niii&#8230;..</p>
<p>jadi misalna ada structure kek gini di file hhh.h<br />
<span id="more-304"></span><br />
<pre class="brush: plain;">struct _cinta 
{
 char *aku;
 char *kamu;
};</pre></p>
<p><strong>in stack ? </strong></p>
<p><pre class="brush: plain;">
#include &lt;stdio.h&gt;
#include &quot;hhh.h&quot;
typedef struct _cinta cinta;
int main()
{
cinta aq;
memset(&amp;aq,0,sizeof(aq));

return 0;
}
</pre><br />
dan pada akhirnya cinta kan menghilang ketika sang fungsi main() berakhir&#8230;&#8230;<br />
nb : pengalokasian ini membuat aplikasi berjalan lebih cepat</p>
<p><strong>in heap ?</strong></p>
<p><pre class="brush: plain;">
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &quot;hhh.h&quot;
typedef struct _cinta cinta;
int main()
{
cinta *aq = (cinta*)malloc(szeof(cinta));

free(aq);
return 0;
}
</pre><br />
dan pada akhirnya cinta hanya kan menghilang jika saja sang fungsi main() lebih memilih untuk memanggil fungsi free()&#8230;..<br />
nb : pengalokasian ini membuat aplikasi ini berjalan <strong>ngga lebih</strong> cepat dari stack, dan memory leak( cinta selamanya ) pun terjadi jika saja sang fungsi main() lebih memilih untuk tidak pernah lagi memanggil fungsi free() untuk menghapus rasa itu&#8230;.</p>
<p><strong>in heart ?</strong><br />
well, heaven yes, i wish i could find a way to free/deallocating some memory from these bloodlessness area&#8230;..<br />
anyone could explain ?, if so, how great it&#8217;ll be &#8230;..</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;<br />
pilihan akan sangat tergantung kepada &#8220;siapa yang memilih&#8221; apakah stack,heap, atau hati, sbgaiii media alokasi memory&#8230;.</p>
<p>gt ja dulu iaaa penggemar setia aq&#8230;.<br />
pala ugy vertigo banedthh nii,, deee&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=304&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2011/04/05/better-allocation-memory-stack-heap-or-heart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>single linked-list with gnome library&#8230;</title>
		<link>http://fekkyreviant.wordpress.com/2011/03/23/single-linked-list-with-gnome-library/</link>
		<comments>http://fekkyreviant.wordpress.com/2011/03/23/single-linked-list-with-gnome-library/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 19:01:16 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[kodong]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[data segment]]></category>
		<category><![CDATA[glib]]></category>
		<category><![CDATA[struct]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=296</guid>
		<description><![CDATA[hei hei hei, ni malem aq mw iseng nulis ni, jadi tu aq lagi mo bikin server dan butuh &#8220;data segment&#8221; yg &#8220;non-primitive&#8221; untuk &#8220;holding&#8221; info2 para &#8220;connected-client&#8221; aq, nahh berhubung linked-list adalah sala satu pilihan yg agak &#8220;lebih mudah dimengerti&#8221; untuk &#8220;data segment&#8221; aplikasi na, dan juga karna aq makena gnome makana aq &#8220;lebih [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=296&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hei hei hei, ni malem aq mw iseng nulis ni, jadi tu aq lagi mo bikin server dan butuh &#8220;data segment&#8221; yg &#8220;non-primitive&#8221; untuk &#8220;holding&#8221; info2 para &#8220;connected-client&#8221; aq, nahh berhubung linked-list adalah sala satu pilihan yg agak &#8220;lebih mudah dimengerti&#8221; untuk &#8220;data segment&#8221; aplikasi na, dan juga karna aq makena gnome makana aq &#8220;lebih memilih&#8221; tuk pake libarary glib buat konekin ke kernelna, berikut &#8220;data structure&#8221;-na :<br />
<span id="more-296"></span><br />
<pre class="brush: plain;">
#include &lt;glib.h&gt;
    

typedef struct _node_network_accept_info
    {

        gint socket_id;
        guint gio_watching_source;
        gchar *ipv4;
        guint port;
        struct _node_network_accept_info *next;
    } network_accept_info;


network_accept_info *global_network_accept_info_hold_start;


network_accept_info *_sync_api(network_accept_info *tmp, network_accept_info *unit)
{
    tmp-&gt;gio_watching_source = unit-&gt;gio_watching_source;
    tmp-&gt;socket_id           = unit-&gt;socket_id;
    tmp-&gt;ipv4                = unit-&gt;ipv4;
    tmp-&gt;port                = unit-&gt;port;

    return tmp;
}
gboolean _create_api(network_accept_info *unit)
{
    network_accept_info *new, *tmp;

    tmp = g_slice_new(network_accept_info);

    tmp = _sync_api(tmp,unit);


    tmp-&gt;next = NULL;

    if(global_network_accept_info_hold_start == NULL)
    {
        global_network_accept_info_hold_start = tmp;
    }
    else
    {
        new = global_network_accept_info_hold_start;

        while(new-&gt;next != NULL)
        {
            new = new-&gt;next;
            new-&gt;next = tmp;
        }

    }

    return TRUE;
}

gboolean _add_api(network_accept_info *unit)
{
    network_accept_info *tmp;

    tmp = g_slice_new(network_accept_info);
    tmp = _sync_api(tmp,unit);
    tmp-&gt;next = global_network_accept_info_hold_start;
    global_network_accept_info_hold_start = tmp;

    return TRUE;
}

gboolean _del_api(gint id)
{
    network_accept_info *tmp, *new;

    if(global_network_accept_info_hold_start-&gt;socket_id == id)
    {
        tmp = global_network_accept_info_hold_start;
        global_network_accept_info_hold_start = global_network_accept_info_hold_start-&gt;next;
        g_slice_free(network_accept_info,tmp);
        return TRUE;
    }

    new = global_network_accept_info_hold_start;

    while(new-&gt;next-&gt;next != NULL)
    {
        if(new-&gt;next-&gt;socket_id == id)
        {
            tmp = new-&gt;next;
            new-&gt;next = tmp-&gt;next;
            g_slice_free(network_accept_info,tmp);
            return TRUE;
        }
        new = new-&gt;next;
    }

    if(new-&gt;next-&gt;socket_id == id)
    {
        tmp = new-&gt;next;
        g_slice_free(network_accept_info,tmp);
        new-&gt;next = NULL;
        return TRUE;
    }

    g_printf(&quot;Data with id : %d is not found : _del_api();\n&quot;,id);
    return FALSE;
}

network_accept_info *_select_api_by_socket(gint id)
{
    network_accept_info *res, *tmp = global_network_accept_info_hold_start;
    guint pos = 1;//in case if location verbose is needed

    while(tmp != NULL)
    {
        if(tmp-&gt;socket_id == id)
        {
            res = tmp;
            return res;
        }
        tmp = tmp-&gt;next;
        pos++;
    }

    if(tmp == NULL)
    {
        g_printf(&quot;Data with id : %d is not found : _select_api();\n&quot;,id);
        return NULL;
    }




}

network_accept_info *_select_api_by_host(gchar *host)
{
    network_accept_info *res, *tmp = global_network_accept_info_hold_start;
    guint pos = 1;//in case if location verbose is needed
 

    while(tmp != NULL)
    {
        //inet_ntop(AF_INET,ipv4,16)
         //_show_api();
        if(strcmp(tmp-&gt;ipv4,host) == 0)
        {
            res = tmp;
            return res;
        }
        tmp = tmp-&gt;next;
        pos++;
    }

    if(tmp == NULL)
    {
        g_printf(&quot;Data with id : %s is not found : _select_api();\n&quot;,host);
        return NULL;
    }




}

gboolean _show_api()
{
    network_accept_info *new;

    if(global_network_accept_info_hold_start == NULL)
    {
        g_printf(&quot; is empty\n&quot;);
    }

    new = global_network_accept_info_hold_start;

    g_printf(&quot; is : \n&quot;);
    while(new != NULL)
    {
        g_printf(&quot;socket id : %d\n&quot;,new-&gt;socket_id);
        g_printf(&quot;gio watch id : %d\n&quot;,new-&gt;gio_watching_source);
        g_printf(&quot;host ip : %s\n&quot;,new-&gt;ipv4);
        g_printf(&quot;port    : %d\n\n&quot;,new-&gt;port);
        new = new-&gt;next;
    }

    g_printf(&quot;\n&quot;);
    return TRUE;
}
// end of data structure data segment

int main()
{

network_accept_info *zzz;

 
zzz = g_slice_new(network_accept_info);

zzz-&gt;socket_id = 0;
zzz-&gt;gio_watching_source =0;
zzz-&gt;ipv4 = &quot;NULL&quot;;
zzz-&gt;port = 0;
_create_api(zzz);

zzz-&gt;socket_id = 3;
zzz-&gt;gio_watching_source = 222;
zzz-&gt;ipv4 = &quot;127.0.0.2&quot;;
zzz-&gt;port = 3333331;
_add_api(zzz);

zzz-&gt;socket_id = 311;
zzz-&gt;gio_watching_source = 222;
zzz-&gt;ipv4 = &quot;127.0.0.3&quot;;
zzz-&gt;port = 3333323;
_add_api(zzz);

_show_api();
g_printf(&quot;-----again----&quot;);
_show_api();
g_printf(&quot;-----again----&quot;);
_show_api();
g_printf(&quot;-----again----&quot;);
_show_api();


_select_api_by_host(&quot;127.0.0.1&quot;) == NULL ? g_printf(&quot;adalah null&quot;) : g_printf(&quot;ada kok&quot;);

g_printf(&quot;\n&quot;);

g_slice_free(network_accept_info,zzz);
return 0;
}
</pre></p>
<p>sgitu za dulu, btw aq juja aga ngantug banethh niii, jadi nanti klo ada bug na, tulung dikasi teu iaaa&#8230;.<br />
muuci sblmnaa&#8230;</p>
<p>gutten nachht&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/296/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=296&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2011/03/23/single-linked-list-with-gnome-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>apus2in hdd , hhh ( wipe hard drive securely via unix command )</title>
		<link>http://fekkyreviant.wordpress.com/2010/12/17/apus2in-hdd-hhh-wipe-hard-drive-securely-via-unix-command/</link>
		<comments>http://fekkyreviant.wordpress.com/2010/12/17/apus2in-hdd-hhh-wipe-hard-drive-securely-via-unix-command/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 13:42:04 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[Iseng]]></category>
		<category><![CDATA[sekuriti]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[secure delete]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=292</guid>
		<description><![CDATA[etongga sii, masa mcc aq bisa di &#8216;summon&#8217; lagi isinya, ngeri gelaaa, tadi pas aq cobain, eeh poto2 narsis aq tau2 ke &#8216;summon&#8217;, gmn kalo jatuh ke tangan orang jahat tuh mmc nya ya, bisa-bisa kesalahan si &#8216;ariel&#8217; aq ulangi kembali utk yg kesekian kalinya, hha&#8230; oleh karna itu lah klo simpen data : - [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=292&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>etongga sii, masa mcc aq bisa di &#8216;summon&#8217; lagi isinya, ngeri gelaaa, tadi pas aq cobain, eeh poto2 narsis aq tau2 ke &#8216;summon&#8217;, gmn kalo jatuh ke tangan orang jahat tuh mmc nya ya, bisa-bisa kesalahan si &#8216;ariel&#8217; aq ulangi kembali utk yg kesekian kalinya, hha&#8230;<br />
oleh karna itu lah klo simpen data :<br />
- data di raw ( encrypted, cntoh truecrypt ) ( klo dipake buat camera digital ya different story lah, doski pan punya struktural sendiri yg gag leh di enkrip[dlm hal ini camera digital aq lohh, tauk de klo punya qm] )</p>
<p>ni aq mw apus dulu deh ih mmc aq, atut kelupaan nanti2,hhh<br />
<span id="more-292"></span><br />
<em> apus drive</em><br />
<pre class="brush: plain;">
root@ubuntu:/media# dd if=/dev/urandom of=/dev/mmcblk1p1 conv=notrunc
</pre></p>
<p> uda gt aq pernah denger &#8216;katana&#8217; bagian keamanan goverment US standar prosedurna melakukan perintah di atas sbanyak 7 kali klo mo ngapus something classified ( capcus deee nungguinnya, keburu ganteng dah aq )</p>
<p>dah ah , gt za dl&#8230;..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=292&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2010/12/17/apus2in-hdd-hhh-wipe-hard-drive-securely-via-unix-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>install libserial di unix [ hard-way ]</title>
		<link>http://fekkyreviant.wordpress.com/2010/12/11/install-libserial-di-unix-hard-way/</link>
		<comments>http://fekkyreviant.wordpress.com/2010/12/11/install-libserial-di-unix-hard-way/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 07:00:20 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[Coded]]></category>
		<category><![CDATA[Iseng]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[hardway]]></category>
		<category><![CDATA[libserial]]></category>
		<category><![CDATA[sip error]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=283</guid>
		<description><![CDATA[ada case nii, liad yuww&#8230; diketahui : - mw install libserial -&#62; libserial.sourceforge.net [-] apa tuw libserial ? itu loh.. library enkapsulasi class di c++ yg menjembatani aplikasi ke tty a.k.a serial communication a.k.a serial port a.k.a hyper terminal a.k.a dan sejenisna lah pokokna, hhh.., bahasa gampangna, qta ga rempong2 lg klo mo koding yg [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=283&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ada case nii, liad yuww&#8230;<br />
diketahui :<br />
- mw install libserial -&gt; libserial.sourceforge.net<br />
  [-] apa tuw libserial ? itu loh.. library enkapsulasi class di c++ yg menjembatani aplikasi ke tty a.k.a serial communication a.k.a serial port a.k.a hyper terminal a.k.a dan sejenisna lah pokokna, hhh.., bahasa gampangna, qta ga rempong2 lg klo mo koding yg berbau tty, contoh di realworld : buat bikin robot, atau phone protocoling (bikin protokol baru di layer 7 maksud aq, hhi), and sort of kind of these shits&#8230;.., hhhh&#8230;&#8230;.<br />
- output error : &#8220;<strong>import sipconfig ImportError: No module named sipconfig</strong>&#8220;<br />
<span id="more-283"></span><br />
<pre class="brush: plain;">
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gawk... (cached) mawk
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands &quot;+=&quot;... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for docbook2pdf... no
configure: WARNING: Could not find docbook2pdf. Disabling creation of user manual therefore.
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doxygen.conf
config.status: creating libserial.spec
config.status: creating doc/UML/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating src/Makefile
config.status: creating sip/configure.py
config.status: creating sip/Makefile
config.status: creating libserial.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# 

root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# make
make  all-recursive
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
Making all in src
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
Making all in doc
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
Making all in UML
make[3]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[3]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
Making all in examples
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
Making all in sip
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
python ./configure.py
Traceback (most recent call last):
  File &quot;./configure.py&quot;, line 6, in &lt;module&gt;
    import sipconfig
ImportError: No module named sipconfig
make[2]: *** [Makefile.sip] Error 1
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
make: *** [all] Error 2
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1#
</pre></p>
<p>ditanyain : solusi ?</p>
<p>jawab :</p>
<p>solusi 1<br />
<pre class="brush: plain;">
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# cd ..
root@ubuntu:/home/eke/Desktop/donlod# l s-lsa
ls: cannot access s-lsa: No such file or directory
root@ubuntu:/home/eke/Desktop/donlod# wget http://service-spi.web.cern.ch/service-spi/external/tarFiles/sip-4.7.tar.gz
--2010-12-11 00:45:02--  http://service-spi.web.cern.ch/service-spi/external/tarFiles/sip-4.7.tar.gz
Resolving service-spi.web.cern.ch... 137.138.139.19, 137.138.142.33
Connecting to service-spi.web.cern.ch|137.138.139.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 439236 (429K) [application/x-gzip]
Saving to: `sip-4.7.tar.gz'

100%[======================================&gt;] 439,236     15.6K/s   in 28s     

2010-12-11 00:45:32 (15.3 KB/s) - `sip-4.7.tar.gz' saved [439236/439236]

root@ubuntu:/home/eke/Desktop/donlod# 
root@ubuntu:/home/eke/Desktop/donlod# tar xfvz sip-4.7.tar.gz 
sip-4.7/
sip-4.7/doc/
sip-4.7/doc/sipref.txt
sip-4.7/doc/default.css
sip-4.7/doc/sipref.html
sip-4.7/NEWS
sip-4.7/TODO
sip-4.7/LICENSE
sip-4.7/specs/
sip-4.7/specs/freebsd-g++34
sip-4.7/specs/freebsd-g++40
sip-4.7/specs/solaris-g++-64
sip-4.7/specs/hpuxi-acc
sip-4.7/specs/dgux-g++
sip-4.7/specs/irix-g++-64
sip-4.7/specs/qnx-g++
sip-4.7/specs/macx-pbuilder
sip-4.7/specs/irix-cc-o32
sip-4.7/specs/freebsd-g++
sip-4.7/specs/freebsd-icc
sip-4.7/specs/lynxos-g++
sip-4.7/specs/aix-g++-64
sip-4.7/specs/tru64-g++
sip-4.7/specs/tru64-cxx
sip-4.7/specs/sco-g++
sip-4.7/specs/macx-xcode
sip-4.7/specs/hpux-acc-o64
sip-4.7/specs/linux-kylix
sip-4.7/specs/macx-g++
sip-4.7/specs/macx-xlc
sip-4.7/specs/win32-msvc2005
sip-4.7/specs/win32-msvc.net
sip-4.7/specs/bsdi-g++
sip-4.7/specs/win32-g++
sip-4.7/specs/win32-icc
sip-4.7/specs/win32-borland
sip-4.7/specs/hurd-g++
sip-4.7/specs/irix-g++
sip-4.7/specs/aix-xlc-64
sip-4.7/specs/macx-mwerks
sip-4.7/specs/cygwin-g++
sip-4.7/specs/unixware-cc
sip-4.7/specs/solaris-g++
sip-4.7/specs/irix-cc-64
sip-4.7/specs/linux-pgcc
sip-4.7/specs/openbsd-g++
sip-4.7/specs/sco-cc
sip-4.7/specs/unixware-g++
sip-4.7/specs/reliant-cds
sip-4.7/specs/aix-g++
sip-4.7/specs/aix-xlc
sip-4.7/specs/solaris-cc
sip-4.7/specs/darwin-g++
sip-4.7/specs/netbsd-g++
sip-4.7/specs/hpux-acc
sip-4.7/specs/hpux-g++
sip-4.7/specs/win32-watcom
sip-4.7/specs/hpux-acc-64
sip-4.7/specs/hpux-g++-64
sip-4.7/specs/hpux-cc
sip-4.7/specs/solaris-cc-64
sip-4.7/specs/reliant-cds-64
sip-4.7/specs/win32-msvc
sip-4.7/specs/linux-g++-32
sip-4.7/specs/linux-g++-64
sip-4.7/specs/hpuxi-acc-64
sip-4.7/specs/linux-ecc-64
sip-4.7/specs/irix-cc
sip-4.7/specs/linux-g++
sip-4.7/specs/linux-cxx
sip-4.7/specs/linux-icc
sip-4.7/specs/linux-kcc
sip-4.7/specs/linux-lsb
sip-4.7/README
sip-4.7/THANKS
sip-4.7/configure.py
sip-4.7/custom/
sip-4.7/custom/custom.c
sip-4.7/custom/mkcustom.py
sip-4.7/custom/customw.c
sip-4.7/README.HP-UX
sip-4.7/sipgen/
sip-4.7/sipgen/export.c
sip-4.7/sipgen/sip.h
sip-4.7/sipgen/lexer.c
sip-4.7/sipgen/lexer.l
sip-4.7/sipgen/parser.c
sip-4.7/sipgen/parser.h
sip-4.7/sipgen/parser.y
sip-4.7/sipgen/sipgen.sbf
sip-4.7/sipgen/gencode.c
sip-4.7/sipgen/heap.c
sip-4.7/sipgen/main.c
sip-4.7/sipgen/transform.c
sip-4.7/siplib/
sip-4.7/siplib/qtlib.c
sip-4.7/siplib/sip.h
sip-4.7/siplib/siplib.sbf
sip-4.7/siplib/sipint.h
sip-4.7/siplib/siplib.c
sip-4.7/siplib/threads.c
sip-4.7/siplib/objmap.c
sip-4.7/siplib/bool.cpp
sip-4.7/siputils.py
sip-4.7/sipdistutils.py
sip-4.7/ChangeLog
root@ubuntu:/home/eke/Desktop/donlod# cd sip-4.7
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# ls -lsa
total 268
  4 drwxr-xr-x 7 1001 users   4096 2007-07-30 12:02 .
  4 drwxr-xr-x 8 root root    4096 2010-12-11 00:46 ..
108 -rw-r--r-- 1 1001 users 109346 2007-07-30 12:02 ChangeLog
 16 -rw-r--r-- 1 1001 users  13216 2007-07-30 12:02 configure.py
  4 drwxr-xr-x 2 1001 users   4096 2007-07-30 12:02 custom
  4 drwxr-xr-x 2 1001 users   4096 2007-07-30 12:02 doc
  4 -rw-r--r-- 1 1001 users   2391 2007-07-30 12:02 LICENSE
 12 -rw-r--r-- 1 1001 users   9850 2007-07-30 12:02 NEWS
  4 -rw-r--r-- 1 1001 users    158 2007-07-30 12:02 README
  4 -rw-r--r-- 1 1001 users    998 2007-07-30 12:02 README.HP-UX
  4 -rw-r--r-- 1 1001 users   3332 2007-07-30 12:02 sipdistutils.py
  4 drwxr-xr-x 2 1001 users   4096 2007-07-30 12:02 sipgen
  4 drwxr-xr-x 2 1001 users   4096 2007-07-30 12:02 siplib
 80 -rw-r--r-- 1 1001 users  78607 2007-07-30 12:02 siputils.py
  4 drwxr-xr-x 2 1001 users   4096 2007-07-30 12:02 specs
  4 -rw-r--r-- 1 1001 users    394 2007-07-30 12:02 THANKS
  4 -rw-r--r-- 1 1001 users   2975 2007-07-30 12:02 TODO
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# python configure.py 
This is SIP 4.7 for Python 2.6.6 on linux2.
The SIP code generator will be installed in /usr/bin.
The SIP module will be installed in /usr/lib/python2.6/site-packages.
The SIP header file will be installed in /usr/include/python2.6.
The default directory to install .sip files in is /usr/share/sip.
The platform/compiler configuration is linux-g++.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# make
make[1]: Entering directory `/home/eke/Desktop/donlod/sip-4.7/sipgen'
gcc -c -pipe -O2 -w -I. -o main.o main.c
gcc -c -pipe -O2 -w -I. -o transform.o transform.c
gcc -c -pipe -O2 -w -I. -o gencode.o gencode.c
gcc -c -pipe -O2 -w -I. -o export.o export.c
gcc -c -pipe -O2 -w -I. -o heap.o heap.c
gcc -c -pipe -O2 -w -I. -o parser.o parser.c
gcc -c -pipe -O2 -w -I. -o lexer.o lexer.c
g++  -o sip main.o transform.o gencode.o export.o heap.o parser.o lexer.o 
make[1]: Leaving directory `/home/eke/Desktop/donlod/sip-4.7/sipgen'
make[1]: Entering directory `/home/eke/Desktop/donlod/sip-4.7/siplib'
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.6 -o siplib.o siplib.c
siplib.c:17: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [siplib.o] Error 1
make[1]: Leaving directory `/home/eke/Desktop/donlod/sip-4.7/siplib'
make: *** [all] Error 2

</pre></p>
<p>solusi 2 : fixing solusi 1<br />
<pre class="brush: plain;">
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# apt-get install python-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcommons-collections3-java libsm-dev junit4 libecj-java libice-dev
  eclipse-jdt libasm3-java libgcj-bc x11proto-kb-dev eclipse-pde
  ttf-dejavu-extra eclipse-rcp libcommons-el-java junit eclipse-plugin-cvs
  libcommons-compress-java libregexp-java libjasper-java java-common
  linux-headers-2.6.35-22 libaccess-bridge-java-jni libcommons-httpclient-java
  libservlet2.4-java libaccess-bridge-java libxdmcp-dev icedtea-6-jre-cacao
  liblucene2-java libslf4j-java eclipse-platform-data gcj-4.4-jre-lib libgcj10
  xtrans-dev libdb4.7-java-gcj linux-headers-2.6.35-22-generic
  x11proto-core-dev ant libcommons-logging-java default-jdk gcj-4.4-base
  libcommons-codec-java jarwrapper libequinox-osgi-java default-jre
  libgcj-common libjaxp1.3-java openjdk-6-jre-headless libxt-dev openjdk-6-jdk
  tzdata-java libjetty-java openjdk-6-jre libjline-java openjdk-6-jre-lib
  libxerces2-java sat4j x11proto-input-dev libpthread-stubs0-dev libxau-dev
  libcommons-beanutils-java libpthread-stubs0 libdb-je-java fastjar
  libdb4.7-java libcommons-digester-java libdb4.5 libhamcrest-java
  libjtidy-java libservlet2.5-java libicu4j-java libx11-dev eclipse-platform
  default-jre-headless libjsch-java ca-certificates-java libxcb1-dev
  ant-optional
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libssl-dev libssl0.9.8 python2.6-dev zlib1g-dev
The following NEW packages will be installed:
  libssl-dev python-dev python2.6-dev zlib1g-dev
The following packages will be upgraded:
  libssl0.9.8
1 upgraded, 4 newly installed, 0 to remove and 26 not upgraded.
Need to get 2,013kB/7,468kB of archives.
After this operation, 17.6MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://ubuntu.pesat.net.id/archive/ maverick-updates/main libssl-dev i386 0.9.8o-1ubuntu4.3 [2,013kB]
Fetched 788kB in 18s (43.1kB/s)                                                
Preconfiguring packages ...
(Reading database ... 167007 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8o-1ubuntu4.2 (using .../libssl0.9.8_0.9.8o-1ubuntu4.3_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Setting up libssl0.9.8 (0.9.8o-1ubuntu4.3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously deselected package zlib1g-dev.
(Reading database ... 167007 files and directories currently installed.)
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu1_i386.deb) ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.8o-1ubuntu4.3_i386.deb) ...
Selecting previously deselected package python2.6-dev.
Unpacking python2.6-dev (from .../python2.6-dev_2.6.6-5ubuntu1_i386.deb) ...
Selecting previously deselected package python-dev.
Unpacking python-dev (from .../python-dev_2.6.6-2ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu1) ...
Setting up libssl-dev (0.9.8o-1ubuntu4.3) ...
Setting up python2.6-dev (2.6.6-5ubuntu1) ...
Setting up python-dev (2.6.6-2ubuntu1) ...
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# 
</pre></p>
<p>solution solved<br />
<pre class="brush: plain;">


root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# make
make[1]: Entering directory `/home/eke/Desktop/donlod/sip-4.7/sipgen'
make[1]: `sip' is up to date.
make[1]: Leaving directory `/home/eke/Desktop/donlod/sip-4.7/sipgen'
make[1]: Entering directory `/home/eke/Desktop/donlod/sip-4.7/siplib'
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.6 -o siplib.o siplib.c
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.6 -o qtlib.o qtlib.c
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.6 -o threads.o threads.c
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.6 -o objmap.o objmap.c
g++ -c -pipe -fPIC -O2 -w -I. -I/usr/include/python2.6 -o bool.o bool.cpp
g++ -shared -Wl,--version-script=sip.exp -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o 
make[1]: Leaving directory `/home/eke/Desktop/donlod/sip-4.7/siplib'
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# make install
make[1]: Entering directory `/home/eke/Desktop/donlod/sip-4.7/sipgen'
cp -f sip /usr/bin/sip
make[1]: Leaving directory `/home/eke/Desktop/donlod/sip-4.7/sipgen'
make[1]: Entering directory `/home/eke/Desktop/donlod/sip-4.7/siplib'
cp -f sip.so /usr/lib/python2.6/site-packages/sip.so
strip /usr/lib/python2.6/site-packages/sip.so
cp -f sip.h /usr/include/python2.6/sip.h
make[1]: Leaving directory `/home/eke/Desktop/donlod/sip-4.7/siplib'
cp -f sipconfig.py /usr/lib/python2.6/site-packages/sipconfig.py
cp -f sipdistutils.py /usr/lib/python2.6/site-packages/sipdistutils.py
root@ubuntu:/home/eke/Desktop/donlod/sip-4.7# 

root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# make check
Making check in src
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
Making check in doc
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
Making check in UML
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
Making check in examples
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
Making check in sip
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# 


oot@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# make install
Making install in src
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
test -z &quot;/usr/local/lib&quot; || /bin/mkdir -p &quot;/usr/local/lib&quot;
 /bin/bash ../libtool   --mode=install /usr/bin/install -c  'libserial.la' '/usr/local/lib/libserial.la'
libtool: install: /usr/bin/install -c .libs/libserial.so.0.0.0 /usr/local/lib/libserial.so.0.0.0
libtool: install: (cd /usr/local/lib &amp;&amp; { ln -s -f libserial.so.0.0.0 libserial.so.0 || { rm -f libserial.so.0 &amp;&amp; ln -s libserial.so.0.0.0 libserial.so.0; }; })
libtool: install: (cd /usr/local/lib &amp;&amp; { ln -s -f libserial.so.0.0.0 libserial.so || { rm -f libserial.so &amp;&amp; ln -s libserial.so.0.0.0 libserial.so; }; })
libtool: install: /usr/bin/install -c .libs/libserial.lai /usr/local/lib/libserial.la
libtool: install: /usr/bin/install -c .libs/libserial.a /usr/local/lib/libserial.a
libtool: install: chmod 644 /usr/local/lib/libserial.a
libtool: install: ranlib /usr/local/lib/libserial.a
libtool: finish: PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin&quot; ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z &quot;/usr/local/include&quot; || /bin/mkdir -p &quot;/usr/local/include&quot;
 /usr/bin/install -c -m 644 'SerialStreamBuf.h' '/usr/local/include/SerialStreamBuf.h'
 /usr/bin/install -c -m 644 'SerialStream.h' '/usr/local/include/SerialStream.h'
 /usr/bin/install -c -m 644 'SerialPort.h' '/usr/local/include/SerialPort.h'
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/src'
Making install in doc
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
Making install in UML
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[3]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc/UML'
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[3]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/doc'
Making install in examples
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples'
Making install in sip
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1/sip'
make[1]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
make[2]: Entering directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
make[2]: Nothing to be done for `install-exec-am'.
test -z &quot;/usr/local/lib/pkgconfig&quot; || /bin/mkdir -p &quot;/usr/local/lib/pkgconfig&quot;
 /usr/bin/install -c -m 644 'libserial.pc' '/usr/local/lib/pkgconfig/libserial.pc'
make[2]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
make[1]: Leaving directory `/home/eke/Desktop/donlod/libserial-0.6.0rc1'
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1# cd examples
</pre></p>
<p>jajalin yuw :<br />
<pre class="brush: plain;">

root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples# head read_port.cpp 
#include &lt;SerialStream.h&gt;
#include &lt;iostream&gt;
#include &lt;unistd.h&gt;
#include &lt;cstdlib&gt;

int
main( int    argc,
      char** argv  )
{
    //
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples# 
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples# gcc -o read_port read_port.cpp -lserial
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples# 
oot@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples# file read_port
read_port: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
root@ubuntu:/home/eke/Desktop/donlod/libserial-0.6.0rc1/examples# 
</pre></p>
<p>mamamm dahhh, hha&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=283&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2010/12/11/install-libserial-di-unix-hard-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
		<item>
		<title>SMS-an pake ubuntu ( phone over bluetooth )</title>
		<link>http://fekkyreviant.wordpress.com/2010/12/08/smsan-pake-ubuntu-phone-over-bluetooth/</link>
		<comments>http://fekkyreviant.wordpress.com/2010/12/08/smsan-pake-ubuntu-phone-over-bluetooth/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 18:22:59 +0000</pubDate>
		<dc:creator>Fekky Reviant</dc:creator>
				<category><![CDATA[hardweird]]></category>
		<category><![CDATA[Iseng]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[rfcomm]]></category>
		<category><![CDATA[sms gateway]]></category>
		<category><![CDATA[sony ericsson]]></category>

		<guid isPermaLink="false">http://fekkyreviant.wordpress.com/?p=268</guid>
		<description><![CDATA[aluwww para penggemar setia aq apa kabar niii, jangan tanen2 iaa ma aq, hhi&#8230;. dimalam yg sunyi ini aq ingin menguntai secarik cerita dmna aq lg bete nunggu sms dari some1 ga special lagi ampe buueteeeeteeteeeteeteeee required : - hp yg isa blututan - ubuntu OS - hcitool, sdptool, rfcomm - hcidump ( optional utk [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=268&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>aluwww para penggemar setia aq apa kabar niii, jangan tanen2 iaa ma aq, hhi&#8230;.<br />
dimalam yg sunyi ini aq ingin menguntai secarik cerita dmna aq lg bete nunggu sms dari some1 ga special lagi ampe buueteeeeteeteeeteeteeee</p>
<p>required :<br />
- hp yg isa blututan<br />
- ubuntu OS<br />
- hcitool, sdptool, rfcomm<br />
- hcidump ( optional utk reverse engineer )<br />
<span id="more-268"></span><br />
<em>dari <strong>blutut address</strong> doang ampe kebentuk<strong> node </strong>di <strong>/dev</strong> , klo uda kebentuk <strong>node</strong>, ntar tu device bisa di stdin, stdout, dkk</em></p>
<p><pre class="brush: plain;">
root@ubuntu:~# echo scan blutut
scan blutut
root@ubuntu:~# hcitool scan
Scanning ...
	24:21:AB:D0:CE:F1	Abality
root@ubuntu:~# echo cek service yg disediakeun ama si blutut yg ada pada hape itcu
cek service yg disediakeun ama si blutut yg ada pada hape itcu
root@ubuntu:~# sdptool browse
Inquiring ...
Browsing 24:21:AB:D0:CE:F1 ...
Service Description: Sony Ericsson xxx
Service RecHandle: 0x10000
Service Class ID List:
  &quot;PnP Information&quot; (0x1200)

Service Name: Serial Port 1
Service RecHandle: 0x2008002
Service Class ID List:
  &quot;Serial Port&quot; (0x1101)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 2

Service Name: Dial-up Networking
Service RecHandle: 0x2008003
Service Class ID List:
  &quot;Dialup Networking&quot; (0x1103)
  &quot;Generic Networking&quot; (0x1201)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 1
Profile Descriptor List:
  &quot;Dialup Networking&quot; (0x1103)
    Version: 0x0101

Service Name: OBEX SyncML Client
Service RecHandle: 0x2008004
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 10
  &quot;OBEX&quot; (0x0008)

Service Name: Music Streaming Service
Service Provider: Sony Ericsson
Service RecHandle: 0x8000001
Service Class ID List:
  &quot;Audio Source&quot; (0x110a)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 25
  &quot;AVDTP&quot; (0x0019)
    uint16: 0x100
Profile Descriptor List:
  &quot;Advanced Audio&quot; (0x110d)
    Version: 0x0100

Service Name: Remote Control Target Service
Service Provider: Sony Ericsson
Service RecHandle: 0x10000001
Service Class ID List:
  &quot;AV Remote Target&quot; (0x110c)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 23
  &quot;AVCTP&quot; (0x0017)
    uint16: 0x102
Profile Descriptor List:
  &quot;AV Remote&quot; (0x110e)
    Version: 0x0103

Service Name: Remote Control Service
Service Provider: Sony Ericsson
Service RecHandle: 0x10000002
Service Class ID List:
  &quot;AV Remote&quot; (0x110e)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 23
  &quot;AVCTP&quot; (0x0017)
    uint16: 0x102
Profile Descriptor List:
  &quot;AV Remote&quot; (0x110e)
    Version: 0x0103

Service Name: SEMC Watch Phone
Service RecHandle: 0x40000000
Service Class ID List:
  &quot;&quot; (0x8e771401)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 61681
  &quot;RFCOMM&quot; (0x0003)
    Channel: 2

Service Name: PAN Network Access Point
Service Description: NAP provides access to internet for one connecting PANu
Service RecHandle: 0x1000003
Service Class ID List:
  &quot;Network Access Point&quot; (0x1116)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 15
  &quot;BNEP&quot; (0x000f)
    Version: 0x0100
    SEQ8: 0 6 dd
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  &quot;Network Access Point&quot; (0x1116)
    Version: 0x0100

Service Name: PAN user
Service Description: PANu can connect to a Network Access Point to gain access to internet
Service RecHandle: 0x1000004
Service Class ID List:
  &quot;PAN User&quot; (0x1115)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 15
  &quot;BNEP&quot; (0x000f)
    Version: 0x0100
    SEQ8: 0 6 dd
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  &quot;PAN User&quot; (0x1115)
    Version: 0x0100

Service Name: Hands-Free Gateway
Service RecHandle: 0x2008005
Service Class ID List:
  &quot;Handsfree Audio Gateway&quot; (0x111f)
  &quot;Generic Audio&quot; (0x1203)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 5
Profile Descriptor List:
  &quot;Handsfree&quot; (0x111e)
    Version: 0x0105

Service Name: Headset Gateway
Service RecHandle: 0x2008006
Service Class ID List:
  &quot;Headset Audio Gateway&quot; (0x1112)
  &quot;Generic Audio&quot; (0x1203)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 4
Profile Descriptor List:
  &quot;Headset&quot; (0x1108)
    Version: 0x0101

Service Name: OBEX Object Push
Service RecHandle: 0x2008007
Service Class ID List:
  &quot;OBEX Object Push&quot; (0x1105)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 6
  &quot;OBEX&quot; (0x0008)
Profile Descriptor List:
  &quot;OBEX Object Push&quot; (0x1105)
    Version: 0x0101

Service Name: OBEX File Transfer
Service RecHandle: 0x2008008
Service Class ID List:
  &quot;OBEX File Transfer&quot; (0x1106)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 7
  &quot;OBEX&quot; (0x0008)
Profile Descriptor List:
  &quot;OBEX File Transfer&quot; (0x1106)
    Version: 0x0101

Service Name: OBEX IrMC Sync Server
Service RecHandle: 0x2008009
Service Class ID List:
  &quot;IrMC Sync&quot; (0x1104)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 8
  &quot;OBEX&quot; (0x0008)
Profile Descriptor List:
  &quot;IrMC Sync&quot; (0x1104)
    Version: 0x0101

Service Name: HID Mouse &amp; Keyboard
Service Description: Remote Control of PC applications and other devices
Service Provider: Sony Ericsson
Service RecHandle: 0x4000001
Service Class ID List:
  &quot;Human Interface Device&quot; (0x1124)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 17
  &quot;HIDP&quot; (0x0011)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  &quot;Human Interface Device&quot; (0x1124)
    Version: 0x0100

Service Name: SEMC HLA
Service RecHandle: 0x40000001
Service Class ID List:
  &quot;&quot; (0x8e771301)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
    PSM: 61689
  &quot;&quot; (0x8e770300)
Profile Descriptor List:
  &quot;&quot; (0x8e771303)
    Version: 0x0100

Service Name: Phonebook Access PSE
Service RecHandle: 0x200800a
Service Class ID List:
  &quot;Phonebook Access - PSE&quot; (0x112f)
Protocol Descriptor List:
  &quot;L2CAP&quot; (0x0100)
  &quot;RFCOMM&quot; (0x0003)
    Channel: 11
  &quot;OBEX&quot; (0x0008)
Profile Descriptor List:
  &quot;Phonebook Access - PSE&quot; (0x112f)
    Version: 0x0100

root@ubuntu:~# echo nah krn aq mw smsan, maka aq kudu masukin 'at command' di 'serial port', dan karna dimari 'serial port' ada di cenel dua ya di emulasikeun pake rfcomm biar ngebind ke cenel itcuuu
nah krn aq mw smsan, maka aq kudu masukin at command di serial port, dan karna dimari serial port ada di cenel dua ya di emulasikeun pake rfcomm biar ngebind ke cenel itcuuu
root@ubuntu:~# ls -lsa /dev | grep rfcom
root@ubuntu:~# rfcomm bind 0 24:21:AB:D0:CE:F1 2
root@ubuntu:~# ls -lsa /dev | grep rfcom
0 crw-rw----   1 root dialout 216,   0 2010-12-08 12:44 rfcomm0
root@ubuntu:~# minicom -D /dev/rfcomm0
</pre></p>
<p>btw itcu <strong>rfcomm</strong> slain <strong>bind</strong> juja bisa pake <strong>connect</strong> koq, but its not a big deal koq</p>
<p><em>di minicom</em><br />
<pre class="brush: plain;">
Welcome to minicom 2.4
OPTIONS: I18n
Compiled on xxx  x 2010, xx:xx:xx.
Port /dev/rfcomm0

Press CTRL-A Z for help on special keys

OK

at
OK
at+csca?
+CSCA: &quot;+62816124&quot;,145

OK
at+cops?
+COPS: 0,0,&quot;IND INDOSAT&quot;,0

OK
at+cmgf=?
+CMGF: (0)

OK
at+csq
+CSQ: 11,99

OK
at+cmgs=?
OK
at+cmgs=23
05912618164211000D91265817111111F90008AA080074006500730074
+CMGS: 38

</pre></p>
<p>hha bisa kannnn, hhhh&#8230; itu aq bentukna kenapa kek gt?? soalna pas aq cek tnyata hp qw yg ini emang ga dukung text mode on, tpaksa de aq converter <strong>pdu</strong> duyu baruw di timpah kcitu, konverterna banyak koq ama om gigolo, minta ja ama doiii slain itu juja slain pake <strong>minicom</strong> sebagai terminalna pake <strong>screen</strong> juja isa koq &#8230;.and anyway aq minta muup iaa klo seri tipe hp  dan lain2na aq sensor, demi alasan keamanan idup dan mati aq, hha&#8230; dah dulu yeee, mo blajar duyu soal&#8217;a ada uts nii, hhh , dada&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fekkyreviant.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fekkyreviant.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fekkyreviant.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fekkyreviant.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fekkyreviant.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fekkyreviant.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fekkyreviant.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fekkyreviant.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fekkyreviant.wordpress.com&amp;blog=10877811&amp;post=268&amp;subd=fekkyreviant&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fekkyreviant.wordpress.com/2010/12/08/smsan-pake-ubuntu-phone-over-bluetooth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd28c6ef4ae58cdeca063434878954a?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">fekkyreviant</media:title>
		</media:content>
	</item>
	</channel>
</rss>
