<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Networking is Easy</title><description></description><managingEditor>noreply@blogger.com (Unknown)</managingEditor><pubDate>Thu, 26 Sep 2024 09:09:26 +0700</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">12</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://netezy.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:keywords>network,easy,networking,easy,configuration,Internet,Linux,Windows,IP,address</itunes:keywords><itunes:summary>no need long time to do configuration, no need expert people to setup your network, just go find the right section of networking for you.</itunes:summary><itunes:subtitle>Networking is Easy</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:owner><itunes:email>osmaniaindo@yahoo.com</itunes:email></itunes:owner><item><title>How Network Address Translation Work (How NAT Work)</title><link>http://netezy.blogspot.com/2012/01/how-network-address-translation-work.html</link><category>NAT</category><category>network address translation</category><pubDate>Wed, 25 Jan 2012 00:27:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-9213321592770224793</guid><description>&lt;span class="" id="result_box" lang="en"&gt;&lt;span class="hps"&gt;At&lt;/span&gt; &lt;span class="hps"&gt;the present&lt;/span&gt; &lt;span class="hps"&gt;time&lt;/span&gt; &lt;span class="hps"&gt;broadband&lt;/span&gt; &lt;span class="hps"&gt;access&lt;/span&gt; &lt;span class="hps"&gt;has become&lt;/span&gt; &lt;span class="hps"&gt;commonplace&lt;/span&gt; &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;are available&lt;/span&gt; &lt;span class="hps"&gt;in&lt;/span&gt; &lt;span class="hps"&gt;many places&lt;/span&gt;, &lt;span class="hps"&gt;access the internet&lt;/span&gt; &lt;span class="hps"&gt;has become&lt;/span&gt; &lt;span class="hps"&gt;very&lt;/span&gt; &lt;span class="hps"&gt;easy and simple&lt;/span&gt; &lt;span class="hps"&gt;to do&lt;/span&gt;. &lt;span class="hps"&gt;The Internet can&lt;/span&gt; &lt;span class="hps"&gt;be accessed&lt;/span&gt; &lt;span class="hps"&gt;from home&lt;/span&gt;, &lt;span class="hps"&gt;schools&lt;/span&gt;, cafes &lt;span class="hps"&gt;and mobile&lt;/span&gt; &lt;span class="hps"&gt;handsets&lt;/span&gt;, &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;it's getting&lt;/span&gt; &lt;span class="hps"&gt;easier by the&lt;/span&gt; &lt;span class="hps"&gt;presence of&lt;/span&gt; &lt;span class="hps"&gt;a broadband&lt;/span&gt; &lt;span class="hps"&gt;router&lt;/span&gt; &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;NAT&lt;/span&gt; &lt;span class="hps"&gt;(Network&lt;/span&gt; &lt;span class="hps"&gt;Address Translation&lt;/span&gt;&lt;span class=""&gt;)&lt;/span&gt; &lt;span class="hps"&gt;as one of the&lt;/span&gt;&lt;/span&gt;&lt;span id="formatbar_Buttons" style="display: block;"&gt;&lt;span class=" down" id="formatbar_CreateLink" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);" onmouseout="ButtonHoverOff(this);" onmouseover="ButtonHoverOn(this);" onmouseup="" style="display: block;" title="Link"&gt;&lt;img alt="Link" border="0" class="gl_link" src="img/blank.gif" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class="hps"&gt;&lt;/span&gt; &lt;span class="hps"&gt;technologies that&lt;/span&gt; &lt;span class="hps"&gt;empower them&lt;/span&gt;.&lt;br /&gt;&lt;span class="hps"&gt;In&lt;/span&gt; &lt;span class="hps"&gt;computer networking&lt;/span&gt;&lt;span class=""&gt;, network address translation&lt;/span&gt; &lt;span class="hps atn"&gt;(&lt;/span&gt;NAT) &lt;span class="hps"&gt;is the&lt;/span&gt; &lt;span class="hps"&gt;process of&lt;/span&gt; &lt;span class="hps"&gt;modifying&lt;/span&gt; &lt;span class="hps"&gt;the IP&lt;/span&gt; &lt;span class="hps"&gt;address&lt;/span&gt; &lt;span class="hps"&gt;information&lt;/span&gt; &lt;span class="hps"&gt;in&lt;/span&gt; &lt;span class="hps"&gt;the IP&lt;/span&gt; &lt;span class="hps"&gt;packet&lt;/span&gt; &lt;span class="hps"&gt;headers&lt;/span&gt; &lt;span class="hps"&gt;while&lt;/span&gt; &lt;span class="hps"&gt;in&lt;/span&gt; &lt;span class="hps"&gt;transit&lt;/span&gt; &lt;span class="hps"&gt;across&lt;/span&gt; &lt;span class="hps"&gt;a&lt;/span&gt; &lt;span class="hps"&gt;traffic&lt;/span&gt; &lt;span class="hps"&gt;routing&lt;/span&gt; &lt;span class="hps"&gt;device&lt;/span&gt;. &lt;span class="hps"&gt;That&lt;/span&gt; &lt;span class="hps"&gt;means&lt;/span&gt; &lt;span class="hps"&gt;this&lt;/span&gt; &lt;span class="hps"&gt;NAT&lt;/span&gt; &lt;span class="hps"&gt;using&lt;/span&gt; &lt;span class="hps"&gt;a&lt;/span&gt; &lt;span class="hps"&gt;user&lt;/span&gt; &lt;span class="hps"&gt;in&lt;/span&gt; &lt;span class="hps"&gt;a private&lt;/span&gt; &lt;span class="hps"&gt;network&lt;/span&gt; &lt;span class="hps atn"&gt;will "&lt;/span&gt;hidden" &lt;span class="hps"&gt;from&lt;/span&gt; &lt;span class="hps"&gt;the Internet&lt;/span&gt; &lt;span class="hps"&gt;it&lt;/span&gt; &lt;span class="hps"&gt;self&lt;/span&gt;. &lt;span class="hps"&gt;This&lt;/span&gt; &lt;span class="hps"&gt;have&lt;/span&gt; &lt;span class="hps"&gt;some&lt;/span&gt; &lt;span class="hps"&gt;benefits,&lt;/span&gt; &lt;span class="hps"&gt;ie&lt;/span&gt;: &lt;span class="hps"&gt;Security&lt;/span&gt;, &lt;span class="hps"&gt;IP&lt;/span&gt; &lt;span class="hps"&gt;address&lt;/span&gt; &lt;span class="hps"&gt;re-use,&lt;/span&gt; &lt;span class="hps"&gt;easy&lt;/span&gt; &lt;span class="hps"&gt;configuration&lt;/span&gt; &lt;span class="hps"&gt;on&lt;/span&gt; &lt;span class="hps"&gt;the client&lt;/span&gt; &lt;span class="hps"&gt;side&lt;/span&gt;.&lt;br /&gt;&lt;span class="hps"&gt;To&lt;/span&gt; &lt;span class="hps"&gt;Understand&lt;/span&gt; &lt;span class="hps"&gt;how&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;NAT&lt;/span&gt; &lt;span class="hps"&gt;work&lt;/span&gt; &lt;span class="hps"&gt;I&lt;/span&gt; &lt;span class="hps"&gt;share&lt;/span&gt; &lt;span class="hps"&gt;a&lt;/span&gt; &lt;span class="hps"&gt;link&lt;/span&gt; &lt;span class="hps atn"&gt;"&lt;/span&gt;&lt;span class=""&gt;How&lt;/span&gt; &lt;span class="hps"&gt;NAT&lt;/span&gt; &lt;span class="hps"&gt;Works&lt;/span&gt;" that &lt;span class="hps"&gt;may&lt;/span&gt; &lt;span class="hps"&gt;can&lt;/span&gt; &lt;span class="hps"&gt;be&lt;/span&gt; &lt;span class="hps"&gt;used&lt;/span&gt; &lt;span class="hps"&gt;by&lt;/span&gt; &lt;span class="hps"&gt;people&lt;/span&gt; &lt;span class="hps"&gt;to learn&lt;/span&gt; &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;Understand&lt;/span&gt; &lt;span class="hps"&gt;it&lt;/span&gt; &lt;span class="hps"&gt;easily.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094831.shtml#flash</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>[ Tips: ]  Reboot a remote Cisco router after an misconfiguration</title><link>http://netezy.blogspot.com/2008/02/tips-reboot-remote-cisco-router-after.html</link><category>reload cisco router</category><category>tips troubleshoot remote cisco router</category><category>using reload in cisco</category><pubDate>Wed, 27 Feb 2008 00:48:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-1538453563807248313</guid><description>&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Human error!!!&lt;/span&gt; ..... it is common, even in network administration. But if this happen on the remote router or switch that do not have person/human that can physically reboot the device then it is become....&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;disaster!!!!&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;So what is the option?   We can use a simple and tricky way to avoid this situation.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;In Cisco router we can use command &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(192, 192, 192);"&gt;reload in &lt;n&gt; minutes  &lt;/n&gt;&lt;/span&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;before you do the command input. So when everything become unaccessible, the router will reboot to &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(192, 192, 192);"&gt;startup-configuration&lt;/span&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;  .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;In my case  I use 5  minutes (may be different to other) :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Cisco# reload in 5   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;so when my router cannot be accessed, it will reboot in 5 minutes . After that I can access it again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;Then do the configurations. You must do it 5 minutes otherwise the router will be reboot.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;But if the configuration is successfully done, do not forget to cancel it with:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Cisco# reload cancel &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(192, 192, 192);"&gt;That's all !!&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Using Network Share in Windows XP</title><link>http://netezy.blogspot.com/2008/02/using-network-share-in-windows-xp.html</link><category>net user m:</category><category>windows command network share</category><category>windows XP net share</category><category>windows XP network share</category><pubDate>Wed, 27 Feb 2008 00:14:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-5688271111714067085</guid><description>Do you have to connect to different folder in remote Windows XP share folder with different rights? For example, I sometimes need to copy a file to share folder "NOC" and after that I need to copy another file to share folder "ITDEPT".&lt;br /&gt;&lt;br /&gt;Both of them located in remote windows computer that has different login and password for each (since this NOC and ITDEPT has different members). FYI the setting of rights of those folder in the remote server will be not provided here, but it it must be have read and write rights both on those folders with different logins. For this kind situation we can use below step:&lt;br /&gt;&lt;br /&gt;For example in remote windows share you login as user "noc" with its password and will be directed to folder NOC automatically.  Use this command from command prompt:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;net use m:    \\remotefileserver\NOC   /user:Accounts\NOC&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or you can use windows explorer to browse to that remote folder in the network neighborhood.&lt;br /&gt;Then you copy a file to that folder. File copied succesfully.&lt;br /&gt;After that you can disconnect the connection:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;net use m:    /delete&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then reconnect to the same server with user "itdept" and its password:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;net use m:   \\remotefileserver\ITDEPT    /user:Accounts\ITDEPT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Try to copy a file to "ITDEPT" folder. Now you can copy a file to it !!!</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Just Another IM client</title><link>http://netezy.blogspot.com/2007/12/just-another-im-client.html</link><category>alternative Instant Messenger</category><category>online in Yahoo Messenger in same time with more than 1 account</category><category>Trillian</category><pubDate>Fri, 21 Dec 2007 02:37:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-3528506248432376555</guid><description>Wanna try something new in Instant Messenger? I found this &lt;a href="http://www.bigblueball.com/im/others/"&gt;good site&lt;/a&gt;. Here you will see their comment on some alternative Instant Messenger (IM). I think this is good for ones who need to online at the same time in more thant one account in same IM services like more than one account in Yahoo Messenger.&lt;br /&gt;&lt;br /&gt;"Tired of using the big corporate instant messengers,        or just looking at what else is out there? Either way, you've come to the        right place. Here is a list of some other instant messengers that are out        there. Some are even compatible with the big corporate instant messengers,        which means you can still talk to your friends on AIM or Msn instant        messenger. Check out the            &lt;a href="http://www.bigblueball.com/im/interoperability.php"&gt;Interoperability chart&lt;/a&gt; to find out what messengers they are compatible        with."</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Live CD</title><link>http://netezy.blogspot.com/2007/12/live-cd.html</link><category>linux live cd</category><category>live CD</category><pubDate>Mon, 17 Dec 2007 00:50:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-245780457697791530</guid><description>This is a very good news for those who want to learn linux without effort to install or any risk lost data when install the Linux. TOday there is a site where you can download a LIVE CD and burn it to a CD/DVD. After that you can directly have linux distro in your computer without having to install the Linux to the harddisk.&lt;br /&gt;&lt;br /&gt;Please find the site &lt;a href="http://www.frozentech.com/content/livecd.php"&gt;here !&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Erase many files in 1 directory in UNIX/Linux</title><link>http://netezy.blogspot.com/2007/12/erase-many-files-in-1-directory-in.html</link><category>Erase many files in 1 directory in UNIX/Linux</category><pubDate>Sun, 16 Dec 2007 19:51:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-1702488698017440247</guid><description>Almost 2 months since my last posting. I have many jobs to do specially non technical made me have no time to continue spread the knowledge to others. Since today I will try to make a posting at least once a week to keep the readers update about this site.&lt;br /&gt;&lt;br /&gt;This time I will write about "Erase many files in 1 directory in UNIX/Linux" since I got one case when the logrotate of one of my server using BSD had corrupted and I had no time to fix the logrotate package. So I made a little script and crontab-ed it  like once a day in the period of minimum traffic. I use it to clean the quarantince files in qmail. Here the script&lt;br /&gt;(clean-quarantine.sh):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;ns1#&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;cd /var/spool/qmailscan/quarantine/new/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;ns1#&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;ls | xargs rm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;This script helped me to keep the harddrive not full when there is no logrotate process running.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Setting NTP client in Huawei Datacomm Equipment (Router, Switch, Firewall)</title><link>http://netezy.blogspot.com/2007/11/setting-ntp-client-in-huawei-equipment.html</link><category>ntp huawei router</category><category>setting ntp huawei router</category><pubDate>Tue, 6 Nov 2007 21:27:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-3678922175896293397</guid><description>At past post I showed how to setting syslog in Huawei equipments. Now I will show how to make a Huawei equipments  synch their time to a centralized server using NTP protocol.&lt;br /&gt;Setting the IP adddres of the NTP server (if you are using NTP server with higher stratum):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;ntp-service unicast-server 10.0.10.4  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or if you want to sync to other peer (with same stratum):&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;ntp-service unicast-peer 10.0.11.7&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to make router only listen ntp from verified network (increase security), add this line:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;source-interface Ethernet 1/0/6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then check the ntp  synchronization using command:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;display ntp-service status &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;display ntp-service sessions&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Create PS1 in Solaris 8</title><link>http://netezy.blogspot.com/2007/09/create-ps1-in-solaris-8.html</link><category>bash</category><category>programming</category><category>PS1</category><category>shell</category><category>Solaris</category><pubDate>Fri, 14 Sep 2007 02:44:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-8829894552322848286</guid><description>Sometime when you are already like shell environment like BASH (Bourne Again SHell), you will have problem on some old shell like csh, ksh, or even sh. In this section I will show you how to create a user and their user environment using BASH. I will use Solaris 8 as example since Solaris 8 doesnt give you BASH as your default environment.&lt;br /&gt;&lt;br /&gt;As &lt;span style="color: rgb(51, 204, 0);font-family:courier new;" &gt;root&lt;/span&gt; , create a normal user with this command, here I will use Jackie as example&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);font-family:courier new;font-size:85%;"  &gt;useradd -d /export/home/jackie -m  -s /usr/bin/bash -c "Jackie"  jackie passwd jackie&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then on the &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;/export/home/jackie/.profile&lt;/span&gt;&lt;/span&gt; add this 2 lines:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);font-size:85%;" &gt;&lt;span style="font-family:courier new;"&gt;PS1="[\u@h \w]\$"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;export PS1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;save it. Then let the user log in using their jackie and his new password.&lt;br /&gt;&lt;br /&gt;He will see the environment like this:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);font-family:courier new;font-size:85%;"  &gt;[jackie@myserver jackie]$&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;try to logout and login again if the result is not like expected.</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Easy Syslog-ng configuration</title><link>http://netezy.blogspot.com/2007/09/easy-syslog-ng-configuration.html</link><category>huawei log</category><category>syslog</category><category>syslog-ng huawei</category><pubDate>Fri, 14 Sep 2007 01:28:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-7225964293306805845</guid><description>&lt;a style="color: rgb(153, 0, 0);" href="http://www.balabit.com/network-security/syslog-ng/"&gt;Syslog-ng&lt;/a&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; &lt;/span&gt;have been the successor of the well-known &lt;a style="color: rgb(153, 51, 0);" href="http://www.syslog.org/"&gt;Syslog&lt;/a&gt;&lt;span style="color: rgb(153, 51, 0);"&gt; &lt;/span&gt;which have many enhacements in features and easiness to configure. Here I will show you the basic configuration of the Syslog-ng with some examples in filter.&lt;br /&gt;Although Syslog-ng is supported in Linux, Solaris, All BSD variants, AIX, HP-UX, Tru64 Unix, Irix, etc, I will only give the example in Linux  only.&lt;br /&gt;I assume that you already have syslog-ng installed in your machine, otherwise you can consult the vendor or distro of your Linux website or documentation.&lt;br /&gt;&lt;br /&gt;Setting the Router, Firewall and Switches:&lt;br /&gt;&lt;br /&gt;CISCO Router &amp;amp; Switch (IOS):&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;service timestamps log datetime localtime&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt; no logging console&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt; no logging monitor&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt; logging 10.16.1.100 facility local4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;HUAWEI:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);" lang="EN-US"&gt;info-center enable&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;info-center loghost 10.16.1.100 &lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;facility local4 language english&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;/span&gt;The configuration file of syslog-ng located at &lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 153);font-family:courier new;font-size:85%;"  &gt;/etc/syslog-ng/syslog-ng.conf&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;# /etc/syslog-ng/syslog-ng.conf&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);font-size:85%;" &gt;options { long_hostnames(off); sync(0); perm(0640); stats(3600); };&lt;br /&gt;&lt;br /&gt;source src {    internal(); udp(ip("0.0.0.0") port(514)); };&lt;br /&gt;&lt;br /&gt;## Filter for facility type or device&lt;br /&gt;filter f_router          { facility(local4);};&lt;br /&gt;filter f_firewall        { facility(local5);};&lt;br /&gt;filter f_switch          { facility(local6);};&lt;br /&gt;&lt;br /&gt;## Filter for IP address&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;filter f_ROUTER01            { host("10.10.5.1"); };&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;filter f_FIREWALL01        { host("10.10.5.2"); };&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;filter f_FIREWALL02        { host("10.10.5.3"); };&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;filter f_SWITCH01             { host("10.10.5.4"); };&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#Destination files&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;destination ROUTER01 { file("/var/log/&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;ROUTER01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;.log"); };&lt;br /&gt;log { source(src); filter(f_router); filter(f_&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;ROUTER01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); destination(&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;ROUTER01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); };&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;destination &lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt; { file("/var/log/&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;.log"); };&lt;br /&gt;log { source(src); filter(f_firewall); filter(f_&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); destination(&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); };&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;destination &lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL02&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt; { file("/var/log/&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL02&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;.log"); };&lt;br /&gt;log { source(src); filter(f_firewall); filter(f_&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL02&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); destination(&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;FIREWALL02&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); };&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;&lt;br /&gt;destination &lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;SWITCH01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt; { file("/var/log/&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;SWITCH01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;.log"); };&lt;br /&gt;log { source(src); filter(f_switch); filter(f_&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;SWITCH01&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); destination(&lt;/span&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;SWITCH01&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;); };&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;save it, then execute these command to make the log files.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 0);font-family:courier new;" &gt;touch /var/log/ROUTER01.log&lt;br /&gt;touch /var/log/FIREWALL01.log&lt;br /&gt;touch /var/log/FIREWALL02.log&lt;br /&gt;touch /var/log/SWITCH01.log&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);font-family:courier new;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;To START/STOP the Syslog-ng service:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-size:85%;" &gt;service syslog start&lt;/span&gt;    and  &lt;span style="color: rgb(51, 204, 0); font-weight: bold;font-family:courier new;font-size:85%;"  &gt;service syslog stop&lt;/span&gt;    or     &lt;span style="color: rgb(51, 204, 0); font-weight: bold;font-family:courier new;font-size:85%;"  &gt;service syslog reload&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;try to log in to the router, and do some command like to show the cpu, then on the linux excute this command:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0); font-weight: bold;font-family:courier new;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;tail -f &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-size:85%;" &gt;&lt;span style="color: rgb(51, 204, 0);font-family:courier new;" &gt;/var/log/ROUTER01.log&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);font-size:85%;" &gt;&lt;span style="color: rgb(51, 204, 0);font-family:courier new;" &gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;You will see some log will write to the log file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0); font-weight: bold;font-family:courier new;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Running Apache, MySQL  and PHP in Windows</title><link>http://netezy.blogspot.com/2007/09/running-apache-mysql-and-php-in-windows.html</link><category>Apache</category><category>MySQL</category><category>PHP</category><category>WAMP</category><category>Webmaster</category><category>Windows</category><pubDate>Thu, 6 Sep 2007 01:51:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-6485659905934193117</guid><description>At my early days learning NETWORKING, I did not know the difference between Linux and PHP, Server and HTML, PHP and Database and many networking terms. I just go to a local training center at my city to learn....to be a &lt;span style="font-weight: bold;"&gt;WEBMASTER&lt;/span&gt;.&lt;br /&gt;I still did not know the meaning of webmaster ( in that time I thought it is a degree like in martial arts hehe) until the instructor said that it was a common nickname for a guy who update and maintain a website (correct me if I am wrong !).&lt;br /&gt;So then I taken the wrong class to study Networking :( .&lt;br /&gt;But from that day, I learns that it is very good to learn networking by web development, so I can know how the server and the process done. Since then in my spare time I asked many questions to the instructor about servers (web, mysql, ftp, dns) and also networking (IP, network operating system, etc). Thank God they very helpful to answer them.&lt;br /&gt;Then to help many newbie and also Windows Lover (who do not know many things about Linux and UNIX) to create a web product using PHP, I share about an application that running on Windows (NT, 2000, XP, 2003, Vista) that also used in many Linux and UNIX OS.  It is called &lt;a href="http://www.wampserver.com"&gt;&lt;span style="font-weight: bold;"&gt;WAMP&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.wampserver.com"&gt; (Windows Apache MySQL and PHP)&lt;/a&gt; server alias . This application use &lt;span style="font-style: italic;"&gt;PHP 5&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;MySQL 5&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;Apache 2&lt;/span&gt; so will be updated to with the version.&lt;br /&gt;With this WAMP, you can turn your Windows to be a powerful dynamic web server + database server. Just do the install and follow the manual ...and then...HOOPLA...&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/index.php   status OK ...</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>NTP client setting in Windows 2000 and Windows XP in command prompt</title><link>http://netezy.blogspot.com/2007/09/ntp-client-setting-in-windows-2000-and.html</link><category>command prompt</category><category>NTP</category><category>NTP Windows 2000 command prompt</category><category>Windows 2000 command prompt</category><category>Windows XP NTP</category><pubDate>Tue, 4 Sep 2007 01:35:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-5329621864730263587</guid><description>NTP stand for Network Time Protocol, which is used for Time synchronization across computer networks or equipment so the computer or equipment always has the correct and accurate time. This protocol use User Datagram Protocol (UDP) port 123. The computer or network equipment usually synchronize their local time with one or more NTP server that connect to them by LAN, WAN or Global Internet. NTP server usually  get the time from an accurate time source, like GPS (Global Positioning System) or other very accurate time sources.&lt;br /&gt;&lt;br /&gt;For some computer that run Windows XP and Vista , Linux, UNIX, Mac OS, etc, the NTP client already install default in the Operating System and have an interface to setting the NTP client. There is also some 3rd party software that can be freely to download and simple to use like  &lt;a href="http://www.timetools.co.uk/time-servers/ntp-client.htm"&gt;TimeTools SNTP client&lt;/a&gt; , &lt;a href="http://www.spdialer.com/download/sptimesync23_x86.zip"&gt;SP Time Sync&lt;/a&gt;.&lt;br /&gt;But actually for Windows XP there is already some setting to use the NTP directly without use 3rd party application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For Windows XP using GUI:&lt;/span&gt;&lt;br /&gt;You can directly navigate &lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;START&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; --&gt; &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;Control Panel&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; --&gt; &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;Date and Time&lt;/span&gt;, klik for &lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;Internet Time&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;,&lt;/span&gt; choose the time server and then klik &lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;Update Now&lt;/span&gt;&lt;br /&gt;If success, you will see a result like this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://netezy.blogspot.com/xp-internet-time-setting.jpg"&gt;&lt;img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_LItFZXxBIgukOpo60jVi8evdt7cIhBupbUjJYT7CBWgL3d9x3BwXBds7mbBkLBt0MaL14AErJ8cc3ZTi-dPy4WkEZgVV2V8EJBl0cAk0Hx_W9y_wCJF0PRxkL3wOfiyjNYMw7EN-YeM/s400/NTP+client+WinXP+GUI.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For Windows 2000 and Windows XP (using command):&lt;/span&gt;&lt;br /&gt;Go to START  Run  type cmd (a command prompt will be open)&lt;br /&gt;on the command prompt, type as follow, assume the NTP server is time.nist.gov or you can use your server IP address.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-family:courier new;font-size:85%;"  &gt;C:\ net time /setsntp:time.nist.gov&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-family:courier new;font-size:85%;"  &gt;C:\ net stop w32time&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 204, 0);font-family:courier new;" &gt;C:\ net start w32time&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Hola… you already set your Windows 2000 NTP sync without 3rd party application. Then check using this, should be no error is generated.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-family:courier new;font-size:85%;"  &gt;C:\ net time /querysntp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Good luck!!</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_LItFZXxBIgukOpo60jVi8evdt7cIhBupbUjJYT7CBWgL3d9x3BwXBds7mbBkLBt0MaL14AErJ8cc3ZTi-dPy4WkEZgVV2V8EJBl0cAk0Hx_W9y_wCJF0PRxkL3wOfiyjNYMw7EN-YeM/s72-c/NTP+client+WinXP+GUI.JPG" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item><item><title>Networking is easy</title><link>http://netezy.blogspot.com/2007/09/networking-is-easy.html</link><category>Internet Protocol</category><category>IP address</category><category>Linux</category><category>network</category><category>networking</category><pubDate>Tue, 4 Sep 2007 00:50:00 +0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6203044344926945524.post-2456256913671367853</guid><description>Who said that networking is difficult, need many time to study it, need complicated configuration and need special trained person to do it? The answer is NO !!  This time you and everybody else can do it easily, as you want to learn it with some efforts, a newbie like me even also can do it.&lt;br /&gt;OKAY, enough with the explanations. Let us start to do it EZY-ly (easily).</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>osmaniaindo@yahoo.com (Unknown)</author></item></channel></rss>