<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technology, Computer, Network and Games Cheat &#187; Add new tag</title>
	<atom:link href="http://www.gamescheat.ca/tag/add-new-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamescheat.ca</link>
	<description>Day to day technical how to - by Andrew Lin</description>
	<lastBuildDate>Thu, 26 May 2011 18:48:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to change the host ID for Solaris 10 global/non-global zones and Solaris 8/9 containters.</title>
		<link>http://www.gamescheat.ca/2009/12/how-to-change-the-host-id-for-solaris-10-globalnon-global-zones-and-solaris-89-containters/</link>
		<comments>http://www.gamescheat.ca/2009/12/how-to-change-the-host-id-for-solaris-10-globalnon-global-zones-and-solaris-89-containters/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 13:00:27 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=572</guid>
		<description><![CDATA[In Solaris 10 you cannot change the host ID of the server without doing some major hardware replacement. I will explain a workaround hack to change the hostid for Solaris 10 later in this article. Some applications will not run if you install them on a different server other than the one it was licensed [...]]]></description>
			<content:encoded><![CDATA[<p>In Solaris 10 you cannot change the host ID of the server without doing some major hardware replacement.  I will explain a workaround hack to change the hostid for Solaris 10 later in this article.  Some applications will not run if you install them on a different server other than the one it was licensed for.  This is because the license is associated with the host ID, if it is different then the license check will fail and the application will not launch.</p>
<p>However you can specify a custom host ID for Solaris 8 or 9 containers (non-global zone) running in Solaris 10 global zone.  This can be done with using the zonecfg -z command.  The instructions for changing the hostid for Solaris 10 global and non-global zones is in the bottom half of this article.</p>
<blockquote><p>myserver # zonecfg -z myzone1<br />
zonecfg:myzone1> add attr<br />
zonecfg:myzone1:attr> set name=123456<br />
zonecfg:myzone1:attr> set type=string<br />
zonecfg:myzone1:attr> set value=&#8221;123456&#8243;<br />
zonecfg:myzone1:attr> end<br />
zonecfg:myzone1> exit</p></blockquote>
<p>Stop myzone1</p>
<blockquote><p>myserver # zonecfg -z myzone1 halt</p></blockquote>
<p>Start myzone1</p>
<blockquote><p>myserver # zonecfg -z myzone boot</p></blockquote>
<p>Check on the status of myzone1</p>
<blockquote><p>myserver # zonecfg list -vc</p></blockquote>
<p>Now logon to the console of myzone1 and check the hostid</p>
<blockquote><p>myserver @ zlogin -C myzone1</p></blockquote>
<p>After you enter the login ID and password, run the command hostid.</p>
<blockquote><p># hostid<br />
123456</p></blockquote>
<p><strong>Changing the hostid for Solaris 10 global and non-global zones.</strong><br />
Now you know how to change the host id for Solaris 8 and 9 containers.  Here is a great script written by Brendan Gregg that can be used to change the host ID for Solaris 10 global and non-global zones.  This script must run as a process in the background.  Killing this process will revert the host ID to the factory ID imbedded in the hardware.</p>
<p>Cut and paste the below script to a file called zhostid, make the file executable.  Change the following lines to refect the host IDs you want.<br />
global		12345678<br />
myzone1	        90abcdef </p>
<blockquote><p>#!/usr/bin/ksh<br />
#<br />
# zhostid &#8211; demo changing hostids for Solaris Zones.<br />
#           Written using DTrace (Solaris 10 3/05).<br />
#<br />
# WARNING: This is a demonstration of DTrace, it is not intended as a<br />
# standard daemon. In particular, hostids are used by Sun to track support<br />
# calls, so changing hostids may make life somewhat confusing for all.<br />
#<br />
# 21-Jun-2005, ver 0.70		(first release)<br />
#<br />
# USAGE:	zhostid &#038;<br />
#<br />
# Edit the &#8220;Configuration&#8221; section below to set the zones and<br />
# hostids to what is desirable.<br />
#<br />
# BASED ON: hostid.d by Iain Hayes, and idea by Jon Haslam.<br />
#<br />
# COPYRIGHT: Copyright (c) 2005 Brendan Gregg.<br />
#<br />
#  This program is free software; you can redistribute it and/or<br />
#  modify it under the terms of the GNU General Public License<br />
#  as published by the Free Software Foundation; either version 2<br />
#  of the License, or (at your option) any later version.<br />
#<br />
#  This program is distributed in the hope that it will be useful,<br />
#  but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
#  GNU General Public License for more details.<br />
#<br />
#  You should have received a copy of the GNU General Public License<br />
#  along with this program; if not, write to the Free Software Foundation,<br />
#  Inc., 59 Temple Place &#8211; Suite 330, Boston, MA  02111-1307, USA.<br />
#<br />
#  (http://www.gnu.org/copyleft/gpl.html)<br />
#<br />
# 21-Jun-2005	Brendan Gregg	Created this.</p>
<p>#<br />
#  Configuration<br />
#<br />
hostids=&#8217;<br />
		global		12345678<br />
		myzone1  	90abcdef</p>
<p>&#8216; # simply modify the above by adding extra lines for each zone.</p>
<p>#<br />
#  Check hostids<br />
#<br />
print &#8220;$hostids&#8221; | while read zone hostid_hex; do<br />
	### Sanity check hostid<br />
	if [[ "$zone" == "" || "$zone" == "#" ]]; then continue; fi<br />
	if [[ "$hostid_hex" == *[g-zG-Z]* ]]; then<br />
		print &#8220;ERROR2: Invalid hostid $hostid_hex. &#8221;<br />
		print &#8220;Please use hexadecimal.\n&#8221;<br />
		exit 2<br />
	fi<br />
	if (( ${#hostid_hex} > 11 )); then<br />
		# see /usr/src/uts/common/conf/param.c for limit.<br />
		print &#8220;ERROR3: Length of hostid $hostid_hex too long. &#8221;<br />
		print &#8220;Limit 11 chars.\n&#8221;<br />
		exit 3<br />
	fi</p>
<p>	### Convert hostid to decimal<br />
	typeset -i10 hostid_dec<br />
	hostid_dec=16#$hostid_hex</p>
<p>	### Build DTrace code<br />
	body=&#8221;$body<br />
		syscall::systeminfo:return<br />
		/zonename == \&#8221;$zone\&#8221; &#038;&#038; self->command == 7/<br />
		{<br />
			copyoutstr(\&#8221;$hostid_dec\&#8221;, self->buffer, 11);<br />
		}&#8221;<br />
done</p>
<p>#<br />
#  Run DTrace<br />
#<br />
exec /usr/sbin/dtrace -n &#8216;</p>
<p> #pragma D option destructive<br />
 #pragma D option quiet<br />
 #pragma D option bufsize=32k</p>
<p> inline string hostid = &#8220;&#8216;$hostid_dec&#8217;&#8221;;</p>
<p> syscall::systeminfo:entry<br />
 {<br />
	self->command = arg0;<br />
	self->buffer = arg1;<br />
 }</p>
<p> &#8216;&#8221;$body&#8221;&#8216;</p>
<p> syscall::systeminfo:return<br />
 {<br />
	self->command = 0;<br />
	self->buffer = 0;<br />
 }<br />
&#8216; </p></blockquote>
<p>Now run the zhostid file in the background as a process. The &#038; option means to run in the background and it will give you back the prompt.  This file must be run from the global zone.</p>
<blockquote><p>myserver # ./zhostid &#038;</p></blockquote>
<p>Check the host ID with the hostid command.</p>
<blockquote><p>myserver # hostid<br />
12345678</p></blockquote>
<p>Logon the the console of myzone1</p>
<blockquote><p># zlogin myzone1<br />
[Connected to zone 'myzone1' pts/10]<br />
Last login: Tue Jun 21 03:51:10 on pts/10<br />
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005</p>
<p>myzone1 # hostid<br />
90abcdef</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/12/how-to-change-the-host-id-for-solaris-10-globalnon-global-zones-and-solaris-89-containters/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to install and initialize telnet on Red Hat Enterprise Linux or Fedora Core Linux.</title>
		<link>http://www.gamescheat.ca/2009/05/how-to-install-and-initialize-telnet-on-redhat-enterprise-linux-or-fedora-core-linux/</link>
		<comments>http://www.gamescheat.ca/2009/05/how-to-install-and-initialize-telnet-on-redhat-enterprise-linux-or-fedora-core-linux/#comments</comments>
		<pubDate>Thu, 28 May 2009 18:40:51 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=384</guid>
		<description><![CDATA[Telnet is a very old communication protocol, it is not secure because the password authentication is transmitted in clear text. SSH is a secure protocol and is the replacement for telnet. Red Hat recommends that you use SSH to connect to the server, which is why Telnet is disabled by default. This is why the [...]]]></description>
			<content:encoded><![CDATA[<p>Telnet is a very old communication protocol, it is not secure because the password authentication is transmitted in </p>
<p>clear text.  SSH is a secure protocol and is the replacement for telnet.  Red Hat recommends that you use SSH to </p>
<p>connect to the server, which is why Telnet is disabled by default. This is why the administrator account root is </p>
<p>not allowed to connect using Telnet by default.  However you can also allow the root account to connect via telnet </p>
<p>by editing a file, it is recommended that you use su to logon as root.</p>
<p>Check to see if the correct telnet-server and telnet RPMs installed:</p>
<p># rpm -qa | grep telnet<br />
telnet-server-0.17-39.el5<br />
telnet-0.17-39.el5</p>
<p>If the telnet-server or telnet packages is not installed, then it can be installed with the RPMs available on the </p>
<p>installation media or use the up2date utility along with your RHN subscription to download and install the </p>
<p>package(s). For example:</p>
<p># up2date telnet-server telnet  </p>
<p>You can also download the telnet rpm from website other than redhat and then use the command rpm -i </p>
<p>telnet-0.17-017-39.el5.rpm to install.</p>
<p>Once you have the telnet package is installed, edit the /etc/xinetd.d/telnet file and change the disable = yes to </p>
<p>read disable = no. See the example below.</p>
<p>{<br />
flags = REUSE<br />
socket_type = stream</p>
<p>wait = no<br />
user = root<br />
server = /usr/sbin/in.telnetd<br />
log_on_failure += USERID<br />
disable = no<br />
}  </p>
<p>Turn the Telnet server on using the chkconfig command and then make the service available for immediate use with </p>
<p>the service command. You will need to restart the xinetd service.  If xinetd is not already started then the </p>
<p>restart command will start it.</p>
<p># chkconfig telnet on<br />
# chkconfig xinetd on<br />
# chkconfig &#8211;list telnet<br />
telnet on<br />
# service xinetd restart<br />
Stopping xinetd: [ OK ]<br />
Starting xinetd: [ OK ]  </p>
<p>The chkconfig command will make the Telnet server available to start the next time the system is rebooted, it will </p>
<p>also start the xinetd service.  Telnet is part of the xinetd service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/05/how-to-install-and-initialize-telnet-on-redhat-enterprise-linux-or-fedora-core-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove the Windows Genuine Advantage Notification.</title>
		<link>http://www.gamescheat.ca/2009/05/how-to-remove-the-windows-genuine-advantage-notification/</link>
		<comments>http://www.gamescheat.ca/2009/05/how-to-remove-the-windows-genuine-advantage-notification/#comments</comments>
		<pubDate>Sun, 24 May 2009 01:02:53 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=367</guid>
		<description><![CDATA[I ran the windows update on my XP computer, it downloaded and installed KB905474. This instaled the Windows Genuine Advantage Notification on my Windows XP computer. Now eveyrtime after I reboot my computer the warning message keeps popping up in my screen asking me to check my license registration on line. I know I have [...]]]></description>
			<content:encoded><![CDATA[<p>I ran the windows update on my XP computer, it downloaded and installed KB905474.  This instaled the Windows Genuine Advantage Notification on my Windows XP computer.</p>
<p>Now eveyrtime after I reboot my computer the warning message keeps popping up in my screen asking me to check my license registration on line.  I know I have a valid license for XP but this was really anoying.</p>
<p>I will list the steps to disable the windows genuine advantage notificaton.  First reboot your computer into safe mode, to do that hold down the F8 key while booting up Windows XP.</p>
<p>Make sure to logon with an account that has local administrator privilege.  Open the registry editor with regedit.exe.  Search for waglogon folder and delete it.</p>
<p>Now search for wga* files in your windows directory and delete them.  You are done, reboot and enjoy your computer without the pesky pop up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/05/how-to-remove-the-windows-genuine-advantage-notification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auditing Exchange Mailbox size, logon and logoff.</title>
		<link>http://www.gamescheat.ca/2009/05/auditing-exchange-mailbox-size-logon-and-logoff/</link>
		<comments>http://www.gamescheat.ca/2009/05/auditing-exchange-mailbox-size-logon-and-logoff/#comments</comments>
		<pubDate>Tue, 05 May 2009 14:40:48 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Microsoft Exchange]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=244</guid>
		<description><![CDATA[The Exchange Systems Manager can be used to quickly determine basic auditing information for all mailboxes configured on the server. Open Exchange System Manager Go to Administrative Groups &#8211; First Administrative Group &#8211; Servers &#8211; Server_Name &#8211; First Storage Group &#8211; Mailbox Store &#8211; Mailboxes. This will display all the mailboxes, you can determine the [...]]]></description>
			<content:encoded><![CDATA[<p>The Exchange Systems Manager can be used to quickly determine basic auditing information for all mailboxes configured on the server.</p>
<p>Open Exchange System Manager</p>
<p>Go to Administrative Groups &#8211; First Administrative Group &#8211; Servers &#8211; Server_Name &#8211; First Storage Group &#8211; Mailbox Store &#8211; Mailboxes.</p>
<p>This will display all the mailboxes, you can determine the current size of each mailboxes. This screen also provides a quick way to determine basic security auditing information such as, last logon by, logon time and logoff time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/05/auditing-exchange-mailbox-size-logon-and-logoff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring NAT on the Cisco PIX or ASA firewalls.</title>
		<link>http://www.gamescheat.ca/2009/04/configuring-nat-on-the-cisco-pix-or-asa-firewalls/</link>
		<comments>http://www.gamescheat.ca/2009/04/configuring-nat-on-the-cisco-pix-or-asa-firewalls/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 15:28:33 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[ASA]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[PIX]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=202</guid>
		<description><![CDATA[If you do not want to expose your server&#8217;s IP address to an external client you can use Network Address Tranalation (NAT) to hide it. For example if your servers IP address is 192.168.0.10 then you can publish it to an external client as 10.0.0.10. The reason you would do this is to enhance the [...]]]></description>
			<content:encoded><![CDATA[<p>If you do not want to expose your server&#8217;s IP address to an external client you can use Network Address Tranalation (NAT) to hide it.  For example if your servers IP address is 192.168.0.10 then you can publish it to an external client as 10.0.0.10.  The reason you would do this is to enhance the security of your server, you want to make the hacker earn their self pride or whatever it is that motivates them.</p>
<p>There are many ways to achieve this, NAT, VIP, MIP etc.  In this article I will explain NAT (natting) on a Cisco PIX, ASA or router.</p>
<p>First you need to log onto the firewall or router.  Enter en (enable) to get into the privilege mode, you will then be prompted for the password.  Enter Config T to get into the configure terminal mode.  You can now start confguring the network appliance.</p>
<p>Below is what your should see in the running config after you complete the configuration.</p>
<p><strong>static (inside,outside) 172.210.10.10 11.12.13.10 netmask 255.255.255.255 0 0 </strong></p>
<p>The above line means that the IP address 172.210.10.10 (outside interface) is mapped to 11.12.13.10 (inside interface).  Clients in the outside interface will connect to resources on 11.12.13.10 by referencing the natted (NAT) IP 172.210.10.10.</p>
<p>You also need to configure the access list or policy to allow traffic from the outside interface to flow into the inside interface.  The access list then needs to be applied to the outside intefrace.</p>
<p><strong>access-list Allowed_Traffic permit tcp host any host 172.210.10.10 eq www log</strong></p>
<p>The above means that the name of the access list is Allowed_Traffic.  Permit TCP traffic from any host to 172.210.10.10, only allow if service request is for www (TCP port 80), and log all traffic.</p>
<p>You then need to apply the access list to the outside interface.</p>
<p><strong>access-group Allowed_Traffic in interface outside</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/04/configuring-nat-on-the-cisco-pix-or-asa-firewalls/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

