<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-466789223146506521</id><updated>2024-10-07T01:20:22.542-04:00</updated><category term="windows"/><category term="linux"/><category term="kickstart"/><category term="network"/><category term="command line"/><category term="esxi"/><category term="install"/><category term="cisco ios"/><category term="console"/><category term="dd"/><category term="vmware"/><category term="vsphere"/><category term="Dell"/><category term="boot.cfg"/><category term="copy"/><category term="error"/><category term="esx"/><category term="isolinux.cfg"/><category term="kernel"/><category term="mapping"/><category term="ordering"/><category term="patch"/><category term="performance"/><category term="processes"/><category term="pxe"/><category term="redhat"/><category term="terminal"/><category term="ubuntu"/><category term="windows 7"/><category term="443"/><category term="5"/><category term="5.1u1"/><category term="9.3.3"/><category term="902"/><category term="903"/><category term="DCCU"/><category term="DHCP"/><category term="ESXi5"/><category term="GRUB"/><category term="ISO Image"/><category term="LAN"/><category term="MTU"/><category term="PDU"/><category term="Upgrade Script"/><category term="acrobat"/><category term="acrobat reader"/><category term="aip"/><category term="anaconda"/><category term="asa"/><category term="asset tag"/><category term="asseta00.exe"/><category term="bandwidth"/><category term="bash"/><category term="bashrc"/><category term="bcdedit"/><category term="bootloader"/><category term="bsd"/><category term="buffered IO"/><category term="bundle"/><category term="byte"/><category term="cacti"/><category term="cat"/><category term="centos"/><category term="change"/><category term="characters"/><category term="cisco"/><category term="clean"/><category term="color"/><category term="colour"/><category term="combine"/><category term="command"/><category term="connected"/><category term="conserver"/><category term="control"/><category term="converting"/><category term="cpu temp"/><category term="cpufreq-info"/><category term="credentials"/><category term="critical"/><category term="custom"/><category term="cygwin"/><category term="d-link"/><category term="datacenter"/><category term="dataceter"/><category term="debian"/><category term="default"/><category term="deploy"/><category term="df"/><category term="dhclient.conf"/><category term="disconnect"/><category term="disconnecting"/><category term="disk"/><category term="dns"/><category term="do not fragment"/><category term="drive"/><category term="dvr-ms"/><category term="enterprise"/><category term="esxcli"/><category term="esxupdate"/><category term="ffmpeg"/><category term="file"/><category term="file transfere"/><category term="files"/><category term="fix"/><category term="folder"/><category term="fork"/><category term="fragment"/><category term="frames"/><category term="freebsd"/><category term="frequency"/><category term="gateway"/><category term="governer"/><category term="grub-legacy"/><category term="grub.d"/><category term="grub2"/><category term="gzip"/><category term="hanbrake-cli"/><category term="handbrake"/><category term="hard drive"/><category term="harden"/><category term="host"/><category term="host update"/><category term="ike"/><category term="inner packet gap"/><category term="interface"/><category term="ipg"/><category term="ipsec"/><category term="isakamp"/><category term="isolinux.bin"/><category term="kexec"/><category term="killed"/><category term="killer"/><category term="less"/><category term="limit"/><category term="list-harddrives"/><category term="lm-sensor"/><category term="local"/><category term="local security policies"/><category term="logs"/><category term="ls"/><category term="map"/><category term="maximum"/><category term="maximum transmission unit"/><category term="mce"/><category term="media center"/><category term="memory"/><category term="menu"/><category term="metric"/><category term="mib"/><category term="mirror"/><category term="mismatch"/><category term="mkisofs"/><category term="mkisofs.exe"/><category term="msi"/><category term="multiple locations"/><category term="netcat"/><category term="network install point"/><category term="networking"/><category term="numbering"/><category term="oid"/><category term="ondemand"/><category term="oom"/><category term="order"/><category term="out of memory"/><category term="output"/><category term="packets"/><category term="pid"/><category term="playback"/><category term="port"/><category term="port uri"/><category term="port-id"/><category term="poweredge"/><category term="pre"/><category term="pre-shared keys"/><category term="preseed"/><category term="print"/><category term="priority"/><category term="privilages"/><category term="protocol date unit"/><category term="ps"/><category term="putty"/><category term="pxelinux"/><category term="random"/><category term="regedit"/><category term="register"/><category term="rename"/><category term="repo"/><category term="repository"/><category term="rhel"/><category term="robocopy"/><category term="route"/><category term="routers"/><category term="routing"/><category term="runas"/><category term="script"/><category term="sda"/><category term="secuirty"/><category term="security"/><category term="sensors"/><category term="sequential io"/><category term="serial port"/><category term="server"/><category term="service tag"/><category term="shell"/><category term="slow"/><category term="snmp"/><category term="source"/><category term="split"/><category term="ssh"/><category term="standard"/><category term="static ip"/><category term="statistics"/><category term="sync"/><category term="synology"/><category term="tar"/><category term="telnet"/><category term="tem"/><category term="teracopy"/><category term="throttle"/><category term="trancoding"/><category term="tty"/><category term="tunneling"/><category term="ubuntu server"/><category term="unix"/><category term="update"/><category term="usage"/><category term="usbshare"/><category term="usbshare1"/><category term="use network"/><category term="utility"/><category term="vlc"/><category term="vpn"/><category term="vpshere5"/><category term="vsphere client"/><category term="wc"/><category term="windows media center"/><category term="windows7"/><category term="wrong"/><category term="wtv"/><title type='text'>Nerdy Notes</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-5090073824493998369</id><published>2022-05-28T07:49:00.003-04:00</published><updated>2022-05-28T07:49:44.543-04:00</updated><title type='text'>Manga Reading Sites - Digital and Physical</title><content type='html'>&lt;h1&gt;Subscriptions&lt;/h1&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.viz.com/apps&quot;&gt; Viz Media Apps&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.crunchyroll.com/comics/manga&quot;&gt;Crunchyroll Manga&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;Physical&lt;/h1&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.chapters.indigo.ca/en-ca/&quot;&gt; Indigo &lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.ca&quot;&gt; Amazon &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;Digital&lt;/h1&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.kobo.com&quot;&gt;Kobo&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://global.bookwalker.jp&quot;&gt;Book Walker&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.amazon.com/b?node=17495918011&quot;&gt;Kindle&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://mangaplus.shueisha.co.jp/&quot;&gt;Manga PLUS&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.humblebundle.com/books&quot;&gt;Hunble Bundle&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/5090073824493998369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2022/05/manga-reading-sites-digital-and-physical.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5090073824493998369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5090073824493998369'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2022/05/manga-reading-sites-digital-and-physical.html' title='Manga Reading Sites - Digital and Physical'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-8878023683791103623</id><published>2021-09-25T13:39:00.014-04:00</published><updated>2021-11-25T14:59:28.826-05:00</updated><title type='text'>Media Tracking and Recommendation Services</title><content type='html'>&lt;b&gt;Anime&lt;/b&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://myanimelist.net&quot;&gt;https://myanimelist.net&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://anilist.co/&quot;&gt;https://anilist.co/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://anime.plus/&quot;&gt;https://anime.plus/ - Anime Genre Stats&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;b&gt;Movies&lt;/b&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.imdb.com&quot;&gt;https://www.imdb.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
  
&lt;b&gt;TV Shows&lt;/b&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.tvtime.com&quot;&gt;https://www.tvtime.com&lt;/a&gt;&lt;/li&gt;
  
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/8878023683791103623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2021/09/tv-movie-and-anime-tracking-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8878023683791103623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8878023683791103623'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2021/09/tv-movie-and-anime-tracking-and.html' title='Media Tracking and Recommendation Services'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-2059627592139959588</id><published>2021-09-25T13:39:00.011-04:00</published><updated>2021-09-25T13:45:01.508-04:00</updated><title type='text'>Media Streaming Service Locators</title><content type='html'>&lt;b&gt;Anime&lt;/b&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.livechart.me/&quot;&gt;https://www.livechart.me/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://anilist.co/&quot;&gt;https://anilist.co/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://because.moe/ca&quot;&gt;https://because.moe/ca&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;b&gt;TV and Movies&lt;/b&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.justwatch.com/ca&quot;&gt;https://www.justwatch.com/ca&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/2059627592139959588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2021/09/tv-movie-and-anime-streaming-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/2059627592139959588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/2059627592139959588'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2021/09/tv-movie-and-anime-streaming-service.html' title='Media Streaming Service Locators'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-2995414296842144069</id><published>2020-09-27T16:30:00.001-04:00</published><updated>2021-08-27T05:43:13.379-04:00</updated><title type='text'>Windows 10 Hardware Temperature Monitoring Tools</title><content type='html'>Tool to monitor temperature of hardware components in Windows 10

&lt;p&gt;
&lt;a href=&quot;https://openhardwaremonitor.org/downloads/&quot;&gt;Open Hardware Monitor&lt;/a&gt; - portable open source version of hwmonitor
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;https://www.alcpu.com/CoreTemp/&quot;&gt;Core Temp&lt;/a&gt; - more CPU measurement features
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.hwinfo.com/&quot;&gt;hwinfo &lt;/a&gt;- similar to Open Hardware Monitor and has thermal throttling detection&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/2995414296842144069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2020/09/windows-10-hardware-temperature.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/2995414296842144069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/2995414296842144069'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2020/09/windows-10-hardware-temperature.html' title='Windows 10 Hardware Temperature Monitoring Tools'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-8857754325013047014</id><published>2020-09-23T10:20:00.002-04:00</published><updated>2022-01-14T08:09:30.680-05:00</updated><title type='text'>Terminal Ping Sweep and Port Scan</title><content type='html'>&lt;b&gt;Result:&lt;/b&gt; List of IP addresses that respond to ping on the specified prefix. Scan common ports on devices that respond to ping.
&lt;ol&gt;
  &lt;li&gt;Modify the prefix variable as necessary, and paste into terminal&lt;/li&gt;
  &lt;pre&gt;prefix=&quot;192.168.0.&quot;&lt;/pre&gt;
  &lt;li&gt;Copy and Paste the rest of the following script into the terminal application&lt;/li&gt;
&lt;pre&gt;
for i in {1..100}
do
        ping -c1 -W1 -i0.2 $prefix$i &gt; /dev/null
        if [ $? -eq 0 ]
        then
                echo $prefix$i
                nc -w 1 -vz $prefix$i 1-1056 2&gt;&amp;1 | grep succeeded
        fi
