<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://mail.knoppix.net/wiki3/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xa</id>
		<title>Knoppix Documentation Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xa"/>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Special:Contributions/Xa"/>
		<updated>2026-09-19T06:14:53Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://mail.knoppix.net/wiki/Install_Over_Net_HowTo</id>
		<title>Install Over Net HowTo</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Install_Over_Net_HowTo"/>
				<updated>2005-11-19T12:24:53Z</updated>
		
		<summary type="html">&lt;p&gt;Xa: /* Optimizing: &amp;quot;gunzip ~&amp;quot; didn't work for me, &amp;quot;gunzip -&amp;quot; did. See man-page. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Optimizing: ====&lt;br /&gt;
&lt;br /&gt;
I often do such things although the above also works.&lt;br /&gt;
The following is faster though:&lt;br /&gt;
&lt;br /&gt;
*First find out the IP of the targetcomputer:&lt;br /&gt;
**ifconfig -a&lt;br /&gt;
&lt;br /&gt;
*Then&lt;br /&gt;
**echo Data is being transferred | nc -v -v -l -p 5030 | gunzip -| buffer -m 1m &amp;gt; /dev/hda&lt;br /&gt;
&lt;br /&gt;
*While it's waiting, on the Server:&lt;br /&gt;
**buffer -m 1m &amp;lt; /dev/hda | gzip -2 | nc -v -v -w 10 192.168.0.17 5030&lt;br /&gt;
&lt;br /&gt;
(Where 192.168.0.17 is the IP of the targetcomputer.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This solution has the following pros compared to the one above:&lt;br /&gt;
&lt;br /&gt;
*More efficient due to using &amp;quot;buffer&amp;quot;. (You can experiment using gzip or nc or both).&lt;br /&gt;
*Normally &amp;quot;gzip -9 is used due to high compression.&lt;br /&gt;
*With &amp;quot;-w 10&amp;quot; on the server the data is constructed. It is not necessary to use xload: or similar for checking.  &lt;br /&gt;
&lt;br /&gt;
*With 3 targetcomputers 192.168.0.18 to 192.168.0.20, I would start by using the same commands on each targetcomputer, then do on the server:&lt;br /&gt;
**cd /tmp&lt;br /&gt;
**mknod pipe1 p; nc -v -v -w 10 192.168.0.18 5030 &amp;lt; pipe1 ~&amp;amp;&lt;br /&gt;
**mknod pipe2 p; nc -v -v -w 10 192.168.0.19 5030 &amp;lt; pipe2 ~&amp;amp;&lt;br /&gt;
**buffer -m 1m &amp;lt; /dev/hda | gzip -2 | buffer -m 1m ~|&lt;br /&gt;
**tee pipe1 | tee pipe2 | nc -v -v -w 10 192.168.0.20 5030&lt;br /&gt;
&lt;br /&gt;
The trick here is that by the &amp;quot;named pipes&amp;quot; the hard disk on the server is read only once.  This procedure also works with more than 3 target computers.==== Optimizing: ====&lt;br /&gt;
&lt;br /&gt;
I often do such things although the above also works.&lt;br /&gt;
The following is faster though:&lt;br /&gt;
&lt;br /&gt;
*First find out the IP of the targetcomputer:&lt;br /&gt;
**ifconfig -a&lt;br /&gt;
&lt;br /&gt;
*Then&lt;br /&gt;
**echo Data is being transferred | nc -v -v -l -p 5030 | gunzip ~| buffer -m 1m &amp;gt; /dev/hda&lt;br /&gt;
&lt;br /&gt;
*While it's waiting, on the Server:&lt;br /&gt;
**buffer -m 1m &amp;lt; /dev/hda | gzip -2 | nc -v -v -w 10 192.168.0.17 5030&lt;br /&gt;
&lt;br /&gt;
(Where 192.168.0.17 is the IP of the targetcomputer.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This solution has the following pros compared to the one above:&lt;br /&gt;
&lt;br /&gt;
*More efficient due to using &amp;quot;buffer&amp;quot;. (You can experiment using gzip or nc or both).&lt;br /&gt;
*Normally &amp;quot;gzip -9 is used due to high compression.&lt;br /&gt;
*With &amp;quot;-w 10&amp;quot; on the server the data is constructed. It is not necessary to use xload: or similar for checking.  &lt;br /&gt;
&lt;br /&gt;
*With 3 targetcomputers 192.168.0.18 to 192.168.0.20, I would start by using the same commands on each targetcomputer, then do on the server:&lt;br /&gt;
**cd /tmp&lt;br /&gt;
**mknod pipe1 p; nc -v -v -w 10 192.168.0.18 5030 &amp;lt; pipe1 ~&amp;amp;&lt;br /&gt;
**mknod pipe2 p; nc -v -v -w 10 192.168.0.19 5030 &amp;lt; pipe2 ~&amp;amp;&lt;br /&gt;
**buffer -m 1m &amp;lt; /dev/hda | gzip -2 | buffer -m 1m ~|&lt;br /&gt;
**tee pipe1 | tee pipe2 | nc -v -v -w 10 192.168.0.20 5030&lt;br /&gt;
&lt;br /&gt;
The trick here is that by the &amp;quot;named pipes&amp;quot; the hard disk on the server is read only once.  This procedure also works with more than 3 target computers.&lt;br /&gt;
&lt;br /&gt;
[[Category: Networking]]&lt;br /&gt;
[[Category: Hard drive Installation]]&lt;/div&gt;</summary>
		<author><name>Xa</name></author>	</entry>

	</feed>