<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1040163468143351210</id><updated>2011-12-27T07:17:49.411-08:00</updated><category term='Unix'/><category term='Sharepoint 2007'/><category term='Final Year Project'/><category term='C language'/><category term='Graphics'/><category term='Shell script'/><category term='sql'/><category term='Linux'/><category term='Outlook'/><category term='Windows 2000'/><category term='concept'/><category term='Networking'/><category term='MVNO'/><category term='hotbilling'/><category term='Text Editing'/><category term='Telecom'/><category term='Perl'/><category term='Windows'/><category term='ClearCase'/><category term='Windows Server 2003'/><category term='Articles'/><category term='oracle'/><category term='applied telecommunication'/><title type='text'>Ikanez's Stash of How-To</title><subtitle type='html'>How do I what?</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-3533138840853513007</id><published>2011-12-27T07:14:00.000-08:00</published><updated>2011-12-27T07:16:47.481-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Text Editing'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Replace String in Unix</title><content type='html'>&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;To replace all instances of a string in a directory (subdirectories included) do:&lt;/span&gt;&lt;br /&gt;&lt;div style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px; text-align: left;"&gt;&lt;div class="smallfont" style="font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" style="background-color: #f4f4f4; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 400px;"&gt;perl -e "s/FIND/REPLACE/g;" -pi.save $(find path/to/DIRECTORY -type f)&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;The above will make a backup temp file of your original&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;If you do not want a temp file with the .save extension then do:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px; text-align: left;"&gt;&lt;div class="smallfont" style="font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" style="background-color: #f4f4f4; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 400px;"&gt;perl -e "s/FIND/REPLACE/g;" -pi $(find path/to/DIRECTORY -type f)&lt;/pre&gt;&lt;/div&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;--------------------&lt;/span&gt;&lt;br /&gt;&lt;b style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;Example:&lt;/b&gt;&lt;br /&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;You want to replace all instances of the word "design" with "dezine" in the directory /public_html/company/info&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;you can execute the command from document root as&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;div style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px; text-align: left;"&gt;&lt;div class="smallfont" style="font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" style="background-color: #f4f4f4; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 400px;"&gt;perl -e "s/design/dezine/g;" -pi.save $(find public_html/company/info -type f)&lt;/pre&gt;&lt;/div&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;or you can execute the command from public_html/company/ (a directory above) as:&lt;/span&gt;&lt;br /&gt;&lt;div style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px; text-align: left;"&gt;&lt;div class="smallfont" style="font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" style="background-color: #f4f4f4; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 400px;"&gt;perl -e "s/design/dezine/g;" -pi.save $(find info -type f)&lt;/pre&gt;&lt;/div&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;The above commands will search all files (.gif, .jpg, .htm, .html, .txt) so you might see some error messages "Can't open *.gif", etc)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;Simplified&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; text-align: left;"&gt;To search just files of type, .htm without a backup file in the current directory only (no subdirectories) you could use:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #efefef; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px; text-align: left;"&gt;&lt;div class="smallfont" style="font: normal normal normal 11px/normal verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" style="background-color: #f4f4f4; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 400px;"&gt;perl -pi -e 's/design/dezine/g' *.htm&lt;/pre&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/goog_1121411811"&gt;Taken from:&lt;/a&gt;&lt;br /&gt;&lt;a href="http://forums.devshed.com/unix-help-35/unix-find-and-replace-text-within-all-files-within-a-146179.html"&gt;http://forums.devshed.com/unix-help-35/unix-find-and-replace-text-within-all-files-within-a-146179.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-3533138840853513007?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/3533138840853513007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=3533138840853513007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/3533138840853513007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/3533138840853513007'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2011/12/to-replace-all-instances-of-string-in.html' title='Replace String in Unix'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-9204257290876153022</id><published>2011-12-27T06:35:00.000-08:00</published><updated>2011-12-27T06:37:00.491-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Changing Windows Account password using Outlook</title><content type='html'>&lt;a href="http://theessentialexchange.com/blogs/michael/archive/2007/11/24/changing-user-passwords-with-outlook-2003-2007.aspx"&gt;http://theessentialexchange.com/blogs/michael/archive/2007/11/24/changing-user-passwords-with-outlook-2003-2007.aspx&lt;/a&gt;.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px; background-color: rgb(238, 238, 238); "&gt;1) Call the helpdesk - the most likely scenario if you are not in a hosted environment&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px; background-color: rgb(238, 238, 238); "&gt;2) Use the control panel - most Hosted Exchange providers provide a function on a user's control panel enabling the user to change their password, using the functionality in item (3). Most large companies will implement a similar capability for their users. Small companies will likely need to implement item (3) directly or their helpdesk will do it (as in item 1).&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px; background-color: rgb(238, 238, 238); "&gt;3) Enable IISADMPWD - use &lt;a class="" href="http://support.microsoft.com/kb/555071/en-us" target="_blank" style="text-decoration: none; color: rgb(0, 0, 255); "&gt;KB 555071&lt;/a&gt; to enable the use of a web page to allow changing the password of an active directory user.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-9204257290876153022?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/9204257290876153022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=9204257290876153022' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/9204257290876153022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/9204257290876153022'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2011/12/changing-windows-account-password-using.html' title='Changing Windows Account password using Outlook'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-3602668375590862939</id><published>2011-11-14T13:18:00.001-08:00</published><updated>2011-11-14T13:25:06.685-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>How to remove the dreaded '^M' character in unix files</title><content type='html'>&lt;div&gt;While there are lots of ways to go about solving the issue, two methods that I find to my liking are:&lt;/div&gt;&lt;div&gt;1. Using 'tr'&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;tr -d '^M' &amp;lt; [input filename] &amp;gt; [output filename]&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;e.g; tr -d '^M' &amp;lt; opx_LOD_GEN_110_003110000.ini &amp;gt; test3.txt&lt;/div&gt;&lt;div&gt;2. Using vi editor.&lt;/div&gt;&lt;div&gt;&lt;strong style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, sans-serif; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255); "&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;:%s/(ctrl-v)(ctrl-m)//g&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Simply type in the above in your vi editor to get the desired effect. And note that you have to press 'ctrl' AND 'V' and later 'ctrl' AND 'm'. It's not the same as the '^' and 'M' character.&lt;/div&gt;&lt;div&gt;Both of them worked for me.&lt;/div&gt;&lt;div&gt;Details can be found here:&lt;/div&gt;1) &lt;a href="http://www.tech-bits.com/index.php?View=entry&amp;amp;CategoryID=6&amp;amp;EntryID=54"&gt;http://www.tech-bits.com/index.php?View=entry&amp;amp;CategoryID=6&amp;amp;EntryID=54&lt;/a&gt;&lt;div&gt;2) &lt;a href="http://www.devdaily.com/unix/edu/un010011/"&gt;http://www.devdaily.com/unix/edu/un010011/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-3602668375590862939?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/3602668375590862939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=3602668375590862939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/3602668375590862939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/3602668375590862939'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2011/11/how-to-remove-dreaded-m-character-in.html' title='How to remove the dreaded &apos;^M&apos; character in unix files'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-4406900375586808355</id><published>2010-05-03T20:21:00.000-07:00</published><updated>2010-05-03T20:27:17.946-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Oracle Locks - ORA00054</title><content type='html'>Most of the self-help website outthere would suggest that whenever you encounter the ORA-00054 error message; just go check the tables like DBA_BLOCKERS and the likes to weed out the root cause.&lt;br /&gt;&lt;br /&gt;Well for typical users like me, every time I run the command "select * from DBA_BLOCKERS" the only reply I get from the DB would be something like "object does not exist".&lt;br /&gt;&lt;br /&gt;Bummer.&lt;br /&gt;&lt;br /&gt;That is until I found out that you actually had to run a script for all of those "DBA lock"-related table to be created.&lt;br /&gt;&lt;br /&gt;Simply go to $ORACLE_HOME/rdbms/admin directory and run catblock.sql script. And owh yeah - you might need to have admin privileges for this to work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-4406900375586808355?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/4406900375586808355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=4406900375586808355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/4406900375586808355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/4406900375586808355'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2010/05/oracle-locks-ora00054.html' title='Oracle Locks - ORA00054'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-2159363182835807359</id><published>2010-04-06T07:45:00.000-07:00</published><updated>2010-04-06T07:48:22.248-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>What does “&gt; /dev/null 2&gt;&amp;1″ mean?</title><content type='html'>Taken from &lt;a href="http://www.xaprb.com/blog/2006/06/06/what-does-devnull-21-mean/"&gt;http://www.xaprb.com/blog/2006/06/06/what-does-devnull-21-mean/&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span class="Apple-style-span"   style="  color: rgb(34, 34, 34); font-family:'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;font-size:13px;"&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;I remember being confused for a very long time about the trailing garbage in commands I saw in Unix systems, especially while watching compilers do their work. Nobody I asked could tell me what the funny greater-thans, ampersands and numbers after the commands meant, and search engines never turned up anything but examples of it being used without explanation. In this article I’ll explain those weird commands.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;Here’s an example command:&lt;/p&gt;&lt;pre style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; display: block; width: 665px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(34, 34, 34); border-left-width: 6px; border-left-style: solid; border-left-color: rgb(22, 100, 217); color: rgb(0, 204, 0); overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; "&gt;wibble &gt; /dev/null 2&gt;&amp;amp;1&lt;/pre&gt;&lt;h3 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 16px; font-weight: bold; "&gt;Output redirection&lt;/h3&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;The greater-thans (&lt;code style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&gt;&lt;/code&gt;) in commands like these redirect the program’s output somewhere. In this case, something is being redirected into &lt;code style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;/dev/null&lt;/code&gt;, and something is being redirected into &lt;code style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&amp;amp;1&lt;/code&gt;.&lt;/p&gt;&lt;h3 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 16px; font-weight: bold; "&gt;Standard in, out, and error&lt;/h3&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;There are three standard sources of input and output for a program. Standard input usually comes from the keyboard if it’s an interactive program, or from another program if it’s processing the other program’s output. The program &lt;em style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;usually&lt;/em&gt; prints to standard output, and &lt;em style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;sometimes&lt;/em&gt; prints to standard error. These three file descriptors (you can think of them as “data pipes”) are often called STDIN, STDOUT, and STDERR.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;Sometimes they’re not named, they’re numbered! The built-in numberings for them are 0, 1, and 2, in that order. By default, if you don’t name or number one explicitly, you’re talking about STDOUT.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;Given that context, you can see the command above is redirecting standard output into &lt;code style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;/dev/null&lt;/code&gt;, which is a place you can dump anything you don’t want (often called the bit-bucket), then redirecting standard error into standard output (you have to put an &lt;code style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&amp;amp;&lt;/code&gt; in front of the destination when you do this).&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;The short explanation, therefore, is “all output from this command should be shoved into a black hole.” That’s one good way to make a program be really quiet!&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; line-height: 18px; "&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-2159363182835807359?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/2159363182835807359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=2159363182835807359' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/2159363182835807359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/2159363182835807359'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2010/04/what-does-devnull-2-mean.html' title='What does “&gt; /dev/null 2&gt;&amp;1″ mean?'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-6209697047070226045</id><published>2010-03-03T11:16:00.000-08:00</published><updated>2010-03-03T11:19:27.219-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVNO'/><category scheme='http://www.blogger.com/atom/ns#' term='Telecom'/><category scheme='http://www.blogger.com/atom/ns#' term='Articles'/><title type='text'>MVNO: Through thick and thin</title><content type='html'>The below article was taken from Silicon.com. &lt;a href="http://www.silicon.com/management/ceo-essentials/2008/10/27/cheat-sheet-mvnos-39328230/"&gt;Click here to read the actual article.&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;By Natasha Lomas, 27 October 2008 16:23&lt;br /&gt;&lt;br /&gt;MVNO? That'll be an abbreviation - another pointless four letter one no doubt&lt;br /&gt;Right and wrong. MVNO stands for mobile virtual network operator - and it refers to a rather intriguing slice of the mobile pie.&lt;br /&gt;&lt;br /&gt;I'm listening&lt;br /&gt;Building and operating a mobile network is an expensive business, not least because it requires radio spectrum, so the number of mobile network operators (or MNOs) is limited to, at most, a handful per market. For instance, the UK market has five: 3, O2, Orange, T-Mobile and Vodafone.&lt;br /&gt;&lt;br /&gt;Spectrum does not come cheap. The auction for 3G licences in the UK - way back in 2000 - ended with five companies shelling out a whopping £22.47bn for the privilege of flogging third-generation services to Brits. So the requirement for large capital expenditure to set up a mobile network goes some way to explaining why actual networks are not 10-a-penny.&lt;br /&gt;&lt;br /&gt;But in many markets - especially in Europe and North America - there are more mobile services than networks and this is where virtual network operators come in.&lt;br /&gt;&lt;br /&gt;But what exactly are MVNOs?&lt;br /&gt;In basic terms, an MVNO buys 'traffic' - wholesale minutes and texts, and potentially data - from an MNO and resells it to customers under a different mobile service brand. However, the definition of an MVNO can vary - and there are several different types of MVNOs in a kind of 'degrees and degrees' way.&lt;br /&gt;&lt;br /&gt;For instance, some MVNOs handle the related wrap of services and processes - such as billing and traffic management - in-house, while others outsource that and just concentrate efforts on selling a branded service to the customer.&lt;br /&gt;&lt;br /&gt;MVNOs are sometimes categorised as follows: 'full MVNO', 'thin MVNO' and 'service provider' - with a 'full MVNO' being one which sets up and runs its own infrastructure (with the exception of the radio network) and manages all related customer services and processes itself; while a service provider simply resells a service and outsources the other business processes.&lt;br /&gt;&lt;br /&gt;An example of a full MVNO would be Virgin Mobile, the first MVNO in the UK market launching back in 1999 - which is also something of an exception in the MVNO world as it has many more subscribers (running to several million) than the average. The majority of MVNOs fall into the 'thin' or 'service provider' categories - and are more likely to have thousands of subscribers each.&lt;br /&gt;&lt;br /&gt;One more thing to note here: there are also MVNEs - or mobile virtual network enablers - who are basically middlemen who oil the wheels of the relations between MVNOs and network operators, and may also provide services to MVNOs such as billing, admin, support etc.&lt;br /&gt;&lt;br /&gt;Sounds complicated! So most MVNOs are small fry then?&lt;br /&gt;Well they certainly can be - and when compared to the mobile operators most probably are. But the majority of MVNOs are not attempting to compete directly with operators - rather their business models aim to identify niches the big boys necessarily overlook owing to their mass-market focus.&lt;br /&gt;&lt;br /&gt;What kind of niches are we talking about?&lt;br /&gt;Well one way of being a successful MVNO is to identify a social group such as an ethnic minority to whom you can market uniquely tailored mobile services.&lt;br /&gt;&lt;br /&gt;The more specialised and targeted the services of these MVNOs (often called 'ethnic MVNOs') the better - think: cultural references, minority languages - because their business opportunity is founded on anticipating and serving the needs of a particular social group. An example would be Calao Mobile in Belgium which offers mobile services to the country's Congolese community.&lt;br /&gt;&lt;br /&gt;What about low cost calls? I think I've seen ads for MVNOs offering really cheap calls&lt;br /&gt;There is often an element of low cost pricing (aka 'discount MVNOs') especially for MVNOs that tend to offer low cost international calls to a particular ethnic group's country of origin. But virtual operators in general have to find ways to make their businesses sustainable and simply offering low call costs over the long run can be a risky strategy because voice and text are increasingly looking like commodities in the mobile industry.&lt;br /&gt;&lt;br /&gt;Undercutting the operators on cost alone is thus likely to be viable only for businesses large enough to bankroll a mobile arm to gain other brand-extension benefits. An example would be flat-pack furniture giant Ikea which recently launched an MVNO in the UK called Family Mobile that claimed to offer the lowest priced pay-as-you-go calls and texts in the country.&lt;br /&gt;&lt;br /&gt;Of course not many MVNOs have the brand clout (and war coffers) of an Ikea or a Tesco - or a Virgin, which can also leverage other services in its arsenal (like fixed-line broadband) to attract customers with the promise of good value service bundles.&lt;br /&gt;&lt;br /&gt;But scores of smaller players do thrive in this space by identifying very specific communities with a common interest or connection - even fans of a particular football club - and then tailoring services to them. Examples include low cost international calls, customer services in minority languages and easy access to relevant (paid-for) sports content.&lt;br /&gt;&lt;br /&gt;Are there any other notable business models?&lt;br /&gt;Well - as with the football club MVNO example mentioned above - another way of making a business work is to provide a particularly innovative/appealing service in addition to the basics of voice and text.&lt;br /&gt;&lt;br /&gt;A good example of this is PosteMobile in Italy that offers mobile-banking services to BancoPosta customers - thus providing an attractive value-add service on top of everyday comms. PosteMobile has reportedly signed up hundreds of thousands of subscribers in its first year of operation so a bit of smart thinking clearly goes a long way to making a virtual operator business viable.&lt;br /&gt;&lt;br /&gt;Blyk is another European MVNO with a twist: it provides mobile services for absolutely nothing. Of course there is a catch: in return for free voice minutes and texts, subscribers must be willing to receive several 'brand messages' per day - i.e. adverts.&lt;br /&gt;&lt;br /&gt;However, the service is not open to just anyone. Only European residents between the ages of 16 and 24 can sign up so this MVNO works by monetising a youth demographic that's very attractive to advertisers.&lt;br /&gt;&lt;br /&gt;Clever...&lt;br /&gt;It seems so - Blyk claims to have signed up more than 100,000 subscribers in the UK in its first six months of operation.&lt;br /&gt;&lt;br /&gt;But surely mobile operators are crazy to wholesale their network to companies which end up undercutting them. Why do they do it?&lt;br /&gt;In many European states EC pressure has led to markets being opened up to MVNOs. But in the end this should not be viewed as just another diktat from Brussels designed to make mobile operators' lives a misery: in mature markets especially, MVNOs can be a clever way for operators to increase their market share and drive traffic over their networks - which is obviously good for business.&lt;br /&gt;&lt;br /&gt;Moreover, MNOs are not above buying MVNOs in order to acquire their customers and grow their business - another reason virtual operators need to be smart and think sustainably to stave off acquisition by the big boys.&lt;br /&gt;&lt;br /&gt;Anything else I need to know?&lt;br /&gt;Remember MVNOs are local animals - their character and success varies considerably from market to market. Moreover, Europe is a particularly fertile ecosystem for them - being so mature in mobile terms - so globally there are many regions where MVNOs have yet to make a serious mark.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-6209697047070226045?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/6209697047070226045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=6209697047070226045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6209697047070226045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6209697047070226045'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2010/03/mvno-through-thick-and-thin.html' title='MVNO: Through thick and thin'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-3336444355463816131</id><published>2010-01-03T08:59:00.000-08:00</published><updated>2010-01-03T09:02:40.194-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='concept'/><category scheme='http://www.blogger.com/atom/ns#' term='hotbilling'/><title type='text'>Hotbilling Concept</title><content type='html'>The below article was taken from &lt;a href="http://www.amsd.com/products/BillingSystem/features/hotbill.html"&gt;Hot Billing Concept by Advanced Multimedia System Design&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;/h2&gt;&lt;blockquote&gt;&lt;h2&gt;Prehistory&lt;/h2&gt;Darwin teaches us that far ancestors of billing systems were simple log files, or record books. All they could do automatically was regular information storage, "&lt;i&gt;The client dialed in at 19:00 and disconnected at 21:00&lt;/i&gt;"; information &lt;i&gt;retrieval&lt;/i&gt; was a less trivial procedure. &lt;p&gt;When computers left the developers' pools and migrated to the commercial land, logs had to be taught to detect account overdraft automatically, not at the end of the month. Billing systems of the newer generation were reptile guardians, timing a given delay, "&lt;i&gt;This is the first day of the rest of your life!&lt;/i&gt;", and biting the connection off when the session timed out.&lt;/p&gt; &lt;p&gt;But the evolution went on. Cold-blooded billing systems could prevent a single-user debit account with a constant dollars-per-minute rate from overdraft; they failed if faced a &lt;i&gt;herd&lt;/i&gt; of users exploiting a single shared account. Each user was allowed to "speak off" all the remaining money; and, at the end of the last conversation, the resulting account balance was not zero dollars zero cents but lower, and much lower...&lt;/p&gt; &lt;p&gt;The coming Ice Age made the next generation of billing systems turn warm-blooded, so that they no more grew torpid for all the allowed conversation time but tracked the conversation and account statement attentively, mercilessly terminating the call when no money was left.&lt;/p&gt; &lt;p&gt;That was the way, hard and cruel, to the modern orthodrade concept of &lt;i&gt;hot billing&lt;/i&gt;.&lt;/p&gt;&lt;h2&gt;Habits and inhabitance area.&lt;/h2&gt;&lt;b&gt;Hot billing&lt;/b&gt; is an AAA (authentication, authorization and accounting) approach compliant to the following conditions: &lt;ul&gt;&lt;li&gt;required - the NAS (network access server) is always (with a certain given precision) informed &lt;i&gt;if the subscriber's account is overdrafted&lt;/i&gt;;&lt;/li&gt;&lt;li&gt;sufficient - the NAS (network access server) is always (with a certain given precision) informed &lt;i&gt;when, according to the current balance and current expenses-per-minute, the subscriber's account will be overdrafted&lt;/i&gt;.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;You might suggest an even stronger condition, "the NAS is always informed about the current account balance"; but this is not a necessary condition, neither a convenient facility for successful "hot-billed" public access network (for instance, a commercial telephone network) deployment.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Hot billing&lt;/b&gt; requires the NAS to exchange with the AAA server regularly, either at a given minimal frequency or when new relevant information appears at any side (the latter case implies that the AAA server directly initiates session termination). If an asymmetric protocol (such as &lt;a href="http://www.amsd.com/products/BillingSystem/features/radius.html"&gt;RADIUS&lt;/a&gt;) is used and one of the sides (usually the AAA server) cannot trigger data exchange, the AAA client issues AAA requests every N seconds. The resulting network traffic overhead (rather small in comparison with the "billed" voice or HTTP traffic) is richly covered with the following benefits:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;logical separation of &lt;i&gt;account possessor&lt;/i&gt; and &lt;i&gt;account beneficiary&lt;/i&gt; - for instance, the employer may manage a common account for all his employees rather than open a personal account for each one. Our experience shows that &lt;a href="http://www.amsd.com/products/BillingSystem/index.html"&gt;AMSD® BillingSystem™&lt;/a&gt; is capable of handling up to 1000 subscribers (PINs) with a single account.&lt;/li&gt;&lt;li&gt;immediate ("right now" or precisely scheduled) application of updates to a tariff plan (pricing policy).&lt;/li&gt;&lt;li&gt;immediate lockout of a certain subscriber (if a certain PIN+password pair is suspected to be stolen);&lt;/li&gt;&lt;li&gt;payment procession during an active session, so that a subscriber could, for instance, type the activation code of a new debit card after a warning signal ("&lt;b&gt;You have one minute left!&lt;/b&gt;").&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-3336444355463816131?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/3336444355463816131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=3336444355463816131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/3336444355463816131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/3336444355463816131'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2010/01/hotbilling-concept.html' title='Hotbilling Concept'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-1117555683086571109</id><published>2009-08-27T16:56:00.000-07:00</published><updated>2009-08-27T16:58:58.935-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Unix Sort</title><content type='html'>One of the most helpful webpages when it comes to how-to in using the sort command.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.softpanorama.org/Tools/sort.shtml"&gt;Click me!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(ok, so it wasn't a lot. but it does lead you to a good direction doesn't it.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-1117555683086571109?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/1117555683086571109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=1117555683086571109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1117555683086571109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1117555683086571109'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2009/08/unix-sort.html' title='Unix Sort'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-8260523728689254518</id><published>2009-05-20T07:37:00.001-07:00</published><updated>2009-05-20T07:44:38.662-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Graphics'/><title type='text'>When your video can't play</title><content type='html'>I've had this problem (ok,..so I usually write a how-to when I got a problem to fix) whereby my recently acquired laptop (my last one was stolen..#uck#n thieves..) was not able to play any movies at all.&lt;br /&gt;&lt;br /&gt;Talk about NOT being able to play movies on your laptop! Such blasphemy! Ok, so I know that you're not even suppose to go around and watch a movie using your company's property, but I mean come on..who does'nt?&lt;br /&gt;&lt;br /&gt;Anywho, after months of surviving without my own able-to-watch-laptop (I've been using my wife's since then :P ), recently I found this comments which attributed my problem to a DirectDraw problem. Full coverage of that thread here : &lt;a href="http://www.techspot.com/vb/all/windows/t-42844-System-freezes-when-trying-to-play-ANY-video-files.html"&gt;System freezes when trying to play ANY movie&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So after disabling the hardware accelaration on my laptop - I could play them movies again! Yippee!&lt;br /&gt;&lt;br /&gt;Time to watch some episodes of the X-Men cartoon (the one that usually airs at 7pm back then) that I've been downloading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-8260523728689254518?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/8260523728689254518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=8260523728689254518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8260523728689254518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8260523728689254518'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2009/05/when-your-video-cant-play.html' title='When your video can&apos;t play'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-5561125406078418068</id><published>2009-01-19T09:48:00.000-08:00</published><updated>2009-01-19T10:10:53.815-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='applied telecommunication'/><title type='text'>SS7 Architecture</title><content type='html'>Below is a picture depicting the SS7 architecture.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sycamorenet.com/solutions/access/images/10065.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 470px; height: 287px;" src="http://www.sycamorenet.com/solutions/access/images/10065.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;With SS7, a packet data network overlays and controls the operation of the underlying voice networks, signaling information is carried on an entirely different path than voice and data traffic. Signaling in essence does not take a lot of time, hence it is possible to multiplex many signaling messages over one channel - and that's why the signaling system is a packet network.&lt;br /&gt;&lt;br /&gt;SS7 entire architecture performs out-of-band signaling (in which conversation and signaling take over different paths). It (the architecture) defines the procedure for the setup, ongoing management, and clearing of a call, and it enables the passing along of customer-related information that helps in routing calls.&lt;br /&gt;&lt;br /&gt;The key components of SS7 are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. SSP:Service-switching points&lt;/span&gt;&lt;br /&gt;Them switches that originate and terminate calls. It serves as the source and destination point for the SS7 messages&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. STP: Signal transfer point&lt;/span&gt;&lt;br /&gt;Responsible for translating the SS7 messages between the appropriate nodes and databases. Notice the redundancy of links in the diagram.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. SCP: Service control points&lt;/span&gt;&lt;br /&gt;The network element that interfaces with SCP and STP. It is the network element that contains the network configuration and call-completion database, which means it contains the service logic to act on the types of calls and features the users are requesting. It contains the service logic, basically the softwares and databases; which enables it to handle the management of calls.&lt;br /&gt;&lt;br /&gt;SS7 enables a telephone company to offer one database to several switches, thereby freeing up switch capacity for other functions, and this is what makes it the foundation for intelligent network (IN) and advanced intelligent network (AIN).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-5561125406078418068?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/5561125406078418068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=5561125406078418068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/5561125406078418068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/5561125406078418068'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2009/01/ss7-architecture.html' title='SS7 Architecture'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-1668348559052168364</id><published>2008-11-23T20:11:00.000-08:00</published><updated>2008-11-23T20:17:37.460-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><title type='text'>SQLplus basics</title><content type='html'>Several useful commands.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Basic Retrieval from single table&lt;/b&gt;&lt;br /&gt;SELECT [DISTINCT] &lt;i&gt;display_fields&lt;/i&gt;&lt;br /&gt;FROM &lt;i&gt;tables&lt;/i&gt;&lt;br /&gt;WHERE &lt;i&gt;field_conditions&lt;/i&gt;&lt;br /&gt;ORDER BY &lt;i&gt;field_name&lt;/i&gt; [ASC | DESC];&lt;br /&gt;&lt;br /&gt;e.g: select * from MethodParameter;&lt;br /&gt;e.g: select * from MethodParameter where NAME=DUNHAM;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Delete the whole content of table&lt;/span&gt;&lt;br /&gt;DROP TABLE &lt;span style="font-style: italic;"&gt;tablename&lt;/span&gt;;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;e.g: drop table MethodParameter;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Delete one or more records from a table&lt;/b&gt;&lt;br /&gt;DELETE FROM &lt;i&gt;table_name&lt;/i&gt;&lt;br /&gt;WHERE &lt;i&gt;record_retrieval_conditions&lt;/i&gt;;&lt;br /&gt;&lt;br /&gt;e.g: delete from MethodParameter where NAME='DUNHAM BUSH';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-1668348559052168364?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/1668348559052168364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=1668348559052168364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1668348559052168364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1668348559052168364'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/11/sqlplus-basics.html' title='SQLplus basics'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-4243915464742542852</id><published>2008-11-23T07:39:00.000-08:00</published><updated>2008-11-23T07:46:59.053-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Not enough disk space</title><content type='html'>Should you ever see these types of message, there are several 'must-know' unix commands that can be used in order to start investigating.&lt;br /&gt;&lt;br /&gt;1. du | sort -n : lists all file usage from smallest to largest.&lt;br /&gt;2. df -k -b &lt;directory&gt; : see how much allocation is used in the directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For more help, go to links below:-&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://www.thesolutionguys.com/faq/pdf/10.pdf"&gt;An IT-admin guide to clearing up disk space&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://www.computerhope.com/unix/udf.htm"&gt;df unix command definitions and usage&lt;/a&gt;&lt;br /&gt;3. &lt;a href="http://www.computerhope.com/unix/udu.htm"&gt;du unix command definitions and usage&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-4243915464742542852?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/4243915464742542852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=4243915464742542852' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/4243915464742542852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/4243915464742542852'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/11/not-enough-disk-space.html' title='Not enough disk space'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-6339630469024563497</id><published>2008-11-16T18:35:00.000-08:00</published><updated>2008-11-16T18:49:23.000-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>How to kill a Unix process</title><content type='html'>&lt;div style="text-align: left;"&gt;From &lt;span style="color: rgb(0, 0, 153);"&gt;http://www.ncl.ac.uk/iss/unix/unixhelp/kill.html&lt;/span&gt; and &lt;span style="color: rgb(0, 0, 153);"&gt;http://www.decf.berkeley.edu/help/unix/kill.html&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;If you are logged in to a Unix system and your session "hangs" or "freezes"    (i.e. nothing happens for a long time and it does not respond to Ctrl/Q Ctrl/C    or Ctrl/D), you can attempt to unfreeze it yourself by "killing" the &lt;a href="http://www.ncl.ac.uk/iss/unix/unixhelp/job_process.html"&gt;process&lt;/a&gt;    which has stopped your session.&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;You can also use Ctrl/Z to get out of a process in UNIX.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Login to the system where your session is frozen &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;&lt;p&gt;Type the command: &lt;/p&gt;  &lt;p&gt; &lt;tt&gt;w&lt;/tt&gt; &lt;var&gt;usid&lt;/var&gt; &lt;/p&gt;  &lt;p&gt; where &lt;var&gt;usid&lt;/var&gt; is your own username. This will produce a line of output for each login something like this:  &lt;/p&gt;&lt;pre&gt;  9:53am  up 82 day(s), 15:58,  132 users,  load average: 6.50, 6.25, 5.70&lt;br /&gt;User     tty           login@  idle   JCPU   PCPU  what&lt;br /&gt;nabc     pts/160       9:12am                      -csh&lt;br /&gt;nabc     pts/166       9:53am                      w nabc&lt;/pre&gt; &lt;p&gt; Note the contents of the &lt;b&gt;tty&lt;/b&gt; column for the frozen login -- in this example attached to pts/160.&lt;/p&gt;   &lt;/li&gt;&lt;li&gt;&lt;p&gt;Type the command &lt;/p&gt;  &lt;p&gt; &lt;tt&gt;ps -t&lt;/tt&gt; &lt;var&gt;tty&lt;/var&gt; &lt;/p&gt;  &lt;p&gt; where &lt;var&gt;tty&lt;/var&gt; is the tty designation noted above.  For example &lt;/p&gt;&lt;p&gt; &lt;tt&gt;ps -t pts/160&lt;/tt&gt; &lt;/p&gt; &lt;p&gt;  The output will be something like &lt;/p&gt;  &lt;pre&gt;   PID TTY      TIME CMD&lt;br /&gt;20865 pts/160  0:00 elm&lt;br /&gt;18986 pts/160  0:00 csh&lt;/pre&gt;   &lt;p&gt; Note (under PID) which of your processes issued the command which is now "hung".&lt;/p&gt;    &lt;/li&gt;&lt;li&gt;&lt;p&gt;Type the command &lt;/p&gt;&lt;p&gt; &lt;tt&gt;kill -KILL&lt;/tt&gt; &lt;var&gt;xxxxx&lt;/var&gt; &lt;/p&gt;  &lt;p&gt; where &lt;var&gt;xxxxx&lt;/var&gt; is the process number (PID) of the frozen process. For example &lt;/p&gt;&lt;p&gt; &lt;tt&gt;kill -KILL 20865&lt;/tt&gt; &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;Or you could just type&lt;span style="font-style: italic;"&gt; ps -u &lt;userid&gt;&lt;/userid&gt;&lt;/span&gt;, which will give you the pid of all the processes running/hang; and just kill them one by one whichever you like. The kill command is &lt;span style="font-style: italic;"&gt;kill -9 &lt;pid&gt;&lt;/pid&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;A little explanation on that -9 thing and kill.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;     The `kill' command&lt;br /&gt;&lt;br /&gt;   Sometimes a process will ignore both of these keystroke-generated&lt;br /&gt;   signals.  This will happen when a process has been `backgrounded'&lt;br /&gt;   or `submitted', in which case you can use the `kill'  command  to&lt;br /&gt;   abort  it.  It may also happen when your terminal is frozen in an&lt;br /&gt;   unresponsive state, in which case it may  be  necessary  to  kill&lt;br /&gt;   your  login process (i.e. log you out) just to return your termi-&lt;br /&gt;   nal to a sensible state.&lt;br /&gt;&lt;br /&gt;   The `kill' command has the general form "kill -N PID", where  you&lt;br /&gt;   replace  `PID'  with  a process identification number and replace&lt;br /&gt;   `N' with a `signal' number.  Usually, `N' will  be  `1'  and  the&lt;br /&gt;   PID,  if  you  do not already know it, can be learned through the&lt;br /&gt;   `ps' command as described below.  This command causes the speci-&lt;br /&gt;   fied signal to be sent to the specified process.&lt;br /&gt;&lt;br /&gt;   Signal numbers&lt;br /&gt;&lt;br /&gt;   Signal number `1', a `hangup' signal, is recommended  because  it&lt;br /&gt;   should kill the process and, if it is an editor, save the buffer.&lt;br /&gt;   Signal number `9', a `kill' signal, is the surest way to  kill  a&lt;br /&gt;   process  and  is  recommended only as a last resort since it will&lt;br /&gt;   not save editor buffers.&lt;br /&gt;&lt;br /&gt;   You may wish to note that the interrupt and quit (keystroke) sig-&lt;br /&gt;   nals  mentioned  above  can be sent to a process by replacing `N'&lt;br /&gt;   with `2' and `3', respectively.  There are 15  different  signals&lt;br /&gt;   that  can be sent to a process via `kill'.  Each of them conveys&lt;br /&gt;   slightly different information but generally causes death, whence&lt;br /&gt;   the name of the command.&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-6339630469024563497?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/6339630469024563497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=6339630469024563497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6339630469024563497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6339630469024563497'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/11/how-to-kill-unix-process.html' title='How to kill a Unix process'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-6452391624796203998</id><published>2008-10-27T01:54:00.000-07:00</published><updated>2008-10-27T01:59:01.770-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><category scheme='http://www.blogger.com/atom/ns#' term='Shell script'/><title type='text'>Unix 'Basename' command</title><content type='html'>&lt;p&gt;The basename  utility deletes any prefix ending in / and the     suffix  (if  present  in string) from string, and prints the&lt;br /&gt;      result on the standard output. It is  normally  used  inside     substitution marks (``) within shell procedures.&lt;/p&gt;               &lt;p class="nb"&gt;&lt;a name="02"&gt;&lt;/a&gt;Syntax&lt;/p&gt;               &lt;p&gt;&lt;i&gt;basename [string] [suffix]&lt;/i&gt;&lt;/p&gt;&lt;p&gt;string - the leading part of the path name or sting&lt;/p&gt;&lt;p&gt;suffix - additional remaining portion of name that if matches will be removed&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="nb"&gt;Examples&lt;/p&gt;               &lt;p&gt;&lt;b&gt;basename myfile.txt .txt&lt;/b&gt; - Takes the basename               of myfile.txt and strips the .txt portion and then just displays               myfile.&lt;/p&gt;&lt;p&gt;credits to: &lt;span style="color: rgb(102, 102, 0);"&gt;http://www.computerhope.com/unix/ubasenam.htm&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-6452391624796203998?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/6452391624796203998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=6452391624796203998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6452391624796203998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6452391624796203998'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/10/unix-basename-command.html' title='Unix &apos;Basename&apos; command'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-7258026588313720895</id><published>2008-08-29T08:40:00.000-07:00</published><updated>2008-08-29T16:27:52.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>How to Transfer a File into a Remote Desktop with shitty VPN connection</title><content type='html'>Few days back I was in this situation where by I had to transfer some files over to a remote desktop (aka the client's server). The shitty part I can't send files over through any websites or webmail; they've banned it all. No FTP softwares and the worst thing is, every time my manager sends them email with the attached packages; them packages are not sent through. Don't know where it got filtered..our site or theirs (I assume it's their's). Some thoughts are given also on mapping my drives so that it'll be accessible at the remote desktop; but some people have that said (read other blogs) the method only works if the remote desktop is not using Win2k and below. So again...i hit a wall.&lt;br /&gt;&lt;br /&gt;Anyhow, that's where this trick comes in. In essence you turn your file into something readable (read ASCII) and copy and paste the text over the remote desktop. One thing to note though is that not everything can be easily read by the notepad. Introducing 'uuencode'. This piece of command in UNIX is able to encode anything into an ASCII equivalent - making sure that you can copy and paste it over the remote desktop. In my case, my original package is in a UNIX server over in Helsinki, in our company's VPN. The client, uses their own VPN. Below are the steps to do just that.&lt;br /&gt;&lt;br /&gt;1. Get all of the files into one folder (if you wanna transfer a bunch of files).&lt;br /&gt;2. tar -cvf &lt;pack&gt;.tar &lt;pack&gt;&lt;br /&gt;3. gzip &lt;pack&gt;.tar&lt;br /&gt;4. uuencode &lt;pack&gt;.tar.gz &lt;pack&gt;.tar.gz &gt; &lt;pack&gt;.out&lt;br /&gt;5. get the &lt;pack&gt;.out onto your local Windows environment.&lt;br /&gt;6. open the &lt;pack&gt;.out using Notepad or any word editor.&lt;br /&gt;7. open a file (using vi) in the client's UNIX environment. Name it &lt;pack&gt;.out&lt;br /&gt;8. paste the content of &lt;pack&gt;.out in local environment to &lt;pack&gt;.out in client's UNIX environment.&lt;br /&gt;9. uudecode -o &lt;pack&gt;.tar.gz &lt;pack&gt;.out&lt;br /&gt;10. tar -xvf&lt;br /&gt;&lt;br /&gt;You should be seeing back your files in the folder in Step 1. Take note that it is advisable to only transfer files having the size of 2Mb and below.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-7258026588313720895?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/7258026588313720895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=7258026588313720895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7258026588313720895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7258026588313720895'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/08/how-to-transfer-file-into-remote.html' title='How to Transfer a File into a Remote Desktop with shitty VPN connection'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-195214255832627812</id><published>2008-07-23T18:55:00.000-07:00</published><updated>2008-08-29T08:39:17.667-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>The UNIX tr command</title><content type='html'>&lt;p  style="color: rgb(102, 102, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;$&gt; tr ',' '\012' &lt;&gt; return.txt&lt;/strong&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt; &lt;p  style="color: rgb(102, 102, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;tr&lt;/strong&gt; is the program doing the work.&lt;br /&gt;&lt;strong&gt; ','&lt;/strong&gt;  is the character I want to replace (in this case a comma).&lt;br /&gt;&lt;strong&gt; '\012'  &lt;/strong&gt;is the octal value for a newline in UNIX.&lt;br /&gt;&lt;strong&gt;comma .txt&lt;/strong&gt; is the file I am reading from.&lt;br /&gt;&lt;strong&gt;return.txt&lt;/strong&gt; is the new file I am saving my changes to.&lt;/span&gt;&lt;/p&gt;&lt;p  style="color: rgb(102, 102, 0);font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;from :&lt;span style="color: rgb(255, 0, 0);"&gt; http://www.flashcodersny.org/wordpress/?p=19&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p face="arial"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-195214255832627812?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/195214255832627812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=195214255832627812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/195214255832627812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/195214255832627812'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/unix-tr-command.html' title='The UNIX tr command'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-668523720416003007</id><published>2008-07-12T20:07:00.000-07:00</published><updated>2008-07-12T20:14:37.861-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint 2007'/><title type='text'>Microsoft Office Sharepoint 2007 screencasts</title><content type='html'>Learning Sharepoint for beginners is quite tough. Luckily in this day and age, there's screencasts. Here I share some links I picked up when I was doing my practical at a networking company. Back then I had to set up a portal using Sharepoint 2007 - so these screencasts here was kinda  like my point of reference since no one in the company I worked at has ever set up a portal using MOSS 2007 before. Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.sharepointhosting.com/Downloads/SharePoint-Tutorials.aspx"&gt;http://blog.sharepointhosting.com/Downloads/SharePoint-Tutorials.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;the contents are:-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Change a SharePoint User's e-mail address&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Change SharePoint User's Password&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Create a new SharePoint Site Collection Administrator&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Create a New SharePoint User&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Create a new site column&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Create SharePoint Security Group&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Create SharePoint Sub Site&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    E-mail enable a Discussion Board&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Administration &amp;amp; User Management    Install the Site Admin SharePoint Application Templates&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    5 SharePoint Blog Customization Tutorials on Amazon ads, Google Analytics, Blog Comments and Mobile Phone Access&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    5 SharePoint Blog Customization Tutorials on Anonymous Access, Anonymous Comments, e-mail enabling, and managing blog posts&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    5 SharePoint Blog Customization Tutorials on general administration, logging on for the first time, and selecting a blog theme&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    5 SharePoint Blog Customization Tutorials on posting directly from Word 2007, adding categories, general blog management and navigation&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    Approve another user's SharePoint Blog Post&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    Configure the Google AdSense Referal Program on your SharePoint Blog&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    Create a SharePoint Blog Posting&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    Create new blog post cateogires&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    Edit Blog Categories&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Blogging    Set up AdSense Advertisements on your SharePoint Blog&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Configuration    Change SharePoint Navigation to a Site Tree View&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Configuration    Create a SharePoint InfoPath form Library&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Configuration    Create a SharePoint Meeting Site&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Configuration    Create SharePoint Sub Site&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Add Documents to a SharePoint site&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Add Links to a SharePoint list&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a Document-specific SharePoint Alert&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a MOSS slide lirbary&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Announcements List&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Calendar Appointment&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Document Library&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Document Work Space&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Gantt Project Management Chart&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Links List&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create a SharePoint Wiki Document&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Create SharePoint Picture Library&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    E-mail documents into your SharePoint site&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    How to delete a meeting site&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Restore Deleted Items as Site Collection Administrator&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Use the Send to Command&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Work with the Gantt Chart&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Content Management    Work with the SharePoint Recycle Bin&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Add a Webpart&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Change the SharePoint Site Image&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Change the SharePoint Site Title and Description&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Change Themes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Create a SharePoint Calendar&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Create a SharePoint Contacts List&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Create a SharePoint CRM Application&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Create a SharePoint Discussion Board&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Create Wiki Library&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Edit the QuickLaunch&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Enable Document Versioning&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    How to customize a Meeting Workspace&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    How to remove the Quick Launch Menu&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Modify a view with a site column&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Remove Navigation Inheritance&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Customization    Top Link Bar (tabbed) Navigation Options&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Security    Add SharePoint Site to your Trusted Sites in Internet Explorer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Security    Add Users to a SharePoint Security Group&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Security    Manage Access Requests&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Security    Remove Permission Inheritance from subsite&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Security    Restore Permission Inheritance&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Security    Sign in as a different user&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;SharePoint Designer    Create 5 step workflow&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;SharePoint Designer    Create a new Workflow with SharePoint Designer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;SharePoint Designer    Edit a workflow&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;SharePoint Designer    ELSE IF statements - conditional branching in Workflows&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;SharePoint Designer    How to backup your site with SharePoint Designer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;SharePoint Designer    Open a SharePoint Site with SharePoint Designer&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-668523720416003007?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/668523720416003007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=668523720416003007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/668523720416003007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/668523720416003007'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/microsoft-office-sharepoint-2007.html' title='Microsoft Office Sharepoint 2007 screencasts'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-6329391870685637059</id><published>2008-07-12T20:01:00.000-07:00</published><updated>2008-07-12T20:03:41.037-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><title type='text'>HOW TO: Apply Local Policies to All Users Except Administrators on Windows Server 2003 in a Workgroup Setting</title><content type='html'>&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;This article describes how to apply local policies to all users except administrators on a Windows Server 2003-based computer that is in a workgroup setting. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; When you use a Windows Server 2003-based computer in a workgroup setting (not a domain), you may have to implement local policies on that computer that can apply to all users of that computer, but not to administrators. This exception permits the administrator to retain unlimited access and control of the computer, and also permits the administrator to restrict the users who can log on to that computer. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; The Windows Server 2003-based computer must be in a workgroup setting for this procedure to work. In this situation, the domain policies cannot overwrite the local policies because the domain policies do not exist. Microsoft recommends that you make backup copies of all the files that you edit during this procedure.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;ripped from : &lt;a href="http://support.microsoft.com/kb/325351/en-us#appliesto"&gt;http://support.microsoft.com/kb/325351/en-us#appliesto&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-6329391870685637059?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/6329391870685637059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=6329391870685637059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6329391870685637059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6329391870685637059'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/how-to-apply-local-policies-to-all.html' title='HOW TO: Apply Local Policies to All Users Except Administrators on Windows Server 2003 in a Workgroup Setting'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-8290939186742532916</id><published>2008-07-12T19:59:00.000-07:00</published><updated>2008-07-12T20:01:50.989-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><title type='text'>Group Policy application rules for domain controllers</title><content type='html'>&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Domain controllers pull some security settings only from group policy objects linked to the root of the domain. Because domain controllers share the same account database for the domain, certain security settings must be set uniformly on all domain controllers. This ensures that the members of the domain have a consistent experience regardless of which domain controller they use to log on. Windows 2000 accomplishes this task by allowing only certain setting in the group policy to be applied to domain controllers at the domain level. This group policy behavior is different for member server and workstations.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;ripped from : &lt;a href="http://support.microsoft.com/kb/259576/en-us#appliesto"&gt;http://support.microsoft.com/kb/259576/en-us#appliesto&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-8290939186742532916?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/8290939186742532916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=8290939186742532916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8290939186742532916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8290939186742532916'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/group-policy-application-rules-for.html' title='Group Policy application rules for domain controllers'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-7524426899472177439</id><published>2008-07-12T19:57:00.000-07:00</published><updated>2008-07-12T19:59:53.743-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><title type='text'>Managing Policy in Active Directory</title><content type='html'>&lt;b style="color: rgb(102, 102, 0);"&gt;&lt;u&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Apply Local Policies to All Users Except Administrators in a Workgroup Setting&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; To implement local policies to all users &lt;/span&gt;&lt;b style="color: rgb(102, 102, 0);"&gt;except administrators&lt;/b&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;, follow these steps: &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 1. Log on to the computer as an administrator. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 2. Open your local security policy. To do this, do one of the following:&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; • Click Start, click Run, type gpedit.msc, and then press ENTER.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; -or- &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; • Click Start, click Run, type mmc, press ENTER, add the Group Policy Object Editor, and then configure it for the local security policy. If the removal of the run command is one of the policies that you want, Microsoft recommends that you edit the policy by means of Microsoft Management Console (MMC), and then save the results as an icon. Then, you do not need the run command to reopen the policy. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 3. Expand the User Configuration object, and then expand the Administrative Templates object.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 4. Enable whatever policies that you want (for example, Desktop for "Hide My Network Places" or "Hide Internet Explorer Icon on Desktop"). &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; NOTE: Make sure that you select the correct policies; otherwise, you may restrict the ability of the administrator to log on to the computer (and to complete the necessary steps to configure the computer). Microsoft recommends that you record any changes that you make (you can also use this information for step 10). &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 5. Close the Gpedit.msc Group Policy snap-in. Or, if you use MMC, save the console as an icon to make it accessible later, and then log off the computer. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 6. Log on to the computer as an administrator.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; You can verify in this logon session the policy changes that were made earlier, because, by default, the local policies apply to all users, which includes administrators. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 7. Log off the computer, and then log on to the computer as all of the other users for this computer for whom you want these policies to apply. The policies are implemented for all of these users and the administrator.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; NOTE: Any user account that is not logged on to the computer at this step cannot have the policies implemented for that account. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 8. Log on to the computer as an administrator. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 9. Click Start, point to Control Panel, and then click Folder Options. Click the View tab, click Show Hidden Files and Folders, and then click OK so that you can view the Group Policy hidden folder. Or, open Windows Explorer, click Tools, and then click Folder Options to view these settings. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 10. Copy the Registry.pol file that is located in the %Systemroot%\System32\GroupPolicy\User folder to a backup location (for example, to a different hard disk, floppy disk, or folder). &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 11. Open your local policy again by using either the Gpedit.msc Group Policy snap-in or your MMC icon, and then enable the exact features that were disabled in the original policy that was created for that computer. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; NOTE: When you do this, Policy Editor creates a new Registry.pol file. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 12. Close your policy editor, and then copy the backup Registry.pol file that you created in step 10 back into the %Systemroot%\System32\GroupPolicy\User folder. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; When you are prompted to replace the existing file, click Yes. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 13. Log off the computer, and then log on as an administrator.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; You can verify that the changes that were originally made are not implemented for you because you have logged on to the computer as an administrator. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 14. Log off the computer, and then log on as another user (or users).&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; You can verify that the changes that were originally made are implemented for you because you have logged on to the computer as a user (not an administrator) to that computer . &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 15. Log on to the computer as an administrator to verify that the local policy does not affect you as the local administrator to that computer. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;b style="color: rgb(102, 102, 0);"&gt;&lt;u&gt;Restore Original Local Policies&lt;/u&gt;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; To reverse the process described in the "Apply Local Policies to All Users Except Administrators" section of this article, follow these steps: 1. Log on to the computer as an administrator. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 2. Click Start, point to Control Panel, and then click Folder Options. Click the View tab, click Show Hidden Files and Folders, and then click OK so that you can view the Group Policy hidden folder. Or, open Windows Explorer, click Tools, and then click Folder Options. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 3. Move, rename, or delete the Registry.pol file from the %Systemroot%\System32\GroupPolicy\User folder.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; Another default Registry.pol file is created by the Windows File Protection system after you log off from or restart the computer. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 4. Open the local policy. To do this, click Start, click Run, and then type gpedit.msc. Or, click Start, click Run, type mmc, and then load the local security policy. Then, set all of the items that are set to either disable or enable to not configured to reverse any policy changes that were implemented to the Windows Server 2003 registry as specified by the Registry.pol file. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 5. Log off the computer as an administrator, and then log on to the computer again as an administrator. &lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; 6. Log off the computer, and then log on to the computer as all of the users on the local computer so that the changes can be reversed on their accounts too. &lt;/span&gt;&lt;br /&gt; &lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;This article was written by waver from the &lt;a href="http://www.sadikhov.com/forum/"&gt;sadikhov &lt;/a&gt;forum.&lt;br /&gt; &lt;!--[endif]--&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-7524426899472177439?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/7524426899472177439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=7524426899472177439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7524426899472177439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7524426899472177439'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/managing-policy-in-active-directory.html' title='Managing Policy in Active Directory'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-1903847672396716898</id><published>2008-07-12T19:54:00.000-07:00</published><updated>2008-07-12T19:57:15.104-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><title type='text'>How to set account lockout policies in Windows 2000 and Windows Server 2003</title><content type='html'>&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;To help secure your network, you can use account lockout policies for domain accounts or for local user accounts. An account lockout policy is a Microsoft Windows security feature that locks a user account if a designated number of failed logon attempts occur within a specified time frame. These variables are based on security policy lockout settings. You cannot log on to the network through a locked account until the lockout period has expired.&lt;br /&gt;&lt;br /&gt;In Microsoft Windows 2000 and in later versions of Windows, you can configure account lockout policies in the Active Directory directory service. To configure account lockout policies in Windows 2000, use the ADSI Edit snap-in to edit Active Directory and to change the PwdProperties attribute in the domain naming context. When you make this change on one domain controller, the change is replicated to all other domain controllers on your network.&lt;br /&gt;&lt;br /&gt;ripped from : &lt;a href="http://support.microsoft.com/kb/885119/en-us#appliesto"&gt;http://support.microsoft.com/kb/885119/en-us#appliesto&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-1903847672396716898?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/1903847672396716898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=1903847672396716898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1903847672396716898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1903847672396716898'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/how-to-set-account-lockout-policies-in.html' title='How to set account lockout policies in Windows 2000 and Windows Server 2003'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-8558142934449831245</id><published>2008-07-12T19:51:00.000-07:00</published><updated>2008-07-12T19:53:55.331-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><title type='text'>How To Reset User Rights in the Default Domain Group Policy in Windows Server 2003</title><content type='html'>&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;This article describes how to reset user rights in the default domain Group Policy object (GPO) in Windows Server 2003. The default domain GPO contains many default user-rights settings. Sometimes, if you change the default settings, unexpected restrictions may be put on user rights. If the changes are unexpected or if the changes were not recorded so that you do not know which changes were made, you may have to reset the user-rights settings to their default values.&lt;br /&gt;&lt;br /&gt;This situation may also occur if you manually rebuild the contents of the Sysvol folder, or if you restore it from a backup by using the steps that are included in the following Microsoft Knowledge Base article: &lt;/span&gt;&lt;a href="http://support.microsoft.com/kb/253268/EN-US/%29"&gt;&lt;span class="plink"&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;http://support.microsoft.com/kb/253268/EN-US/&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-8558142934449831245?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/8558142934449831245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=8558142934449831245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8558142934449831245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8558142934449831245'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/how-to-reset-user-rights-in-default.html' title='How To Reset User Rights in the Default Domain Group Policy in Windows Server 2003'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-5151576068204819304</id><published>2008-07-12T19:46:00.000-07:00</published><updated>2008-07-12T19:51:02.290-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Server 2003'/><title type='text'>How To Create a System Policy Setting in Microsoft Windows Server 2003</title><content type='html'>&lt;p style="color: rgb(102, 102, 0);" class="MsoNormal"&gt;&lt;script type="text/javascript"&gt; loadTOCNode(1, 'summary'); &lt;/script&gt;This step-by-step article describes how to create System Policy settings for down-level client computers in a Windows Server 2003 domain. In a Windows Server 2003 network, you can use Group Policy settings to configure and control Windows Server 2003-based computers, Windows 2000-based computers, and Microsoft Windows XP Professional-based computers. However, to configure Microsoft Windows NT 4.0-based client computers, Microsoft Windows Millennium Edition-based client computers, and Microsoft Windows 98-based client computers, you must use System Policy settings. System Policy settings are different from Windows Server 2003 Group Policy settings in that they overwrite registry settings on the client computer with persistent changes. This behavior is known as "tattooing."&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;ripped from : &lt;a style="color: rgb(0, 0, 153);" href="http://support.microsoft.com/kb/318753/EN-US/"&gt;&lt;span class="plink"&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;http://support.microsoft.com/kb/318753/EN-US/&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 12pt; font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-5151576068204819304?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/5151576068204819304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=5151576068204819304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/5151576068204819304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/5151576068204819304'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/how-to-create-system-policy-setting-in.html' title='How To Create a System Policy Setting in Microsoft Windows Server 2003'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-8426599376497183568</id><published>2008-07-09T21:21:00.000-07:00</published><updated>2008-07-09T21:23:09.876-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Appending to Perl's @INC array</title><content type='html'>&lt;span style="color: rgb(102, 102, 0);"&gt;The @INC array is a list of directories Perl searches when attempting to load modules. To display the current contents of the @INC array:&lt;/span&gt;&lt;br /&gt;&lt;p style="color: rgb(102, 102, 0);"&gt;   &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;  perl -e "print join(\"\n\", @INC);"&lt;/span&gt;&lt;br /&gt;  &lt;/p&gt;   &lt;p style="color: rgb(102, 102, 0);"&gt;&lt;br /&gt;  The following two methods may be used to append to Perl's @INC array:&lt;/p&gt;   &lt;p style="color: rgb(102, 102, 0);"&gt;1. Add the directory to the &lt;span style="font-weight: bold;"&gt;PERL5LIB&lt;/span&gt; environment variable.&lt;br /&gt;  2. Add &lt;span style="font-weight: bold;"&gt;use&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;lib&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;'&lt;span style="font-style: italic;"&gt;directory&lt;/span&gt;'&lt;/span&gt;; in your Perl script.&lt;/p&gt;   &lt;span style="color: rgb(102, 102, 0);"&gt;For more information, read the &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 0);"&gt;perlrun&lt;/span&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; manpage or type &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 0);"&gt;perldoc lib&lt;/span&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ripped from : &lt;span style="font-weight: bold;"&gt;http://www.brandonhutchinson.com/perl_inc.html&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-8426599376497183568?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/8426599376497183568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=8426599376497183568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8426599376497183568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8426599376497183568'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/appending-to-perls-inc-array.html' title='Appending to Perl&apos;s @INC array'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-428386952611451234</id><published>2008-07-01T01:52:00.000-07:00</published><updated>2008-07-05T09:35:09.784-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C language'/><title type='text'>Using Pointer in C</title><content type='html'>Now this is not your definitive guide to using pointer, it's more of a "i hope i won't forget this" kinda guide intended for yours truly.&lt;br /&gt;&lt;br /&gt;To use pointer, you need to make sure you have 3 things:-&lt;br /&gt;&lt;br /&gt;1. The pointer must be declared and allocated.&lt;br /&gt;2. The pointee must be declared and allocated.&lt;br /&gt;3. The pointer (1) must be initialized so that it points to the pointee (3).&lt;br /&gt;&lt;br /&gt;Example;&lt;br /&gt;&lt;br /&gt;int *p         //step 1.&lt;br /&gt;int i          //step 2.&lt;br /&gt;&lt;br /&gt;p = &amp;i;        //step 3.&lt;br /&gt;&lt;br /&gt;*p = 42         //now you can use...&lt;br /&gt;&lt;br /&gt;The important thing to remember is that when you declare something as a pointer - like p for instance, the value in p would be an address pointing to somewhere; so if let say you'd do a printf of p - you'll be shown the address of i, not the value of i.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-428386952611451234?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/428386952611451234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=428386952611451234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/428386952611451234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/428386952611451234'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/07/using-pointer-in-c.html' title='Using Pointer in C'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-7867751611760404817</id><published>2008-06-10T20:59:00.000-07:00</published><updated>2008-07-05T09:36:04.514-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ClearCase'/><title type='text'>ClearCase Training</title><content type='html'>Here are a few commands I learned during the training. Just jottin' it down here for reference.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Clearcase training : 11/6/2008&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;================================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Branch creation&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;===============&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct mkbrtype&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct branch &lt;name&gt; element&lt;/name&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;1. mkview&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;    ct mkview &lt;name&gt;    &lt;/name&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;2. setview&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;    ct setview &lt;name&gt;&lt;/name&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct catcs (to view your config spec/where you are at)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct edcs (to configure your config spec. the config spec works to point you to ur newly created branch)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct lstype -kind brtype (to see the branches that have been created)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct lsco (lists all the checked out elements. don't forget to check in the directory tht u are in when u r done )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct rmtype -rmall brtype:&lt;branchtype&gt;&lt;/branchtype&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct lshist (lists history) &lt;-- a good command would be ct lshist| grep &lt;ur&gt;&lt;/ur&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct rmview &lt;view&gt;&lt;/view&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct rmver &lt;file&gt;&lt;/file&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct rmbranch &lt;filename@@.main bla=""&gt; &lt;---you can refer about this using the ct lshist command.&lt;/filename@@.main&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct mkelem -eltype directory &lt;directory&gt; (another way to cr8 folder)&lt;/directory&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct rmlabel &lt;labelname&gt;&lt;/labelname&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;ct rmtype rmall lbtype &lt;labelname&gt;&lt;/labelname&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-7867751611760404817?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/7867751611760404817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=7867751611760404817' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7867751611760404817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7867751611760404817'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/06/clearcase-training.html' title='ClearCase Training'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-403276843549481504</id><published>2008-05-28T17:45:00.000-07:00</published><updated>2008-07-05T09:34:26.332-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>How to use diff in UNIX</title><content type='html'>&lt;p style="color: rgb(153, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The following were taken from http://www.unixtutorial.org/2008/02/compare-text-files-using-diff/.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(153, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;All credits goes to them.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p face="arial" style="color: rgb(153, 153, 0); text-align: justify;"&gt;If you need to compare two text files in Unix, you're mostly likely to use the diff command.&lt;br /&gt;&lt;br /&gt;Today I'll talk about the simplest scenario: you want to compare two files and understand if there are any differences.&lt;br /&gt;&lt;br /&gt;Suppose you have two files in /tmp directory:&lt;br /&gt;/tmp/1.txt:&lt;br /&gt;&lt;br /&gt;aaa&lt;br /&gt;bbb&lt;br /&gt;ccc&lt;br /&gt;ddd&lt;br /&gt;eee&lt;br /&gt;fff&lt;br /&gt;ggg&lt;br /&gt;&lt;br /&gt;and /tmp/2.txt:&lt;br /&gt;&lt;br /&gt;bbb&lt;br /&gt;c c&lt;br /&gt;ddd&lt;br /&gt;eee&lt;br /&gt;fff&lt;br /&gt;ggg&lt;br /&gt;hhh&lt;br /&gt;&lt;br /&gt;I have deliberately created them so short and simple - this way it's easier to explain how the comparison works. If there are no differences between the files, you will see no output, but if two text files are indeed different, all the text mismatches will be highlighted using the standard diff output:&lt;br /&gt;&lt;br /&gt;$ diff /tmp/1.txt /tmp/2.txt&lt;br /&gt;1d0&lt;br /&gt;&lt;&gt; c c&lt;br /&gt;7a7&lt;br /&gt;&gt; hhh&lt;br /&gt;&lt;br /&gt;Lines like "1d0" and "3c2" are the coordinates and types of the differences between the two compared files, while lines like "&lt;&gt;" and "&gt; hhh" are the differences themselves.&lt;br /&gt;&lt;br /&gt;Diff change notation includes 2 numbers and a character between them. Characters tell you what kind of change was discovered:&lt;br /&gt;&lt;br /&gt;d - a line was deleted&lt;br /&gt;c - a line was changed&lt;br /&gt;a - a line was added&lt;br /&gt;&lt;br /&gt;Number to the left of the character gives you the line number in the original (first) file, and the number to the right of the character tells you the line number in the second file used in comparison.&lt;br /&gt;&lt;br /&gt;So, looking at the two text files and the diff output above, you can see what happened:&lt;br /&gt;&lt;br /&gt;This means that 1 line was deleted. &lt;&gt;&lt;br /&gt;1d0&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt;br /&gt;And this means that the line number 3 has changed. You can see how this confirms that in the first file the line was "ccc", and in the second it now is "c c".&lt;br /&gt;&lt;br /&gt;3c2&lt;br /&gt;&lt;&gt; c c&lt;br /&gt;&lt;br /&gt;Finally, this confirms that one new line appeared in the second file, it's "hhh" in the line number 7:&lt;br /&gt;&lt;br /&gt;7a7&lt;br /&gt;&gt; hhh&lt;br /&gt;&lt;br /&gt;That's all you need to know to start playing with text comparisons yourself.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;And that's how you do it. It's nice, but not as useful if you have like a thousand line of difference to look at. At times I'd prefer to use the plugin "Compare" in Notepad++. It's easier on the eyes.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-403276843549481504?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/403276843549481504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=403276843549481504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/403276843549481504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/403276843549481504'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/05/how-to-use-diff-in-unix.html' title='How to use diff in UNIX'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-5915633993357776526</id><published>2008-05-25T19:34:00.000-07:00</published><updated>2008-07-05T09:36:29.152-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Finding files in UNIX</title><content type='html'>&lt;div style="color: rgb(153, 153, 0);" class="Indent"&gt; &lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The following guide is a direct rip-off from this website: &lt;span style="font-weight: bold;"&gt;http://www.hccfl.edu/pollock/Unix/FindCmd.htm&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;All credits goes to him.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The &lt;code&gt;find&lt;/code&gt; command is used to locate files on a Unix or Linux system.  &lt;code&gt;find&lt;/code&gt; will search any set of directories you specify for files that match the supplied &lt;em&gt;search criteria&lt;/em&gt;.  You can search for files by name, owner, group, type, permissions, date, and other criteria.  The search is recursive in that it will search all subdirectories too.  The syntax looks like this:  &lt;/p&gt;&lt;pre class="Indent"&gt;find &lt;em&gt;where-to-look criteria what-to-do&lt;/em&gt;&lt;/pre&gt; &lt;p&gt; All arguments to &lt;code&gt;find&lt;/code&gt; are optional, and there are defaults for all parts.  (This may depend on which version of &lt;code&gt;find&lt;/code&gt; is used.  Here we discuss the freely available GNU version of &lt;code&gt;find&lt;/code&gt;, which is the version available on &lt;code&gt;YborStudent&lt;/code&gt;.)  For example &lt;code&gt;&lt;em&gt;where-to-look&lt;/em&gt;&lt;/code&gt; defaults to &lt;code&gt;.&lt;/code&gt; (that is, the current working directory), &lt;code&gt;&lt;em&gt;criteria&lt;/em&gt;&lt;/code&gt; defaults to none (that is, show all files), and &lt;code&gt;&lt;em&gt;what-to-do&lt;/em&gt;&lt;/code&gt; (known as the &lt;code&gt;find&lt;/code&gt; &lt;em&gt;action&lt;/em&gt;) defaults to &lt;code&gt;-print&lt;/code&gt; (that is, display found files to standard output). &lt;/p&gt; &lt;p&gt; For example: &lt;/p&gt; &lt;pre class="Indent"&gt;find&lt;/pre&gt; &lt;p&gt; will display all files in the current directory and all subdirectories.  The commands &lt;/p&gt; &lt;pre class="Indent"&gt;find . -print&lt;br /&gt;find .&lt;/pre&gt; &lt;p&gt; do the exact same thing.  Here's an example &lt;code&gt;find&lt;/code&gt; command using a search criteria and the default action: &lt;/p&gt;  &lt;pre class="Indent"&gt;find / -name foo&lt;/pre&gt; &lt;p&gt; will search the whole system for any files named &lt;code&gt;foo&lt;/code&gt; and display them.  Here we are using the criteria &lt;code&gt;-name&lt;/code&gt; with the argument &lt;code&gt;foo&lt;/code&gt; to tell &lt;code&gt;find&lt;/code&gt; to perform a name search for the filename &lt;code&gt;foo&lt;/code&gt;. The output might look like this: &lt;/p&gt; &lt;pre class="Indent"&gt;/home/wpollock/foo&lt;br /&gt;/home/ua02/foo&lt;br /&gt;/tmp/foo&lt;/pre&gt; &lt;p&gt; If &lt;code&gt;find&lt;/code&gt; doesn't locate any matching files, it produces no output. &lt;/p&gt; &lt;p&gt; The above example said to search the whole system, by specifying the root directory (&lt;q&gt;&lt;code&gt;/&lt;/code&gt;&lt;/q&gt;) to search.  If you don't run this command as root, &lt;code&gt;find&lt;/code&gt; will display a error message for each directory on which you don't have read permission.  This can be a lot of messages, and the matching files that are found may scroll right off your screen.  A good way to deal with this problem is to redirect the error messages so you don't have to see them at all: &lt;/p&gt; &lt;pre class="Indent"&gt;find / -name foo &lt;strong&gt;2&gt;/dev/null&lt;/strong&gt;&lt;/pre&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-5915633993357776526?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/5915633993357776526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=5915633993357776526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/5915633993357776526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/5915633993357776526'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/05/finding-files-in-unix.html' title='Finding files in UNIX'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-1566181207469682545</id><published>2008-05-13T23:16:00.000-07:00</published><updated>2008-07-05T09:36:58.352-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>SunOS make</title><content type='html'>Got this problem when trying to run the correlation lab exercise.&lt;br /&gt;&lt;br /&gt;Apparently there are many types of make available out there depending on the distro.&lt;br /&gt;&lt;br /&gt;I'm using SunOS. It seems they don't have &lt;span style="font-style: italic; font-weight: bold;"&gt;make&lt;/span&gt;. They call it '&lt;span style="font-style: italic; font-weight: bold;"&gt;sun make&lt;/span&gt;'.&lt;br /&gt;&lt;br /&gt;Geez..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-1566181207469682545?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/1566181207469682545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=1566181207469682545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1566181207469682545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1566181207469682545'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/05/sunos-make.html' title='SunOS make'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-6474519262096767569</id><published>2008-04-24T11:51:00.000-07:00</published><updated>2008-07-05T09:37:30.219-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Yum Lock? - solved!</title><content type='html'>Yum lock refers to a problem when you can initiate yum since somewhere in your system yum seems to be running.&lt;br /&gt;&lt;br /&gt;I recently got this problem when I tried to install mplayer - it seems that yum is trying to constantly update my system although the yum update itself is stopped.&lt;br /&gt;&lt;br /&gt;So what I did was I deleted the file yum.pid from the /var/run.&lt;br /&gt;&lt;br /&gt;It practically solved the problem.&lt;br /&gt;&lt;br /&gt;Although I would suggest others who encountered the same problem to first read &lt;a href="http://www.linuxquestions.org/questions/fedora-35/another-app-is-currently-holding-the-yum-lock-603251/"&gt;this &lt;/a&gt;before trying anything. Good reading material I'd say!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-6474519262096767569?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/6474519262096767569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=6474519262096767569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6474519262096767569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6474519262096767569'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/04/yum-lock-solved.html' title='Yum Lock? - solved!'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-8510244097316797432</id><published>2008-04-23T10:16:00.000-07:00</published><updated>2008-07-12T19:46:12.518-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><title type='text'>FYP part 4 - NFS Mapping</title><content type='html'>&lt;b style=""&gt;Setting of NFS Mapping to allow read/write &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;    &lt;p class="MsoNormal" style="line-height: 150%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;1. Click &lt;b style=""&gt;MAPPING. &lt;/b&gt;Refer to Figure 3.12.&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iHRgg4FFWsA/SA9wns388qI/AAAAAAAAAFw/fFW3rDVnJ78/s1600-h/1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_iHRgg4FFWsA/SA9wns388qI/AAAAAAAAAFw/fFW3rDVnJ78/s400/1.JPG" alt="" id="BLOGGER_PHOTO_ID_5192492722744521378" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal" style="line-height: 150%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: 150%;"&gt;2. Click &lt;b style=""&gt;Universal Account&lt;/b&gt;. Refer to Figure 3.13.&lt;/p&gt;&lt;p class="MsoNormal" style="line-height: 150%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_iHRgg4FFWsA/SA9wn8388rI/AAAAAAAAAF4/muGfvMJX1YE/s1600-h/2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_iHRgg4FFWsA/SA9wn8388rI/AAAAAAAAAF4/muGfvMJX1YE/s400/2.JPG" alt="" id="BLOGGER_PHOTO_ID_5192492727039488690" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: 150%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;3. Refer to Figure 3.14 and set the following setting. Press &lt;b style=""&gt;Close.&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iHRgg4FFWsA/SA9woM388sI/AAAAAAAAAGA/UNZXhUCXlYo/s1600-h/3.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_iHRgg4FFWsA/SA9woM388sI/AAAAAAAAAGA/UNZXhUCXlYo/s400/3.JPG" alt="" id="BLOGGER_PHOTO_ID_5192492731334456002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;4. Go to &lt;b style=""&gt;Group Name to &lt;st1:stockticker st="on"&gt;GID&lt;/st1:stockticker&gt; Mapping&lt;/b&gt;. Click &lt;b style=""&gt;New&lt;/b&gt;. Use the setting in Figure 3.16. The user &lt;b style=""&gt;root&lt;/b&gt; (in embedded Linux) &lt;st1:stockticker st="on"&gt;GID&lt;/st1:stockticker&gt; is &lt;b style=""&gt;0.&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iHRgg4FFWsA/SA9woM388tI/AAAAAAAAAGI/7p43iZiLBfM/s1600-h/4.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_iHRgg4FFWsA/SA9woM388tI/AAAAAAAAAGI/7p43iZiLBfM/s400/4.JPG" alt="" id="BLOGGER_PHOTO_ID_5192492731334456018" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iHRgg4FFWsA/SA9wos388uI/AAAAAAAAAGQ/ndalvk_4ZJI/s1600-h/5.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_iHRgg4FFWsA/SA9wos388uI/AAAAAAAAAGQ/ndalvk_4ZJI/s400/5.JPG" alt="" id="BLOGGER_PHOTO_ID_5192492739924390626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;5. Click &lt;b style=""&gt;OK&lt;/b&gt;. Then close window to go to the original screen. Apply the changes now.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;6. Restart the server.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;7. Mount/Remount the folder on IXP1200.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;8. Check folder permission to see whether it's working or not. The permission should read root  instead of a random port number.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-8510244097316797432?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/8510244097316797432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=8510244097316797432' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8510244097316797432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/8510244097316797432'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/04/fyp-part-4-nfs-mapping.html' title='FYP part 4 - NFS Mapping'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_iHRgg4FFWsA/SA9wns388qI/AAAAAAAAAFw/fFW3rDVnJ78/s72-c/1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-2211426745044394286</id><published>2008-04-22T07:56:00.000-07:00</published><updated>2008-07-05T09:37:51.810-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><title type='text'>How to set your Streamyx modem into a router</title><content type='html'>This a neat trick that I've learned just now. Well for the record though, the "trick" has been around for the longest of times, it's just a thing that I've recently learned however.&lt;br /&gt;&lt;br /&gt;When you subscribe for a Streamyx broadband account, you'll be given a modem and some other stuff. The ADSL modem can be used as just that, a modem; or be converted into a router - which it truly is meant for in the first place.&lt;br /&gt;&lt;br /&gt;There are many benefits that you can gain by turning a modem into a router. One of the advantage is that you can turn your new found router into a DHCP router, set up NAT, and thus later you can have as many PC as your subnet allow to connect to the internet using your single Streamyx account.&lt;br /&gt;&lt;br /&gt;The guide below is ripped-off from &lt;a href="http://smartinfo.com.my/IT/PC_Hardware/TM_Net_Streamyx_ZTE_ZXDXL_831_Modem.htm"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 0);"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;b&gt;TM Net Streamyx ZTE ZXDSL 831 ADSL Modem&lt;/b&gt;&lt;/span&gt;         &lt;p&gt;         &lt;span style=";font-family:Arial;font-size:85%;"  &gt;The ZTE ZXDSL 831 is a modem/router supplied          by Telekom Malaysia when you subscribe to TM Net Streamyx packages that          come with modem.&lt;/span&gt;&lt;/p&gt;         &lt;p&gt;         &lt;span style=";font-family:Arial;font-size:85%;"  &gt;It works as a modem by default but you can          configure it to become a router.&lt;br /&gt;   &lt;br /&gt;      In router mode, you don’t need to dial to login to Streamyx anymore. The          router will dial it for you automatically.&lt;br /&gt;   &lt;br /&gt;      &lt;b&gt;Configure to Router mode&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;         &lt;ol   style=";font-family:Arial;font-size:10pt;"&gt;&lt;li&gt;         &lt;span style=";font-family:Arial;font-size:85%;"  &gt;Login to http://192.168.1.1 with the username and password            (&lt;em&gt;Case          sensitive&lt;/em&gt;).&lt;br /&gt;     &lt;br /&gt;        username : &lt;b&gt;ADSL&lt;/b&gt;&lt;br /&gt;        password: &lt;b&gt;expert03&lt;/b&gt;&lt;br /&gt;   &lt;br /&gt;      Note: “03" read “zero three”.&lt;br /&gt;     &lt;br /&gt;        OR,&lt;br /&gt;   &lt;br /&gt;        username : &lt;b&gt;ZXDSL&lt;/b&gt;&lt;br /&gt;      password: &lt;b&gt;ZXDSL&lt;/b&gt;&lt;br /&gt;     &lt;br /&gt;        &lt;u&gt;&lt;i&gt;Note&lt;/i&gt;:&lt;/u&gt;&lt;br /&gt;      If you cannot logon using the user name and password combinations            provided above, you may need to          reset the modem by long-pressing the ‘reset’ button to the default            factory setting.&lt;br /&gt;     &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style=";font-family:Arial;font-size:85%;"  &gt;When logged in, click on the WAN tab.&lt;br /&gt;     &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;Under the WAN tab, select  PPP and            then select ADD to add in a new PPP configuration as follow:&lt;br /&gt;     &lt;br /&gt;        PPP Interface = ppp-0&lt;br /&gt;        ATM VC = aal5-2 or equivalent ( VPI=0, VCI=35 setting)&lt;br /&gt;        Interface Sec Type = Public&lt;br /&gt;        Status = Start&lt;br /&gt;        Protocol = PPPoE&lt;br /&gt;        Use DHCP/DNS = Enable&lt;br /&gt;        Security Protocol = PAP&lt;br /&gt;        Login Name = &lt;b&gt;yourname@streamyx&lt;br /&gt;        &lt;/b&gt;Password = your password&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;Under the Services tab, select NAT,            and set it to Enable.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;Under the Services tab, select IP            Filter, make sure the Public and Private is set to Accept, and this            would allow the modem to access the Net.&lt;br /&gt;     &lt;br /&gt;        After that, click on “Admin” and then “Commit” and then “Reboot”.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;Set every PCs TCP/IP in your LAN to            point to the modem as the gateway.&lt;br /&gt;     &lt;br /&gt;        IP Address = 192.168.1.x  ( where x ranges from 2-254)&lt;br /&gt;        Subnet mask = 255.255.255.0&lt;br /&gt;        Default Gateway = 192.168.1.1.&lt;br /&gt;     &lt;br /&gt;        Preferred DNS Server = 202.188.0.133&lt;br /&gt;        Alternate DNS Server = 202.188.1.5&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;Once it’s done you should check your Internet connectivity by loading          your favourite website.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;ol   style=";font-family:Arial;font-size:10pt;"&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-2211426745044394286?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/2211426745044394286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=2211426745044394286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/2211426745044394286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/2211426745044394286'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/04/how-to-set-your-streamyx-modem-into.html' title='How to set your Streamyx modem into a router'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-1531064853961745052</id><published>2008-03-28T03:24:00.000-07:00</published><updated>2008-03-28T03:25:28.474-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><title type='text'>FYP - part 3: Setting up NFS</title><content type='html'>15/8/2007&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implementing NFS Server in Windows XP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Just open up the installer and install away.&lt;br /&gt;&lt;br /&gt;2. Read the manual to learn how to set the configuration.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implementing NFS Client in IXP1200&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. To enable the client, a daemon and portmapper need to be activated first. This is done by typing ifup command:&lt;br /&gt;&lt;br /&gt;ifup &lt;IXP1200 ip address&gt; &lt;subnet mask&gt;&lt;br /&gt;&lt;br /&gt;ifup 10.1.1.2 255.255.255.0&lt;br /&gt;&lt;br /&gt;2. To mount the virtual drive, use the mount command:&lt;br /&gt;&lt;br /&gt;mount -t nfs -o nfsvers=2 &lt;NFS_server_ip&gt;:&lt;from what directory&gt; /&lt;into what directory&gt;&lt;br /&gt;&lt;br /&gt;mount -t nfs -o nfsvers=2 10.1.1.1:/nfsdir /nfs&lt;br /&gt;&lt;br /&gt;3. To view the directory, just type cd nfs to go into the directory, and dir nfs to view whats inside the directory.&lt;br /&gt;&lt;br /&gt;4. If in any case you coulndt see anything, or theres no effect - perhaps you are in the wrong place to begin with.&lt;br /&gt;&lt;br /&gt;5. The nfs folder is situated in the most upper domain, above the root folder itself. Type "cd.." to get to upper domain.&lt;br /&gt;&lt;br /&gt;6. If you can see the nfs folder - then it's a success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-1531064853961745052?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/1531064853961745052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=1531064853961745052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1531064853961745052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/1531064853961745052'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/03/fyp-part-3-setting-up-nfs.html' title='FYP - part 3: Setting up NFS'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-6942450769904480795</id><published>2008-03-28T03:06:00.000-07:00</published><updated>2008-03-28T03:20:02.671-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><title type='text'>FYP - part 2: Setting up TFTP server</title><content type='html'>8/8/2007&lt;br /&gt;&lt;br /&gt;Step 2 : Setting up TFTP Server on Windows XP (Host)&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;1. Extract the tftpd32.280.zip file.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zEWeXQCgI/AAAAAAAAAEQ/2d81jwaFkeY/s1600-h/untitled.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zEWeXQCgI/AAAAAAAAAEQ/2d81jwaFkeY/s400/untitled.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182733161583348226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Run the application.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iHRgg4FFWsA/R-zFMOXQChI/AAAAAAAAAEY/Vk-C1Ydqy1k/s1600-h/untitled2.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_iHRgg4FFWsA/R-zFMOXQChI/AAAAAAAAAEY/Vk-C1Ydqy1k/s400/untitled2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734085001316882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Make sure the IP setting on the PC is OK&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iHRgg4FFWsA/R-zFMOXQCiI/AAAAAAAAAEg/ASYMmd1ser0/s1600-h/untitled3.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_iHRgg4FFWsA/R-zFMOXQCiI/AAAAAAAAAEg/ASYMmd1ser0/s400/untitled3.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734085001316898" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Go to IXP1200, and fill in the details such as below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zFMeXQCjI/AAAAAAAAAEo/ft27NISn7Rk/s1600-h/untitled4.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zFMeXQCjI/AAAAAAAAAEo/ft27NISn7Rk/s400/untitled4.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734089296284210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Err..rr..it didn’t work. Checking for connectivity&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And what about the error message at tftp server&lt;br /&gt;“Connection received from 10.1.1.2 on port 1034 [08/08 17:25:04.666]&lt;br /&gt;Read request for file &lt;/tftpboot/zImage&gt;. Mode octet [08/08 17:25:04.666]&lt;br /&gt;Error EACCESS on file /tftpboot/zImage. Ext error The directory name is invalid. [08/08 17:25:04.706]”&lt;br /&gt;&lt;br /&gt;Finally, after several long minutes of hard thinking - i found the solution~&lt;br /&gt;&lt;br /&gt;Go to Base Directory. Browse to the folder that holding your tftproot folder.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zF0eXQCkI/AAAAAAAAAEw/byKDxjWI0GY/s1600-h/untitled5.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zF0eXQCkI/AAAAAAAAAEw/byKDxjWI0GY/s400/untitled5.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734776491051586" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iHRgg4FFWsA/R-zF0-XQClI/AAAAAAAAAE4/gPdWYoBrqtc/s1600-h/untitled6.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_iHRgg4FFWsA/R-zF0-XQClI/AAAAAAAAAE4/gPdWYoBrqtc/s400/untitled6.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734785080986194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iHRgg4FFWsA/R-zF0-XQCmI/AAAAAAAAAFA/Lb5TRzdoldA/s1600-h/untitled7.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_iHRgg4FFWsA/R-zF0-XQCmI/AAAAAAAAAFA/Lb5TRzdoldA/s400/untitled7.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734785080986210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;..and the result is...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_iHRgg4FFWsA/R-zF1OXQCnI/AAAAAAAAAFI/tWgbp-VGbeI/s1600-h/untitled8.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_iHRgg4FFWsA/R-zF1OXQCnI/AAAAAAAAAFI/tWgbp-VGbeI/s400/untitled8.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5182734789375953522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Great success!! I like!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;**note: somehow you have to put the tftproot folder at "c:\tftproot" or else ot wouldnt work. go figure.&lt;br /&gt;&lt;br /&gt;***note: and remember, login = root, password = ixp1200.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-6942450769904480795?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/6942450769904480795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=6942450769904480795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6942450769904480795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/6942450769904480795'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/03/fyp-part-2-setting-up-tftp-server.html' title='FYP - part 2: Setting up TFTP server'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_iHRgg4FFWsA/R-zEWeXQCgI/AAAAAAAAAEQ/2d81jwaFkeY/s72-c/untitled.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-4546460444208291821</id><published>2008-02-18T07:36:00.000-08:00</published><updated>2008-03-28T03:05:30.101-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Basic Shell Scripting</title><content type='html'>This is a basic shell scripting tutorial i got off the Net. Credit goes to the writer. By the way, the site i ripped this off was at &lt;blockquote&gt;http://more-shell.blogspot.com/2007/03/easy-shell-scripting.html&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Easy Shell Scripting&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By Blessen Cherian&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;Shell scripting can be defined as a group of commands executed in sequence. Let's start by describing the steps needed to write and execute a shell script:&lt;br /&gt;&lt;br /&gt;Step 1: Open the file using an editor (e.g., "vi" or "pico".) vi Firstshellscript.sh&lt;br /&gt;&lt;br /&gt;Step 2: All shell scripts should begin with "#!/bin/bash" or whatever other shell you prefer. This line is called the shebang, and although it looks like a comment, it's not: it notifies the shell of the interpreter to be used for the script. The provided path must be an absolute one (you can't just use "bash", for example), and the shebang must be located on the first line of the script without any preceding space.&lt;br /&gt;&lt;br /&gt;Step 3: Write the code that you want to develop. Our first shell script will be the usual "Hello World" routine, which we'll place in a file called 'Firstshellscript.sh'.&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;echo "Hello World"&lt;br /&gt;&lt;br /&gt;Step 4:The next step is to make the script executable by using the "chmod" command.&lt;br /&gt;&lt;br /&gt;chmod 744 Firstshellscript.sh&lt;br /&gt;or chmod +x Firstshellscript.sh&lt;br /&gt;&lt;br /&gt;Step 5: Execute the script. This can be done by entering the name of the script on the command line, preceded by its path. If it's in the current directory, this is very simple:&lt;br /&gt;&lt;br /&gt;bash$ ./Firstshellscript.sh&lt;br /&gt;Hello World&lt;br /&gt;&lt;br /&gt;If you want to see the execution step-by-step - which is very useful for troubleshooting - then execute it with the '-x' ('expand arguments') option:&lt;br /&gt;&lt;br /&gt;sh -x Firstshellscript.sh&lt;br /&gt;+ echo 'Hello World'&lt;br /&gt;Hello World&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-4546460444208291821?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/4546460444208291821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=4546460444208291821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/4546460444208291821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/4546460444208291821'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/02/basic-shell-scripting.html' title='Basic Shell Scripting'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1040163468143351210.post-7777682427423360574</id><published>2008-02-17T05:07:00.000-08:00</published><updated>2008-03-28T03:05:55.054-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Final Year Project'/><title type='text'>My Final Year Project - Implementing Cygmon</title><content type='html'>My final year project was about implementing Netbind (an application from Comet Group of Columbia University) in IXP1200. &lt;br /&gt;&lt;br /&gt;This a brief guide on how I implemented Cygmon in order for it to load up the embedded linux into IXP1200. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Part 1: Implementing Cygmon into IXP1200&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Connect to IXP1200 via Hyper Terminal&lt;br /&gt;2. Use the normal setting. &lt;update here later&gt;&lt;br /&gt;3. Open up command prompt. Use the pic below as a guide.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iHRgg4FFWsA/R7hEy5O4KEI/AAAAAAAAACo/VdGX5MioThU/s1600-h/cygmon2.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_iHRgg4FFWsA/R7hEy5O4KEI/AAAAAAAAACo/VdGX5MioThU/s320/cygmon2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5167956213555013698" /&gt;&lt;/a&gt;&lt;br /&gt;4. Done transfering. &lt;br /&gt;5. To check, connect back to IXP 1200.&lt;br /&gt;6. At boot manager, press c.&lt;br /&gt;7. You should a fourth option, Cygmon.&lt;br /&gt;8. The end.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_iHRgg4FFWsA/R7hEU5O4KDI/AAAAAAAAACg/8OttCDXjS40/s1600-h/cygmon1.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_iHRgg4FFWsA/R7hEU5O4KDI/AAAAAAAAACg/8OttCDXjS40/s320/cygmon1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5167955698158938162" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1040163468143351210-7777682427423360574?l=ikanez-how-to-stuff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ikanez-how-to-stuff.blogspot.com/feeds/7777682427423360574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1040163468143351210&amp;postID=7777682427423360574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7777682427423360574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1040163468143351210/posts/default/7777682427423360574'/><link rel='alternate' type='text/html' href='http://ikanez-how-to-stuff.blogspot.com/2008/02/my-final-year-project-implementing.html' title='My Final Year Project - Implementing Cygmon'/><author><name>ikanez</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_iHRgg4FFWsA/R7hEy5O4KEI/AAAAAAAAACo/VdGX5MioThU/s72-c/cygmon2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