done
&lt;/pre&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/8857754325013047014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2020/09/terminal-ping-sweep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8857754325013047014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8857754325013047014'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2020/09/terminal-ping-sweep.html' title='Terminal Ping Sweep and Port Scan'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-1330173985517696316</id><published>2020-08-15T10:52:00.001-04:00</published><updated>2020-08-15T10:52:17.900-04:00</updated><title type='text'>Windows cmd ping sweep</title><content type='html'>Instead of installing a third party application which has the possibility to have spyware or other bad stuff in it. If you only need to do a ping sweep with no additional features it&#39;s probably easier just to do it in CMD.
&lt;ol&gt;
  &lt;li&gt;Open up cmd&lt;/li&gt;
  &lt;li&gt;Run the following&lt;/li&gt;
  &lt;code&gt;for /L %z in (1,1,254) do @ping 10.0.0.%z -w 10 -n 1 | find &quot;Reply&quot;&lt;/code&gt;
&lt;/ol&gt;
&lt;p&gt;Where:
&lt;ul&gt;
  &lt;li&gt;(1,1,254) indicates to test every address from 1-254&lt;/li&gt;
  &lt;li&gt;10.0.0. is the network address prefix of addresses you want to test&lt;/li&gt;
  &lt;li&gt;%z is filled in with numbers from (1,1,254)&lt;/li&gt;
  &lt;li&gt;-w 10 - only waits 10ms before moving on &lt;/li&gt;
  &lt;li&gt;-n 1 - only tries once before moving on&lt;/li&gt;
  &lt;li&gt;find &quot;Reply&quot; looks for a succesful ping result and ignores unsuccessful&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/1330173985517696316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2020/08/windows-cmd-ping-sweep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1330173985517696316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1330173985517696316'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2020/08/windows-cmd-ping-sweep.html' title='Windows cmd ping sweep'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-3495264953870691268</id><published>2015-12-07T13:35:00.000-05:00</published><updated>2015-12-07T13:35:02.075-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="characters"/><category scheme="http://www.blogger.com/atom/ns#" term="clean"/><category scheme="http://www.blogger.com/atom/ns#" term="color"/><category scheme="http://www.blogger.com/atom/ns#" term="colour"/><category scheme="http://www.blogger.com/atom/ns#" term="conserver"/><category scheme="http://www.blogger.com/atom/ns#" term="console"/><category scheme="http://www.blogger.com/atom/ns#" term="control"/><category scheme="http://www.blogger.com/atom/ns#" term="less"/><category scheme="http://www.blogger.com/atom/ns#" term="logs"/><title type='text'>Clean Console Log Output</title><content type='html'>To remove colour codes and redraw characters from console to make console logs more readable.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
