<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>ComputechTips</title>
	
	<link>http://computechtips.com</link>
	<description>computer and tech-related tips</description>
	<lastBuildDate>Mon, 01 Apr 2013 10:55:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Computechtips" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="computechtips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /><meta xmlns="http://pipes.yahoo.com" name="pipes" content="noprocess" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Computechtips</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Using EoIP Tunnel to connect private LANs across internet</title>
		<link>http://computechtips.com/534/mikrotik-eoip-tunnel-in-action</link>
		<comments>http://computechtips.com/534/mikrotik-eoip-tunnel-in-action#comments</comments>
		<pubDate>Sat, 30 Mar 2013 22:56:47 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[EoIP]]></category>
		<category><![CDATA[Mikrotik]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=534</guid>
		<description><![CDATA[EoIP or Ether over IP tunnel is a tunnel protocol designed by Mikrotik development team which allows network administrators to easily connect private LANs located in different locations separated by cities or countries. As long as the Mikrotik routers can &#8230; <a href="http://computechtips.com/534/mikrotik-eoip-tunnel-in-action">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>EoIP</strong> or <strong>Ether over IP</strong> tunnel is a tunnel protocol designed by Mikrotik development team which allows network administrators to easily connect private LANs located in different locations separated by cities or countries. As long as the Mikrotik routers can ping each other, we can create the EoIP tunnel among them.</p>
<p><span id="more-534"></span>This article shows you how to create EoIP tunnel between two Mikrotik routers. After you understand how the EoIP works, you can easily add more routers to create the tunnel.</p>
<p>To make it easier, we will follow the network diagram below.</p>
<p><img class="aligncenter size-full wp-image-535" alt="mikrotik-eoip-tunnel" src="http://computechtips.com/wp-content/uploads/2013/03/mikrotik-eoip-tunnel.png" width="742" height="532" /></p>
<p>There are two Mikrotik routers, MT1 and MT2 which have the following technical data:</p>
<p><strong>MT1</strong><br />
Public IP: 111.222.111.222/28 (assigned to ether1)<br />
Default Gateway: 111.222.111.209<br />
LAN IP: 192.168.100.0/24<br />
EoIP tunnel IP: 10.10.10.1/30 (assigned to eoip1)</p>
<p><strong>MT2</strong><br />
Public IP: 222.111.222.111/27 (assigned to ether1)<br />
Default Gateway: 222.111.222.97<br />
LAN IP: 192.168.101.0/24<br />
EoIP tunnel IP: 10.10.10.2/30 (assigned to eoip2)</p>
<p>I assume that you have configured the internal LAN so it can connect to internet (masquerade the private IPs to the public interface).</p>
<p>Below are the configuration on both MT1 and MT2:</p>
<p>MT1</p>
<pre>
/ip address add address=111.222.111.222/28 interface=ether1

/ip route add dst-address=0.0.0.0/0 gateway=111.222.111.209

/ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 src-address=192.168.100.0/24

/interface eoip add name=eoip1 remote-address=222.111.222.111 tunnel-id=10

/ip address add address=10.10.10.1/30 interface=eoip1

/ip route add dst-address=192.168.101.0/24 gateway=10.10.10.2
</pre>
<p>MT2</p>
<pre>
/ip address add address=222.111.222.111/27 interface=ether1

/ip route add dst-address=0.0.0.0/0 gateway=222.111.222.97

/ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 src-address=192.168.101.0/24

/interface eoip add name=eoip2 remote-address=111.222.111.222 tunnel-id=10

/ip address add address=10.10.10.2/30 interface=eoip1

/ip route add dst-address=192.168.100.0/24 gateway=10.10.10.1
</pre>
<p>After you finish setting the above configuration, you should be able to ping from Laptop1 / PC1 to Laptop2 / PC2 and the other way around.</p>
<p>See how easy it is to connect private LANs across internet via EoIP tunnel.</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/18/setting-up-ip-address-linux" title="Permanent link to Setting up IP address in Linux">Setting up IP address in Linux</a>  </li>
<li> <a href="http://computechtips.com/311/mikrotik-pptp-server" title="Permanent link to How To: Set Up PPTP Server on Mikrotik">How To: Set Up PPTP Server on Mikrotik</a>  </li>
<li> <a href="http://computechtips.com/177/block-facebook-twitter-mikrotik" title="Permanent link to How To: Block Facebook, Twitter, Youtube on Mikrotik">How To: Block Facebook, Twitter, Youtube on Mikrotik</a>  </li>
<li> <a href="http://computechtips.com/480/fixed-static-address-mikrotik-dhcp" title="Permanent link to Assign fixed/static IP address via Mikrotik DHCP server">Assign fixed/static IP address via Mikrotik DHCP server</a>  </li>
<li> <a href="http://computechtips.com/16/lock-mac-ip-address-mikrotik" title="Permanent link to How to Lock MAC and IP Address in Mikrotik">How to Lock MAC and IP Address in Mikrotik</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/534/mikrotik-eoip-tunnel-in-action/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download the latest Windows support software for your Mac</title>
		<link>http://computechtips.com/528/download-windows-support-software-mac</link>
		<comments>http://computechtips.com/528/download-windows-support-software-mac#comments</comments>
		<pubDate>Fri, 29 Mar 2013 00:53:53 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=528</guid>
		<description><![CDATA[If you want to install Windows 8 on Apple&#8217;s MacBook via Boot Camp you might encounter a problem that you could not download the latest Windows support software or the download took very very long time and the download failed. &#8230; <a href="http://computechtips.com/528/download-windows-support-software-mac">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you want to install Windows 8 on Apple&#8217;s MacBook via Boot Camp you might encounter a problem that you could not download the latest Windows support software or the download took very very long time and the download failed. It happened to me and many people when download the latest Windows software.</p>
<p><span id="more-528"></span></p>
<p><img class="aligncenter size-full wp-image-530" alt="apple-boot-camp" src="http://computechtips.com/wp-content/uploads/2013/03/apple-boot-camp.png" width="789" height="554" /></p>
<p>Luckily I found the solution for this after searching in Apple Support Communities website. Thanks to &#8216;<a href="https://discussions.apple.com/message/21624278#21624278" target="_blank">rthed</a>&#8216; who pointed us to solve this issue. Instead downloading it via Boot Camp Assistant, we can manually download it from Apple support download website. You can download the latest Windows support software for MacBook from <a title="Boot Camp Support Software 5.0.5033" href="http://support.apple.com/downloads/DL1638/en_US/BootCamp5.0.5033.zip">here</a> [554 MB zip file]. Unzip the downloaded file, go to the BootCamp folder and then run the setup.exe file</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/155/windows-8-support-software-macbook" title="Permanent link to Install Windows Support Software for Windows 8 on MacBook">Install Windows Support Software for Windows 8 on MacBook</a>  </li>
<li> <a href="http://computechtips.com/151/windows-8-macbook-pro" title="Permanent link to How To: Install Windows 8 on MacBook Pro">How To: Install Windows 8 on MacBook Pro</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/528/download-windows-support-software-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and configure Samba in Linux</title>
		<link>http://computechtips.com/522/install-and-configure-samba-in-linux</link>
		<comments>http://computechtips.com/522/install-and-configure-samba-in-linux#comments</comments>
		<pubDate>Mon, 25 Mar 2013 17:08:37 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=522</guid>
		<description><![CDATA[Samba is a free and open source software that allows Linux and Unix-like operating system inter-operate each other with Windows. Samba provides file and print services for Windows clients and can integrate with a Windows Server domain. It can also &#8230; <a href="http://computechtips.com/522/install-and-configure-samba-in-linux">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Samba is a free and open source software that allows Linux and Unix-like operating system inter-operate each other with Windows. Samba provides file and print services for Windows clients and can integrate with a Windows Server domain. It can also be a part of Active Directory domain.<br />
<span id="more-522"></span><br />
Running on most Linux and Unix-like system such as Solaris, BSD and Mac OS X server, Samba becomes a standard on nearly all distributions of Linux and included as a basic system service on other Unix-based system as well.</p>
<p>This post will focus on how to install and configure Samba in Linux. I am using Ubuntu server 12.10, however this should be applicable for other Linux distribution such as Redhat, Centos, Fedora, Debian, and Slackware with just different in the way how to install it. The scenario is based-on the diagram below.</p>
<p><img class="aligncenter size-full wp-image-523" alt="Samba-File-Sharing" src="http://computechtips.com/wp-content/uploads/2013/03/Samba-File-Sharing.png" width="650" height="515" /></p>
<p>In a company there are two departments: Marketing and Billing Department (this is just for example only). The marketing people are John, James and Jacky whereas the Billing people are Debby, Diana and Donna. So we will create Marketing and Billing folder in the Samba server to be shared.<br />
John, James and Jacky have read/write access to the Marketing folder with read-only access to Billing folder. Debby, Diana and Donna have read/write access to the Billing folder with read-only access to Marketing folder. Each users also have its own Home folder to store their private documents so the Home folders are not browsable to make it more private.</p>
<p>In this tutorial, the Samba files will be stored in /data/samba directory. You can change this to meet your configuration.</p>
<p>Let&#8217;s go to the step by step:</p>
<p><strong>1. Install the Samba</strong></p>
<p>In Ubuntu / Debian varian:</p>
<pre>
$ sudo apt-get install samba
</pre>
<p>In Centos / Fedora / Redhat varian:</p>
<pre>
$ sudo yum install samba samba-common
</pre>
<p>In Slackware</p>
<pre>
$ sudo slapt-get -i samba
</pre>
<p><strong>2. Create all the users and groups</strong></p>
<p>We will create user and group of each user including the marketing and billing user and group.</p>
<pre>
# useradd john
# useradd james
# useradd jacky
# useradd debby
# useradd diana
# useradd donna
# useradd marketing
# useradd billing
</pre>
<p>Then set john, james and jacky into the marketing group and debby, diana, and donna into the billing group</p>
<pre>
# usermod -a -G marketing john
# usermod -a -G marketing james
# usermod -a -G marketing jacky
# usermod -a -G billing debby
# usermod -a -G billing diana
# usermod -a -G billing donna
</pre>
<p><strong>3. Create the shared folders and set the permissions</strong></p>
<p>In this tutorial, the shared folders are marketing and billing folders, so lets create those folders using super user privileges</p>
<pre>
# mkdir -p /data/samba/marketing
# mkdir -p /data/samba/billing
</pre>
<p>Then set the permission of the folders to each user and group</p>
<pre>
# chown -R marketing.marketing /data/samba/marketing
# chown -R billing.billing /data/samba/billing
</pre>
<p><strong>4. Edit the /etc/samba/smb.conf</strong></p>
<p>This is my configuration:</p>
<pre>[global]
	workgroup = MYWORKGROUP
	server string = %h server (Samba, Ubuntu)
	map to guest = Bad User
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	unix password sync = Yes
	security = user
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	dns proxy = No
	usershare allow guests = Yes
	panic action = /usr/share/samba/panic-action %d
	idmap config * : backend = tdb

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0700
	directory mask = 0700
	browseable = No

[Marketing]
	comment = Marketing Shared Directory
	path = /data/samba/marketing
	write list = @marketing
	read list = @billing
	force user = marketing
	force group = marketing
	read only = No
	guest ok = No
	create mask = 0755
	browseable = Yes

[Billing]
	comment = Billing Shared Directory
	path = /data/samba/billing
	write list = @billing
	read list = @marketing
	force user = billing
	force group = billing
	read only = No
	guest ok = No
	create mask = 0755
	browseable = Yes</pre>
<p><strong>5. Create Samba password for each user</strong></p>
<p>Create samba password for all users except the marketing and billing user.</p>
<pre>
# smbpasswd -a john
New SMB password:
Retype new SMB password:
Added user john.
</pre>
<p>Repeat the command above to create Samba password for all users.</p>
<p><strong>6. Run testparm to see the smb.conf is fine</strong></p>
<pre>
# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[Marketing]"
Processing section "[Billing]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
</pre>
<p><strong>7. Run the Samba service</strong><br />
We can run the Samba service using command below:</p>
<pre>
# /etc/init.d/smbd start
# /etc/init.d/nmbd start
</pre>
<p><strong>8. Now you are ready to access the shared folder from Windows, Linux, or Mac.</strong></p>
<p>Using Windows Explorer, try to access the Samba server using \\&lt;samba_server_ip_address&gt;\&lt;shared_folder&gt;. Based-on the diagram above, type \\192.168.10.10\marketing for the marketing directory or \\192.168.10.10\billing for the shared billing directory. You can also simply \\192.168.10.10 in the address bar and then select the shared folder. Use your username and password to access the shared directory.</p>
<p>In Mac, use Finder to access the shared folder. In the Finder application, click the Go menu and the select &#8216;Connect to Server…&#8217; and type &#8216;smb://192.168.10.10/&#8217; in the Server Address bar.</p>
<p>In Linux, you can use Nautilus program and use &#8216;smb://192.168.10.10/&#8217; to connect to the server.</p>
<p>I hope this simple tutorial is helpful for you on how to install and configure Samba for file sharing.</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/18/setting-up-ip-address-linux" title="Permanent link to Setting up IP address in Linux">Setting up IP address in Linux</a>  </li>
<li> <a href="http://computechtips.com/115/install-java-jdk-linux-opensuse" title="Permanent link to Install Java SE 7 on Linux OpenSUSE 12.1">Install Java SE 7 on Linux OpenSUSE 12.1</a>  </li>
<li> <a href="http://computechtips.com/295/slackware-linux-pc-router" title="Permanent link to How To: Set Up Slackware Linux as a PC Router">How To: Set Up Slackware Linux as a PC Router</a>  </li>
<li> <a href="http://computechtips.com/437/install-java-se-7-linuxmint-nadia" title="Permanent link to Install Oracle Java SE 7 in LinuxMint 14">Install Oracle Java SE 7 in LinuxMint 14</a>  </li>
<li> <a href="http://computechtips.com/148/install-java-jdk-1-7-ubuntu-11-10" title="Permanent link to Install Java SE 7 (JDK 1.7) on Ubuntu 11.10 Oneiric Ocelot">Install Java SE 7 (JDK 1.7) on Ubuntu 11.10 Oneiric Ocelot</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/522/install-and-configure-samba-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assign fixed/static IP address via Mikrotik DHCP server</title>
		<link>http://computechtips.com/480/fixed-static-address-mikrotik-dhcp</link>
		<comments>http://computechtips.com/480/fixed-static-address-mikrotik-dhcp#comments</comments>
		<pubDate>Thu, 24 Jan 2013 17:02:08 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Mikrotik]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=480</guid>
		<description><![CDATA[DHCP is basically a protocol to assign dynamic IP address to clients. It means you don’t need to touch the clients’ computer / laptop to manually set with a static IP address. The IP address will be assigned dynamically to &#8230; <a href="http://computechtips.com/480/fixed-static-address-mikrotik-dhcp">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>DHCP is basically a protocol to assign dynamic IP address to clients. It means you don’t need to touch the clients’ computer / laptop to manually set with a static IP address. The IP address will be assigned dynamically to the clients.</p>
<p><span id="more-480"></span>However in some cases, you may need to assign static IP address to clients to do policy access to the clients such as firewalling, bandwidth allocation, or monitoring the clients’ internet activities. As an administrator, you can assign the IP address without touching the computers / laptops. The thing you have to know is the hardware (MAC) address of each PC / laptop that you want to set fixed IP addresses.</p>
<p>Here is the way how to set fixed IP address via DHCP server configuration in Mikrotik RouterOS.</p>
<p>For example, you want to assign a computer with a MAC address 70:F1:A1:D1:49:49 with an IP address 192.168.100.10 and clientID ‘client10’, use the following command:</p>
<pre>
/ip dhcp-server lease
add address=192.168.100.10 mac-address=70:F1:A1:D1:49:49 client-id="client10"</pre>
<p>You can add more clients by adding the &#8216;add address&#8217; command as example above.</p>
<p>If using Winbox is as follows</p>
<p><a href="http://computechtips.com/wp-content/uploads/2013/01/fixed-ip-dhcp-mikrotik.jpg"><img class="aligncenter size-full wp-image-481" alt="fixed-ip-dhcp-mikrotik" src="http://computechtips.com/wp-content/uploads/2013/01/fixed-ip-dhcp-mikrotik.jpg" /></a></p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/16/lock-mac-ip-address-mikrotik" title="Permanent link to How to Lock MAC and IP Address in Mikrotik">How to Lock MAC and IP Address in Mikrotik</a>  </li>
<li> <a href="http://computechtips.com/534/mikrotik-eoip-tunnel-in-action" title="Permanent link to Using EoIP Tunnel to connect private LANs across internet">Using EoIP Tunnel to connect private LANs across internet</a>  </li>
<li> <a href="http://computechtips.com/18/setting-up-ip-address-linux" title="Permanent link to Setting up IP address in Linux">Setting up IP address in Linux</a>  </li>
<li> <a href="http://computechtips.com/311/mikrotik-pptp-server" title="Permanent link to How To: Set Up PPTP Server on Mikrotik">How To: Set Up PPTP Server on Mikrotik</a>  </li>
<li> <a href="http://computechtips.com/177/block-facebook-twitter-mikrotik" title="Permanent link to How To: Block Facebook, Twitter, Youtube on Mikrotik">How To: Block Facebook, Twitter, Youtube on Mikrotik</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/480/fixed-static-address-mikrotik-dhcp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create VLAN in Ubuntu Linux</title>
		<link>http://computechtips.com/448/create-vlan-ubuntu-linux</link>
		<comments>http://computechtips.com/448/create-vlan-ubuntu-linux#comments</comments>
		<pubDate>Fri, 11 Jan 2013 09:19:01 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VLAN]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=448</guid>
		<description><![CDATA[If you use Ubuntu Linux as a router, you may need to create VLAN (virtual LAN) interfaces in Ubuntu to divide your LAN. It is common in network infrastructures to use VLAN. This post is intended to show you how &#8230; <a href="http://computechtips.com/448/create-vlan-ubuntu-linux">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you use Ubuntu Linux as a router, you may need to create VLAN (virtual LAN) interfaces in Ubuntu to divide your LAN. It is common in network infrastructures to use VLAN.</p>
<p>This post is intended to show you how to create VLAN interface in Ubuntu Linux operating system. I am using Ubuntu 12.10 but it should be applicable for all Ubuntu versions. Simply follow the steps below:<br />
<span id="more-448"></span></p>
<h2>1. Install the vlan package using apt-get tool</h2>
<pre>
# apt-get install vlan
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  vlan
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 34.5 kB of archives.
After this operation, 163 kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com/ubuntu/ quantal/main vlan amd64 1.9-3ubuntu8 [34.5 kB]
Fetched 34.5 kB in 2s (17.2 kB/s)
Selecting previously unselected package vlan.
(Reading database ... 53125 files and directories currently installed.)
Unpacking vlan (from .../vlan_1.9-3ubuntu8_amd64.deb) ...
Processing triggers for man-db ...
Setting up vlan (1.9-3ubuntu8) ...
</pre>
<h2>2. Load the Vlan (802.1q) module</h2>
<pre>
# modprobe 8021q
# echo 8021q >> /etc/modules
</pre>
<p>The second line command above to make vlan module load at boot time.</p>
<h2>3. Add vlan interface by using &#8216;vconfig add [interface-name] [vlan_id]&#8216; command syntax</h2>
<pre>
# vconfig add eth0 100
Added VLAN with VID == 100 to IF -:eth0:-
</pre>
<p>A new interface eth0.100 should be created.<br />
You are now ready to assign this new interface with an IP address using &#8216;ifconfig&#8217; command as follows</p>
<pre>
# ifconfig eth0.100 192.168.100.33 netmask 255.255.255.224
</pre>
<p>To make the IP address assigned at boot, add the following lines to &#8216;/etc/network/interfaces&#8217; file</p>
<pre>
auto eth0.100
iface eth0.100 inet static
address 192.168.100.33
netmask 255.255.255.224
vlan-raw-device eth0
</pre>
<h2>4. Remove Vlan interface</h2>
<p>In case you want to remove a vlan interface, use &#8216;vconfig rem [vlan-name]&#8216; command syntax as follows:</p>
<pre>
# vconfig rem eth0.100
Removed VLAN -:eth0.100:-
</pre>
<p>I hope this post is helpful for those who are looking for tutorials on how to create VLAN in Ubuntu Linux.<br />
Ref: https://wiki.ubuntu.com/vlan</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/18/setting-up-ip-address-linux" title="Permanent link to Setting up IP address in Linux">Setting up IP address in Linux</a>  </li>
<li> <a href="http://computechtips.com/295/slackware-linux-pc-router" title="Permanent link to How To: Set Up Slackware Linux as a PC Router">How To: Set Up Slackware Linux as a PC Router</a>  </li>
<li> <a href="http://computechtips.com/267/virtualbox-linux-mint-12" title="Permanent link to How To: Install VirtualBox on Linux Mint 12">How To: Install VirtualBox on Linux Mint 12</a>  </li>
<li> <a href="http://computechtips.com/137/google-chrome-ubuntu-11" title="Permanent link to Install Google Chrome on Ubuntu 11.10 Oneiric Ocelot">Install Google Chrome on Ubuntu 11.10 Oneiric Ocelot</a>  </li>
<li> <a href="http://computechtips.com/534/mikrotik-eoip-tunnel-in-action" title="Permanent link to Using EoIP Tunnel to connect private LANs across internet">Using EoIP Tunnel to connect private LANs across internet</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/448/create-vlan-ubuntu-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install / upgrade Node.js via command line</title>
		<link>http://computechtips.com/446/upgrade-node-js-command-line</link>
		<comments>http://computechtips.com/446/upgrade-node-js-command-line#comments</comments>
		<pubDate>Thu, 10 Jan 2013 16:52:04 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Node.js]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=446</guid>
		<description><![CDATA[The server side JavaScript software system, Node.js, has just been updated to version 0.8.17 which fixes integer overflow vulnerability in TypedArrays. The new update also comes with better performance and npm peerDependencies. If you use TypedArrays, it is highly recommended &#8230; <a href="http://computechtips.com/446/upgrade-node-js-command-line">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The server side JavaScript software system, Node.js, has just been <a href="http://blog.nodejs.org/2013/01/09/node-v0-8-17-stable/" target="_blank">updated to version 0.8.17</a> which fixes integer overflow vulnerability in TypedArrays. The new update also comes with better performance and npm peerDependencies. If you use TypedArrays, it is highly recommended to upgrade Node.js to v0.8.17.</p>
<p><span id="more-446"></span>If you are a new Node.js developer, you may need to know how to upgrade the Node.js software via command line. In this post I will show you how to install or upgrade Node.js to the latest version using NVM (node version manager) which is the best way to manage your Node.js versioning/upgrading. I assume you have &#8216;git&#8217; installed in your system. Follow the steps below to upgrade Node.js!</p>
<pre>
$ git clone git://github.com/creationix/nvm.git ~/nvm
Cloning into '/Users/fuad/nvm'...
remote: Counting objects: 518, done.
remote: Compressing objects: 100% (298/298), done.
remote: Total 518 (delta 268), reused 444 (delta 209)
Receiving objects: 100% (518/518), 71.33 KiB | 32 KiB/s, done.
Resolving deltas: 100% (268/268), done.
</pre>
<p>Activate the nvm by running the command below from your $HOME directory</p>
<pre>
$ . ~/nvm/nvm.sh 
</pre>
<p>Download, compile, and install the latest version of Node.js (version 0.8.17 at the time of this writing).</p>
<pre>
$ nvm install v0.8.17
######################################################################## 100.0%
Now using node v0.8.17
</pre>
<p>Verify the node version</p>
<pre>
$ node -v
v0.8.17
</pre>
<p>Done. I have tested it works on OS X 10.8 Mountain Lion.<br />
Reference https://github.com/creationix/nvm</p>
]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/446/upgrade-node-js-command-line/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to scan documents with your Mac OS X</title>
		<link>http://computechtips.com/441/scan-documents-mac-os-x</link>
		<comments>http://computechtips.com/441/scan-documents-mac-os-x#comments</comments>
		<pubDate>Wed, 26 Dec 2012 15:38:06 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=441</guid>
		<description><![CDATA[I have MacBook Pro running OS X 10.8 Mountain Lion and our office has HP Photosmart 2610 as a printing and scanning office documents. Unlike Microsoft&#8217;s Windows operating system, Apple OS X operating system comes with the drivers for most &#8230; <a href="http://computechtips.com/441/scan-documents-mac-os-x">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have MacBook Pro running OS X 10.8 Mountain Lion and our office has HP Photosmart 2610 as a printing and scanning office documents.</p>
<p>Unlike Microsoft&#8217;s Windows operating system, Apple OS X operating system comes with the drivers for most known printers / scanners such as HP-branded printers. In my case, the HP Photosmart 2600 all-in-one printer series.</p>
<p><span id="more-441"></span>To scan documents using HP Photosmart 2610 in OS X Mountain Lion, you can use Apple Preview application. First you need to add the printer in the Print &amp; Scan settings. Once you have added it, follow the below step-by-step how to scan documents in Apple OS X operating system.</p>
<p>1. Run &#8216;<strong>Preview</strong>&#8216; application by double-clicking it from the Dock.</p>
<p>2. In the Preview application, click <strong>File &gt; Import from Photosmart 2600 series&#8230;</strong></p>
<p><a href="http://computechtips.com/wp-content/uploads/2012/12/osx-preview-scan-documents.png"><img class="aligncenter size-full wp-image-442" alt="osx-preview-scan-documents" src="http://computechtips.com/wp-content/uploads/2012/12/osx-preview-scan-documents.png" width="490" height="389" /></a></p>
<p>3. The <strong>Preview</strong> program will initialize the scanner. Make sure that the scanner is turned on.</p>
<p style="text-align: center;"><a href="http://computechtips.com/wp-content/uploads/2012/12/mac-os-x-scan-hp-photosmart-2600.png"><img class="aligncenter  wp-image-443" alt="mac-os-x-scan-hp-photosmart-2600" src="http://computechtips.com/wp-content/uploads/2012/12/mac-os-x-scan-hp-photosmart-2600.png" width="636" height="515" /></a></p>
<p>4. Click <strong>Scan</strong> button to start scanning your document.</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/85/hp-laserjet-1020-mac-osx-lion" title="Permanent link to Install HP LaserJet 1020 on Mac OSX 10.7 Lion">Install HP LaserJet 1020 on Mac OSX 10.7 Lion</a>  </li>
<li> <a href="http://computechtips.com/155/windows-8-support-software-macbook" title="Permanent link to Install Windows Support Software for Windows 8 on MacBook">Install Windows Support Software for Windows 8 on MacBook</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/441/scan-documents-mac-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Dropbox on Linux Mint 14 Nadia</title>
		<link>http://computechtips.com/435/install-dropbox-linux-mint</link>
		<comments>http://computechtips.com/435/install-dropbox-linux-mint#comments</comments>
		<pubDate>Wed, 26 Dec 2012 14:21:45 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=435</guid>
		<description><![CDATA[If you would like to make your documents synchronized across multiples devices such as desktops, laptops, tablets, and any other mobile devices, Dropbox is a must have application installed in your devices. Dropbox is a file hosting service which offers &#8230; <a href="http://computechtips.com/435/install-dropbox-linux-mint">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you would like to make your documents synchronized across multiples devices such as desktops, laptops, tablets, and any other mobile devices, Dropbox is a must have application installed in your devices.</p>
<p>Dropbox is a file hosting service which offers cloud storage, online backup, file synchronization and file sharing. You can collaborate one or more files / folders with your friends, colleagues, families to do the same project, for example.</p>
<p><span id="more-435"></span>If you have Linux Mint and want to install Dropbox on it, follow this instruction!</p>
<h2>1. Grab the Dropbox for Linux Mint from https://www.dropbox.com/install?os=lnx </h2>
<p>Since Linux Mint is based-on Ubuntu Linux, select the Ubuntu version.</p>
<h2>2. To verify binary signatures, firstly install the python-gpgme package</h2>
<pre>$ sudo apt-get install python-gpgme</pre>
<h2>3. Once the dropbox .deb file is downloaded, install it using &#8216;dpkg&#8217; tool</h2>
<pre>$ sudo dpkg -i dropbox_1.4.0_amd64.deb 
Selecting previously unselected package dropbox.
(Reading database ... 138725 files and directories currently installed.)
Unpacking dropbox (from dropbox_1.4.0_amd64.deb) ...
Setting up dropbox (1.4.0) ...
You are not running Debian or Ubuntu.  Not adding Dropbox repository.
Please restart all running instances of Nautilus, or you will experience problems. i.e. nautilus --quit
Dropbox installation successfully completed! You can start Dropbox from your applications menu.
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...</pre>
<h2>4. Run and configure the Dropbox</h2>
<p>Click start Menu > Internet > Dropbox and then follow the on-screen Dropbox Installation process.</p>
<p><img class="aligncenter size-full wp-image-439" alt="dropbox-on-linux-mint" src="http://computechtips.com/wp-content/uploads/2012/12/dropbox-on-linux-mint.png" width="516" height="507" /></p>
<p>You are ready to use the Dropbox cloud service.</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/427/google-chrome-linux-mint-14" title="Permanent link to Install Google Chrome on Linux Mint 14 &#8216;Nadia&#8217;">Install Google Chrome on Linux Mint 14 &#8216;Nadia&#8217;</a>  </li>
<li> <a href="http://computechtips.com/267/virtualbox-linux-mint-12" title="Permanent link to How To: Install VirtualBox on Linux Mint 12">How To: Install VirtualBox on Linux Mint 12</a>  </li>
<li> <a href="http://computechtips.com/137/google-chrome-ubuntu-11" title="Permanent link to Install Google Chrome on Ubuntu 11.10 Oneiric Ocelot">Install Google Chrome on Ubuntu 11.10 Oneiric Ocelot</a>  </li>
<li> <a href="http://computechtips.com/448/create-vlan-ubuntu-linux" title="Permanent link to How to create VLAN in Ubuntu Linux">How to create VLAN in Ubuntu Linux</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/435/install-dropbox-linux-mint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Oracle Java SE 7 in LinuxMint 14</title>
		<link>http://computechtips.com/437/install-java-se-7-linuxmint-nadia</link>
		<comments>http://computechtips.com/437/install-java-se-7-linuxmint-nadia#comments</comments>
		<pubDate>Wed, 26 Dec 2012 13:46:43 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=437</guid>
		<description><![CDATA[By default, Linux Mint 14 comes with pre-installed OpenJDK 1.7 for its Java Runtime Environment and there is no official Oracle Java SE in the package manager. So in some cases if you want to install Oracle Java SE in &#8230; <a href="http://computechtips.com/437/install-java-se-7-linuxmint-nadia">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>By default, Linux Mint 14 comes with pre-installed OpenJDK 1.7 for its Java Runtime Environment and there is no official Oracle Java SE in the package manager. So in some cases if you want to install Oracle Java SE in Linux Mint, you can follow this tutorial. At the time of this writing, the latest version of Oracle Java SE is Java SE 7 Update 10.</p>
<p><span id="more-437"></span>1. Get the Java software from <a href="http://www.oracle.com/technetwork/java/index.html" target="_blank">Oracle website</a>. Select .tar.gz file format and the Linux platform you are using. It can be 32-bit or 64-bit.</p>
<p>2. To avoid the conflict, firstly we need to disable the OpenJDK environment</p>
<pre>
$ sudo chmod -x /usr/bin/java*
</pre>
<p>3. Extract the downloaded jdk file and move it to system folder such as /opt</p>
<pre>
$ tar zxf jdk-7u10-linux-x64.tar.gz 
$ sudo mv jdk1.7.0_10 /opt/
$ cd /opt/
</pre>
<p>4. Create a symbolic link to java folder. This makes the upgrade procedure easier later.</p>
<pre>
$ sudo ln -sf jdk1.7.0_10 java
</pre>
<p>5. Add the java binary path to the current PATH.</p>
<pre>
$ export PATH=$PATH:/opt/java/bin
</pre>
<p>6. Verify that it is installed correctly.</p>
<pre>
$ java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
</pre>
<p>The PATH you set in the above step in temporary. To make it permanent and run at boot, add the path to .profile file in your $HOME directory.<br />
Just append this line to the .profile file.</p>
<pre>
$ export PATH="$PATH:/opt/java/bin"
</pre>
<p>I hope this is helpful for you when installing Oracle Java SE 7 (JDK 1.7) on Linux Mint 14.</p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/115/install-java-jdk-linux-opensuse" title="Permanent link to Install Java SE 7 on Linux OpenSUSE 12.1">Install Java SE 7 on Linux OpenSUSE 12.1</a>  </li>
<li> <a href="http://computechtips.com/148/install-java-jdk-1-7-ubuntu-11-10" title="Permanent link to Install Java SE 7 (JDK 1.7) on Ubuntu 11.10 Oneiric Ocelot">Install Java SE 7 (JDK 1.7) on Ubuntu 11.10 Oneiric Ocelot</a>  </li>
<li> <a href="http://computechtips.com/353/java-se-7-windows-8" title="Permanent link to Install Java SE 7 on Windows 8 64-bit">Install Java SE 7 on Windows 8 64-bit</a>  </li>
<li> <a href="http://computechtips.com/34/install-java-jdk-windows-7-64-bit" title="Permanent link to Install Java SE 7 (JDK 1.7) on Windows 7 64-bit">Install Java SE 7 (JDK 1.7) on Windows 7 64-bit</a>  </li>
<li> <a href="http://computechtips.com/133/install-java-se-7-mac-os-x" title="Permanent link to Install Java SE 7 / JDK 1.7 on Mac OS X">Install Java SE 7 / JDK 1.7 on Mac OS X</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/437/install-java-se-7-linuxmint-nadia/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Google Chrome on Linux Mint 14 ‘Nadia’</title>
		<link>http://computechtips.com/427/google-chrome-linux-mint-14</link>
		<comments>http://computechtips.com/427/google-chrome-linux-mint-14#comments</comments>
		<pubDate>Sat, 22 Dec 2012 19:18:36 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Linux Mint]]></category>

		<guid isPermaLink="false">http://computechtips.com/?p=427</guid>
		<description><![CDATA[You just installed Linux Mint 14 aka Nadia and want to install your favorite browser Google Chrome? If so, you may need to read this tutorial on how to install Google Chrome browser on Linux Mint. There are two ways &#8230; <a href="http://computechtips.com/427/google-chrome-linux-mint-14">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>You just installed Linux Mint 14 aka Nadia and want to install your favorite browser Google Chrome? If so, you may need to read this tutorial on how to install Google Chrome browser on Linux Mint.</p>
<p>There are two ways to install Google Chrome on Linux Mint 14. The first way is via Linux Mint Software Manager and the second one is via command line after downloading the binary file from Google website.</p>
<p><span id="more-427"></span><strong>1. Install Chrome browser via Software Manager</strong></p>
<p>Find and click the Software Manager from the Menu then search &#8216;google-chrome&#8217;. Double click the package and then click install button.</p>
<p><img class="aligncenter size-full wp-image-428" alt="software-manager" src="http://computechtips.com/wp-content/uploads/2012/12/software-manager.png" width="620" height="498" /></p>
<p><strong>2. Download manually from Google website</strong></p>
<p>Go to google.com/chrome page then click Download Chrome button. Select the Debian/Ubuntu version. Once it is downloaded, run the following command to install Chrome browser:</p>
<pre>$ sudo dpkg -i google-chrome-stable_current_amd64.deb
[sudo] password for fuad:
Selecting previously unselected package google-chrome-stable.
(Reading database ... 138618 files and directories currently installed.)
Unpacking google-chrome-stable (from google-chrome-stable_current_amd64.deb) ...
Setting up google-chrome-stable (23.0.1271.97-r171054) ...
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...</pre>
<p>Now you are ready to start Chrome browser (it is located under Menu &gt; Internet). Below is the screenshot of Google Chrome on Linux Mint 14 Nadia.</p>
<p><a href="http://computechtips.com/wp-content/uploads/2012/12/google-chrome-linux-mint-14.png"></p>
<p style="text-align: center;"><img class="aligncenter  wp-image-429" alt="google-chrome-linux-mint-14" src="http://computechtips.com/wp-content/uploads/2012/12/google-chrome-linux-mint-14.png" width="656" height="369" /></p>
<p></a></p>
<div class="betterrelated"><p><strong>Related Tips / Tutorials:</strong></p>
<ol><li> <a href="http://computechtips.com/137/google-chrome-ubuntu-11" title="Permanent link to Install Google Chrome on Ubuntu 11.10 Oneiric Ocelot">Install Google Chrome on Ubuntu 11.10 Oneiric Ocelot</a>  </li>
<li> <a href="http://computechtips.com/107/install-google-chrome-opensuse" title="Permanent link to Install Google Chrome Browser in OpenSUSE 12.1">Install Google Chrome Browser in OpenSUSE 12.1</a>  </li>
<li> <a href="http://computechtips.com/435/install-dropbox-linux-mint" title="Permanent link to Install Dropbox on Linux Mint 14 Nadia">Install Dropbox on Linux Mint 14 Nadia</a>  </li>
<li> <a href="http://computechtips.com/267/virtualbox-linux-mint-12" title="Permanent link to How To: Install VirtualBox on Linux Mint 12">How To: Install VirtualBox on Linux Mint 12</a>  </li>
<li> <a href="http://computechtips.com/437/install-java-se-7-linuxmint-nadia" title="Permanent link to Install Oracle Java SE 7 in LinuxMint 14">Install Oracle Java SE 7 in LinuxMint 14</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://computechtips.com/427/google-chrome-linux-mint-14/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
