<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>hostname &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/hostname/</link>
	<description>Feed of posts on WordPress.com tagged "hostname"</description>
	<pubDate>Sat, 26 Dec 2009 01:33:03 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Hostname Mandriva]]></title>
<link>http://androus.wordpress.com/2009/12/23/hostname-mandriva/</link>
<pubDate>Wed, 23 Dec 2009 17:05:11 +0000</pubDate>
<dc:creator>androus</dc:creator>
<guid>http://androus.wordpress.com/2009/12/23/hostname-mandriva/</guid>
<description><![CDATA[Edit /etc/sysconfig/network inserting: HOSTNAME=xxx.machine Restart.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Edit /etc/sysconfig/network inserting:</p>
<p>HOSTNAME=xxx.machine</p>
<p>Restart.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[11.2 Oracle Restart - Changing Hostname ]]></title>
<link>http://oraganism.wordpress.com/2009/12/20/11-2-changing-hostname/</link>
<pubDate>Sun, 20 Dec 2009 00:19:17 +0000</pubDate>
<dc:creator>Martin Nash</dc:creator>
<guid>http://oraganism.wordpress.com/2009/12/20/11-2-changing-hostname/</guid>
<description><![CDATA[It has taken me a good deal longer that I would have expected to change the hostname on some cloned ]]></description>
<content:encoded><![CDATA[It has taken me a good deal longer that I would have expected to change the hostname on some cloned ]]></content:encoded>
</item>
<item>
<title><![CDATA[How to Change IP, Hostname, Domain and Ports of a single node Oracle E-Business Suite]]></title>
<link>http://vistababa.wordpress.com/2009/12/14/how-to-change-ip-hostname-domain-and-ports-of-single-node-oracle-e-business-suite/</link>
<pubDate>Mon, 14 Dec 2009 11:08:02 +0000</pubDate>
<dc:creator>vistababa</dc:creator>
<guid>http://vistababa.wordpress.com/2009/12/14/how-to-change-ip-hostname-domain-and-ports-of-single-node-oracle-e-business-suite/</guid>
<description><![CDATA[Oracle E-Business Suite is not dependent to IP address, so one can easily change the IP address of n]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Oracle E-Business Suite is not dependent to IP address, so one can easily change the IP address of nodes without any effect on E-Business Suite.</p>
<p>What about Hostname, Domain and Ports? Oracle E-Business Suite is dependent to these. So, we couldn’t change theme without coordination of E-Business Suite itself.</p>
<p>There are two methods for changing Hostname, Domain and Ports of Oracle E-Business Suite. The first method, that will be discussed here, is using autoconfig and another method is by cloning. It is easier to use autoconfig method to change hostname, domain and ports and use cloning method for changing other configurations of Oracle E-Business Suite.</p>
<p>In this document we assume that our E-Business Suite has just one node so that all Tiers and Servers reside on this node. For changing hostname, domain and ports of a multinode Oracle E-Business Suite, refer to the documents listed in the refrences section of this post.</p>
<p><strong>1.   </strong><strong>DB Tier: Deregister the current database server</strong></p>
<p style="padding-left:30px;">As the database hostname and domain will be changed, the current database server node needs to be de-registered.</p>
<pre style="padding-left:30px;">SQL&#62; select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES</pre>
<pre style="padding-left:30px;">where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and</pre>
<pre style="padding-left:30px;">SERVER_TYPE='DB' and FND_NODES.NODE_NAME=UPPER('oldhost');</pre>
</p>
<pre style="padding-left:30px;">NAME            SERVER_TYPE</pre>
<pre style="padding-left:30px;">--------------- -----------</pre>
<pre style="padding-left:30px;">oldhost_PROD_DB  DB</pre>
</p>
<pre style="padding-left:30px;"># cd $ORACLE_HOME/appsutil</pre>
<pre style="padding-left:30px;"># perl ./bin/adgentns.pl appspass=&#60;APPSpwd&#62; contextfile=./PROD_oldhost.xml -removeserver</pre>
</p>
<pre style="padding-left:30px;">SQL&#62; select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES</pre>
<pre style="padding-left:30px;">where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and</pre>
<pre style="padding-left:30px;">SERVER_TYPE='DB' and FND_NODES.NODE_NAME=UPPER('oldhost');</pre>
</p>
<pre style="padding-left:30px;">no rows selected</pre>
</p>
<p><strong>2.   </strong><strong>DB Tier: Create a new Context file</strong></p>
<p style="padding-left:30px;">You can create the new context file using whichever of the following methods:</p>
<p style="padding-left:30px;">a. Manuall Method:</p>
<pre style="padding-left:30px;"># cd $ORACLE_HOME/appsutil</pre>
<pre style="padding-left:30px;"># cp PROD_oldhost.xml PROD_newhost.xml</pre>
</p>
<p style="padding-left:30px;">Edit PROD_newhost.xml manually:</p>
<p style="padding-left:30px;">Replace all oldhost with newhost</p>
<p style="padding-left:30px;">Replace all olddomain with newdomain</p>
<p style="padding-left:30px;">b. Script Method:</p>
<pre style="padding-left:30px;"># cd $ORACLE_HOME/appsutil</pre>
<pre style="padding-left:30px;"># perl ./bin/adclonectx.pl contextfile=./PROD_oldhost.xml</pre>
</p>
<pre style="padding-left:30px;">Provide the values required for creation of the new Database Context file.</pre>
<pre style="padding-left:30px;">Do you want to use a virtual hostname for the target node (y/n) [n] ?:</pre>
<pre style="padding-left:30px;">Target hostname [oldhost]:newhost</pre>
<pre style="padding-left:30px;">Target System database name [PROD]:</pre>
<pre style="padding-left:30px;">Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:</pre>
<pre style="padding-left:30px;">Target system domain name [olddomain]:newdomain</pre>
<pre style="padding-left:30px;">Oracle OS User [oraprod]:</pre>
<pre style="padding-left:30px;">Oracle OS Group [dba]:</pre>
<pre style="padding-left:30px;">Target system RDBMS ORACLE_HOME directory [/gldb/apps/d02/oracle/proddb/9.2.0]:</pre>
<pre style="padding-left:30px;">Target system utl_file accessible directories list [/usr/tmp]:</pre>
<pre style="padding-left:30px;">Number of DATA_TOP's on the target system [4]:1</pre>
<pre style="padding-left:30px;">Target system DATA_TOP 1:/gldb/apps/d03/oracle/proddata</pre>
<pre style="padding-left:30px;">Do you want to preserve the Display set to oldhost:0.0 (y/n) [y] ?:n</pre>
<pre style="padding-left:30px;">Target system Display [newhost:0.0]:</pre>
<pre style="padding-left:30px;">Target system JAVA_TOP location [null]:/gldb/apps/d01/oracle/prodcomn/java</pre>
<pre style="padding-left:30px;">Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:</pre>
<pre style="padding-left:30px;">Database port is 1521</pre>
<pre style="padding-left:30px;">New context path and file name [PROD_newhost.xml]:</pre>
<pre style="padding-left:30px;">Creating the new Database Context file from :</pre>
<pre style="padding-left:30px;">/gldb/apps/d02/oracle/proddb/9.2.0/appsutil/template/adxdbctx.tmp</pre>
<pre style="padding-left:30px;">The new database context file has been created :</pre>
<pre style="padding-left:30px;">/gldb/apps/d02/oracle/proddb/9.2.0/appsutil/PROD_newhost.xml</pre>
</p>
<p style="padding-left:30px;">Note: The command above will create a new Context file of the format PROD_newhost.xml in the current working directory.</p>
<p><strong>3.   </strong><strong>APPS Tier: Deregister the current Applications server </strong></p>
<p style="padding-left:30px;">As the Applications hostname and domain will be changed, the current Applications server node needs to be de-registered.</p>
<pre style="padding-left:30px;">SQL&#62; select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES</pre>
<pre style="padding-left:30px;">where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and</pre>
<pre style="padding-left:30px;">SERVER_TYPE='APPS' and FND_NODES.NODE_NAME=UPPER('oldhost');</pre>
</p>
<pre style="padding-left:30px;">NAME              SERVER_TYP</pre>
<pre style="padding-left:30px;">----------------- ----------</pre>
<pre style="padding-left:30px;">oldhost_PROD_APPS  APPS</pre>
</p>
<pre style="padding-left:30px;"># cd $APPL_TOP/admin</pre>
<pre style="padding-left:30px;"># perl $AD_TOP/bin/adgentns.pl appspass=&#60;APPSpwd&#62; contextfile=./PROD_oldhost.xml -removeserver</pre>
</p>
<pre style="padding-left:30px;">SQL&#62; select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES</pre>
<pre style="padding-left:30px;">where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and</pre>
<pre style="padding-left:30px;">SERVER_TYPE='APPS' and FND_NODES.NODE_NAME=UPPER('oldhost');</pre>
</p>
<pre style="padding-left:30px;">no rows selected</pre>
</p>
<p><strong>4.   </strong><strong>APPS Tier: Create a new Context file</strong></p>
<p style="padding-left:30px;">You can create the new context file using whichever of the following methods:</p>
<p style="padding-left:30px;">a. Manuall Method:</p>
<pre style="padding-left:30px;"># cd $APPL_TOP/admin</pre>
<pre style="padding-left:30px;"># cp PROD_oldhost.xml PROD_newhost.xml</pre>
</p>
<p style="padding-left:30px;">Edit PROD_newhost.xml manually:</p>
<p style="padding-left:30px;">Replace all oldhost with newhost</p>
<p style="padding-left:30px;">Replace all olddomain with newdomain</p>
<p style="padding-left:30px;">b. Script Method:</p>
<pre style="padding-left:30px;"># cd $APPL_TOP/admin</pre>
<pre style="padding-left:30px;"># perl $AD_TOP/bin/adclonectx.pl contextfile=./PROD_oldhost.xml</pre>
</p>
<pre style="padding-left:30px;">Provide the values required for creation of the new APPL_TOP Context file.</pre>
<pre style="padding-left:30px;">Do you want to use a virtual hostname for the target node (y/n) [n] ?:</pre>
<pre style="padding-left:30px;">Target hostname [oldhost]:newhost</pre>
<pre style="padding-left:30px;">Target system database SID [PROD]:</pre>
<pre style="padding-left:30px;">Target system domain name [olddomain]:newdomain</pre>
<pre style="padding-left:30px;">Username for the applications file system owner [applprod]:</pre>
<pre style="padding-left:30px;">Group for the applications file system owner [dba]:</pre>
<pre style="padding-left:30px;">Target system database server node [oldhost]:newhost</pre>
<pre style="padding-left:30px;">Does the target system have more than one application tier server node (y/n) [n] ?:</pre>
<pre style="padding-left:30px;">Is the target system APPL_TOP divided into multiple mount points(y/n)[n]?:</pre>
<pre style="padding-left:30px;">Target system APPL_TOP mount point [/gldb/apps/d01/oracle/prodappl]:</pre>
<pre style="padding-left:30px;">Target system COMMON_TOP directory [/gldb/apps/d01/oracle/prodcomn]:</pre>
<pre style="padding-left:30px;">Target system 8.0.6 ORACLE_HOME directory [/gldb/apps/d01/oracle/prodora/8.0.6]:</pre>
<pre style="padding-left:30px;">Target system iAS ORACLE_HOME directory [/gldb/apps/d01/oracle/prodora/iAS]:</pre>
<pre style="padding-left:30px;">Do you want to preserve the Display set to oldhost:0.0 (y/n) [y] ?:n</pre>
<pre style="padding-left:30px;">Target system Display [newhost:0.0]:</pre>
<pre style="padding-left:30px;">Location of JDK 1.3.1 on the target system [/usr/java14]:</pre>
<pre style="padding-left:30px;">Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:</pre>
<pre style="padding-left:30px;">Web Listener port is 8000</pre>
<pre style="padding-left:30px;">Complete port information available at /gldb/apps/d01/oracle/prodappl/admin/out/PROD_newhost/portpool.lst</pre>
<pre style="padding-left:30px;">New context path and file name [PROD_newhost.xml]:</pre>
<pre style="padding-left:30px;">Creating the new APPL_TOP Context file from :</pre>
<pre style="padding-left:30px;">/gldb/apps/d01/oracle/prodappl/ad/11.5.0/admin/template/adxmlctx.tmp</pre>
<pre style="padding-left:30px;">The new APPL_TOP context file has been created :</pre>
<pre style="padding-left:30px;">/gldb/apps/d01/oracle/prodappl/admin/PROD_newhost.xml</pre>
</p>
<p style="padding-left:30px;">Note: The command above will create a new Context file of the format PROD_newhost.xml in the current working directory.</p>
<p><strong>5.   </strong><strong>APPS Tier: Shutdown the Application Tier Services </strong></p>
<pre style="padding-left:30px;"># $COMMON_TOP/admin/scripts/PROD_oldhost/adstpall.sh apps/&#60;appspasswd&#62;</pre>
</p>
<p><strong>6.   </strong><strong>Change the hostname and domain</strong></p>
<p style="padding-left:30px;">Change the hostname and domain at OS level.</p>
<pre style="padding-left:30px;"># hostname -s newhost</pre>
<pre style="padding-left:30px;"># edit /etc/hosts as follow:</pre>
</p>
<pre style="padding-left:30px;">OLD: IP-Address     oldhost.olddomain     oldhost</pre>
<pre style="padding-left:30px;">NEW: IP-Address     newhost.newdomain     newhost</pre>
</p>
<p><strong>7.   </strong><strong>DB Tier: Reseed the Net Services Topology Model</strong></p>
<pre style="padding-left:30px;"># cd $ORACLE_HOME/appsutil</pre>
<pre style="padding-left:30px;"># ./bin/adconfig.sh contextfile=./PROD_newhost.xml</pre>
</p>
<p><strong>8.   </strong><strong>APPS Tier: Reseed the Net Services Topology Model</strong></p>
<p style="padding-left:30px;">The Net Services Topology Model is automatically updated by running AutoConfig.</p>
<pre style="padding-left:30px;"># $AD_TOP/bin/adconfig.sh contextfile=$APPL_TOP/admin/PROD_newhost.xml appspass=&#60;appspasswd&#62;</pre>
</p>
<p><strong>9.   </strong><strong>DB Tier: Shutdown the database and listener</strong></p>
<pre style="padding-left:30px;"># $ORACLE_HOME/appsutil/scripts/PROD_oldhost/addbctl.sh stop</pre>
<pre style="padding-left:30px;"># $ORACLE_HOME/appsutil/scripts/PROD_oldhost/addlnctl.sh stop PROD</pre>
</p>
<p><strong>10.  </strong><strong>DB Tier: Start the listener and database</strong></p>
<pre style="padding-left:30px;"># $ORACLE_HOME/appsutil/scripts/PROD_newhost/addlnctl.sh start PROD</pre>
<pre style="padding-left:30px;"># $ORACLE_HOME/appsutil/scripts/PROD_newhost/addbctl.sh start</pre>
</p>
<p><strong>11.  </strong><strong>APPS Tier: Start the Application Tier Services</strong></p>
<pre style="padding-left:30px;"># $COMMON_TOP/admin/scripts/PROD_newhost/adstrtal.sh apps/&#60;appspasswd&#62;</pre>
</p>
<p><strong>Notes:</strong></p>
<ol>
<li>Q: Do you encounter the following errors when you start the listener?</li>
</ol>
<pre style="padding-left:60px;">Error listening on: (ADDRESS=(PROTOCOL=TCP)(Host=newhost)(Port=1521))</pre>
<pre style="padding-left:60px;">TNS-12532: TNS:invalid argument</pre>
<pre style="padding-left:60px;">TNS-12560: TNS:protocol adapter error</pre>
<pre style="padding-left:60px;">TNS-00502: Invalid argument</pre>
<pre style="padding-left:60px;">IBM/AIX RISC System/6000 Error: 515: Error 515 occurred.</pre>
</p>
<p style="padding-left:30px;">  A: Check $ORACLE_HOME/network/admin/PROD_newhost/sqlnet.ora to insure it is using new values:</p>
<pre style="padding-left:60px;">OLD: tcp.invited_nodes=(oldhost.olddomain, newhost.newdomain)</pre>
<pre style="padding-left:60px;">NEW: tcp.invited_nodes=(newhost.newdomain)</pre>
</p>
<p>     2.  Q: Do you encounter the following errors in Jinitiator console when you try to start form applications?</p>
<pre style="padding-left:60px;">java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException</pre>
<pre style="padding-left:60px;">at oracle.ewt.lwAWT.lwText.LWTextField.getText(LWTextField.java:196)</pre>
<pre style="padding-left:60px;">at oracle.ewt.lwAWT.lwText.LWTextField._getDisplayString(LWTextField.java:787)</pre>
</p>
<p style="padding-left:30px;">A: Check $OA_HTML/bin/appsweb_PROD_newhost.cfg for the value of &#8216;archive2&#8242;. It should be as follow:</p>
<pre style="padding-left:60px;">archive2=,/OA_JAVA/regexp.jar</pre>
</p>
<p>     3.  Q: Do you encounter the following errors in Jinitiator console when you try to start form applications?</p>
<pre style="padding-left:60px;">java.lang.Error: RE internal error: Corrupt program</pre>
<pre style="padding-left:60px;">at org.apache.regexp.RE.internalError(RE.java:820)</pre>
<pre style="padding-left:60px;">at org.apache.regexp.RE.matchNodes(RE.java:1414)</pre>
</p>
<p style="padding-left:30px;">A: Made the following change:</p>
<pre style="padding-left:60px;"># cd $JAVA_TOP</pre>
<pre style="padding-left:60px;"># mv org org.back</pre>
</p>
<p> <strong>References:</strong></p>
<p style="padding-left:30px;">1. How to change the hostname of an Applications Tier using AutoConfig [Metalink 341322.1]</p>
<p style="padding-left:30px;">2. How to change the hostname and/or port of the Database Tier using AutoConfig [Metalink 338003.1]</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Max Hostname length on linux]]></title>
<link>http://srikrishnadas.wordpress.com/2009/12/07/linux-max-hostname-length/</link>
<pubDate>Mon, 07 Dec 2009 15:45:38 +0000</pubDate>
<dc:creator>krish</dc:creator>
<guid>http://srikrishnadas.wordpress.com/2009/12/07/linux-max-hostname-length/</guid>
<description><![CDATA[Ever wanted to name a server with amazon-ec2 naming convention? I hope not! If anyone wondered what ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ever wanted to name a server with amazon-ec2 naming convention?<br />
I hope not!</p>
<p>If anyone wondered what is the max length of hostname you can use (solutions and guess over the internet already), but just itching to write down how to find out. Here&#8217;s how..</p>
<p><em>krish@lin-hyd-dsk-07:~&#62; getconf HOST_NAME_MAX</em><br />
<em>64</em></p>
<p>This is defined in file<br />
<em>krish@lin-hyd-dsk-07:~&#62; grep HOST_NAME_MAX /usr/include/bits/local_lim.h<br />
#define HOST_NAME_MAX           64</em></p>
<p>The Single Unix Specification version 2 (SuSv2) guarantees ‘Host names are limited to 255 bytes’. POSIX 1003.1-2001 guarantees ‘Host names (not including the terminating NULL) are limited to HOST_NAME_MAX bytes’.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to change the hostname under Fedora]]></title>
<link>http://antarktikos.wordpress.com/2009/12/05/how-to-change-the-hostname-under-fedora/</link>
<pubDate>Sat, 05 Dec 2009 15:32:44 +0000</pubDate>
<dc:creator>ravs182</dc:creator>
<guid>http://antarktikos.wordpress.com/2009/12/05/how-to-change-the-hostname-under-fedora/</guid>
<description><![CDATA[How to change the hostname under Fedora? Use the command line (terminal) First, loggin&#8217; like r]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>How to change the hostname under Fedora?</strong></p>
<p>Use the command line (terminal)</p>
<p>First, loggin&#8217; like root</p>
<p>[user@machine ~]$ su &#8211; root<br />
Password: blah blah blah</p>
<p>Second type the &#8220;hostname&#8221; command to look your actually hostname</p>
<p>[root@machine ~]# hostname<br />
machine</p>
<p>Now, just type hostname test.somedomain.ac.cr<br />
[root@machine ~]# hostname test.somedomain.ac.cr</p>
<p>Now, you can look your new hostname with same command</p>
<p>[root@machine ~]# hostname<br />
test.somedomain.ac.cr</p>
<p>This is temporaly, not is permanent, to be a change permanent you need to backup and edit some files..</p>
<p>Let&#8217;s do it!</p>
<p>backup /etc/sysconfig/network<br />
[root@machine ~]# cp -p /etc/sysconfig/network /etc/sysconfig/network.bak</p>
<p>look what is in to original file<br />
[root@igor ~]# cat /etc/sysconfig/network<br />
NETWORKING=yes<br />
HOSTNAME=machine<br />
[root@igor ~]#</p>
<p>now edit the original file<br />
[root@igor ~]# vi /etc/sysconfig/network</p>
<p>NETWORKING=yes<br />
HOSTNAME=mahine # In my case I&#8217;ll put &#8220;test.somedomain.ac.cr&#8221;<br />
# Edit and save</p>
<p>To test the new line<br />
[root@machine ~]# grep HOSTNAME /etc/sysconfig/network<br />
HOSTNAME=test.somedomain.ac.cr<br />
[root@machine ~]#</p>
<p>Now backup and edit /etc/hosts<br />
[root@machine ~]# cp -p /etc/hosts /etc/hosts.bak<br />
[root@machine ~]#</p>
<p>Look what is into /etc/hosts file:<br />
[root@machine ~]# cat /etc/hosts<br />
# hostname machine added to /etc/hosts by anaconda<br />
127.0.0.1        localhost.localdomain localhost machine<br />
::1        localhost6.localdomain6 localhost6 machine</p>
<p>Now edit the line<br />
[root@machine ~]# vi /etc/hosts<br />
# I just change in my case the word &#8220;machine&#8221; in the three lines for &#8220;test.somedomain.ac.cr&#8221;<br />
# edit and save<br />
# hostname test.somedomain.ac.cr added to /etc/hosts by anaconda<br />
127.0.0.1        localhost.localdomain localhost test.somedomain.ac.cr<br />
::1        localhost6.localdomain6 localhost6 test.somedomain.ac.cr<br />
[ravs@igor ~]$</p>
<p>Test it<br />
[root@machine ~]# cat /etc/hosts<br />
# hostname test.somedomain.ac.cr added to /etc/hosts by anaconda<br />
127.0.0.1        localhost.localdomain localhost test.somedomain.ac.cr<br />
::1        localhost6.localdomain6 localhost6 test.somedomain.ac.cr</p>
<p>and the final step restart the service network</p>
<p>[root@machine ~]# service network restart<br />
Shutting down interface eth0:                              [  OK  ]<br />
Shutting down interface eth1:                              [  OK  ]<br />
Shutting down loopback interface:                          [  OK  ]<br />
Bringing up loopback interface:                            [  OK  ]<br />
Bringing up interface eth0:                                [  OK  ]<br />
Bringing up interface eth1:                                [  OK  ]<br />
[root@machine ~]#</p>
<p>now log out, and loging again!!</p>
<p>that&#8217;s it!</p>
<p>Tested on Fedora 12 Gnome &#8211; 2.6.31.5-127.fc12.i686 GNU/Linux</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!]]></title>
<link>http://linuxindetails.wordpress.com/2009/12/04/warning-remote-host-identification-has-changed/</link>
<pubDate>Fri, 04 Dec 2009 14:55:32 +0000</pubDate>
<dc:creator>linuxindetails</dc:creator>
<guid>http://linuxindetails.wordpress.com/2009/12/04/warning-remote-host-identification-has-changed/</guid>
<description><![CDATA[You may encounter this message while connecting to a remote server through ssh. Generally, you also ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>You may encounter this message while connecting to a remote server through ssh.<br />
Generally, you also have these lines :<br />
<strong><br />
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!<br />
Someone could be eavesdropping on you right now (man-in-the-middle attack)!<br />
It is also possible that the RSA host key has just been changed.<br />
The fingerprint for the RSA key sent by the remote host is</strong></p>
<p>To prevent from having this error again, there are solutions :</p>
<p>1) Edit the following line  <strong><span style="font-style:italic;">~/.ssh/known_hosts</span></strong> and remove the line containing the hostname of the remote server in question.</p>
<p>2) Sometime, the file ~/.ssh/known_hosts may be hashed. To regenerate the key properly,as a non-root user,  please type the following command :</p>
<p><strong>fool@localhost:~$ ssh-keygen -R hostname</strong></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=4b7a9441-9b01-8649-9867-517604c2f3ff" alt="" /></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Stateless VMware ESXi 3.5 on an HP c7000 Blade Server...]]></title>
<link>http://symbolik.wordpress.com/2009/11/01/stateless-vmware-esxi-3-5-on-an-hp-c7000-blade-server/</link>
<pubDate>Sat, 31 Oct 2009 19:11:59 +0000</pubDate>
<dc:creator>symbolik</dc:creator>
<guid>http://symbolik.wordpress.com/2009/11/01/stateless-vmware-esxi-3-5-on-an-hp-c7000-blade-server/</guid>
<description><![CDATA[NOTE:  This is only an overview.  Due to the detailed nature of this project, I will break it up ove]]></description>
<content:encoded><![CDATA[NOTE:  This is only an overview.  Due to the detailed nature of this project, I will break it up ove]]></content:encoded>
</item>
<item>
<title><![CDATA[Untangle OpenVPN client stops resolving FQDNs in Windows 7?]]></title>
<link>http://anotherschwab.wordpress.com/2009/10/27/untangle-openvpn-client-stops-resolving-fqdns-in-windows-7/</link>
<pubDate>Wed, 28 Oct 2009 03:56:54 +0000</pubDate>
<dc:creator>anotherschwab</dc:creator>
<guid>http://anotherschwab.wordpress.com/2009/10/27/untangle-openvpn-client-stops-resolving-fqdns-in-windows-7/</guid>
<description><![CDATA[We use the OpenVPN module in the Untangle Open Source Network Gateway for remote access at our schoo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>We use the OpenVPN module in the <a href="http://www.untangle.com/" target="_blank">Untangle Open Source Network Gateway</a> for remote access at our school district.   Everything had been working flawlessly for over a year until suddenly right before I was set to leave for a two day conference, I turned on my Windows 7 RC1 <a href="http://gdgt.com/acer/aspire/one/d150/" target="_blank">Acer Aspire One</a> netbook, fired up the OpenVPN GUI client and then proceeded to fail at connecting to my remote clients using RDP.    I immediately checked my desktop Windows 7 RC1 install and found the same problem.  Long story short, somehow I had lost the ability to resolve my hostnames  to their correct private IP addresses while connected to the VPN.  The work around for my trip was to connect using IP addresses, which I duly noted before leaving.</p>
<p>Upon my return I decided to troubleshoot the problem.  I was able to rule out a server side issue because 1) no settings had changed since the last time it worked and 2) my Hackintosh OS X desktop system running the OpenVPN client <a href="http://www.viscosityvpn.com/" target="_blank">Viscosity</a> worked just fine.  So to rule out my netbook as the culprit, I dusted off my old<a href="http://gdgt.com/dell/inspiron/6400/" target="_blank"> Dell Inspiron 6400</a> laptop, which is also running Windows 7 RC1, and tried the OpenVPN GUI client on it.  I got the same frustrating thing, the VPN client connected fine, I just couldn&#8217;t resolve my internal DNS names correctly.  I was wondering if this was a problem with the OpenVPN client I was running (2.1rc15) or what else could have possibly changed on both these systems to have this affect.  I decided to try my last instance of Windows 7 RC1 and so fired up <a href="http://www.virtualbox.org/" target="_blank">Virtual Box</a> on my Hackintosh, started OpenVPN GUI and was pleasantly surprised to connect right away with RDP using my internal hostnames (fully qualified, of course).</p>
<p>Now I knew it was something with Windows 7 on both my desktop, netbook and laptop.  But what could be affecting all three?  Many moons ago, Windows used to have odd problems associated with NIC binding orders.  I happened to notice in the ipconfig dump on the Virtual Box host that the TAP-Win32 adapter was listed first and as this was the NIC with the correct DNS settings to resolve my internal hostnames it looked like something I should check on the other systems.  Sure enough the desktop, netbook and laptop all had the TAP NIC listed in second place when I ran ipconfig /all.  Ah ha!  A quick google search for how to change Windows 7 NIC bindings (not where it used to be) turned up <a href="http://www.windows7news.com/forum/general-windows-7-help/how-do-i-change-the-network-binding-order-in-windows-7/" target="_blank">this gem from dillonator:</a></p>
<blockquote><p>Get to the Network Connections page under the control panel. (If you&#8217;re looking at the Network and Sharing Center, click on Change Adapter Settings.) Now hit the &#8220;alt&#8221; key and you should see the menu pop up. Click on Advanced and you should know where you&#8217;re going from there</p></blockquote>
<p>I love the fact that you have to press the ALT key to see the advanced settings options.  After moving my TAP-Win32 adapter (Local Area Connection 3) on my desktop to the top of the Connections list I was once again able to RDP into my remote hosts using their fully qualified domain names (FQDN).</p>
<p><img class="alignnone size-full wp-image-121" title="NIC Bindings" src="http://anotherschwab.wordpress.com/files/2009/10/nic-bindings.png" alt="NIC Bindings" width="414" height="461" /></p>
<p>I have no idea why or how the binding orders on three of my four Windows 7 RC1 installations changed or why my Virtual Box host was unaffected but I am happily VPNing with OpenVPN once more.   Any ideas on how this might have happened, please leave a comment.  Thanks.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tutorial Monitoring Jaringan Komputer Menggunakan Look@LAN ]]></title>
<link>http://esal.wordpress.com/2009/10/15/tutorial-monitoring-jaringan-komputer-menggunakan-looklan/</link>
<pubDate>Thu, 15 Oct 2009 07:41:02 +0000</pubDate>
<dc:creator>esal</dc:creator>
<guid>http://esal.wordpress.com/2009/10/15/tutorial-monitoring-jaringan-komputer-menggunakan-looklan/</guid>
<description><![CDATA[Tutorial Monitoring Jaringan Komputer Menggunakan Look@LAN ABSTRAK Look@LAN merupakan salah satu  pe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><strong>Tutorial Monitoring Jaringan Komputer Menggunakan Look@LAN</strong></p>
<p><strong>ABSTRAK</strong></p>
<p style="text-align:justify;">Look@LAN merupakan salah satu  perangkat lunak (software)  yang dapat digunakan untuk melihat komputer (host) pada suatu jaringan komputer lokal atau sering disebut dengan local area network (LAN), sehingga kita dapat melihat active services atau fasilitas-fasilitas yang disediakannya.</p>
<p style="text-align:justify;">Look@LAN menyediakan beberapa fasilitas untuk melihat  IP Address, status, distance, operating system yang digunakan, hostname, netBIOS name, netBIOS user, SNMP status dan Trap. Informasi host yang sedang online/offline, operating system yang digunakan, NetBIOS dan SNMP yang ditampilkan dalam bentuk grafik.</p>
<p style="text-align:justify;">Berdasarkan hasil yang pernah penulis lakukan, Look@LAN  hanya dapat digunakan untuk melihat komputer yang terhubung pada jaringan lokal, sehingga tidak dapat digunakan untuk jaringan yang lebih luas. Untuk jaringan yang lebih luas, salah satu software yang pernah penulis gunakan adalah NetworkView.</p>
<p style="text-align:center;"><span style="color:#0000ff;"><a href="http://www.ziddu.com/download/6747443/MonitoringJaringanMenggunakanLookLAN.pdf.html"><img src="http://bse.depdiknas.go.id/images_gif/download.gif" border="0" alt="" width="91" height="31" /></a></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tracing an IP address]]></title>
<link>http://anarchia3lites.wordpress.com/2009/10/14/tracing-an-ip-address/</link>
<pubDate>Wed, 14 Oct 2009 17:14:09 +0000</pubDate>
<dc:creator>ezzk07</dc:creator>
<guid>http://anarchia3lites.wordpress.com/2009/10/14/tracing-an-ip-address/</guid>
<description><![CDATA[hey guys, in the last few posts (named enumerating remote systems) I explained to you guys how to ge]]></description>
<content:encoded><![CDATA[hey guys, in the last few posts (named enumerating remote systems) I explained to you guys how to ge]]></content:encoded>
</item>
<item>
<title><![CDATA[Serie Videos Tutorias Linux]]></title>
<link>http://jmsalles.wordpress.com/2009/10/04/serie-videos-tutorias-linux/</link>
<pubDate>Sun, 04 Oct 2009 15:13:27 +0000</pubDate>
<dc:creator>jmsalles</dc:creator>
<guid>http://jmsalles.wordpress.com/2009/10/04/serie-videos-tutorias-linux/</guid>
<description><![CDATA[Pessoal estou lançando a serie video tutorias linux a mesma conta com 16 video aulas sobre linux par]]></description>
<content:encoded><![CDATA[Pessoal estou lançando a serie video tutorias linux a mesma conta com 16 video aulas sobre linux par]]></content:encoded>
</item>
<item>
<title><![CDATA[Troubleshooting s_display value in $CONTEXT_FILE while running Accelerator Config Tool]]></title>
<link>http://oracledelivery.wordpress.com/2009/10/02/troubleshooting-s_display-value-in-context_file-while-running-accelerator-config-tool/</link>
<pubDate>Thu, 01 Oct 2009 18:39:10 +0000</pubDate>
<dc:creator>Ryan Stephanus</dc:creator>
<guid>http://oracledelivery.wordpress.com/2009/10/02/troubleshooting-s_display-value-in-context_file-while-running-accelerator-config-tool/</guid>
<description><![CDATA[OBA (Oracle Business Accelerator) is a relatively new product from Oracle Corp. It aim to boost up t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>OBA (Oracle Business Accelerator) is a relatively new product from Oracle Corp. It aim to boost up the setup process time of Oracle Applications via online questionnaire within a timeframe called Project Work Space (PWS). Once all question is submitted, then you can download the Setup Configuration Tool from Oracle Application that connect directly, wth the authetication system using approved CSI number, etc.</p>
<p>After you download the file, then you must continue the automated setup process. During the setup process, this tool will warn user about setup that need to be fixed, and you can choose to fix or to skip it. This process relatively take some workingdays. Once the automated Setup Configuration Tool is finished, the tools will provide you links about statistics in hours &#38; minutes; what happened during the process; Errorred process; setup that you need to investigate and check again or setup that failed and need manual setup.</p>
<p>One of the error during running the config tool is s_display value in $CONTEXT_FILE doesn&#8217;t match the vnc or xmanager display value.<br />
Once corrected, you&#8217;ll be told to run AUTOCONFIG and resume the Setup Configuration Tool. <span style="text-decoration:underline;">This error cannot be skipped</span> as the Setup Config Tool will prompt you the same error message each time you resuming.</p>
<p>I checked inside the context file (Application context file, NOT the Database context file since display should have nothing related with the database). The value of s_display is already correct =[hostname]:1.0 ( Read metalink note <strong>467549.1</strong> ) the hostname is the server&#8217;s IP address.</p>
<p>You could do the trick using a broadcast and Xstart (from Xmanager) or from VNCviewer these application type is different from application like putty, WinSCP or secureCRT. Using Putty for example, when you close the window, your session is &#8220;over&#8221; in the server, but using VNCviewer, eventhough you have shutdown your PC, then if you login again, your server session is still &#8220;alive&#8221; unless you have issued command such as logout or reboot.</p>
<p>The trick is simple,  using VNC viewer, open a terminal then login using root. type :</p>
<p>$ export DISPLAY=[your_server_hostname]:1.0</p>
<p>$ xhost +</p>
<p>or</p>
<p>$ xclock</p>
<p>if the clock is displayed then you have done right, just shutdown apps services, run autoconfig and resume the Configuration Setup Tool.</p>
<p>note : to detemine your_server_hostname value, just type hostname in the terminal, the result is what should be set as s_display environment variable value in the $CONTEXT_FILE.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ρυθμίζοντας έναν Cisco  Router]]></title>
<link>http://datalibrary.wordpress.com/2009/09/16/%cf%81%cf%85%ce%b8%ce%bc%ce%af%ce%b6%ce%bf%ce%bd%cf%84%ce%b1%cf%82-%ce%ad%ce%bd%ce%b1%ce%bd-cisco-router/</link>
<pubDate>Wed, 16 Sep 2009 14:14:17 +0000</pubDate>
<dc:creator>Administrator</dc:creator>
<guid>http://datalibrary.wordpress.com/2009/09/16/%cf%81%cf%85%ce%b8%ce%bc%ce%af%ce%b6%ce%bf%ce%bd%cf%84%ce%b1%cf%82-%ce%ad%ce%bd%ce%b1%ce%bd-cisco-router/</guid>
<description><![CDATA[Όσοι γνωρίζουν από δίκτυα ξέρουν ότι η κορυφαία εταιρεία σε εξοπλισμό δικτύων (router,switches κτλ) ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Όσοι γνωρίζουν από δίκτυα ξέρουν ότι η κορυφαία εταιρεία σε εξοπλισμό δικτύων (router,switches κτλ) είναι η Cisco.Είναι λοιπόν ουσιώδες να γνωρίζουμε το πως θα μπορέσουμε να ρυθμίσουμε έναν cisco router αν η ενασχόληση μας είναι η διαχείριση δικτύων.</p>
<p><span style="color:#ff0000;">Router Modes</span></p>
<p style="text-align:justify;">Ένα Cisco Router έχει αρκετά modes (καταστάσεις) αλλά οι πιο σημαντικές που πρέπει κάποιος να γνωρίζει και να είναι σε θέση να αναγνωρίσει είναι οι παρακάτω:</p>
<p><span style="color:#00ff00;">Router&#62;</span>        &#8212;-&#62; User Mode</p>
<p><span style="color:#00ff00;">Router#</span>        &#8212;-&#62; Privilege Mode</p>
<p><span style="color:#00ff00;">Router (config)#</span> &#8212;&#8211;&#62; Global Configuration Mode</p>
<p><span style="color:#00ff00;">Router (config-if)#</span>        &#8212;&#8212;&#62; Interface Mode</p>
<p><span style="color:#00ff00;">Router (config-subif)#</span>    &#8212;&#8211;&#62; Subinterface Mode</p>
<p><span style="color:#00ff00;">Router (config-line)#</span>     &#8212;-&#62; Line mode</p>
<p><span style="color:#00ff00;">Router (config-router)#</span> &#8212;-&#62; Router Configuration Mode</p>
<p style="text-align:justify;">Θα πρέπει να γνωρίζουμε επίσης ότι δεν δουλεύουν όλες οι εντολές σε όλα τα mode.</p>
<p><span style="color:#ff0000;">Global Configuration Mode</span></p>
<p style="text-align:justify;">Όταν κάνουμε εκκίνηση έναν Cisco Router η πρώτη κατάσταση είναι το User Mode.Στο UserMode δεν μπορούμε να κάνουμε ρυθμίσεις στο router και το μόνο που μπορούμε είναι να δούμε κάποια από τα configurations.</p>
<p style="text-align:justify;">Πληκτρολογώντας την εντολή <span style="color:#00ff00;">enable</span> μπαίνουμε στο privilege mode.Σε αυτήν την κατάσταση μπορούμε να δούμε όλα τα configurations που έχουνε γίνει στο router αλλά και να πληκτρολογήσουμε την εντολή <span style="color:#00ff00;">configure terminal</span> η οποία και θα μας εισάγει στο Global Configuration Mode όπου και θα μπορέσουμε να ρυθμίσουμε τον router μας.</p>
<p><span style="color:#ff0000;">Παράδειγμα:</span></p>
<p>Router&#62;</p>
<p>Router&#62;<span style="color:#00ff00;">enable</span></p>
<p>Router# <span style="color:#00ff00;">configure terminal</span></p>
<p>Router(config)#</p>
<p><span style="color:#ff0000;">Ρυθμίζοντας το όνομα του Router</span></p>
<p style="text-align:justify;">Η εντολή που θα χρειαστούμε για να ρυθμίσουμε το όνομα του router μας είναι να πληκτρολογήσουμε ενώ είμαστε στο Global Configuration Mode το hostname και το όνομα του router μας.Δηλαδή:</p>
<p>Router (config)#<span style="color:#00ff00;">hostname datalibrary</span></p>
<p>Datalibrary (config)#</p>
<p><span style="color:#ff0000;">Ρύθμιση του Serial Interface</span></p>
<p style="text-align:justify;">Σε περίπτωση που είμαστε σε μία εταιρεία και μας ζητηθεί να συνδέσουμε τον router μας με κάποιον άλλον router της εταιρείας σε κάποια άλλη πόλη ή χώρα τότε θα πρέπει να γνωρίζουμε το πως θα ρυθμίσουμε το serial interface του.</p>
<p style="text-align:justify;">Αν δεν ξέρουμε όμως ποιά είναι τα interface του router που έχουμε τότε η εντολή <span style="color:#00ff00;">show ip interface brief</span> στο privilege mode θα μας εμφανίσει όλα τα διαθέσιμα interface του.Δηλαδή:</p>
<p>Router# <span style="color:#00ff00;">show ip interface brief</span></p>
<p>Έτσι λοιπόν η ρύθμιση του Serial interface γίνεται ως εξής:</p>
<p>Router (config)# <span style="color:#00ff00;">interface s0/0</span></p>
<p>Router (config-if)# <span style="color:#00ff00;">description Syndesi me ton ISP</span></p>
<p>Router (config-if)# <span style="color:#00ff00;">ip address 192.168.10.1 255.255.255.0</span></p>
<p>Router (config-if)# <span style="color:#00ff00;">clock rate 56000</span></p>
<p>Router (config-if)#<span style="color:#00ff00;">no shutdown</span></p>
<p style="text-align:justify;">Η εντολή <span style="color:#00ff00;">interface s0/0</span> χρησιμοποιείται για να μπούμε στο interface που θέλουμε να ρυθμίσουμε που στην προκειμένη περίπτωση είναι το <span style="color:#00ff00;">s0/0</span>.Έπειτα βλέπουμε την εντολή <span style="color:#00ff00;">description</span> μαζί με ένα μήνυμα η οποία δίνει μία περιγραφή στο interface.Η εντολή αυτήν είναι προεραιτική αλλά αρκετά χρήσιμη σε περίπτωση που έχουμε πολλά interface για να ξέρουμε ποιό συνδέεται που.</p>
<p style="text-align:justify;">Η επόμενη εντολή είναι η εντολή <span style="color:#00ff00;">ip address IP subnet mask</span> και είναι η εντολή με την οποίαμπορούμε να ορίσουμε την IP και την μάσκα υποδικτύωσης που θα έχει το serial interface.Η IP και το subnet mask που θα βάλουμε εξαρτάται και από την IP που μας έχουν δώσει και το subnetting που έχει γίνει.</p>
<p style="text-align:justify;">Τέλος βλέπουμε τις εντολές <span style="color:#00ff00;">clock rate</span> και <span style="color:#00ff00;">no shutdown</span>.Η εντολή clock rate ορίζει το clock rate του serial interface και θα πρέπει να χρησιμοποιείται σε όλα τα serial interfaces που είναι DCE και η εντολή no shutdown χρησιμοποιείται για να ενεργοποιήσει το interface.</p>
<p><span style="color:#ff0000;">Ρύθμιση του Fast Ethernet interface</span></p>
<p style="text-align:justify;">Οι εντολές για το Fast Ethernet δεν διαφέρουν από τις εντολές που είδαμε παραπάνω για να ρυθμίσουμε το serial interface.Η μόνη ουσιαστική διαφορά είναι ότι αυτήν την φορά θα πρέπει από το Global Configuration mode να μπούμε στο fast ethernet interface και αυτό γίνεται με την εντολή <span style="color:#00ff00;">interface fastethernet 0/0</span>.</p>
<p><span style="color:#ff0000;">Παράδειγμα:</span></p>
<p>Router (config)# <span style="color:#00ff00;">interface fastethernet 0/0</span></p>
<p>Router (config-if)# <span style="color:#00ff00;">description Logistirio</span></p>
<p>Router (config-if)# <span style="color:#00ff00;">ip address 192.168.100.20 255.255.255.0</span></p>
<p>Router (config-if)# <span style="color:#00ff00;">no shutdown</span></p>
<p><span style="color:#ff0000;">Δημιουργία μηνύματος Message of the Day</span></p>
<p style="text-align:justify;">Η δημιουργία μηνυμάτων <span style="color:#00ff00;">Message of the Day</span> εμφανίζεται σε όλα τα τερματικά και είναι χρήσιμη για την αποστολή μηνυμάτων προς όλους τους χρήστες.Για παράδειγμα σε περίπτωση που θέλουμε να τους ενημερώσουμε για κάτι.</p>
<p>Router (config)# <span style="color:#00ff00;">banner motd # To Internet tha diakopei aurio stis wres 10 me 12 to prwi. #</span></p>
<p>Router (config)#</p>
<p><span style="color:#ff0000;">Δημιουργία μηνύματος login</span></p>
<p style="text-align:justify;">Σε περίπτωση που θέλουμε να δημιουργήσουμε ένα μήνυμα στον router που θα εμφανίζεται πριν από το login η εντολή είναι η ακόλουθη:</p>
<p>Router (config)# <span style="color:#00ff00;">banner login # Authorized Personnel only! Please enter your username and password. #</span></p>
<p>Router (config)#</p>
<p><span style="color:#ff0000;">Ορισμός hostname σε μία IP διεύθυνση</span></p>
<p style="text-align:justify;">Επειδή είναι δύσκολο να θυμόμαστε ποιά IP έχουμε ορίσει και σε ποιόν router είναι ευκολότερο αν θέλουμε να χρησιμοποιήσουμε εντολές όπως <span style="color:#00ff00;">telnet</span> και <span style="color:#00ff00;">ping</span> για να δούμε για παράδειγμα την συνδεσιμότητα να χρησιμοποιήσουμε τα ονόματα των router.Για να αντιστοιχίσουμε λοιπόν την IP του router σε hostname πληκτρολογούμε την παρακάτω εντολή:</p>
<p>Router (config)# <span style="color:#00ff00;">ip host datalibrary 172.16.1.4</span></p>
<p style="text-align:justify;">Φυσικά όπου datalibrary βάζουμε το hostname που θέλουμε και όπου 172.16.1.4 την IP του router.</p>
<p>Πλέον μπορούμε αντί για το 172.16.1.4 να χρησιμοποιήσουμε το hostname απευθείας.Δηλαδή:</p>
<p>Router# <span style="color:#00ff00;">ping datalibrary</span></p>
<p style="text-align:justify;">Πλέον έχουμε κάνει όλες τις βασικές ρυθμίσεις στον cisco router και το μόνο που μένει είναι να τις σώσουμε στην NVRAM.Η εντολή που θα χρειαστούμε είναι η <span style="color:#00ff00;">copy running-config startup-config</span> και μπορούμε να την χρησιμοποιήσουμε ενώ είμαστε στο privilege mode.</p>
<p>Router# <span style="color:#00ff00;">copy running-config startup-config</span></p>
<p style="text-align:justify;">Αυτές είναι όλες οι βασικές εντολές που θα χρειαστούμε για να ρυθμίσουμε έναν cisco router.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to obtain hostname from IP address in Linux?]]></title>
<link>http://sks8.wordpress.com/2009/08/31/hostname-from-ip-address-in-linux/</link>
<pubDate>Mon, 31 Aug 2009 11:16:31 +0000</pubDate>
<dc:creator>sks8</dc:creator>
<guid>http://sks8.wordpress.com/2009/08/31/hostname-from-ip-address-in-linux/</guid>
<description><![CDATA[Today, I fell in need of identifying the host name (also termed as &#8216;DNS name&#8216;) based on ]]></description>
<content:encoded><![CDATA[Today, I fell in need of identifying the host name (also termed as &#8216;DNS name&#8216;) based on ]]></content:encoded>
</item>
<item>
<title><![CDATA[[osx] Change the hostname in Mac (leopard)]]></title>
<link>http://nixtricks.wordpress.com/2009/08/29/osx-change-the-hostname-in-mac-leopard/</link>
<pubDate>Sat, 29 Aug 2009 22:34:54 +0000</pubDate>
<dc:creator>kousik</dc:creator>
<guid>http://nixtricks.wordpress.com/2009/08/29/osx-change-the-hostname-in-mac-leopard/</guid>
<description><![CDATA[For a last few days my Macbook &#8220;assumed&#8221; a weird hostname: kousik-mac(2) &#8212; I don]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For a last  few days my Macbook &#8220;assumed&#8221;  a weird hostname: kousik-mac(2) &#8212; I don&#8217;t know what I did that caused it.  Here are three ways to change it (I don&#8217;t know if these qualify to be &#8220;NIX tricks&#8221; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ):</p>
<p>1. Click at the Sharing option in System Preferences and then click at Edit. You may change the computer name as well.</p>
<p>2.  Use the following commandline-fu:<br />
<code>$ sudo scutil --set HostName your-preferred-hostname</code></p>
<p>3. Edit the preference file<br />
<code>$ sudo vi /Library/Preferences/SystemConfiguration/preferences.plist</code><br />
Search for <code> LocalHostname </code> and change the text within the  <code>&#60;string&#62;...&#60;/string&#62; </code>  just under it. While you&#8217;re at it, you may want to change the string under <code>ComputerName </code> (need I say what it does?), as well &#8212; this key comes just after the previous one (<code>HostName</code>).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[change mac osx hostname]]></title>
<link>http://hanker.wordpress.com/2009/08/27/change-mac-osx-hostname/</link>
<pubDate>Thu, 27 Aug 2009 18:01:08 +0000</pubDate>
<dc:creator>hanker</dc:creator>
<guid>http://hanker.wordpress.com/2009/08/27/change-mac-osx-hostname/</guid>
<description><![CDATA[$sudo scutil &#8211;set ComputerName &#8220;newcompname&#8221; $sudo scutil &#8211;set LocalHostName]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>$sudo scutil &#8211;set ComputerName &#8220;newcompname&#8221;<br />
$sudo scutil &#8211;set LocalHostName &#8220;newhostname&#8221;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Changing The Hostname Of A Debian System]]></title>
<link>http://modelr.wordpress.com/2009/06/21/changing-the-hostname-of-a-debian-system/</link>
<pubDate>Sun, 21 Jun 2009 18:58:42 +0000</pubDate>
<dc:creator>ModelR</dc:creator>
<guid>http://modelr.wordpress.com/2009/06/21/changing-the-hostname-of-a-debian-system/</guid>
<description><![CDATA[Reference this article: http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Reference this article: <a href="http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/">http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/</a></p>
<p>To change the hostname of a Debian system and make it permanent, you will have to edit this file</p>
<p><code>/etc/hostname</code></p>
<p>Enter the new hostname that you wish to change to then run this command:</p>
<p><code>/etc/init.d/hostname.sh start</code><br />
Logout and log back in to see if the changes are active</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DNS là gì ?]]></title>
<link>http://dangkytenmien.wordpress.com/2009/06/16/dns-la-gi/</link>
<pubDate>Tue, 16 Jun 2009 03:58:17 +0000</pubDate>
<dc:creator>dangkytenmien</dc:creator>
<guid>http://dangkytenmien.wordpress.com/2009/06/16/dns-la-gi/</guid>
<description><![CDATA[DNS là gì ? DNS là từ viết tắt trong tiếng Anh của Domain Name System, là Hệ thống phân giải tên đượ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><strong><span style="font-size:13pt;">DNS là gì ?</span></strong></p>
<p style="text-align:justify;">DNS là từ viết tắt trong tiếng Anh của Domain Name System, là Hệ thống phân giải tên được phát minh vào năm 1984 cho Internet, chỉ một hệ thống cho phép thiết lập tương ứng giữa địa chỉ IP và tên miền. Hệ thống tên miền (DNS) là một hệ thống đặt tên theo thứ tự cho máy vi tính, dịch vụ, hoặc bất kỳ nguồn lực tham gia vào Internet. Nó liên kết nhiều thông tin đa dạng với tên miền được gán cho những người tham gia. Quan trọng nhất là, nó chuyển tên miền có ý nghĩa cho con người vào số định danh (nhị phân), liên kết với các trang thiết bị mạng cho các mục đích định vị và địa chỉ hóa các thiết bị khắp thế giới.</p>
<p>Phép tương thường được sử dụng để giải thích hệ thống <a style="color:#0000ff;" href="http://www.matbao.vn/faq/ten-mien-la-gi-.aspx" target="_blank">tên miền</a> là, nó phục vụ như một “Danh bạ điện thoại” để tìm trên Internet bằng cách dịch tên máy chủ máy tính thành địa chỉ IP</p>
<p>Ví dụ, www.example.com dịch thành 208.77.188.166.</p>
<p>Hệ thống tên miền giúp cho nó có thể chỉ định tên miền cho các nhóm người sử dụng Internet trong một cách có ý nghĩa, độc lập với mỗi địa điểm của người sử dụng. Bởi vì điều này, World-Wide Web (WWW) siêu liên kết và trao đổi thông tin trên Internet có thể duy trì ổn định và cố định ngay cả khi định tuyến dòng Internet thay đổi hoặc những người tham gia sử dụng một thiết bị di động. Tên miền internet dễ nhớ hơn các địa chỉ <a style="color:#0000ff;" href="http://www.matbao.vn/faq/ip-la-gi-.aspx" target="_blank">IP</a> như là 208.77.188.166 (IPv4) hoặc 2001: db8: 1f70:: 999: de8: 7648:6 e8 (IPv6).</p>
<p>Mọi người tận dụng lợi thế này khi họ thuật lại có nghĩa các URL và địa chỉ email mà không cần phải biết làm thế nào các máy sẽ thực sự tìm ra chúng.</p>
<p>Hệ thống tên miền phân phối trách nhiệm gán tên miền và lập bản đồ những tên tới địa chỉ IP bằng cách định rõ những máy chủ có thẩm quyền cho mỗi tên miền. Những máy chủ có tên thẩm quyền được phân công chịu trách nhiệm đối với tên miền riêng của họ, và lần lượt có thể chỉ định tên máy chủ khác độc quyền của họ cho các tên miền phụ. Kỹ thuật này đã thực hiện các cơ chế phân phối DNS, chịu đựng lỗi, và giúp tránh sự cần thiết cho một trung tâm đơn lẻ để đăng ký được tư vấn và liên tục cập nhật. Nhìn chung, Hệ thống tên miền cũng lưu trữ các loại thông tin khác, chẳng hạn như danh sách các máy chủ email mà chấp nhận thư điện tử cho một tên miền Internet. Bằng cách cung cấp cho một thế giới rộng lớn, phân phối từ khóa – cơ sở của dịch vụ đổi hướng , Hệ thống tên miền là một thành phần thiết yếu cho các chức năng của Internet. Các định dạng khác như các thẻ RFID, mã số UPC, ký tự Quốc tế trong địa chỉ email và tên máy chủ, và một loạt các định dạng khác có thể có khả năng sử dụng DNS.</p>
<p style="text-align:justify;"><span style="font-size:13pt;"><strong>2. Chức năng của DNS</strong></span></p>
<p>Mỗi Website có một tên (là tên miền hay đường dẫn URL:Universal Resource Locator) và một địa chỉ IP. Địa chỉ IP gồm 4 nhóm số cách nhau bằng dấu chấm(Ipv4). Khi mở một trình duyệt Web và nhập tên website, trình duyệt sẽ đến thẳng website mà không cần phải thông qua việc nhập địa chỉ IP của trang web. Quá trình &#8220;dịch&#8221; tên miền thành địa chỉ IP để cho trình duyệt hiểu và truy cập được vào website là công việc của một DNS server. Các DNS trợ giúp qua lại với nhau để dịch địa chỉ &#8220;IP&#8221; thành &#8220;tên&#8221; và ngược lại. Người sử dụng chỉ cần nhớ &#8220;tên&#8221;, không cần phải nhớ địa chỉ IP (địa chỉ IP là những con số rất khó nhớ).[1]<br />
<span style="font-size:13pt;"><br />
</span><strong><span style="font-size:13pt;">3. Nguyên tắc làm việc của DNS</span></strong></p>
<p>-Mỗi nhà cung cấp dịch vụ vận hành và duy trì DNS server riêng của mình, gồm các máy bên trong phần riêng của mỗi nhà cung cấp dịch vụ đó trong Internet. Tức là, nếu một trình duyệt tìm kiếm địa chỉ của một website thì DNS server phân giải tên website này phải là DNS server của chính tổ chức quản lý website đó chứ không phải là của một tổ chức (nhà cung cấp dịch vụ) nào khác.</p>
<p><a style="color:#0000ff;" href="http://www.internic.com/">INTERNIC</a> (Internet Network Information Center) chịu trách nhiệm theo dõi các tên miền và các DNS server tương ứng. INTERNIC là một tổ chức được thành lập bởi NFS (National Science Foundation), AT&#38;T và Network Solution, chịu trách nhiệm đăng ký các tên miền của Internet. INTERNIC chỉ có nhiệm vụ quản lý tất cả các DNS server trên Internet chứ không có nhiệm vụ phân giải tên cho từng địa chỉ.</p>
<p>DNS có khả năng tra vấn các DNS server khác để có được một cái tên đã được phân giải. DNS server của mỗi tên miền thường có hai việc khác biệt. Thứ nhất, chịu trách nhiệm phân giải tên từ các máy bên trong miền về các địa chỉ Internet, cả bên trong lẫn bên ngoài miền nó quản lý. Thứ hai, chúng trả lời các DNS server bên ngoài đang cố gắng phân giải những cái tên bên trong miền nó quản lý. &#8211; DNS server có khả năng ghi nhớ lại những tên vừa phân giải. Để dùng cho những yêu cầu phân giải lần sau. Số lượng những tên phân giải được lưu lại tùy thuộc vào quy mô của từng DNS.<br />
<strong><br />
<span style="font-size:13pt;">4. Cách sử dụng DNS</span></strong></p>
<p>Do các DNS có tốc độ biên dịch khác nhau, có thể nhanh hoặc có thể chậm, do đó người sử dụng có thể chọn DNS server để sử dụng cho riêng mình. Có các cách chọn lựa cho người sử dụng. Sử dụng DNS mặc định của nhà cung cấp dịch vụ (internet), trường hợp này người sử dụng không cần điền địa chỉ DNS vào network connections trong máy của mình. Sử dụng DNS server khác (miễn phí hoặc trả phí) thì phải điền địa chỉ DNS server vào network connections. Địa chỉ <a style="color:#0000ff;" href="http://www.matbao.vn/faq/dsn-la-gi-.aspx" target="_blank">DNS</a> server cũng là 4 nhóm số cách nhau bởi các dấu chấm.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to set the hostname in Solaris 10]]></title>
<link>http://solarisnotions.wordpress.com/2009/05/23/set-the-hostname-in-solaris-10/</link>
<pubDate>Sat, 23 May 2009 15:56:42 +0000</pubDate>
<dc:creator>adityadhage</dc:creator>
<guid>http://solarisnotions.wordpress.com/2009/05/23/set-the-hostname-in-solaris-10/</guid>
<description><![CDATA[If you have a system with a fresh installed Solaris 10 and it does not have an entry with &#8216;nam]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you have a system with a fresh installed Solaris 10 and it does not have an entry with &#8216;name server&#8217;, there are chances that it&#8217;ll set the hostname as &#8216;unknown&#8217;. To change this hostname you need to edit 3 files, follow the following steps:</p>
<p>For the sake of example, say the IP of my system is 192.168.1.32 and I want to set the hostname to &#8217;sol10_sparc&#8217;</p>
<p><strong>File 1</strong></p>
<p>Use a text editor like vi to open and edit the following file:</p>
<blockquote><p><code># vi /etc/hosts</code></p></blockquote>
<p>By default you&#8217;ll find the following line in the above file:</p>
<blockquote><p><code>192.168.1.32 unknown #set by DHCP</code></p></blockquote>
<p>Simply edit the file to replace &#8216;unknown&#8217; with your hostname to make it look like as:</p>
<blockquote><p><code>192.168.1.32 sol10_sparc #set by DHCP</code></p></blockquote>
<p><strong>File 2</strong></p>
<p>Next we need to edit the file called nodename</p>
<blockquote><p><code># vi /etc/nodename</code></p></blockquote>
<p>Just insert the hostname &#8217;sol10_sparc&#8217; into this file.</p>
<p><strong>File 3</strong></p>
<p>And now last, find out the name of your ethernet card with the &#8216;ifconfig -a&#8217; command. Say my ethernet card is called &#8216;rge0&#8242;. I&#8217;ll create and edit the following file:</p>
<blockquote><p><code># vi /etc/hostname.rge0</code></p></blockquote>
<p>Insert your new hostname &#8217;sol10_sparc&#8217; in this file, save and exit.</p>
<p>Restart your machine:</p>
<blockquote><p><code># init 6</code></p></blockquote>
<p>That&#8217;s it, after your machine restarts, check the hostname:</p>
<blockquote><p><code># hostname</code></p></blockquote>
<p>Done, enjoy <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Changing your hostname in Ubuntu]]></title>
<link>http://linuxd.wordpress.com/2009/05/12/changing-your-hostname-in-ubuntu/</link>
<pubDate>Tue, 12 May 2009 16:11:28 +0000</pubDate>
<dc:creator>anonymousbloke</dc:creator>
<guid>http://linuxd.wordpress.com/2009/05/12/changing-your-hostname-in-ubuntu/</guid>
<description><![CDATA[Two options: /etc/hostname Can be edited with gedit for instance, not sure if you need root permissi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Two options:</p>
<p>/etc/hostname</p>
<p>Can be edited with gedit for instance, not sure if you need root permissions.</p>
<p>If you&#8217;re only interested in changing the hostname that is sent, or rahter seen by, the network, you can change the dhcp settings.</p>
<p>In /etc/dhcp3/dhclient.conf you can see right after the initial comments this:</p>
<p><code>send host-name "&#60;hostname&#62;";</code></p>
<p>You edit it to something like</p>
<p><code>#send host-name "&#60;hostname&#62;";<br />
send host-name "m4m";</code></p>
<p>You&#8217;re good to go.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configuring IIS7 to provide correct hostname in WCF WSDL and Service Metadata]]></title>
<link>http://computermutt.wordpress.com/2009/05/11/configuring-iis7-to-provide-correct-hostname-in-wcf-wsdl-and-service-metadata/</link>
<pubDate>Tue, 12 May 2009 06:28:15 +0000</pubDate>
<dc:creator>Mike Malter</dc:creator>
<guid>http://computermutt.wordpress.com/2009/05/11/configuring-iis7-to-provide-correct-hostname-in-wcf-wsdl-and-service-metadata/</guid>
<description><![CDATA[I ran into a problem when I started to host WCF services on Server 2008 in that I kept getting the n]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I ran into a problem when I started to host WCF services on Server 2008 in that I kept getting the netbios name of the server instead of the service website in the service metadata and WSDL. </p>
<p>I created a website with a unique IP address on my Windows 2008 server with the address of http://IISHostedServices.maltercorp.com and the virtual website to host the service is MaltercorpService.  When I browsed on my service, I got the following metadata page:</p>
<div id="attachment_119" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-119" title="BadMetadata" src="http://computermutt.wordpress.com/files/2009/05/badmetadata1.png" alt="Bad Metadata" width="450" height="349" /><p class="wp-caption-text">Bad Metadata</p></div>
<p>As you can see in the address bar, the correct ip address is used, but the complete URL of the website does not appear.  A little further down you can see that the metadata page thinks I am pointing to mmant2 which is the netbios name of the server.  It&#8217;s address is 10.1.2.0.</p>
<p>The fix was to edit the binding of the website and to use the same name I used in DNS to point to the site.  I want to point out that there are a number of blog entries out there that explain how to fix this problem but they are recommending the use of the IIS utility tool adsutil.vbs, killing the w3wp.exe process and several other steps.</p>
<p>I am adding my solution because it differs in that the IIS UI was used to change the binding.  Personally I found it easier to use the UI as shown in the screenshot below.  I did not have to do anything additional after adding a hostname:</p>
<dl class="wp-caption aligncenter">
<dt class="wp-caption-dt"><img class="size-full wp-image-123" title="TheFix" src="http://computermutt.wordpress.com/files/2009/05/thefix.png" alt="Edit Binding in IIS UI" width="466" height="608" /></dt>
<dd class="wp-caption-dd">Edit Binding in IIS UI</dd>
</dl>
<p> </p>
<p>After adding the hostname, which is the same address I configured DNS to point to, I simply restarted the site and when I browsed on the service, this time the correct name of the website appeared on the metadata page.  Also notice that in the address bar, instead of the ip address appearing, the actual URL for the web site appears.</p>
<div id="attachment_132" class="wp-caption aligncenter" style="width: 659px"><img class="size-full wp-image-132" title="GoodMetadata" src="http://computermutt.wordpress.com/files/2009/05/goodmetadata1.png" alt="Good Metadata" width="649" height="396" /><p class="wp-caption-text">Good Metadata</p></div>
<p>Just as an FYI, in a related post, I am writing a series of articles on a practical WCF architecture. The first post is <a title="A Practical Architecture for WCF" href="http://computermutt.wordpress.com/2009/08/20/a-practical-architecture-for-wcf-part-1/">here</a>.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
