<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[DriverPacks.net Forum - Wait for network connection in batch file.]]></title>
		<link>http://forum.driverpacks.net/viewtopic.php?id=3749</link>
		<description><![CDATA[The most recent posts in Wait for network connection in batch file..]]></description>
		<lastBuildDate>Mon, 06 Jul 2009 00:41:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=32349#p32349</link>
			<description><![CDATA[<p>Ping will work as long as tcpip is installed... we are taking advantage of the fact that the target is not reachable until the network is live <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Mon, 06 Jul 2009 00:41:58 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=32349#p32349</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=31355#p31355</link>
			<description><![CDATA[<p>PING 127.0.0.1 works without an active network <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (7yler)]]></author>
			<pubDate>Thu, 14 May 2009 23:23:44 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=31355#p31355</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=31348#p31348</link>
			<description><![CDATA[<p>Thanks for the ideas guys, i will look into them when i get some time <img src="http://forum.driverpacks.net/img/smilies/tongue.png" width="15" height="15" alt="tongue" /><br />However i thought the ping thing didn&#039;t work because if there network isnt activated yet, pings don&#039;t get sent. <br />Instead of timeouts it says something like unknown command or something.</p>]]></description>
			<author><![CDATA[null@example.com (JustusIV)]]></author>
			<pubDate>Thu, 14 May 2009 13:30:14 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=31348#p31348</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=31346#p31346</link>
			<description><![CDATA[<p>Or you could use AutoIT like so...</p><div class="codebox"><pre><code>Local $t, $p
Do
   $p = Ping(&quot;pbmain1&quot;,&quot;3000&quot;) ; or IP address
   $t = $t + 1
Until $p &gt; 0 or $t = 10 ; So do this until it connects or wait 30 seconds of timeouts</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (stamandster)]]></author>
			<pubDate>Thu, 14 May 2009 11:40:47 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=31346#p31346</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=31325#p31325</link>
			<description><![CDATA[<p>ping -n 20 IPaddress</p><p>might work nicely... <br />use the built in timeout feature as a delay <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />you could even use a bigger number or longer timeout (-w 9999 is about ten seconds) </p><p>so&nbsp; &quot;start /wait ping -n 20 -w 9999 192.168.1.1&quot; would pause execution and wait up to 200 seconds for the connection to become live.</p><p>once the connection is live the replys will come quickly and the timeout will automaticaly end <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><p>Bashrat is not the only sneaky one <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /> <img src="http://forum.driverpacks.net/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Thu, 14 May 2009 03:38:32 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=31325#p31325</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=31314#p31314</link>
			<description><![CDATA[<p>That&#039;s what I&#039;d do. Sweet and simple <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (stamandster)]]></author>
			<pubDate>Wed, 13 May 2009 18:55:07 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=31314#p31314</guid>
		</item>
		<item>
			<title><![CDATA[Wait for network connection in batch file.]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=31313#p31313</link>
			<description><![CDATA[<p>Hello in my universal image i run things automatically after the image applys however i need the network for some things to work.<br />I currently just use a sleep command to wait about 60 seconds but i was wonder about a better way.</p>]]></description>
			<author><![CDATA[null@example.com (JustusIV)]]></author>
			<pubDate>Wed, 13 May 2009 18:50:59 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=31313#p31313</guid>
		</item>
	</channel>
</rss>