#!/usr/bin/env perl&lt;br /&gt;
while (&amp;lt;&amp;gt;) {&lt;br /&gt;
    s/ \e[ #%()*+\-.\/]. |&lt;br /&gt;
       (?:\e\[|\x9b) [ -?]* [@-~] | # CSI ... Cmd&lt;br /&gt;
       (?:\e\]|\x9d) .*? (?:\e\\|[\a\x9c]) | # OSC ... (ST|BEL)&lt;br /&gt;
       (?:\e[P^_]|[\x90\x9e\x9f]) .*? (?:\e\\|\x9c) | # (DCS|PM|APC) ... ST&lt;br /&gt;
       \e.|[\x80-\x9f] //xg;&lt;br /&gt;
    print;&lt;br /&gt;
}&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
less /path/to/console.log | cleanLog | less&lt;br /&gt;
&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/3495264953870691268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/12/clean-console-log-output.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3495264953870691268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3495264953870691268'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/12/clean-console-log-output.html' title='Clean Console Log Output'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-7291480603632383656</id><published>2015-07-21T19:30:00.000-04:00</published><updated>2015-07-21T19:31:19.404-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth"/><category scheme="http://www.blogger.com/atom/ns#" term="inner packet gap"/><category scheme="http://www.blogger.com/atom/ns#" term="ipg"/><category scheme="http://www.blogger.com/atom/ns#" term="limit"/><category scheme="http://www.blogger.com/atom/ns#" term="robocopy"/><category scheme="http://www.blogger.com/atom/ns#" term="throttle"/><title type='text'>Limiting Bandwidth Using Robocopy</title><content type='html'>Robocopy does not have any built in bandwidth limiter by rate specifically.&lt;br /&gt;
&lt;br /&gt;
But what you can do is use the inner packet gap switch &lt;code&gt;/ipg:n&lt;/code&gt; to simulate a lower bandwidth by adding more delay between packets.&lt;br /&gt;
&lt;br /&gt;
The equation to use to calculate is as follows:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0Cg9D-F2W_4Wq0YP8nKDD6spdPRbjURaB9ROZKot8fIoutvUl8uPdWa1qSx9O1P3GpOUAgdE4qsSMCMseypdDFMEQqSf0ySrHKKSc-IKOcF_7_qKi-bAEEmhKmQcvP3BbtTl7m3oGWk/s1600/de247ebf23274686806c90b3b0149f6c.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0Cg9D-F2W_4Wq0YP8nKDD6spdPRbjURaB9ROZKot8fIoutvUl8uPdWa1qSx9O1P3GpOUAgdE4qsSMCMseypdDFMEQqSf0ySrHKKSc-IKOcF_7_qKi-bAEEmhKmQcvP3BbtTl7m3oGWk/s320/de247ebf23274686806c90b3b0149f6c.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Where &lt;br /&gt;
D is the calculated latency or inner packet gap&lt;br /&gt;
Bd is the desired bandwidth you would like to transfer at&lt;br /&gt;
Ba is the available bandwidth to you&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
If my&lt;br /&gt;
Bd is 200kbps&lt;br /&gt;
Ba is 1000kbps&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
D=((1000-200)/(1000*200))*512*1000=2048&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Therefore my /ipg:n will be /ipg:2048&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&lt;a href=&quot;https://yellowtriangle.wordpress.com/2012/06/28/bandwidth-throttling-with-robocopy/&quot;&gt;h&lt;/a&gt;&lt;a href=&quot;ttps://yellowtriangle.wordpress.com/2012/06/28/bandwidth-throttling-with-robocopy/&quot;&gt;ttps://yellowtriangle.wordpress.com/2012/06/28/bandwidth-throttling-with-robocopy/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.zeda.nl/index.php/en/copy-files-on-slow-links&quot;&gt;http://www.zeda.nl/index.php/en/copy-files-on-slow-links&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://technet.microsoft.com/en-us/library/cc733145.aspx&quot;&gt;https://technet.microsoft.com/en-us/library/cc733145.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/7291480603632383656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/07/limiting-bandwidth-using-robocopy.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/7291480603632383656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/7291480603632383656'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/07/limiting-bandwidth-using-robocopy.html' title='Limiting Bandwidth Using Robocopy'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0Cg9D-F2W_4Wq0YP8nKDD6spdPRbjURaB9ROZKot8fIoutvUl8uPdWa1qSx9O1P3GpOUAgdE4qsSMCMseypdDFMEQqSf0ySrHKKSc-IKOcF_7_qKi-bAEEmhKmQcvP3BbtTl7m3oGWk/s72-c/de247ebf23274686806c90b3b0149f6c.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-1038115457804814080</id><published>2015-07-11T06:06:00.000-04:00</published><updated>2015-07-11T06:06:12.263-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="bashrc"/><category scheme="http://www.blogger.com/atom/ns#" term="fork"/><category scheme="http://www.blogger.com/atom/ns#" term="pid"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="source"/><title type='text'>Sourcing Files in Bash</title><content type='html'>I never quite understood why when you changed .bashrc you had to type the source command in order to make changes active.&lt;br /&gt;
&lt;br /&gt;
Now I understand and it&#39;s fairly straight forward.&lt;br /&gt;
&lt;br /&gt;
Your current bash environment is defined by a PID that can be found using&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
echo $$&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Any newly spawned bash processes for scripts will fork off of that process and be given a new process ID.&lt;br /&gt;
&lt;br /&gt;
All variables for that newly spawned process will be local to that newly forked process.&lt;br /&gt;
&lt;br /&gt;
If you would like the variables that would typically be local to your forked script to be active in your current shell you can use the &lt;code&gt;source&lt;/code&gt; command in order to make them local to your current shell.&lt;br /&gt;
&lt;br /&gt;
This acts in the same way when you would like to make variables in the .bashrc script local to your current shell. When the computer boots it runs .bashrc and puts variables in your current shell. If you would like to make any variable changes to re-read into your current shell. Similarly to how you would make variables to a remote script available to your local shell by using the source command you can do the same for .bashrc&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
source script.sh&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
The above will make all variables in script.sh available to your local shell at &lt;code&gt;echo $$&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
source .bashrc&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
The above will make all variables in script .bashrc available to your local shell at &lt;code&gt;echo $$&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/1038115457804814080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/07/sourcing-files-in-bash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1038115457804814080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1038115457804814080'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/07/sourcing-files-in-bash.html' title='Sourcing Files in Bash'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-5491759237857635668</id><published>2015-04-29T08:06:00.000-04:00</published><updated>2015-04-29T08:41:48.664-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="local"/><category scheme="http://www.blogger.com/atom/ns#" term="mirror"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="register"/><category scheme="http://www.blogger.com/atom/ns#" term="repo"/><category scheme="http://www.blogger.com/atom/ns#" term="repository"/><category scheme="http://www.blogger.com/atom/ns#" term="sync"/><title type='text'>Create Redhat Syncronized Repo with Reposync</title><content type='html'>&lt;h1&gt;Prerequisites&lt;/h1&gt;&lt;ul&gt;&lt;li&gt;Server registered with the appropriate version of RedHat&lt;/li&gt;
&lt;li&gt;HTTP/FTP server to host repo files&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;h1&gt;Instructions&lt;/h1&gt;Install required components for managing yum repositories and createrepo utility for building new repo indexes.&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
yum install yum-utils createrepo&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Register with RedHat to gain access to their repos&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
rhn_register&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
OR&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
subscription-manager register --username $username  --password $password --auto-attach&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Repos will be populated automatically upon registration and you can then list them using:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
subscription-manager repos --list&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Download the repos to a path of your chosing&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
reposync --gpgcheck -l --repoid=$repoid --download_path=$path&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Create the repo against the directory where your rpm packages exist&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
cd $path&lt;br /&gt;
createrepo $path&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Enable the local repo&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
vi /etc/yum.repos.d/rhel.repo&lt;br /&gt;
&lt;br /&gt;
[rhel-repo]&lt;br /&gt;
name=Red Hat Enterprise Linux 7 - x86_64&lt;br /&gt;
baseurl=http://$server/$path&lt;br /&gt;
enabled=1&lt;br /&gt;
gpgcheck=0&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Ensure the repo works, this will likely build the index at the same time. I&#39;ve seen elsewhere where cache is refreshed using yum makecache but I haven&#39;t run into a scenario where I have to do that yet.&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
yum repolist&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/solutions/23016&quot;&gt;https://access.redhat.com/solutions/23016&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://kb.kristianreese.com/?View=entry&amp;amp;EntryID=77&quot;&gt;http://kb.kristianreese.com/?View=entry&amp;amp;EntryID=77&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/5491759237857635668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/04/create-redhat-syncronized-repo-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5491759237857635668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5491759237857635668'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/04/create-redhat-syncronized-repo-with.html' title='Create Redhat Syncronized Repo with Reposync'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-6818637974125466205</id><published>2015-02-17T09:45:00.001-05:00</published><updated>2015-02-17T11:33:23.150-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dell"/><category scheme="http://www.blogger.com/atom/ns#" term="drive"/><category scheme="http://www.blogger.com/atom/ns#" term="kickstart"/><category scheme="http://www.blogger.com/atom/ns#" term="list-harddrives"/><category scheme="http://www.blogger.com/atom/ns#" term="mapping"/><category scheme="http://www.blogger.com/atom/ns#" term="ordering"/><category scheme="http://www.blogger.com/atom/ns#" term="pre"/><category scheme="http://www.blogger.com/atom/ns#" term="sda"/><title type='text'>Kickstart Drive Mapping</title><content type='html'>&lt;h2&gt;
Ordering of Storage Devices Messing up install&lt;/h2&gt;
A problem that occurs commonly in kickstart is that kickstart will detect storage devices in a different order that which you intend the OS to install in.&lt;br /&gt;
&lt;br /&gt;
This most commonly happens with Dell devices and virtual disks.&lt;br /&gt;
&lt;br /&gt;
The Dell device will name its first virtual device /dev/sda which will cause installation problems when you try to specify that you want your kickstart installation to install on /dev/sda which is likely going to be one of Dell&#39;s virtual media devices.&lt;br /&gt;
&lt;br /&gt;
A way to get around this is to create a kickstart script that looks at some criteria of physical devices first and then determines which drive to install to.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Finding Drive Mapping&lt;/h2&gt;
&lt;a href=&quot;http://www.redhat.com/archives/kickstart-list/2012-October/msg00014.html&quot;&gt;http://www.redhat.com/archives/kickstart-list/2012-October/msg00014.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/solutions/273843&quot;&gt;https://access.redhat.com/solutions/273843&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/solutions/188463&quot;&gt;https://access.redhat.com/solutions/188463&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/solutions/58467&quot;&gt;https://access.redhat.com/solutions/58467&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/solutions/58561&quot;&gt;https://access.redhat.com/solutions/58561&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Interactive Pre-Install to Test&lt;/h2&gt;
&lt;a href=&quot;https://stuffivelearned.org/doku.php?id=os:linux:centos:kspostscript&quot;&gt;https://stuffivelearned.org/doku.php?id=os:linux:centos:kspostscript&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://hintshop.ludvig.co.nz/show/interactive-pre-post-install-scripts-redhat-kickstart/&quot;&gt;http://hintshop.ludvig.co.nz/show/interactive-pre-post-install-scripts-redhat-kickstart/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Example of My Partitioning Script&lt;/h2&gt;
&lt;code&gt;&lt;br /&gt;
# Couldnt figure out how to make piping with while loop output work properly&lt;br /&gt;
# So I wrote to a temp file which seems to be the most compatible method of&lt;br /&gt;
# Performing while loop redirection in multiple shells&lt;br /&gt;
list-harddrives &amp;gt; /tmp/list-harddrives&lt;br /&gt;
&lt;br /&gt;
# Loop to filter through attached HDDs and their sizes in MiB&lt;br /&gt;
# Will find the smallest disk larger than 15GB and set it as /&lt;br /&gt;
while read DISK DSIZE&lt;br /&gt;
do&lt;br /&gt;
DSIZE=$(echo &quot;$DSIZE&quot; | awk -F &#39;.&#39; &#39;{print$1}&#39;)&lt;br /&gt;
if [ -z $rootDisk ]; then&lt;br /&gt;
rootDisk=$DISK&lt;br /&gt;
rootSize=$DSIZE&lt;br /&gt;
echo &quot;Root Disk was unset and is now: $rootDisk&quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ $DSIZE -gt 143305 ]; then&lt;br /&gt;
if [ $DSIZE -lt $rootSize ]; then&lt;br /&gt;
rootDisk=$DISK&lt;br /&gt;
rootSize=$DSIZE&lt;br /&gt;
echo &quot;Root Disk overriden due to smaller disk that meets requirements: $rootDisk&quot;&lt;br /&gt;
fi&lt;br /&gt;
fi&lt;br /&gt;
done &amp;lt; /tmp/list-harddrives

# Echo result out to console for debug
echo &quot;Root Disk: $rootDisk&quot;

# Create another temp file to feed into the kickstart later
# It will choose the root disk that was previously figured out as the primary disk
cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; /tmp/partitioning&lt;br /&gt;
# Specify the bootloader as required for RedHat automated installation (--location=mbr is default)&lt;br /&gt;
bootloader --driveorder=${rootDisk}&lt;br /&gt;
# Without the &#39;zerombr&#39; option specified, uninitiated disks will require manual intervention&lt;br /&gt;
zerombr&lt;br /&gt;
# To clear the existing partitions, use the clearpart option and include the --all parameter&lt;br /&gt;
clearpart --all --initlabel&lt;br /&gt;
&lt;br /&gt;
# Create /boot partition (100MB is not large enough anymore so 500MB is used)&lt;br /&gt;
part /boot --size=500 --ondisk=${rootDisk}&lt;br /&gt;
# Create a pv to be used with LVM, start with 100MB partition and grow to the remaining size that is left on disk&lt;br /&gt;
# This will also ensure that we use the root disk we determined earlier specifically&lt;br /&gt;
part pv.01 --size=100 --grow --ondisk=${rootDisk}&lt;br /&gt;
&lt;br /&gt;
# Add the previous pv to the volume group&lt;br /&gt;
volgroup VolGrp pv.01&lt;br /&gt;
&lt;br /&gt;
# Carve out space in the volume group for /, swap, and /d2 (data)&lt;br /&gt;
&lt;br /&gt;
# Root partition will always be 10GB&lt;br /&gt;
logvol / --vgname=VolGrp --size=10000 --name=Vol1&lt;br /&gt;
# Swap will be what is recommended by RedHat for each Distro (no guarantees on which disk)&lt;br /&gt;
logvol swap --vgname=VolGrp --recommended --name=Vol2 --fstype=swap&lt;br /&gt;
# d2 is the a data partition which will use any remaining space (no guarantees on which disk)&lt;br /&gt;
logvol /d2 --vgname=VolGrp --size=100 --name=Vol3 --grow&lt;br /&gt;
EOF&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Reference for include scripts and multi-drive kickstart partitioning:&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-preinstallconfig.html&quot;&gt;https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-preinstallconfig.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/6818637974125466205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/02/kickstart-drive-mapping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/6818637974125466205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/6818637974125466205'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/02/kickstart-drive-mapping.html' title='Kickstart Drive Mapping'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-5310973489775752275</id><published>2015-02-02T11:11:00.001-05:00</published><updated>2020-12-16T07:30:23.653-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="5"/><category scheme="http://www.blogger.com/atom/ns#" term="5.1u1"/><category scheme="http://www.blogger.com/atom/ns#" term="boot.cfg"/><category scheme="http://www.blogger.com/atom/ns#" term="esxi"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="isolinux.cfg"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="kickstart"/><category scheme="http://www.blogger.com/atom/ns#" term="pxe"/><category scheme="http://www.blogger.com/atom/ns#" term="pxelinux"/><title type='text'>ESXi 5.1 PXE Install</title><content type='html'>ESXi PXE Install is very similar to any other kind of automated PXE deployment.&lt;br /&gt;
&lt;br /&gt;
There are a few finicky components you&#39;ll have to deal with but overall it&#39;s fairly straight forward.&lt;br /&gt;
&lt;br /&gt;
This is assuming you already have PXELINUX fully installed and configured along with DHCP and TFTP Server&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Download the ISO&lt;/li&gt;
&lt;li&gt;Mount the iso (I&#39;m mounting in BSD)&lt;/li&gt;
&lt;code&gt; mdconfig -a -t vnode -f isoimage.iso -u 1  mount -t cd9660 /dev/md1 /mnt/iso/&lt;/code&gt;
&lt;li&gt;Create a directory to store the raw iso files&lt;/li&gt;
&lt;code&gt;mkdir -p /images/esxi/5.1/1065491/dell-a03/&lt;/code&gt;  I like to organize my images via. MajorVersion-Build-SpecialInfo
&lt;li&gt;Rsync the iso contents over&lt;/li&gt;
&lt;code&gt;rsync -av /mnt/iso/ /images/esxi/5.1/1065491/dell-a03/&lt;/code&gt;
&lt;li&gt;unmount the iso&lt;/li&gt;
&lt;code&gt;umount /mnt/iso mdconfig -d -u 1&lt;/code&gt;
&lt;li&gt;Create an &quot;isolinux.cfg&quot; file which basically is just used to point to the files required to boot up and run the kernel/kickstart files. This file will exist typically under the pxelinux.cfg directory either as the file called &quot;default&quot; or will match the mac-address of the machine you would like to image&lt;/li&gt;
&lt;code&gt;/images/kickstart/ESXI-5.1-1065491-dell-a03.ks DEFAULT install  LABEL install KERNEL images/esxi/5.1/1065491/dell-a03/mboot.c32 APPEND -c images/esxi/5.1/1065491/dell-a03/boot.cfg MENU LABEL Dell ESXi-5.1-Update 1-1065491(A03) ^Installer &lt;/code&gt; As you can see mine is fairly simple with no menu.c32 as this file I dont want to have any options. I just want to copy this file over and have it boot up the correct references files ex. KERNEL $path to mboot.c32
&lt;li&gt;Modify the boot.cfg file so that it does not reference the tftp root directory thanks to &lt;a href=&quot;http://brain.serenity-networks.com/networking-computers/vmware/esxi-5-5-5-pxe-installation-via-syslinux&quot;&gt;http://brain.serenity-networks.com/networking-computers/vmware/esxi-5-5-5-pxe-installation-via-syslinux&lt;/a&gt;&lt;/li&gt;
&lt;code&gt;sed -e &quot;s#/##g&quot; -e &quot;3s#^#prefix=/`basename $PWD`/\n#&quot; -i.bak boot.cfg&lt;/code&gt; The above line will not only remove preceeding / it will also add a prefix= parameter where we can specify the path to our files.
&lt;li&gt;Then you will modify the prefix parameter with the path to your files on tftp. In my case it would be &quot;/images/esxi/5.1/1065491/dell-a03/&quot;&lt;/li&gt;
&lt;code&gt; bootstate=0 title=Loading ESXi installer prefix=images/esxi/5.1/1065491/dell-a03/ kernel=tboot.b00 kernelopt=ks=ftp://ftp/images/kickstart/scripts/ESXI-5.1-1065491-dell-a03.ks modules=b.b00 --- useropts.gz --- k.b00 --- chardevs.b00 --- a.b00 --- user.b00 --- s.v00 --- misc_cni.v00 --- net_bnx2.v00 --- net_bnx2.v01 --- net_cnic.v00 --- net_tg3.v00 --- scsi_bnx.v00 --- scsi_bnx.v01 --- net_bna.v00 --- scsi_bfa.v00 --- ima_be2i.v00 --- scsi_be2.v00 --- scsi_lpf.v00 --- net_igb.v00 --- net_ixgb.v00 --- scsi_mpt.v00 --- scsi_mti.v00 --- ima_qla4.v00 --- net_qlcn.v00 --- scsi_qla.v00 --- scsi_qla.v01 --- ata_pata.v00 --- ata_pata.v01 --- ata_pata.v02 --- ata_pata.v03 --- ata_pata.v04 --- ata_pata.v05 --- ata_pata.v06 --- ata_pata.v07 --- block_cc.v00 --- ehci_ehc.v00 --- weaselin.t00 --- esx_dvfi.v00 --- xlibs.v00 --- ipmi_ipm.v00 --- ipmi_ipm.v01 --- ipmi_ipm.v02 --- misc_dri.v00 --- net_be2n.v00 --- net_e100.v00 --- net_e100.v01 --- net_enic.v00 --- net_forc.v00 --- net_nx_n.v00 --- net_qlge.v00 --- net_r816.v00 --- net_r816.v01 --- net_s2io.v00 --- net_sky2.v00 --- net_vmxn.v00 --- ohci_usb.v00 --- sata_ahc.v00 --- sata_ata.v00 --- sata_sat.v00 --- sata_sat.v01 --- sata_sat.v02 --- sata_sat.v03 --- sata_sat.v04 --- scsi_aac.v00 --- scsi_adp.v00 --- scsi_aic.v00 --- scsi_fni.v00 --- scsi_hps.v00 --- scsi_ips.v00 --- scsi_meg.v00 --- scsi_meg.v01 --- scsi_meg.v02 --- scsi_mpt.v01 --- scsi_mpt.v02 --- scsi_rst.v00 --- uhci_usb.v00 --- tools.t00 --- dell_con.v00 --- xorg.v00 --- imgdb.tgz --- imgpayld.tgz build= updated=0 &lt;/code&gt; &lt;/ol&gt;
&lt;br /&gt;
&lt;b&gt;References:&lt;/b&gt;&lt;br /&gt;
Example kickstart config from yellow-bricks: &lt;a href=&quot;http://www.yellow-bricks.com/2011/07/19/esxi-5-0-and-scripted-installs/&quot;&gt;http://www.yellow-bricks.com/2011/07/19/esxi-5-0-and-scripted-installs/&lt;/a&gt;&lt;br /&gt;
Kickstart valid parameters: &lt;a href=&quot;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=2004582&quot;&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=2004582&lt;/a&gt;&lt;br /&gt;
Example kickstart from william lam: &lt;a href=&quot;http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html&quot;&gt;http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html&lt;/a&gt;&lt;br /&gt;
Blog to show how to structure boot.cfg: &lt;a href=&quot;http://brain.serenity-networks.com/networking-computers/vmware/esxi-5-5-5-pxe-installation-via-syslinux/&quot;&gt;http://brain.serenity-networks.com/networking-computers/vmware/esxi-5-5-5-pxe-installation-via-syslinux/&lt;/a&gt;&lt;br /&gt;
Vmware documentation on PXE Install: &lt;a href=&quot;https://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.vsphere.install.doc_50/GUID-B9DB94CA-4857-458B-B6F1-6A688726AED0.html&quot;&gt;https://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.vsphere.install.doc_50/GUID-B9DB94CA-4857-458B-B6F1-6A688726AED0.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/5310973489775752275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/02/esxi-51-pxe-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5310973489775752275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5310973489775752275'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/02/esxi-51-pxe-install.html' title='ESXi 5.1 PXE Install'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-6340447974265322969</id><published>2015-01-20T12:30:00.001-05:00</published><updated>2015-01-20T12:31:39.326-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="killed"/><category scheme="http://www.blogger.com/atom/ns#" term="killer"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="oom"/><category scheme="http://www.blogger.com/atom/ns#" term="out of memory"/><category scheme="http://www.blogger.com/atom/ns#" term="processes"/><title type='text'>Linux Out Of Memory Management (Killer)</title><content type='html'>A summary of what an out of memory condition is is as follows:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Linux over allocates memory to processes VSZ giving them more than what they need.&lt;/li&gt;
&lt;li&gt;It overcommits this memory allowing a larger VSZ than total memory availble&lt;/li&gt;
&lt;li&gt;This generally isnt a problem since linux doesnt generally use up all the allocated memory&lt;/li&gt;
&lt;li&gt;If processes actually require more memory than is available (due to their over allocation) it will kill &quot;unimportant&quot; processes to free memory and keep the system running&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
The messages for OOM killer can be found in:&lt;br /&gt;
&lt;code&gt;/var/log/messages&lt;/code&gt;&lt;br /&gt;
Normally with the following keywords:&lt;br /&gt;
&lt;code&gt;Out of Memory: Killed process&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
There are methods to mitigate the actions of OOM killer to prevent it from killing certain processes which can be found: &lt;a href=&quot;http://unix.stackexchange.com/questions/136291/will-linux-start-killing-my-processes-without-asking-me-if-memory-gets-short/136294#136294&quot;&gt;http://unix.stackexchange.com/questions/136291/will-linux-start-killing-my-processes-without-asking-me-if-memory-gets-short/136294#136294&lt;/a&gt; and here &lt;a href=&quot;http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html&quot;&gt;http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The OOM calculator calculates using the following method: &lt;a href=&quot;http://unix.stackexchange.com/questions/153585/how-oom-killer-decides-which-process-to-kill-first&quot;&gt;http://unix.stackexchange.com/questions/153585/how-oom-killer-decides-which-process-to-kill-first&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Out_of_memory&quot;&gt;http://en.wikipedia.org/wiki/Out_of_memory&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/6340447974265322969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/01/linux-out-of-memory-management-killer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/6340447974265322969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/6340447974265322969'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/01/linux-out-of-memory-management-killer.html' title='Linux Out Of Memory Management (Killer)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-3660972238088969015</id><published>2015-01-20T11:53:00.001-05:00</published><updated>2015-01-20T11:53:25.929-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="memory"/><category scheme="http://www.blogger.com/atom/ns#" term="processes"/><category scheme="http://www.blogger.com/atom/ns#" term="ps"/><category scheme="http://www.blogger.com/atom/ns#" term="usage"/><title type='text'>Memory Management In Linux</title><content type='html'>Using ps we can find out how much memory is allocated to a process (VSZ) and how much memory a process is actually using (RSS)&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
ps -e -o pid,vsz,rss,comm= | sort -n -k 2&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
The above will show you the process id, how much memory is allocated to a process, how much the process is actually using, and a comment of process description. It will then sort by how much memory is allocated to a process for you to see which apps are using up a lot of VSS.&lt;br /&gt;
&lt;br /&gt;
Long running processes are useful to know as well when looking for memory hungry apps that have been running a long time&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
ps -ef --sort=start_time&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://linuxconfig.org/ps-output-difference-between-vsz-vs-rss-memory-usage&lt;br /&gt;
http://serverfault.com/questions/27887/how-to-sort-ps-output-by-process-start-time&lt;br /&gt;
http://linuxcommando.blogspot.ca/2008/09/how-to-get-process-start-date-and-time.html</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/3660972238088969015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2015/01/memory-management-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3660972238088969015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3660972238088969015'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2015/01/memory-management-in-linux.html' title='Memory Management In Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-9006999298803765959</id><published>2014-11-26T14:07:00.002-05:00</published><updated>2014-11-26T14:07:29.785-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="default"/><category scheme="http://www.blogger.com/atom/ns#" term="gateway"/><category scheme="http://www.blogger.com/atom/ns#" term="interface"/><category scheme="http://www.blogger.com/atom/ns#" term="metric"/><category scheme="http://www.blogger.com/atom/ns#" term="print"/><category scheme="http://www.blogger.com/atom/ns#" term="priority"/><category scheme="http://www.blogger.com/atom/ns#" term="route"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Windows Network Interface Priority</title><content type='html'>If you have two default gateways it can be tricky to figure out which interface it will take to get out to the internet.&lt;br /&gt;
&lt;br /&gt;
Windows will use the following criteria to choose which path to take:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Lowest Metric - Calculated via link speed (The faster the link the lower the metric&lt;/li&gt;
&lt;li&gt;If the metrics are the same it will use the first detected NIC - configured through adapter settings &lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
What this means is that if you have two similar speed interfaces the primary method of configuring priority is through the following interface:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm3ZtVlY3p-AkECnyg_sEAnIhP0Td5q1vxWYB1SVn9bmtQExuBlmYJnXIbPcniSa98EnpBrUVJx1-KkWp6UzaEcDn3j6CbIiMJTP_BYOxPLiFQFwbOfWZ68UqUmBa6RzNykpd93KR2-C0/s1600/DetectionOrder.JPG&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm3ZtVlY3p-AkECnyg_sEAnIhP0Td5q1vxWYB1SVn9bmtQExuBlmYJnXIbPcniSa98EnpBrUVJx1-KkWp6UzaEcDn3j6CbIiMJTP_BYOxPLiFQFwbOfWZ68UqUmBa6RzNykpd93KR2-C0/s400/DetectionOrder.JPG&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In the above example if the metrics are both the same the interface named &quot;Ethernet&quot; will take priority.&lt;br /&gt;
&lt;br /&gt;
Refereces:&lt;br /&gt;
http://technet.microsoft.com/en-us/library/cc779696%28v=ws.10%29.aspx&lt;br /&gt;
http://w3facility.org/question/routing-decision-when-there-are-two-default-gateways-on-windows/&lt;br /&gt;
http://superuser.com/questions/198544/how-does-windows-7-decide-which-route-to-take-if-2-connections-to-an-internet-so&lt;br /&gt;
http://serverfault.com/questions/59442/routing-decision-when-there-are-two-default-gateways-on-windows&lt;br /&gt;
http://theregime.wordpress.com/2008/03/04/how-to-setview-the-nic-bind-order-in-windows/&lt;br /&gt;
http://techrena.net/view-change-network-adapter-card-priority-binding-order-windows-7/&lt;br /&gt;
http://windows.microsoft.com/en-ca/windows/change-network-protocol-bindings-order#1TC=windows-7 </content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/9006999298803765959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2014/11/windows-network-interface-priority.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/9006999298803765959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/9006999298803765959'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2014/11/windows-network-interface-priority.html' title='Windows Network Interface Priority'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm3ZtVlY3p-AkECnyg_sEAnIhP0Td5q1vxWYB1SVn9bmtQExuBlmYJnXIbPcniSa98EnpBrUVJx1-KkWp6UzaEcDn3j6CbIiMJTP_BYOxPLiFQFwbOfWZ68UqUmBa6RzNykpd93KR2-C0/s72-c/DetectionOrder.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-3006791639476435829</id><published>2014-11-11T09:50:00.000-05:00</published><updated>2016-08-24T08:08:52.905-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="kickstart"/><category scheme="http://www.blogger.com/atom/ns#" term="menu"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="preseed"/><category scheme="http://www.blogger.com/atom/ns#" term="pxe"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Network Ubuntu Install via PXE Using Preseed - Kickstart Alternative</title><content type='html'>Ubuntu has a method of automatic network installation similar to redhat&#39;s kickstart install.&lt;br /&gt;
&lt;br /&gt;
It&#39;s called &quot;debian-installer&quot; and it is the recommended method of installing ubuntu automatically.&lt;br /&gt;
&lt;br /&gt;
Similar to kickstart you have a preconfiguration file called &quot;preseed&quot; in which you answer questions asked by the installer.&lt;br /&gt;
&lt;br /&gt;
You can either:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Install ubuntu manually and export answers to questions&lt;/li&gt;
&lt;li&gt;Create answers to questions manually&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
#1 you can perform using:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
# Generate a sample preseed.cfg with some default values you selected during manual install&lt;br /&gt;
apt-get install debconf-utils&lt;br /&gt;
debconf-get-selections --installer &amp;gt; preseed.cfg&lt;br /&gt;
debconf-get-selections &amp;gt;&amp;gt; preseed.cfg&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Then you make this file available in the kickstart menu.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve included a sample menu file (which points to the preseed) as well as the contents of a basic preseed file.&lt;br /&gt;
Menu File:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
default linux&lt;br /&gt;
&lt;br /&gt;
SERIAL 0 115200&lt;br /&gt;
&lt;br /&gt;
label linux&lt;br /&gt;
kernel images/ubuntu/14.04/install/netboot/ubuntu-installer/amd64/linux&lt;br /&gt;
append initrd=images/ubuntu/14.04/install/netboot/ubuntu-installer/amd64/initrd.gz auto=true priority=critical interface=auto url=ftp://fbsd-ftp/images/ubuntu/14.04/preseed/sandvine.seed -- console=ttyS0,115200n8&lt;br /&gt;
IPAPPEND 2&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Preseed File:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
# Primary network interface:&lt;br /&gt;
d-i netcfg/choose_interface select auto&lt;br /&gt;
&lt;br /&gt;
# Locale Configuration&lt;br /&gt;
d-i debian-installer/locale string en_US&lt;br /&gt;
&lt;br /&gt;
# Set Keyboard to American English&lt;br /&gt;
d-i console-keymaps-at/keymap select American English&lt;br /&gt;
d-i debian-installer/keymap string us&lt;br /&gt;
&lt;br /&gt;
# Set timezone&lt;br /&gt;
d-i time/zone string American/Toronto&lt;br /&gt;
&lt;br /&gt;
# Do not make a user account&lt;br /&gt;
d-i passwd/make-user boolean false&lt;br /&gt;
&lt;br /&gt;
# Assign the password for root&lt;br /&gt;
d-i passwd/root-password password sandvine&lt;br /&gt;
d-i passwd/root-password-again password sandvine&lt;br /&gt;
&lt;br /&gt;
# Allow root login&lt;br /&gt;
user-setup-udeb passwd/root-login boolean true&lt;br /&gt;
&lt;br /&gt;
# Partitioning&lt;br /&gt;
# Partition using LVM on the first and only detected disk&lt;br /&gt;
d-i partman-auto/method string lvm&lt;br /&gt;
# If one of the disks that are going to be automatically partitioned&lt;br /&gt;
# contains an old LVM configuration, the user will normally receive a&lt;br /&gt;
# warning. This can be preseeded away...&lt;br /&gt;
d-i partman-lvm/confirm boolean true&lt;br /&gt;
d-i partman-lvm/confirm_nooverwrite boolean false&lt;br /&gt;
partman-lvm partman-lvm/device_remove_lvm boolean true&lt;br /&gt;
partman-lvm partman-lvm/confirm_nochanges boolean true&lt;br /&gt;
partman-lvm partman-lvm/confirm boolean true&lt;br /&gt;
unknown partman-lvm/confirm boolean true&lt;br /&gt;
partman-lvm partman-lvm/vgdelete_confirm boolean true&lt;br /&gt;
&lt;br /&gt;
# Choose automatic partitioning recipes where automatic puts&lt;br /&gt;
# All configuration on the same partition&lt;br /&gt;
d-i partman-auto/choose_recipe select automic&lt;br /&gt;
# Complete partitioning without further confirmation&lt;br /&gt;
d-i partman-partitioning/confirm_write_new_label boolean true&lt;br /&gt;
d-i partman/choose_partition select finish&lt;br /&gt;
d-i partman/confirm boolean true&lt;br /&gt;
d-i partman/confirm_nooverwrite boolean true&lt;br /&gt;
&lt;br /&gt;
#Choose some additional packages to instal&lt;br /&gt;
d-i pkgsel/include string openssh-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### Finishing up the installation&lt;br /&gt;
# During installations from serial console, the regular virtual consoles&lt;br /&gt;
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next&lt;br /&gt;
# line to prevent this.&lt;br /&gt;
d-i finish-install/keep-consoles boolean true&lt;br /&gt;
&lt;br /&gt;
# Send command to pxeboot server to tell it to boot from HDD after imaging is successful&lt;br /&gt;
d-i preseed/late_command string /bin/echo &quot;$(hostname -s)&quot; | nc -w 3 lab-nfsbootlinux 2509&lt;br /&gt;
&lt;br /&gt;
# Avoid that last message about the install being complete.&lt;br /&gt;
d-i finish-install/reboot_in_progress note&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Ubuntu does have support for kickstart but there are some important features that may not be fully featured in kickstart that are available in debian installer. Ubuntu even has system-config-kickstart utility to build kickstart files but because of the lack of full functionality it does not end up being as useful as the more fully funcitoning debian installer.&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
Serial Console - &lt;a href=&quot;http://blather.michaelwlucas.com/archives/638&quot;&gt;http://blather.michaelwlucas.com/archives/638&lt;/a&gt;&lt;br /&gt;
Package Install (openssh) - &lt;a href=&quot;http://www.stratuslab.eu/fp7/doku.php/tutoral:examplepreseed.html&quot;&gt;http://www.stratuslab.eu/fp7/doku.php/tutoral:examplepreseed.html&lt;/a&gt;&lt;br /&gt;
Remove LVM Parts - &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1505174&quot;&gt;http://ubuntuforums.org/showthread.php?t=1505174&lt;/a&gt;&lt;br /&gt;
Debian Example Preseed - &lt;a href=&quot;http://d-i.debian.org/manual/example-preseed.txt&quot;&gt;http://d-i.debian.org/manual/example-preseed.txt&lt;/a&gt;&lt;br /&gt;
Ubutntu Example Preseed - &lt;a href=&quot;https://help.ubuntu.com/lts/installation-guide/example-preseed.txt&quot;&gt;https://help.ubuntu.com/lts/installation-guide/example-preseed.txt&lt;/a&gt;&lt;br /&gt;
Ubuntu 12.04 Preseed Explained - &lt;a href=&quot;https://help.ubuntu.com/12.04/installation-guide/i386/preseed-contents.html&quot;&gt;https://help.ubuntu.com/12.04/installation-guide/i386/preseed-contents.html&lt;/a&gt;&lt;br /&gt;
Ubuntu 10.04 Preseed example - &lt;a href=&quot;https://help.ubuntu.com/10.04/installation-guide/example-preseed.txt&quot;&gt;https://help.ubuntu.com/10.04/installation-guide/example-preseed.txt&lt;/a&gt;&lt;br /&gt;
Generate a preseed - &lt;a href=&quot;http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-preseeding&quot;&gt;http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-preseeding&lt;/a&gt;&lt;br /&gt;
Puppet and Preseed - &lt;a href=&quot;http://ghantoos.org/2012/10/21/cocktail-of-pxe-debian-preseed-ipmi-puppet/&quot;&gt;http://ghantoos.org/2012/10/21/cocktail-of-pxe-debian-preseed-ipmi-puppet/&lt;/a&gt;&lt;br /&gt;
Add Console and debug to menu - &lt;a href=&quot;http://christian.hofstaedtler.name/blog/2008/09/debian-installer-preseeding-autostart-from-pxe.html&quot;&gt;http://christian.hofstaedtler.name/blog/2008/09/debian-installer-preseeding-autostart-from-pxe.html&lt;/a&gt;&lt;br /&gt;
Ubuntu 14.04 install bug - &lt;a href=&quot;http://www.michaelm.info/blog/?p=1378&quot;&gt;http://www.michaelm.info/blog/?p=1378&lt;/a&gt;&lt;br /&gt;
What you need to append to menu - &lt;a href=&quot;https://saz.sh/2011/07/30/preseed-debian-squeeze-using-pxe/&quot;&gt;https://saz.sh/2011/07/30/preseed-debian-squeeze-using-pxe/&lt;/a&gt;&lt;br /&gt;
Create User Accounts - &lt;a href=&quot;https://help.ubuntu.com/community/Cobbler/Preseed&quot;&gt;https://help.ubuntu.com/community/Cobbler/Preseed&lt;/a&gt;&lt;br /&gt;
Debian links:&lt;br /&gt;
&lt;a href=&quot;https://www.debian-administration.org/article/394/Automating_new_Debian_installations_with_preseeding&quot;&gt;https://www.debian-administration.org/article/394/Automating_new_Debian_installations_with_preseeding&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.debian.org/releases/wheezy/i386/apbs04.html.en&quot;&gt;https://www.debian.org/releases/wheezy/i386/apbs04.html.en&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.debian.org/releases/wheezy/i386/apbs03.html.en&quot;&gt;https://www.debian.org/releases/wheezy/i386/apbs03.html.en&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Official Documentation:&lt;br /&gt;
&lt;a href=&quot;http://www.debian.org/releases/stable/i386/apb.html.en&quot;&gt;http://www.debian.org/releases/stable/i386/apb.html.en&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://wiki.debian.org/DebianInstaller/Preseed&quot;&gt;https://wiki.debian.org/DebianInstaller/Preseed&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-preseeding&quot;&gt;http://searchitchannel.techtarget.com/feature/Performing-an-automated-Ubuntu-install-using-preseeding&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.debuntu.org/how-to-unattended-ubuntu-deployment-over-network-page-5-preseed-file/&quot;&gt;http://www.debuntu.org/how-to-unattended-ubuntu-deployment-over-network-page-5-preseed-file/ &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
New Docs:&lt;br /&gt;
&lt;a href=&quot;http://web.theurbanpenguin.com/auto-installing-ubuntu-16-04/&quot;&gt;http://web.theurbanpenguin.com/auto-installing-ubuntu-16-04/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.debian.org/releases/stable/example-preseed.txt&quot;&gt;https://www.debian.org/releases/stable/example-preseed.txt&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://hands.com/d-i/&quot;&gt;http://hands.com/d-i/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
How to get a post-install command working:&lt;br /&gt;
&lt;a href=&quot;http://www.50ply.com/blog/2012/07/16/automating-debian-installs-with-preseed-and-puppet/&quot;&gt;http://www.50ply.com/blog/2012/07/16/automating-debian-installs-with-preseed-and-puppet/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://ubuntuforums.org/showthread.php?t=1977570&quot;&gt;https://ubuntuforums.org/showthread.php?t=1977570&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/3006791639476435829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2014/11/network-ubuntu-install-via-pxe-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3006791639476435829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3006791639476435829'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2014/11/network-ubuntu-install-via-pxe-using.html' title='Network Ubuntu Install via PXE Using Preseed - Kickstart Alternative'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-7285090551795068872</id><published>2014-08-25T09:24:00.001-04:00</published><updated>2014-08-25T16:37:35.267-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bsd"/><category scheme="http://www.blogger.com/atom/ns#" term="byte"/><category scheme="http://www.blogger.com/atom/ns#" term="cat"/><category scheme="http://www.blogger.com/atom/ns#" term="combine"/><category scheme="http://www.blogger.com/atom/ns#" term="copy"/><category scheme="http://www.blogger.com/atom/ns#" term="dd"/><category scheme="http://www.blogger.com/atom/ns#" term="file"/><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="gzip"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ls"/><category scheme="http://www.blogger.com/atom/ns#" term="multiple locations"/><category scheme="http://www.blogger.com/atom/ns#" term="split"/><category scheme="http://www.blogger.com/atom/ns#" term="tar"/><category scheme="http://www.blogger.com/atom/ns#" term="wc"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Splitting and Combining Files</title><content type='html'>It&#39;s a fairly common scenario that you may have files larger than the existing storage medium you have. So you can buy multiple storage items, but you&#39;ll need to split the file out into smaller chunks to be able to store it in multiple locations. How do you do this? In linux it&#39;s fairly easy using the split utility. You can even recombine and split in windows fairly easily.&lt;br /&gt;
&lt;br /&gt;
The initial split is done using the split command as follows:&lt;br /&gt;
&lt;pre&gt;split -b 1024m file file.part-
&lt;/pre&gt;Where -b is the block size you want to split by. In this example 1GB.&lt;br /&gt;
file is the original file you want to split&lt;br /&gt;
file_ is the prefix you would like to use.&lt;br /&gt;
&lt;br /&gt;
When running the split command the files it will create will be of the format&lt;br /&gt;
&lt;pre&gt;file.part-aa
file.part-ab
file.part-ac
etc.
&lt;/pre&gt;As defined by the prefix above.&lt;br /&gt;
&lt;br /&gt;
To recombine these files you can use cat in linux to concatenate the existing files.&lt;br /&gt;
&lt;pre&gt;cat file-part-* &gt; file
&lt;/pre&gt;&lt;br /&gt;
In windows you can use the copy command&lt;br /&gt;
&lt;pre&gt;copy /b file.part-aa + file.part-ab + file.part-ac + file.part-ad file
&lt;/pre&gt;&lt;br /&gt;
I&#39;m unsure of how to specify regex for the copy command in windows but this is a quick and dirty way to get it done and you could always generate a list of files and manually script it together.&lt;br /&gt;
&lt;br /&gt;
You can also pipe the output of gzip into split to compress the archive but you will probably have additional overhead of decompression, and if you don&#39;t care so much about space savings split is probably going to be quicker.&lt;br /&gt;
&lt;br /&gt;
An alternate way of doing this would be to use the dd utility:&lt;br /&gt;
&lt;br /&gt;
Example file &lt;pre&gt;tmp&lt;/pre&gt;contents:&lt;br /&gt;
&lt;pre&gt;cat tmp
a
b
c
d
&lt;/pre&gt;&lt;br /&gt;
Sizing details (in bytes):&lt;br /&gt;
&lt;pre&gt;ls -ls tmp
0 -rw-r--r--  1 bnold  domusers  8 Aug 25 15:20 tmp

wc -c tmp
       8 tmp
&lt;/pre&gt;&lt;br /&gt;
Split&lt;br /&gt;
&lt;pre&gt;dd if=tmp of=tmp.part1 bs=1 count=4 
dd if=tmp of=tmp.part2 bs=1 count=4 skip=4
&lt;/pre&gt;&lt;br /&gt;
Restore&lt;br /&gt;
&lt;pre&gt;dd if=tmp.part1 of=tmp_new bs=1 count=4
dd if=tmp.part2 of=tmp_new bs=1 count=4 seek=4
&lt;/pre&gt;&lt;br /&gt;
Contents of restored file:&lt;br /&gt;
&lt;pre&gt;cat tmp_new
a
b
c
d
&lt;/pre&gt;&lt;br /&gt;
Size of restored file:&lt;br /&gt;
&lt;pre&gt;ls -ls tmp_new
0 -rw-r--r--  1 bnold  domusers  8 Aug 25 15:44 tmp_new

wc -c tmp
       8 tmp
&lt;/pre&gt;&lt;br /&gt;
Validating integrity:&lt;br /&gt;
&lt;pre&gt;md5 tmp
MD5 (tmp) = 47ece2e49e5c0333677fc34e044d8257
md5 tmp_new
MD5 (tmp_new) = 47ece2e49e5c0333677fc34e044d8257
&lt;/pre&gt;Hashes match, we&#39;re good.&lt;br /&gt;
References:&lt;br /&gt;
http://www.linuxquestions.org/linux/answers/applications_gui_multimedia/splitting_and_merging_files_using_dd&lt;br /&gt;
http://en.wikipedia.org/wiki/Split_%28Unix%29&lt;br /&gt;
http://stackoverflow.com/questions/1120095/split-files-using-tar-gz-zip-or-bzip2&lt;br /&gt;
http://linuxpoison.blogspot.ca/2008/09/split-and-merge-large-files.html&lt;br /&gt;
http://serverfault.com/questions/86808/break-up-a-dd-image-into-multiple-files&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/7285090551795068872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2014/08/splitting-and-combining-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/7285090551795068872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/7285090551795068872'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2014/08/splitting-and-combining-files.html' title='Splitting and Combining Files'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-1028728209173671496</id><published>2014-08-14T16:19:00.000-04:00</published><updated>2014-08-14T16:33:31.883-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="anaconda"/><category scheme="http://www.blogger.com/atom/ns#" term="GRUB"/><category scheme="http://www.blogger.com/atom/ns#" term="grub-legacy"/><category scheme="http://www.blogger.com/atom/ns#" term="grub.d"/><category scheme="http://www.blogger.com/atom/ns#" term="grub2"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="kexec"/><category scheme="http://www.blogger.com/atom/ns#" term="kickstart"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>Boot Directly into New Kernel After Kickstart Install</title><content type='html'>It is useful to be able to boot directly into your freshly installed linux box immediately after installation.&lt;br /&gt;
&lt;br /&gt;
However there are multiple different methods to going about doing this, both depending on which version of GRUB you are running, because the information you will require to make the next kernel load will depend on what you plan on booting next.&lt;br /&gt;
&lt;br /&gt;
Both instructions will require the use of post-install scripts to pull data from the filesystem about next boot parameters.&lt;br /&gt;
&lt;br /&gt;
First off, it&#39;s a good idea to get some debug going on your console screen, which can be done via the following:&lt;br /&gt;
&lt;pre&gt;%post
exec &amp;lt; /dev/console &amp;gt; /dev/console
echo &quot;# Running Post Configuration #&quot;
#....Do stuff....
echo &quot;End of post-install steps&quot;
&lt;/pre&gt;
References: http://blog.mozilla.org/jv/2011/01/31/redirecting-kickstart-prepost-over-serial-console/&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
GRUB 0.97&lt;/h2&gt;
In GRUB 0.97 its fairly easy, you just grab the cmdline options (arguments) from the /boot/grub/grub.conf &lt;br /&gt;
&lt;pre&gt;cmdline=$(awk /kernel.*console/&#39;{$1=$2=&quot;&quot;; print$0}&#39; /boot/grub/grub.conf)                       
kexec -l /boot/vmlinuz-$(uname -r) --initrd=/boot/initramfs-$(uname -r).img --append=&quot;${cmdline}&quot;
sleep 2                                                                                          
kexec -e                                                                                         
&lt;/pre&gt;
&lt;br /&gt;
&lt;h2&gt;
GRUB 2&lt;/h2&gt;
In GRUB 2 its a bit more challenging as each GRUB menu is dynamically generated from /etc/grub2.cfg which points to /etc/grub.d/* files which have scripts that parse the underlying filesystem to locate kernels to dynamically build the grub menu&lt;br /&gt;
&lt;pre&gt;ls -lah /etc/grub.d/
total 80K
drwx------.  2 root root 4.0K Aug 12 13:16 .
drwxr-xr-x. 99 root root 8.0K Aug 12 20:09 ..
-rwxr-xr-x.  1 root root 8.5K Jun 30 12:16 00_header
-rwxr-xr-x.  1 root root 9.3K Jun 30 12:16 10_linux
-rwxr-xr-x.  1 root root  11K Jun 30 12:16 20_linux_xen
-rwxr-xr-x.  1 root root 2.5K Jun 30 12:16 20_ppc_terminfo
-rwxr-xr-x.  1 root root  11K Jun 30 12:16 30_os-prober
-rwxr-xr-x.  1 root root  214 Jun 30 12:16 40_custom
-rwxr-xr-x.  1 root root  216 Jun 30 12:16 41_custom
-rw-r--r--.  1 root root  483 Jun 30 12:16 README
&lt;/pre&gt;
&lt;br /&gt;
By default linux grub menus are generated via /etc/grub.d/10_linux and take the defaults for cmdline options from /etc/defaults/grub &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Grabbing the cmdline&lt;/h3&gt;
&lt;pre&gt;cmdline=$(awk -F &#39;&quot;&#39; &#39;/GRUB_CMDLINE_LINUX/{print$2}&#39; /etc/default/grub)
&lt;/pre&gt;
&lt;br /&gt;
&lt;h3&gt;
Grabbing the root Volume&lt;/h3&gt;
I haven&#39;t figured out a dynamic way of grabbing the root volume yet so I just manually stuff in /dev/mapper/(volume-group-lv) in                                                                              &lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Putting GRUB2 all together to kexec the kernel &lt;/h3&gt;
&lt;pre&gt;%post                                    
exec &amp;lt; /dev/console &amp;gt; /dev/console       
echo &quot;# Running Post Configuration #&quot;                                                                                    
cmdline=$(awk -F &#39;&quot;&#39; &#39;/GRUB_CMDLINE_LINUX/{print$2}&#39; /etc/default/grub)                                               
kexec -l /boot/vmlinuz-$(uname -r) --initrd=/boot/initramfs-$(uname -r).img --append=&quot;root=/dev/mapper/VolGrp-Vol1 ro {cmdline}&quot;                                                                                                               
sleep 2                                                                                                               
echo &quot;Loading new Kernel&quot;                                                                                             
kexec -e 
%end
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/1028728209173671496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2014/08/boot-directly-into-new-kernel-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1028728209173671496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1028728209173671496'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2014/08/boot-directly-into-new-kernel-after.html' title='Boot Directly into New Kernel After Kickstart Install'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-9118604022160209507</id><published>2014-04-12T19:13:00.000-04:00</published><updated>2014-04-12T19:13:31.727-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="map"/><category scheme="http://www.blogger.com/atom/ns#" term="mapping"/><category scheme="http://www.blogger.com/atom/ns#" term="numbering"/><category scheme="http://www.blogger.com/atom/ns#" term="order"/><category scheme="http://www.blogger.com/atom/ns#" term="ordering"/><category scheme="http://www.blogger.com/atom/ns#" term="rename"/><category scheme="http://www.blogger.com/atom/ns#" term="synology"/><category scheme="http://www.blogger.com/atom/ns#" term="usbshare"/><category scheme="http://www.blogger.com/atom/ns#" term="usbshare1"/><title type='text'>Synology USB Drive Mapping</title><content type='html'>Synology will automatically name usb drives the order in which you plug them in.&lt;br /&gt;
&lt;br /&gt;
The first drive you plug in will be mapped to usbshare1, the second usbshare2 and so on.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve found that after updates the ordering can get confused where usbshare1 will become mapped to usbshare3. This is due to some confusion in the usb mapping file.&lt;br /&gt;
&lt;br /&gt;
In order to rebuild the order you will have to follow these steps:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Enable ssh or telnet accessibility and remote in&lt;/li&gt;
&lt;li&gt;Move the mapping file &lt;pre&gt;mv /usr/syno/etc/usbno_guid.map /usr/syno/etc/usbno_guid.map.old&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Reboot&lt;/li&gt;
&lt;li&gt;Plug in the drive you want to be mapped usbshare1 first, then follow the order until you hit the desired ordering&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/9118604022160209507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2014/04/synology-usb-drive-mapping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/9118604022160209507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/9118604022160209507'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2014/04/synology-usb-drive-mapping.html' title='Synology USB Drive Mapping'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-8418985932141950524</id><published>2013-12-10T09:42:00.002-05:00</published><updated>2013-12-10T10:51:09.546-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="change"/><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="command line"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="kickstart"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="rhel"/><category scheme="http://www.blogger.com/atom/ns#" term="terminal"/><category scheme="http://www.blogger.com/atom/ns#" term="tty"/><title type='text'>Change TTYs In Linux To Debug</title><content type='html'>I have found this useful while doing a kickstart install. Being able to change your terminal when an irrecoverable error shows up is very useful.&lt;br /&gt;
&lt;br /&gt;
The way to get to other terminal types is to use a combination of: Ctrl+Alt+F-key&lt;br /&gt;
&lt;br /&gt;
Here&#39;s the functions of some of them:&lt;br /&gt;
&lt;pre&gt;Ctrl+Alt-F1 - The installation dialog when using text or cmdline 
Ctrl+Alt-F2 - A shell prompt
Ctrl+Alt-F3 - The install log displaying messages from install program
Ctrl+Alt-F4 - The system log displaying messages from kernel, etc.
Ctrl+Alt-F5 - All other messages 
Ctrl+Alt-F7 - The installation dialog when using the graphical installer 
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/8418985932141950524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2013/12/change-ttys-in-linux-to-debug.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8418985932141950524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8418985932141950524'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2013/12/change-ttys-in-linux-to-debug.html' title='Change TTYs In Linux To Debug'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-3105752427114719209</id><published>2013-11-25T13:30:00.000-05:00</published><updated>2013-11-25T13:31:49.422-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="connected"/><category scheme="http://www.blogger.com/atom/ns#" term="console"/><category scheme="http://www.blogger.com/atom/ns#" term="disconnect"/><category scheme="http://www.blogger.com/atom/ns#" term="disconnecting"/><category scheme="http://www.blogger.com/atom/ns#" term="enterprise"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="output"/><category scheme="http://www.blogger.com/atom/ns#" term="port uri"/><category scheme="http://www.blogger.com/atom/ns#" term="serial port"/><category scheme="http://www.blogger.com/atom/ns#" term="standard"/><category scheme="http://www.blogger.com/atom/ns#" term="telnet"/><category scheme="http://www.blogger.com/atom/ns#" term="use network"/><category scheme="http://www.blogger.com/atom/ns#" term="vmware"/><title type='text'>Network Serial Ports In VMware (Licensing Issues)</title><content type='html'>As per 5.1 Documentation it says you should be able to connect to a guest serial port by attaching a virtual serial port and using the &quot;Use Network&quot; option as of 5.x.&lt;br /&gt;
&lt;br /&gt;
What they do not mention is that this feature only works in VMware Enterprise licenses.&lt;br /&gt;
&lt;br /&gt;
I spent hours trying to figure out why my serial port would never maintain its &quot;Connected&quot; checkbox as shown below:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwuyUoGXfmeTAxwEZGsNaGZ8Vq7c8M_-5CVmrsVWHxQAaXetS0Zao5u0m1Px7ZpwUPctp2748HM4GlG-kiPoZIhL8jUzKNLhFd9z97130Z8D9FAHciHWTI0jpovT6tP0oEiAvxCPY6lds/s1600/Serial.PNG&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwuyUoGXfmeTAxwEZGsNaGZ8Vq7c8M_-5CVmrsVWHxQAaXetS0Zao5u0m1Px7ZpwUPctp2748HM4GlG-kiPoZIhL8jUzKNLhFd9z97130Z8D9FAHciHWTI0jpovT6tP0oEiAvxCPY6lds/s320/Serial.PNG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It would consistently revert and I had already confirmed that firewall was not blocking the ports:&lt;br /&gt;
&lt;pre&gt;~ # esxcli network firewall ruleset list -r remoteSerialPort
Name              Enabled
----------------  -------
remoteSerialPort     true

&lt;/pre&gt;
&lt;br /&gt;
I have also verified that the esxi server is accepting connections to 3008 on the host:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;telnet RPC-D8-03VM 3008   
Trying 10.129.36.2...                                
Connected to RPC-D8-03VM.phaedrus.sandvine.com.      
Escape character is &#39;^]&#39;.                            
                                                     
                                                     
test                                                 
                                                     
                                                     
testing                                              


~ # nc -l 3008


test


testing
&lt;/pre&gt;
&lt;br /&gt;
But nothing seemed to work. Even new version of virtual hardware/different OS. &lt;br /&gt;
&lt;br /&gt;
lspci wasn&#39;t showing anything even being connected to the guest.&lt;br /&gt;
&lt;br /&gt;
After contacting VMware support they looked through some logs and noticed the following line stating this feature wasn&#39;t licensed:&lt;br /&gt;
&lt;pre&gt;2013-11-25T17:53:07.636Z| vmx| I120: Msg_Post: Error
2013-11-25T17:53:07.636Z| vmx| I120: [msg.serial.uri.nolicense.basic] The currently available license does not permit the use of remote serial ports.
&lt;/pre&gt;
&lt;br /&gt;
Due to this licensing issue the VM will not even attempt to add the virtual serial port and you will not be able to telnet to your serial port or use a virtual serial port concentrator without an Enterprise license.&lt;br /&gt;
&lt;br /&gt;
For future reference the log that told us that this was not a licensed feature was:&lt;br /&gt;
&lt;pre&gt;/vmfs/volumes/path/to/vmx/vmware.log
&lt;/pre&gt;
&lt;br /&gt;
The fact that the GUI does not give any kind of notification of this functionality not working is a bit disappointing, but not more so than the functionality being licensed and not being usable.&lt;br /&gt;
&lt;br /&gt;
References to others having this issue: &lt;a href=&quot;http://community.spiceworks.com/topic/247096-virtual-serial-ports-in-vsphere-esxi-5&quot;&gt;http://community.spiceworks.com/topic/247096-virtual-serial-ports-in-vsphere-esxi-5&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/3105752427114719209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2013/11/network-serial-ports-in-vmware.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3105752427114719209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3105752427114719209'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2013/11/network-serial-ports-in-vmware.html' title='Network Serial Ports In VMware (Licensing Issues)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwuyUoGXfmeTAxwEZGsNaGZ8Vq7c8M_-5CVmrsVWHxQAaXetS0Zao5u0m1Px7ZpwUPctp2748HM4GlG-kiPoZIhL8jUzKNLhFd9z97130Z8D9FAHciHWTI0jpovT6tP0oEiAvxCPY6lds/s72-c/Serial.PNG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-3962949636640746393</id><published>2013-10-04T15:46:00.002-04:00</published><updated>2013-11-11T09:22:33.115-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="esxcli"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="packets"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><category scheme="http://www.blogger.com/atom/ns#" term="port"/><category scheme="http://www.blogger.com/atom/ns#" term="port-id"/><category scheme="http://www.blogger.com/atom/ns#" term="statistics"/><title type='text'>ESXi Network Port Statistics</title><content type='html'>To get port statistics you first need to know which port you wish to investigate via its port-id. &lt;br /&gt;
&lt;br /&gt;
This can be gathered using the following method:&lt;br /&gt;
&lt;pre&gt;esxcli network vm list
World ID  Name            Num Ports  Networks
--------  --------------  ---------  ----------------
   54526  TPC-F11-09-013          2  VM Network, 2/13
   54675  TPC-F11-09-019          2  VM Network, 2/19
   55055  TPC-F11-09-016          2  VM Network, 2/16
   59076  TPC-F11-09-010          2  VM Network, 2/10
   69868  TPC-F11-09-011          2  VM Network, 2/11
   71906  TPC-F11-09-004          2  VM Network, 2/4
&lt;/pre&gt;&lt;br /&gt;
Grab the “World ID”&lt;br /&gt;
&lt;br /&gt;
Use the world ID to get the port-id:&lt;br /&gt;
&lt;pre&gt;esxcli network vm port list -w 54526
   Port ID: 50331665
   vSwitch: vSwitch1
   Portgroup: 2/13
   DVPort ID:
   MAC Address: 00:50:56:82:0b:97
   IP Address: 0.0.0.0
   Team Uplink: vmnic5
   Uplink Port ID: 50331650
   Active Filters:
&lt;/pre&gt;&lt;br /&gt;
From here we can correlate which port-id is giving us the most traffic or which ones is giving us problems. Once we have the port-id we can get some statistics on that port.&lt;br /&gt;
&lt;pre&gt;esxcli network port stats get -p 50331665
Packet statistics for port 50331665
   Packets received: 554581
   Packets sent: 473571
   Bytes received: 740098057
   Bytes sent: 91336282
   Broadcast packets received: 9909
   Broadcast packets sent: 15
   Multicast packets received: 0
   Multicast packets sent: 0
   Unicast packets received: 544672
   Unicast packets sent: 473556
   Receive packets dropped: 3
   Transmit packets dropped: 0
&lt;/pre&gt;&lt;br /&gt;
References: &lt;a href=&quot;http://blogs.vmware.com/vsphere/2013/01/network-troubleshooting-using-esxcli-5-1.html&quot;&gt;http://blogs.vmware.com/vsphere/2013/01/network-troubleshooting-using-esxcli-5-1.html&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/3962949636640746393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2013/10/esxi-network-port-statistics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3962949636640746393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/3962949636640746393'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2013/10/esxi-network-port-statistics.html' title='ESXi Network Port Statistics'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-1102107275677396835</id><published>2013-07-19T13:19:00.000-04:00</published><updated>2013-07-19T13:55:50.018-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dd"/><category scheme="http://www.blogger.com/atom/ns#" term="netcat"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><title type='text'>Network Performance</title><content type='html'>&lt;h2&gt;
dd with netcat&lt;/h2&gt;
Local (Sending Server)&lt;br /&gt;
&lt;pre&gt;dd bs=16M if=/dev/zero | nc $ip_address $port#
&lt;/pre&gt;
&lt;br /&gt;
Remote (Listening Server)&lt;br /&gt;
&lt;pre&gt;nc -l $port# | dd bs=16M of=/dev/null&lt;/pre&gt;
&lt;br /&gt;
reference material + compression: &lt;a href=&quot;http://www.ndchost.com/wiki/server-administration/netcat-over-ssh&quot;&gt;http://www.ndchost.com/wiki/server-administration/netcat-over-ssh&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/1102107275677396835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2013/07/network-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1102107275677396835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/1102107275677396835'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2013/07/network-performance.html' title='Network Performance'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-5646880747196225587</id><published>2013-07-10T10:42:00.002-04:00</published><updated>2013-07-10T10:56:45.541-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="df"/><category scheme="http://www.blogger.com/atom/ns#" term="do not fragment"/><category scheme="http://www.blogger.com/atom/ns#" term="fragment"/><category scheme="http://www.blogger.com/atom/ns#" term="frames"/><category scheme="http://www.blogger.com/atom/ns#" term="freebsd"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="maximum"/><category scheme="http://www.blogger.com/atom/ns#" term="maximum transmission unit"/><category scheme="http://www.blogger.com/atom/ns#" term="MTU"/><category scheme="http://www.blogger.com/atom/ns#" term="PDU"/><category scheme="http://www.blogger.com/atom/ns#" term="protocol date unit"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Testing MTU</title><content type='html'>MTU (Maximum Transmission Unit) is the maximum effective size of a PDU (Protocol Data Unit) that can be transmitted onwards by a layer.&lt;br /&gt;
&lt;br /&gt;
These configuration maximums may need to differ to accommodate different traffic types. They may need to be increased or decreased depending on whether you have configured VPN and require additional header area to transmit data as your WAN link may be configured for 1500 MTU and your VPN may require an extra 8 bytes of data to package your VPN frames. If this is the case you may need to decrease your MTU to 1492.&lt;br /&gt;
&lt;br /&gt;
An easy way to test to test and validate your MTU sizes is by using a simple ping with the DF (do not fragment bit).&lt;br /&gt;
&lt;br /&gt;
Windows:&lt;br /&gt;
The following will send a frame with a size of 1500 bytes (using -l) and will tell windows not to fragment the packet (-f do not fragment)&lt;br /&gt;
&lt;pre&gt;C:\Users\user&amp;gt;ping $hostname -l 1500 -f

Pinging $hostname [$ip_address] with 1500 bytes of data:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.

Ping statistics for $ip_address:
    Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),
Control-C
^C
&lt;/pre&gt;&lt;br /&gt;
Linux:&lt;br /&gt;
This will do the same as the windows command (-M do will tell Linux to not fragment) it only does one attempt to prevent spam (-c 1) and will send with a size of 1500 bytes (-s 1500)&lt;br /&gt;
&lt;pre&gt;# ping -s 1500 -M do $hostname -c 1
PING $hostname ($ip_address) 1500(1528) bytes of data.
From TPC-F3-05.phaedrus.sandvine.com ($ip_address) icmp_seq=1 Frag needed and DF set (mtu = 1500

--- $hostname ping statistics ---
0 packets transmitted, 0 received, +1 errors
&lt;/pre&gt;&lt;br /&gt;
FreeBSD:&lt;br /&gt;
FreeBSD ping with no fragment (-D) and a size of 1500 bytes (-s 1500)&lt;br /&gt;
&lt;pre&gt;sudo ping -D -s 1500 $hostname
PING $hosntmae ($ip_address): 1500 data bytes
ping: sendto: Message too long
ping: sendto: Message too long
ping: sendto: Message too long
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Here&#39;s some commonly known and referenced MTU sizes&lt;br /&gt;
&lt;pre&gt;1500 The biggest-sized IP packet that can normally traverse the Internet without getting fragmented. Typical MTU for non-PPPoE, non-VPN connections. 
1492 The maximum MTU recommended for Internet PPPoE implementations. 
1472 The maximum ping data payload before fragmentation errors are received on non-PPPoE, non-VPN connections. 
1460 TCP Data size (MSS) when MTU is 1500 and not using PPPoE. 
 
1464 The maximum ping data payload before fragmentation errors are received when using a PPPoE-connected machine. 
1452 TCP Data size (MSS) when MTU is 1492 and using PPPoE. 
576 Typically recommended as the MTU for dial-up type applications, leaving 536 bytes of TCP data. 
48 The sum of IP, TCP and PPPoE headers. 
40 The sum of IP and TCP headers. 
28 The sum of IP and ICMP headers. 
&lt;/pre&gt;&lt;br /&gt;
http://en.wikipedia.org/wiki/Maximum_transmission_unit&lt;br /&gt;
http://www.dslreports.com/faq/695</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/5646880747196225587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2013/07/testing-mtu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5646880747196225587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/5646880747196225587'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2013/07/testing-mtu.html' title='Testing MTU'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-466789223146506521.post-8740934920901144380</id><published>2012-02-14T11:36:00.000-05:00</published><updated>2012-02-14T11:36:06.856-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="443"/><category scheme="http://www.blogger.com/atom/ns#" term="902"/><category scheme="http://www.blogger.com/atom/ns#" term="903"/><category scheme="http://www.blogger.com/atom/ns#" term="console"/><category scheme="http://www.blogger.com/atom/ns#" term="cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="esx"/><category scheme="http://www.blogger.com/atom/ns#" term="esxi"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="tunneling"/><category scheme="http://www.blogger.com/atom/ns#" term="vsphere"/><category scheme="http://www.blogger.com/atom/ns#" term="vsphere client"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Tunneling vSphere Client in Windows</title><content type='html'>Using tunneling over SSH you can forward the multiple ports needed to access the vSphere client used to administrate ESX or ESXi hosts.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Requirements:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; SSH jumpbox (from this jumpbox you should have access to the ESX/ESXi machine)&lt;/li&gt;
&lt;li&gt; PuTTY or Cygwin &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
So basically we are binding the following ports: 443, 902, and 903 to our localhost using PuTTy in this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt; Open up PuTTy and configure the settings to look as follows where destIP=your destination IP address of the ESX box&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZhU8r2LiPcvvCwnF_Dq7G-jHPMg1-x-TfeiA35kk0lMJSIqWB0YB0uJSPT2g1rZGITKlKJhreRnMdIcnWQx3BEewHeCcPHeUXazZ9lXXdtzVt3PsmZbeQ5wfqtYCGvacBsvwjq50HF8/s1600/putty.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZhU8r2LiPcvvCwnF_Dq7G-jHPMg1-x-TfeiA35kk0lMJSIqWB0YB0uJSPT2g1rZGITKlKJhreRnMdIcnWQx3BEewHeCcPHeUXazZ9lXXdtzVt3PsmZbeQ5wfqtYCGvacBsvwjq50HF8/s320/putty.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Go back to the session tab and type the hostname/IP address of your SSH jumpbox.   Alternatively you could open up cygwin and type the following: &lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ssh -L 443:destIP:443 -L 902:destIP:902 -L 903:destIP:903 user@jumpboxIP  &lt;/span&gt;
&lt;li&gt; Edit the hosts file in windows&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; C:\Windows\system32\drivers\etc\hosts&lt;/span&gt; (this is required as esxi relies on dns name and uses local resolution).&lt;br /&gt;
&lt;br /&gt;
Add the entry:&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; 127.0.0.1 &amp;nbsp; &amp;nbsp;ESXiHostname&lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt; Open up vSphere client and login with the hostname of the remote ESX box &lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Common Errors:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Unable to connect to the MKS: Failed to connect to server &lt;/span&gt;&lt;ip&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;:902&lt;/span&gt;&lt;br /&gt;
&lt;/ip&gt;&lt;br /&gt;
&lt;ip&gt;Occurs if you are not properly forwarding port 902 903 &lt;/ip&gt;</content><link rel='replies' type='application/atom+xml' href='http://nerdy-notes.blogspot.com/feeds/8740934920901144380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nerdy-notes.blogspot.com/2012/02/tunneling-vsphere-client-in-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8740934920901144380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/466789223146506521/posts/default/8740934920901144380'/><link rel='alternate' type='text/html' href='http://nerdy-notes.blogspot.com/2012/02/tunneling-vsphere-client-in-windows.html' title='Tunneling vSphere Client in Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZhU8r2LiPcvvCwnF_Dq7G-jHPMg1-x-TfeiA35kk0lMJSIqWB0YB0uJSPT2g1rZGITKlKJhreRnMdIcnWQx3BEewHeCcPHeUXazZ9lXXdtzVt3PsmZbeQ5wfqtYCGvacBsvwjq50HF8/s72-c/putty.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>