<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>NerdGrind - How-to Computer Help - Tutorials - Tech and Gadget News &#187; How to Linux</title> <atom:link href="http://www.nerdgrind.com/tag/how-to-linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.nerdgrind.com</link> <description>Gadget and technology news, computer help, and how-to tutorials on everything, from your friendly nerd at NerdGrind</description> <lastBuildDate>Tue, 17 Nov 2009 20:03:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux</title><link>http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/</link> <comments>http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/#comments</comments> <pubDate>Wed, 14 Oct 2009 05:56:54 +0000</pubDate> <dc:creator>Nerd Grind</dc:creator> <category><![CDATA[How to Linux]]></category> <category><![CDATA[How to Ubuntu]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[Gnome desktop]]></category> <category><![CDATA[Guest Additions]]></category> <category><![CDATA[Guest OS]]></category> <category><![CDATA[increase virtualbox screen resolution]]></category> <category><![CDATA[increase virtualbox screen size]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[terminal window]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[virtual machine]]></category> <category><![CDATA[virtual pc]]></category> <category><![CDATA[Virtualbox]]></category><guid
isPermaLink="false">http://www.nerdgrind.com/?p=5721</guid> <description><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux"  title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /><img
src="http://images.nerdgrind.com:9000/images/icons/ubuntu.png" width="20" height="20" alt="ubuntu How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux"  title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /><br/> When a new Virtual Machine, or Virtual PC, is setup in Virtualbox  for Ubuntu, or another Linux flavor, the screen size and screen resolution may be fixed smaller than your maximum resolution setting. This problem can be fixed by installing Guest Additions.Guest Additions comes with Virtualbox, but is installed after you setup your Virtual [...]]]></description> <content:encoded><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux"  title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /><img
src="http://images.nerdgrind.com:9000/images/icons/ubuntu.png" width="20" height="20" alt="ubuntu How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux"  title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /><br/><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin intro 0 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-intro-0.png" border="0" hspace="2" vspace="2" align="middle" width="600" height="450" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">When a new <strong>Virtual Machine</strong>, or <strong>Virtual PC</strong>, is setup in <strong>Virtualbox</strong> for <strong>Ubuntu</strong>, or another <strong>Linux</strong> flavor, the screen size and screen resolution may be fixed smaller than your maximum resolution setting. This problem can be fixed by installing <strong>Guest Additions</strong>.</p><p
align="justify"><span
id="more-5721"></span></p><p
align="justify">Guest Additions comes with Virtualbox, but is installed after you setup your Virtual Machine, or <strong>Guest OS</strong>, to add features such as increased screen size or screen resolution. On the test PC for this example the maximum resolution is 1280 x 1024. After loading Ubuntu under Virtualbox bring up the <strong>Display Preference</strong> by going into <strong>System</strong> -&gt; <strong>Preferences</strong> -&gt; <strong>Display</strong>. The maximum resolution option listed is 800 x 600.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 0 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-0.png" border="0" hspace="2" vspace="2" align="middle" width="492" height="511" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify"><strong>Installing Guest Additions from Gnome Desktop</strong></p><p
align="justify">To get a bigger screen resolution we will need to install Guest Additions. On the Virtualbox File Menu click on <strong>Devices</strong> -&gt; <strong>Install Guest Additions</strong>.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 1 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-1.png" border="0" hspace="2" vspace="2" align="middle" width="339" height="307" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">You should now see a vboxadditions_x file now located on your Ubuntu desktop.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 2 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-2.png" border="0" hspace="2" vspace="2" align="middle" width="327" height="175" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">To open the vboxadditions file either double click on the file, or right-click and then click Open.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 3 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-3.png" border="0" hspace="2" vspace="2" align="middle" width="322" height="573" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Now double click the autorun.sh file. The vboxadditions file contains installation choices for a few different Linux versions including both 32 bit and 64 bit versions. By using the autorun.sh file you allow the script to automatically detect, and install the right software for your OS.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 4 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-4.png" border="0" hspace="2" vspace="2" align="middle" width="407" height="340" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Now click <strong>Run</strong>.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 5 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-5.png" border="0" hspace="2" vspace="2" align="middle" width="559" height="325" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">The autorun.sh will open a Shell window and begin installing the files.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 6 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-6.png" border="0" hspace="2" vspace="2" align="middle" width="623" height="589" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Once the autorun.sh file has completed installing the Guest Additions software all you have to do is hit <strong>Enter</strong> to close the Window.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 7 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-7.png" border="0" hspace="2" vspace="2" align="middle" width="503" height="441" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Now reboot Ubuntu for the new files to load properly.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 8 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-8.png" border="0" hspace="2" vspace="2" align="middle" width="146" height="183" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">After you return to the Ubuntu desktop click <strong>System</strong> -&gt; <strong>Preferences</strong> -&gt; <strong>Display</strong>.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 9 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-9.png" border="0" hspace="2" vspace="2" align="middle" width="472" height="233" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Under Display Preferences you will see the resolution is at 1152 x 864, which is still not the maximum resolution.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 10 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-10.png" border="0" hspace="2" vspace="2" align="middle" width="500" height="511" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">On the Virtualbox File Menu click on Machine -&gt; Fullscreen Mode.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 12 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-12.png" border="0" hspace="2" vspace="2" align="middle" width="299" height="368" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Once in Fullscreen Mode go to <strong>System</strong> -&gt; <strong>Preferences</strong> -&gt; <strong>Display</strong> again, and you will now see the maximum screen resolution is 1280 x 1024.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 11 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-11.png" border="0" hspace="2" vspace="2" align="middle" width="507" height="510" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify"><strong>Installing Guest Additions from the Command Line Terminal Window</strong></p><p
align="justify">To install Guest Addtions from the Terminal window Command Line in Ubuntu click <strong>Applications</strong> -&gt; <strong>Accessories</strong> -&gt; <strong>Terminal</strong>.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 13 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-13.png" border="0" hspace="2" vspace="2" align="middle" width="478" height="375" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">At the Bash prompt ($) type:</p><blockquote><p
align="justify">cd /media/cdrom0</p></blockquote><p
dir="ltr" align="justify">Hit <strong>Enter</strong>.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 14 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-14.png" border="0" hspace="2" vspace="2" align="middle" width="492" height="93" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Now type:</p><blockquote><p
align="justify">dir</p></blockquote><p
dir="ltr" align="justify">Hit <strong>Enter</strong>. This will give you a listing of all the files in the vboxadditions file directory. We want to run the autorun.sh so that script can install the right files for us.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 15 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-15.png" border="0" hspace="2" vspace="2" align="middle" width="589" height="105" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">Type:</p><blockquote><p
align="justify">sudo sh autorun.sh</p></blockquote><p
dir="ltr" align="justify">Hit <strong>Enter</strong>.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 16 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-16.png" border="0" hspace="2" vspace="2" align="middle" width="501" height="16" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">The autorun.sh file should automatically change the proper permissions to run and install the vboxadditions file that will work on your OS.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 17 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-17.png" border="0" hspace="2" vspace="2" align="middle" width="638" height="52" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p
align="justify">The autorun.sh will open a Shell window and begin installing the files. Once the autorun.sh file has completed installing the Guest Additions software all you have to do is hit <strong>Enter</strong> to close the Window.</p><p
align="center"><img
alt="virtual box guest additions ubuntu  increase screen size resolutoin 7 How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" src="http://images.nerdgrind.com:9000/images/2009/10/virtual-box-guest-additions-ubuntu--increase-screen-size-resolutoin-7.png" border="0" hspace="2" vspace="2" align="middle" width="503" height="441" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux" /></p><p><b>&copy; Copyright <a
href="http://www.nerdgrind.com/" >NerdGrind</a> 2009. All Rights Reserved.</b></p><p><h4>Related posts:</h4><ul
class="st-related-posts"><li><a
href="http://www.nerdgrind.com/how-to-upgrade-wordpress-from-the-command-line-in-two-steps/" title="How to Upgrade Wordpress from the Command Line in Two Steps">How to Upgrade Wordpress from the Command Line in Two Steps</a></li><li><a
href="http://www.nerdgrind.com/linux-finally-ported-to-apple-iphone-and-ipod-touch-video/" title="Linux Finally Ported to Apple iPhone and iPod Touch &#8211; Video">Linux Finally Ported to Apple iPhone and iPod Touch &#8211; Video</a></li><li><a
href="http://www.nerdgrind.com/clarion-releases-clarionmind-mid-in-the-us-for-64999/" title="Clarion Releases ClarionMiND MID in the US for $649.99">Clarion Releases ClarionMiND MID in the US for $649.99</a></li><li><a
href="http://www.nerdgrind.com/dell-mini-9-netbook-hacked-to-offer-touchscreen-support/" title="Dell Mini 9 Netbook Hacked to Offer Touchscreen Support">Dell Mini 9 Netbook Hacked to Offer Touchscreen Support</a></li><li><a
href="http://www.nerdgrind.com/dospara-releases-atom-powered-prima-note-cartina-um-netbook-in-japan/" title="Dospara Releases Atom-Powered Prima Note Cartina UM Netbook in Japan">Dospara Releases Atom-Powered Prima Note Cartina UM Netbook in Japan</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to Wipe Your Hard Drive Clean</title><link>http://www.nerdgrind.com/how-to-wipe-your-hard-drive-clean/</link> <comments>http://www.nerdgrind.com/how-to-wipe-your-hard-drive-clean/#comments</comments> <pubDate>Fri, 18 Jul 2008 06:00:00 +0000</pubDate> <dc:creator>Nerd Grind</dc:creator> <category><![CDATA[How to Linux]]></category> <category><![CDATA[How to Windows Vista]]></category> <category><![CDATA[How to Windows XP]]></category> <category><![CDATA[OLED]]></category><guid
isPermaLink="false">http://www.nerdgrind.com/?p=3248</guid> <description><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 How to Wipe Your Hard Drive Clean"  title="How to Wipe Your Hard Drive Clean" /><img
src="http://images.nerdgrind.com:9000/images/icons/windows_vista2.png" width="24" height="23" alt="windows vista2 How to Wipe Your Hard Drive Clean"  title="How to Wipe Your Hard Drive Clean" /><img
src="http://images.nerdgrind.com:9000/images/icons/windows_xp2.png" width="23" height="20" alt="windows xp2 How to Wipe Your Hard Drive Clean"  title="How to Wipe Your Hard Drive Clean" /><br/>Whether you're trying to destroy or erase data from your hard drives when the FBI knocks on your door, or just want to securely, ...]]></description> <content:encoded><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 How to Wipe Your Hard Drive Clean"  title="How to Wipe Your Hard Drive Clean" /><img
src="http://images.nerdgrind.com:9000/images/icons/windows_vista2.png" width="24" height="23" alt="windows vista2 How to Wipe Your Hard Drive Clean"  title="How to Wipe Your Hard Drive Clean" /><img
src="http://images.nerdgrind.com:9000/images/icons/windows_xp2.png" width="23" height="20" alt="windows xp2 How to Wipe Your Hard Drive Clean"  title="How to Wipe Your Hard Drive Clean" /><br/><p
align="center"><img
alt="How to Wipe Your Hard Drive Clean" src="http://images.nerdgrind.com:9000/images/2008/7/boot-and-nuke.jpg" height="309" hspace="2" width="350" align="middle" vspace="2" border="0" title="How to Wipe Your Hard Drive Clean" /></p><p
align="justify">Whether you&rsquo;re trying to destroy or erase data from your hard drives when the FBI knocks on your door, or just want to securely, and permanently do emergency data destruction to protect yourself from identity theft, before you sell or recycle your computer, there&rsquo;s an easy solution.</p><p
align="justify">The free open-source boot disk utility, called <strong>Darik&rsquo;s Boot and Nuke</strong> (DBAN), automatically and completely deletes the content of every hard disk it can find on, or connected to, your computer when you run it.</p><p
align="justify">The bootable DBAN can run from CDs, DVDs, thumb drives, and floppy disks.</p><p
align="justify">The process is easy:</p><p
align="justify">How to automatically wipe all hard drives</p><blockquote><p
align="justify"><font
color="#ff0000">WARNING: THIS WILL PERMANENTLY ERASE ALL DATA ON ALL HARD DRIVE HOOKED TO THE PC!!!</font></p><ol><li><div
align="justify">Boot from the DBAN floppy or CD image.</div></li><li><div
align="justify">Enter ‘autonuke&rsquo; at the boot prompt.</div></li></ol></blockquote><p
align="justify">Darik&rsquo;s Boot and Nuke <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://dban.sourceforge.net/"  target="_blank" >website is here</a>.</p><p
align="justify"><a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://sourceforge.net/project/showfiles.php?group_id=61951&#038;package_id=58479&#038;release_id=439240"  target="_blank" >Click here</a> to download the exe to write the image to a floppy disk.</p><p
align="justify"><a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://prdownloads.sourceforge.net/dban/dban-1.0.7_i386.iso"  target="_blank" >Click here</a> if you don&rsquo;t have a floppy disk, and would like to create a DBAN CD image instead.</p><p
align="justify">Keep the disk in a safe place. If it falls into the wrong hands your system could be toast, or just a big toaster.</p><p><b>&copy; Copyright <a
href="http://www.nerdgrind.com/" >NerdGrind</a> 2009. All Rights Reserved.</b></p><p><h4>Related posts:</h4><ul
class="st-related-posts"><li><a
href="http://www.nerdgrind.com/share-files-and-folders-and-printers-over-a-network/" title="Share Files and Folders and Printers Over a Network">Share Files and Folders and Printers Over a Network</a></li><li><a
href="http://www.nerdgrind.com/clone-or-copy-my-hard-drive-with-norton-ghost/" title="Clone or Copy My Hard Drive with Norton Ghost">Clone or Copy My Hard Drive with Norton Ghost</a></li><li><a
href="http://www.nerdgrind.com/share-a-printer-files-and-folders-over-a-wired-or-wireless-network-through-a-firewall/" title="Share a Printer Files and Folders Over a Wired or Wireless Network Through a Firewall">Share a Printer Files and Folders Over a Wired or Wireless Network Through a Firewall</a></li><li><a
href="http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux">How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux</a></li><li><a
href="http://www.nerdgrind.com/how-to-enable-administrative-tools/" title="How to Enable Administrative Tools">How to Enable Administrative Tools</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.nerdgrind.com/how-to-wipe-your-hard-drive-clean/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Set up NAT with Linux and iptables Firewall</title><link>http://www.nerdgrind.com/set-up-nat-with-linux-and-iptables-firewall/</link> <comments>http://www.nerdgrind.com/set-up-nat-with-linux-and-iptables-firewall/#comments</comments> <pubDate>Sun, 03 Feb 2008 17:49:04 +0000</pubDate> <dc:creator>Nerd Grind</dc:creator> <category><![CDATA[How to Linux]]></category> <category><![CDATA[Linux Network and Internet]]></category> <category><![CDATA[iptables]]></category> <category><![CDATA[OLED]]></category><guid
isPermaLink="false">http://www.nerdgrind.com/set-up-nat-with-linux-and-iptables-firewall/</guid> <description><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 Set up NAT with Linux and iptables Firewall"  title="Set up NAT with Linux and iptables Firewall" /><br/>This step-by-step tutorial shows how to set up Network Address Translation (NAT) with Open Source Linux operating system and iptables firewall. This will allow your system to act as gateway and to provide Internet access to multiple hosts in Local Area Network (LAN) using a single public IP address.]]></description> <content:encoded><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 Set up NAT with Linux and iptables Firewall"  title="Set up NAT with Linux and iptables Firewall" /><br/><p>This step-by-step tutorial shows how to set up Network Address Translation (NAT) with Open Source <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.linux.org"  target="_blank" >Linux</a> operating system and <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.netfilter.org/projects/iptables/index.html"  target="_blank" >iptables firewall</a>. This will allow your system to act as gateway and to provide Internet access to multiple hosts in Local Area Network (LAN) using a single public IP address.</p><p><strong>Requirements</strong></p><p>1. Hardware server with 2 (two) network interface cards (NICs).<br
/>2. Any Linux distribution (get more information at <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.distrowatch.com"  target="_blank" >DistroWatch.com</a>).<br
/>3. Linux <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.kernel.org"  target="_blank" >kernel</a> with networking and iptables support.<br
/>4. iptables package (you can find latest release at <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.netfilter.org/projects/iptables/downloads.html"  target="_blank" >NetFilter&rsquo;s Download</a> page).</p><p><strong>Basic definitions</strong></p><p><i>aa.aa.aa.aa</i> is Wide Area Network (WAN) IP address (<i>bb.bb.bb.bb</i> is WAN netmask).<br
/><i>cc.cc.cc.cc</i> is LAN IP address (e.g. <i>192.168.0.1</i> or <i>10.0.0.1</i>), <i>dd.dd.dd.dd</i> is LAN netmask (e.g. <i>255.255.255.0</i>).<br
/><i>ee.ee.ee.ee</i> is default gateway for Internet connection.</p><p>eth0 is hardware name of the NIC connected to WAN base.<br
/>eth1 is name of LAN connected NIC.</p><p><strong>Step-by-step set up</strong></p><p><strong>1.</strong> Apply two NICs to hardware server.<br
/><strong>2.</strong> Verify that both NICs are recognized by Linux well and are fully workable:</p><blockquote><pre>dmesg | grep eth0
dmesg | grep eth1
</pre></blockquote><p>the output may vary but in most cases it would be like following one:</p><blockquote><pre>eth1: RealTek RTL8139 at 0xe0830000, 00:30:4f:3b:af:45, IRQ 19
eth1:  Identified 8139 chip type &rsquo;RTL-8100B/8139D&rsquo;
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
</pre></blockquote><p>Similar output should be for eth0 NIC.</p><p>To verify that NICs are recognized by Linux as networking devices use the following commands:</p><blockquote><pre>ifconfig eth0
ifconfig eth1
</pre></blockquote><p>In case of success the output will be as follows:</p><blockquote><pre>eth0      Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
</pre></blockquote><p>You can find full manual page for <i>ifconfig</i> command <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://linux.die.net/man/8/ifconfig"  target="_blank" >here</a>.</p><p><strong>3.</strong> Configure WAN interface (eth0) to get Internet connection:</p><blockquote><pre>ifconfig eth0 aa.aa.aa.aa netmask bb.bb.bb.bb</pre></blockquote><p>e.g.</p><blockquote><pre>ifconfig eth0 123.45.67.89 netmask 255.255.255.248</pre></blockquote><p>WAN IP address and netmask should be provided by your ISP.</p><p><strong>4.</strong> Set up WAN NIC settings to apply after server start up.</p><p>Configuration files containing NIC settings may have different syntax and location in various distributions. For such distributions as <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.redhat.com"  target="_blank" >RedHat</a>, <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.fedoraproject.com"  target="_blank" >Fedora</a>, <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.centos.org"  target="_blank" >Centos</a> and similar ones <i>eth0</i> configuration file is at <i>/etc/sysconfig/network-scripts/ifcfg-eth0</i>. In <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.debian.org"  target="_blank" >Debian</a>, <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.ubuntu.com"  target="_blank" >Ubuntu</a> NIC settings are located at single file <i>/etc/network/interfaces</i>.</p><p>To edit configuration files use any preferred text editor like <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.vim.org"  target="_blank" >vim</a>, <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.nano-editor.org"  target="_blank" >GNU nano</a> or any other.</p><p>After editing <i>/etc/sysconfig/network-scripts/ifcfg-eth0</i> should look as follows:</p><blockquote><pre>DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=aa.aa.aa.aa        # e.g. 123.45.67.89
NETMASK=bb.bb.bb.bb       # e.g. 255.255.255.0
GATEWAY=ee.ee.ee.ee       # e.g. 123.45.67.1
HWADDR=00:30:4f:3b:af:45  # MAC address (optional entry)
</pre></blockquote><p>After making changes to <i>/etc/network/interfaces</i> section regarding eth0 NIC should looks like:</p><blockquote><pre>auto eth0
iface eth0 inet static
address aa.aa.aa.aa
netmask bb.bb.bb.bb
gateway ee.ee.ee.ee
</pre></blockquote><p>Related links: detailed <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.faqs.org/docs/securing/chap9sec90.html"  target="_blank" >syntax description</a> of <i>/etc/sysconfig/network-scripts/ifcfg-ethN</i>, <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.fifi.org/cgi-bin/man2html/usr/share/man/man5/interfaces.5.gz"  target="_blank" >manual page</a> of <i>/etc/network/interfaces</i>.</p><p><strong>5.</strong> Set up LAN NIC settings to apply after server start up. This step requires operations similar to previous step.</p><p>Edit <i>/etc/sysconfig/network-scripts/ifcfg-eth1</i> and make sure that it looks like:</p><blockquote><pre>DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=cc.cc.cc.cc       # e.g. 192.168.0.1
NETMASK=dd.dd.dd.dd      # e.g. 255.255.255.0
HWADDR=00:50:8d:d1:24:db # MAC address of LAN NIC (optional entry)
</pre></blockquote><p>If you are using Debian or related Linux distribution, edit <i>/etc/network/interfaces</i> (see previous step):</p><blockquote><pre>auto eth1
iface eth1 inet static
address cc.cc.cc.cc
netmask dd.dd.dd.dd
</pre></blockquote><p><strong>6.</strong> Set up Domain Name System servers IP addresses by editing <i>/etc/resolv.conf</i>:</p><blockquote><pre>nameserver 203.145.184.13
nameserver 203.145.184.12
</pre></blockquote><p><strong>7.</strong> Enable IP Forwarding:</p><blockquote><pre>echo 1 &gt; /proc/sys/net/ipv4/ip_forward
</pre></blockquote><p><strong>8.</strong> Set up NAT with iptables:</p><p>To delete existing rules from every iptables table, execute the following commands:</p><blockquote><pre>iptables -F
iptables -t nat -F
iptables -t mangle -F
</pre></blockquote><p>Related links: official iptables <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.netfilter.org/documentation/"  target="_blank" >documentation</a>.</p><p>Enable NAT by commands:</p><blockquote><pre>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth1 -j ACCEPT
</pre></blockquote><p><strong>8.</strong> Configure LAN clients to access Internet via described gateway:</p><p>Use clients&rsquo; operating system tools to set up the following TCP/IP settings:</p><p>IP address: from the same network as cc.cc.cc.cc (you can use <a
rel="nofollow" href="http://www.nerdgrind.com/goto/http://www.bctes.com/online-ip-subnet-calculators.html"  target="_blank" >IP/Subnet calculator</a> to get it)<br
/>Netmask: dd.dd.dd.dd<br
/>DNS: ff.ff.ff.ff<br
/>Gateway: cc.cc.cc.cc</p><p>Example:</p><blockquote><pre>IP address: 192.168.0.7
Netmask: 255.255.255.0
DNS: 209.160.67.13
Gateway: 192.168.0.1
</pre></blockquote><p>Setting all this up can be a lot easier if you&rsquo;re using a control panel rather than the command line, but I&rsquo;ll save that for another article.</p><p><b>&copy; Copyright <a
href="http://www.nerdgrind.com/" >NerdGrind</a> 2009. All Rights Reserved.</b></p><p><h4>Related posts:</h4><ul
class="st-related-posts"><li><a
href="http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux">How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux</a></li><li><a
href="http://www.nerdgrind.com/samsung-unveils-flexible-oled-concept-phone-video/" title="Samsung Unveils Flexible OLED Concept Phone &#8211; Video">Samsung Unveils Flexible OLED Concept Phone &#8211; Video</a></li><li><a
href="http://www.nerdgrind.com/prada-announces-prada-ii-phone-will-accompany-bluetooth-watch/" title="Prada Announces Prada II Phone Will Accompany Bluetooth Watch">Prada Announces Prada II Phone Will Accompany Bluetooth Watch</a></li><li><a
href="http://www.nerdgrind.com/fcc-documents-announce-that-nokia-n85-coming-to-north-america/" title="FCC Documents Announce that Nokia N85 Coming to North America">FCC Documents Announce that Nokia N85 Coming to North America</a></li><li><a
href="http://www.nerdgrind.com/casio-81-megapixel-w63ca-480-x-800-pixel-oled-only-in-japan/" title="Casio 8.1 Megapixel W63CA &#8211; 480 x 800 Pixel OLED &#8211; Only in Japan">Casio 8.1 Megapixel W63CA &#8211; 480 x 800 Pixel OLED &#8211; Only in Japan</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.nerdgrind.com/set-up-nat-with-linux-and-iptables-firewall/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>What Do I Need to Set up a Home Network with Windows Vista?</title><link>http://www.nerdgrind.com/what-do-i-need-to-set-up-a-home-network-with-windows-vista/</link> <comments>http://www.nerdgrind.com/what-do-i-need-to-set-up-a-home-network-with-windows-vista/#comments</comments> <pubDate>Fri, 25 Jan 2008 22:57:31 +0000</pubDate> <dc:creator>Nerd Grind</dc:creator> <category><![CDATA[How to Linux]]></category> <category><![CDATA[How to Network and Internet Vista]]></category> <category><![CDATA[How to Windows Vista]]></category> <category><![CDATA[How to Windows XP]]></category> <category><![CDATA[home network]]></category> <category><![CDATA[OLED]]></category><guid
isPermaLink="false">http://www.nerdgrind.com/what-do-i-need-to-set-up-a-home-network-with-windows-vista/</guid> <description><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 What Do I Need to Set up a Home Network with Windows Vista?"  title="What Do I Need to Set up a Home Network with Windows Vista?" /><img
src="http://images.nerdgrind.com:9000/images/icons/network-and-internet.png" width="27" height="25" alt="network and internet What Do I Need to Set up a Home Network with Windows Vista?"  title="What Do I Need to Set up a Home Network with Windows Vista?" /><img
src="http://images.nerdgrind.com:9000/images/icons/windows_vista2.png" width="24" height="23" alt="windows vista2 What Do I Need to Set up a Home Network with Windows Vista?"  title="What Do I Need to Set up a Home Network with Windows Vista?" /><br/>The variety of options for home networking can make buying decisions difficult. Before you decide what hardware to get, you should decide what type of network technology to use. Note: This information could be applied to almost any operating system.]]></description> <content:encoded><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/linux2.png" width="24" height="28" alt="linux2 What Do I Need to Set up a Home Network with Windows Vista?"  title="What Do I Need to Set up a Home Network with Windows Vista?" /><img
src="http://images.nerdgrind.com:9000/images/icons/network-and-internet.png" width="27" height="25" alt="network and internet What Do I Need to Set up a Home Network with Windows Vista?"  title="What Do I Need to Set up a Home Network with Windows Vista?" /><img
src="http://images.nerdgrind.com:9000/images/icons/windows_vista2.png" width="24" height="23" alt="windows vista2 What Do I Need to Set up a Home Network with Windows Vista?"  title="What Do I Need to Set up a Home Network with Windows Vista?" /><br/><p>The variety of options for home networking can make buying decisions difficult. Before you decide what hardware to get, you should decide what type of network technology (the way computers in a network connect to or communicate with one another) to use. This article describes and compares the most common network technologies and lists hardware requirements for each.</p><p>Note: This information could be applied to almost any operating system.</p><p><strong>Network technologies</strong></p><p>The most common types of network technology are wireless, Ethernet, and HPNA (home phone line). When choosing a network technology, consider the location of your computers, desired speed of your network, and how much you want to spend. The sections below compare these three technologies.</p><p><strong><u>Wireless</u></strong></p><p>Wireless networks use radio waves to send information between computers. The three most common wireless network standards are 802.11b, 802.11g, and 802.11a.</p><p><strong>Speed</strong></p><p> • 802.11b: transfers data at a maximum rate of 11 megabits per second (Mbps)<br
/> • 802.11g: transfers data at a maximum rate of 54 Mbps<br
/> • 802.11a: transfers data at a maximum rate of 54 Mbps</p><p>(For example, downloading a 10 megabyte [MB] photo from the Internet under optimal conditions takes about 7 seconds on an 802.11b network and about 1.5 seconds on an 802.11g or 802.11a network.)</p><p><strong>Cost</strong></p><p>Wireless network adapters and routers can cost three or four times as much as Ethernet cable adapters and hubs or switches. 802.11b products are the least expensive; 802.11a products are the most expensive. 802.11g products are priced in the middle and offer a greater signal range than 802.11b and 802.11a products.</p><p><strong>Pros</strong></p><p> • It&rsquo;s easy to move computers around because there are no cables.<br
/> • Wireless networks are usually easier to install than Ethernet.</p><p><strong>Cons</strong></p><p> • Wireless is more expensive and often slower than Ethernet or HPNA.<br
/> • Wireless can be affected by interference from things such as walls, large metal objects, and pipes. Also, many cordless phones and microwave ovens can interfere with wireless networks when they&rsquo;re in use.<br
/> • Wireless networks are typically about half as fast as their rated speed under all but ideal conditions.</p><p><strong><u>Ethernet</u></strong></p><p>Ethernet networks use Ethernet cables to send information between computers.</p><p><strong>Speed</strong></p><p>Ethernet transfers data at either 10, 100, or 1000 Mbps, depending on the type of cables used. Gigabit Ethernet is the fastest, with a transfer rate of 1 gigabit per second (or 1000 Mbps).</p><p>(For example, downloading a 10 megabyte [MB] photo from the Internet under optimal conditions takes about 8 seconds on a 10 Mbps network, about 1 second on a 100 Mbps network, and less than a second on a 1000 Mbps network.)</p><p><strong>Cost</strong></p><p>Ethernet cables, hubs, and switches are very inexpensive and many computers come with Ethernet adapters installed. Adding a hub, switch, or router to your network will be most of the cost.</p><p><strong>Pros</strong></p><p> • Ethernet is a proven and reliable technology.<br
/> • Ethernet networks are inexpensive and fast.</p><p><strong>Cons</strong></p><p> • Ethernet cables must be run between each computer and to a hub, switch, or router, which can be time-consuming and difficult when the computers are in different rooms.<br
/> • Gigabit Ethernet is expensive.</p><p><strong><u>HPNA</u></strong></p><p>HPNA networks use existing home telephone wires to send information between computers.</p><p><strong>Speed</strong></p><p><strong>HPNA</strong> 2.0 transfers data at 10 Mbps. HPNA 3.0 transfers data at 128 Mbps.</p><p>(For example, downloading a 10 megabyte [MB] photo from the Internet under optimal conditions takes about 8 seconds on an HPNA 2.0 network and about 1 second on an HPNA 3.0 network.)</p><p><strong>Cost</strong></p><p>HPNA adapters cost a little more than Ethernet adapters but are usually less expensive than wireless adapters.</p><p><strong>Pros</strong></p><p>• HPNA uses the existing telephone wiring in your home.<br
/> • You don&rsquo;t need hubs or switches to connect more than two computers in an HPNA network.</p><p><strong>Cons</strong></p><p> • You need a phone jack in each room where you want to have a computer, and all jacks must be on the same phone line.</p><p><strong>Hardware requirements</strong></p><p>There are several kinds of hardware used in home networks.</p><p>• Network adapters: These adapters (also called network interface cards, or NICs) connect computers to a network so that they can communicate. A network adapter can be connected to the USB port on your computer or installed inside your computer in an available Peripheral Component Interconnect (PCI) expansion slot.</p><p><img
alt="network equipment for home network 1 What Do I Need to Set up a Home Network with Windows Vista?" src="http://images.nerdgrind.com:9000/images/2008/1/network-equipment-for-home-network-1.png" height="349" hspace="2" width="367" align="middle" vspace="2" border="0" title="What Do I Need to Set up a Home Network with Windows Vista?" /></p><p><small>Wireless, Ethernet, and HPNA network adapters</small></p><p>• Network hubs and switches: Hubs and switches connect two or more computers to an Ethernet network. A switch costs a little more than a hub, but it speeds up the transfer rate of information.</p><p><img
alt="network equipment for home network 2 What Do I Need to Set up a Home Network with Windows Vista?" src="http://images.nerdgrind.com:9000/images/2008/1/network-equipment-for-home-network-2.png" height="276" hspace="2" width="320" align="middle" vspace="2" border="0" title="What Do I Need to Set up a Home Network with Windows Vista?" /></p><p><small>Ethernet hub</small></p><p>• Routers and access points: Routers connect computers and networks to each other (for example, a router can connect your home network to the Internet). Routers also enable you to share a single Internet connection among several computers. Routers can be wired or wireless. You don&rsquo;t need to use a router for a wired network but we recommend it if you want to share an Internet connection. Access points turn wired Ethernet networks into wireless networks. If you want to share an Internet connection over a wireless network, you will need a wireless router or an access point.</p><p><img
alt="network equipment for home network 3 What Do I Need to Set up a Home Network with Windows Vista?" src="http://images.nerdgrind.com:9000/images/2008/1/network-equipment-for-home-network-3.png" height="192" hspace="2" width="352" align="middle" vspace="2" border="0" title="What Do I Need to Set up a Home Network with Windows Vista?" /></p><p><small>Access point (left); wired router (center); wireless router (right)</small></p><p>• Modems: Computers use modems to send and receive information over telephone or cable lines. You will need a modem if you want to connect to the Internet.</p><p><img
alt="network equipment for home network 4 What Do I Need to Set up a Home Network with Windows Vista?" src="http://images.nerdgrind.com:9000/images/2008/1/network-equipment-for-home-network-4.png" height="180" hspace="2" width="126" align="middle" vspace="2" border="0" title="What Do I Need to Set up a Home Network with Windows Vista?" /></p><p><small>Cable modem</small></p><p>• Network cables (Ethernet and HPNA only): Network cables connect computers to each other and to other related hardware, such as hubs and routers.</p><p><img
alt="network equipment for home network 5 What Do I Need to Set up a Home Network with Windows Vista?" src="http://images.nerdgrind.com:9000/images/2008/1/network-equipment-for-home-network-5.png" height="400" hspace="2" width="428" align="middle" vspace="2" border="0" title="What Do I Need to Set up a Home Network with Windows Vista?" /></p><p><small>Ethernet and HPNA cables</small></p><p>The table below shows the hardware that you need for each type of network technology.</p><table
width="100%" cellspacing="8" cellpadding="8" border="0"><tbody><tr><td><p><u><b>Technology</b></u></p></td><td><p><u><b>Hardware</b></u></p></td><td><p><u><b>How Many</b></u></p></td></tr><tr><td><p><b>Ethernet</b></p></td><td><p>Ethernet network adapter</p></td><td><p>One for each computer on your network</p></td></tr><tr><td></td><td><p>Ethernet hub or switch (only needed if you want to connect more than two computers)</p></td><td><p>One (a 10/100 hub or switch is best and should have enough ports to accommodate all computers on your network)</p></td></tr><tr><td></td><td><p>Ethernet router (only needed if you want to connect more than two computers and share an Internet connection)</p></td><td><p>One (you don&rsquo;t need a hub or switch if you have a router because it has ports on it for your computers)</p></td></tr><tr><td></td><td><p>Ethernet cables</p></td><td><p>One for each computer connected to the network hub or switch (10/100 Cat 5e cables are best)</p></td></tr><tr><td></td><td><p>Crossover cable (only needed if you want to connect two computers directly to each other and not use a hub, switch, or router)</p></td><td><p>One</p></td></tr><tr><td><p><b>HPNA</b></p></td><td><p>Home phoneline network adapter (HPNA)</p></td><td><p> One for each computer on your network (USB-to-phoneline network adapters are best)</p></td></tr><tr><td></td><td><p>Telephone cables</p></td><td><p>One for each computer on your network (use a standard telephone cable to plug each computer into a phone jack)</p></td></tr><tr><td><p><b>Wireless</b></p></td><td><p>Wireless network adapter</p></td><td><p>One for each computer on your network</p></td></tr><tr><td></td><td><p>Wireless access point or router (recommended)</p></td><td><p>One</p></td></tr></tbody></table><p>It&rsquo;s a good idea to find out what kind of network adapters your computers have, if any. You might decide to go with a certain technology because you already have most of the hardware, or you might decide to upgrade your hardware. Most people find that a combination of technologies works best for their environment. For recommended layouts and information about assembling your network, see <a
href="http://www.nerdgrind.com/how-to-setup-a-home-network/" >Setting Up a Home Network</a>.</p><p><b>&copy; Copyright <a
href="http://www.nerdgrind.com/" >NerdGrind</a> 2009. All Rights Reserved.</b></p><p><h4>Related posts:</h4><ul
class="st-related-posts"><li><a
href="http://www.nerdgrind.com/share-files-and-folders-and-printers-over-a-network/" title="Share Files and Folders and Printers Over a Network">Share Files and Folders and Printers Over a Network</a></li><li><a
href="http://www.nerdgrind.com/clone-or-copy-my-hard-drive-with-norton-ghost/" title="Clone or Copy My Hard Drive with Norton Ghost">Clone or Copy My Hard Drive with Norton Ghost</a></li><li><a
href="http://www.nerdgrind.com/share-a-printer-files-and-folders-over-a-wired-or-wireless-network-through-a-firewall/" title="Share a Printer Files and Folders Over a Wired or Wireless Network Through a Firewall">Share a Printer Files and Folders Over a Wired or Wireless Network Through a Firewall</a></li><li><a
href="http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux">How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux</a></li><li><a
href="http://www.nerdgrind.com/how-to-enable-administrative-tools/" title="How to Enable Administrative Tools">How to Enable Administrative Tools</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.nerdgrind.com/what-do-i-need-to-set-up-a-home-network-with-windows-vista/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Block Hotlinking with Apache Web Server</title><link>http://www.nerdgrind.com/block-hotlinking-with-apache-web-server/</link> <comments>http://www.nerdgrind.com/block-hotlinking-with-apache-web-server/#comments</comments> <pubDate>Fri, 11 Jan 2008 00:24:52 +0000</pubDate> <dc:creator>Nerd Grind</dc:creator> <category><![CDATA[How to Apache]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[hotlink]]></category> <category><![CDATA[hotlinking]]></category> <category><![CDATA[How to Linux]]></category> <category><![CDATA[httpd.conf]]></category> <category><![CDATA[image stealing]]></category> <category><![CDATA[image theft]]></category> <category><![CDATA[OLED]]></category><guid
isPermaLink="false">http://www.nerdgrind.com/block-hotlinking-with-apache-web-server/</guid> <description><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/apache-2.png" width="79" height="25" alt="apache 2 Block Hotlinking with Apache Web Server"  title="Block Hotlinking with Apache Web Server" /><br/>Many web site owners have a hosting or co-location plan that limits the amount of bandwidth their web site can use each month. With the proliferation of user spaces on sites such as MySpace, Facebook, etc, people using those services, as well as other web site owners, copy the code for an image from your [...]]]></description> <content:encoded><![CDATA[<img
src="http://images.nerdgrind.com:9000/images/icons/apache-2.png" width="79" height="25" alt="apache 2 Block Hotlinking with Apache Web Server"  title="Block Hotlinking with Apache Web Server" /><br/><p>Many web site owners have a hosting or co-location plan that limits the amount of bandwidth their web site can use each month. With the proliferation of user spaces on sites such as MySpace, Facebook, etc, people using those services, as well as other web site owners, copy the code for an image from your web site, and put it into a page on their site. This means that each time that person&rsquo;s page loads for a reader, the image comes from your server, and uses your bandwidth to serve it. This practice is called <strong>hotlinking</strong>. The bandwidth you purchase can get chewed up in a hurry if too many people do this to you. Fortunately there is a solution.</p><p>This tutorial applies to <strong>Apache</strong> web server only.</p><p><span
id="more-3022"></span></p><p>There are two ways to block hotlinking. First by using the httpd.conf file, and second by using the .htaccess file.</p><p><strong>Option 1:</strong></p><p>Using the main httpd.conf file for Apache uses fewer resources, and will be applied to all web sites on the server, so we&rsquo;ll start there. Using a bash shell type:</p><p><pre class="brush: php;">vi /etc/httpd/conf/httpd.conf</pre></p><p>First be sure your httpd.conf contains the following line with no # sign in front of it. The line should look like the one below:</p><p><pre class="brush: php;">LoadModule setenvif_module modules/mod_setenvif.so</pre></p><p>Rather than using your arrow key you can page down in vi, you can use ctrl + d to reach the end of the httpd.conf file. At the end of your config file you&rsquo;ll need to add the following code.</p><p><pre class="brush: php;">&lt;VirtualHost *:80&gt;
SetEnvIfNoCase Referer &quot;mydomain’.com&quot; local_ref=1
&lt;FilesMatch &quot;’.(gif|jpg|jpeg|png|swf|mpg|avi|flv)&quot;&gt;
Order Allow,Deny
Allow from env=local_ref
&lt;/FilesMatch&gt;
&lt;/VirtualHost&gt;</pre></p><p>The new VirtualHost container should look something like this:</p><p><pre class="brush: php;">&lt;VirtualHost *:80&gt;
ServerName www.mydomain.com
ServerAlias mydomain.com
DocumentRoot /var/www/mysitedirectory
ServerPath /mysitedirectory
SetEnvIfNoCase Referer &quot;mydomain’.com&quot; local_ref=1
&lt;FilesMatch &quot;’.(gif|jpg|jpeg|png|swf|mpg|avi|flv)&quot;&gt;
Order Allow,Deny
Allow from env=local_ref
&lt;/FilesMatch&gt;
&lt;/VirtualHost&gt;</pre></p><p>You can add as many different file types to the list as you want. Just be sure each file is separated by a pipe |. To close and save the changes made by vi type:</p><p><pre class="brush: php;">:wq</pre></p><p>and hit enter.</p><p>Suppose you wanted to add more trusted domains besides your own. You could add:</p><p><pre class="brush: php;">SetEnvIfNoCase Referer &quot;trusted-domain’.com&quot; trusted=yes
SetEnvIfNoCase Referer &quot;another-trusted-domain’.com&quot; trusted=yes
Allow from env=trusted</pre></p><p>Your new code would then would include your own domain, and other trusted domains. The new code would look like the following below:</p><p><pre class="brush: php;">&lt;VirtualHost *:80&gt;
SetEnvIfNoCase Referer &quot;mydomain’.com&quot; local_ref=1
SetEnvIfNoCase Referer &quot;trusted-domain’.com&quot; trusted=yes
SetEnvIfNoCase Referer &quot;another-trusted-domain’.com&quot; trusted=yes
&lt;FilesMatch &quot;’.(gif|jpg|jpeg|png|swf|mpg|avi|flv)&quot;&gt;
Order Allow,Deny
Allow from env=local_ref
Allow from env=trusted
&lt;/FilesMatch&gt;
&lt;/VirtualHost&gt;</pre></p><p><strong>Option 2:</strong></p><p>The less efficient, but possibly more useful option is to use the use the .htaccess file. For Wordpress users you can access the .htaccess file from your administrative control panel by going to manage &#8211;&gt; files &#8211;&gt; .htaccess (for rewrite rules ). For others type the following into a bash shell:</p><p><pre class="brush: php;">vi /var/www/mysitedirectory/.htaccess</pre></p><p>Add the following code:</p><p><pre class="brush: php;">&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
# Hotlink Protection with Feedburner Access Start
RewriteCond %{REQUEST_FILENAME} ’.(gif|jpg|jpeg|png|swf|mpg|avi|flv|mp3)$ [NC]
# Next line allows a blank or empty referrer to see images
# this includes people simply pasting the url to the image and going to it
# this line is necessary for some with firewalls, ISP firewalls, even AOL
# norton and mcafee personal firewall remove REFERER header
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !mydomain’.com [NC]
# The line below is a way to allow all of feedburner.com
# RewriteCond %{HTTP_REFERER} !feedburner’. [NC]
# It is better to only specify your direct feed
RewriteCond %{HTTP_REFERER} !^http://feeds.feedburner.com/mywebsite$ [NC]
RewriteCond %{HTTP_REFERER} !google’. [NC]
## RewriteCond %{HTTP_REFERER} !bloglines’. [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/ [R=301,L]
&lt;/IfModule&gt; # If this line is already present, as in Wordpress, then do NOT add
# Hotlink Protection with Feedburner Access End</pre></p><p>To close and save the changes made by vi type:</p><p><pre class="brush: php;">:wq</pre></p><p>and hit enter.</p><p>Whenever you see a # in, or at the start of, a line, anything after the # will not be read by Apache. Using # is referred to as commenting out the line or text. You can use more than one # to comment out a line. Wordpress already has &lt;/IfModule&gt; at the end of the .htaccess file, so adding and extra &lt;/IfModule&gt; could cause a problem.</p><p>If you make an error, and you get a 500 error instead of seeing your site type the following into your bash shell:</p><p><pre class="brush: php;">vi /var/www/mysitedirectory/.htaccess</pre></p><p>Now type</p><p>dd</p><p>To erase each line of code you added. Remember to type :wq to close and save your work. Always make a backup of the .htaccess file before you start.</p><p>An easier way to access these files on a dedicated server is using an administrative control panel, which I will discuss in a later article.</p><p>Be sure to save your .htaccess file after make changes. Some plugins for Wordpress, as an example, can overwrite your .htaccess file. After making changes with a plugin, etc., it&rsquo;s good practice to check and make sure your .htaccess file has not changed.</p><p>Some people serve another image that says NO HOTLINKING, but that is still using bandwidth, so my configuration serves nothing. On the thief&rsquo;s end, readers will see a read X in Internet Explorer, but no image.</p><p>One last note, you cannot use option 1 and 2 together. You have to choose and use only option 1, or only option 2. Apache may not give you an error in the log, but it could drag down Apache&rsquo;s performance with an incorrect configuration.</p><p><b>&copy; Copyright <a
href="http://www.nerdgrind.com/" >NerdGrind</a> 2009. All Rights Reserved.</b></p><p><h4>Related posts:</h4><ul
class="st-related-posts"><li><a
href="http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/" title="How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux">How to Increase Screen Size or Resolution in Virtualbox for Ubuntu or Linux</a></li><li><a
href="http://www.nerdgrind.com/samsung-unveils-flexible-oled-concept-phone-video/" title="Samsung Unveils Flexible OLED Concept Phone &#8211; Video">Samsung Unveils Flexible OLED Concept Phone &#8211; Video</a></li><li><a
href="http://www.nerdgrind.com/prada-announces-prada-ii-phone-will-accompany-bluetooth-watch/" title="Prada Announces Prada II Phone Will Accompany Bluetooth Watch">Prada Announces Prada II Phone Will Accompany Bluetooth Watch</a></li><li><a
href="http://www.nerdgrind.com/fcc-documents-announce-that-nokia-n85-coming-to-north-america/" title="FCC Documents Announce that Nokia N85 Coming to North America">FCC Documents Announce that Nokia N85 Coming to North America</a></li><li><a
href="http://www.nerdgrind.com/casio-81-megapixel-w63ca-480-x-800-pixel-oled-only-in-japan/" title="Casio 8.1 Megapixel W63CA &#8211; 480 x 800 Pixel OLED &#8211; Only in Japan">Casio 8.1 Megapixel W63CA &#8211; 480 x 800 Pixel OLED &#8211; Only in Japan</a></li></ul>]]></content:encoded> <wfw:commentRss>http://www.nerdgrind.com/block-hotlinking-with-apache-web-server/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss><!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 37/70 queries in 0.582 seconds using memcached

Served from: carsndealerships.com @ 2009-11-21 22:57:22 -->