<?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>osscc &#187; Networking</title>
	<atom:link href="http://www.osscc.org/category/documentation/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.osscc.org</link>
	<description>free open source software for cyber cafe</description>
	<lastBuildDate>Wed, 03 Aug 2011 18:06:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to Setup Transparent Squid Proxy Server in Ubuntu</title>
		<link>http://www.osscc.org/2010/07/how-to-setup-transparent-squid-proxy-server-in-ubuntu/</link>
		<comments>http://www.osscc.org/2010/07/how-to-setup-transparent-squid-proxy-server-in-ubuntu/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 19:30:08 +0000</pubDate>
		<dc:creator>cubiczero</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[proxy server]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.osscc.org/?p=161</guid>
		<description><![CDATA[How important proxy server for cyber cafe? For me as a cyber cafe entrepreneur, squid server is very important in keeping your customers internet access well performs. If you are new to open source cyber cafe concept, this article should be the best stater guide in helping you to setup a proxy server by using squid.]]></description>
			<content:encoded><![CDATA[<p>How important proxy server for cyber cafe? For me as a cyber cafe entrepreneur, squid server is very important in keeping your customers internet access well performs. If you are new to open source cyber cafe concept, this article should be the best stater guide in helping you to setup a proxy server by using squid.<span id="more-161"></span></p>
<hr /><a href="../wp-content/uploads/2010/07/squid-logo.gif"><img class="alignleft" title="squid-logo" src="../wp-content/uploads/2010/07/squid-logo.gif" alt="" width="183" height="210" /></a>Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite – we’re getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications. This is a short guide on how to set up a transparent squid <a class="iAs" style="background-color: transparent ! important; background-image: none; border-bottom: medium none ! important; color: darkblue ! important; cursor: pointer ! important; font-weight: bold ! important; padding-bottom: 0px ! important; padding-left: 0pt; padding-right: 0pt; padding-top: 0pt; text-decoration: none ! important;" href="http://www.ubuntugeek.com/how-to-setup-transparent-squid-proxy-server-in-ubuntu.html#" target="_blank">proxy server<img style="border: 0pt none; margin: 0pt; padding: 0pt; display: inline ! important; float: none; height: 10px; left: 1px; position: relative; top: 1px; width: 10px;" src="http://images.intellitxt.com/ast/adTypes/mag-glass_10x10.gif" alt="" /></a>. Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.</p>
<p><strong>Install Squid</strong><br />
Install squid and squid-common</p>
<blockquote><p><code>sudo aptitude install squid squid-common<br />
</code></p></blockquote>
<p>Edit the squid config file.</p>
<blockquote><p><code>sudo vi /etc/squid/squid.conf<br />
</code></p></blockquote>
<p>Set the allowed hosts.</p>
<blockquote><p><code>acl internal_network src 192.168.0.0/24 (</code>Where <code>192.168.0.0/24</code> is your IP range.)<code><br />
http_access allow internal_network</code></p></blockquote>
<p>Set the correct permissions.</p>
<blockquote><p><code>sudo chown -R proxy:proxy /var/log/squid/<br />
sudo chown proxy:proxy /etc/squid/squid.conf<br />
</code></p></blockquote>
<p>You will need to restart squid for the changes to take affect.</p>
<blockquote><p><code>sudo /etc/init.d/squid restart</code></p></blockquote>
<p>Now open up your browser and set your proxy to point to your new squid server on port 3128<br />
<strong> </strong></p>
<p><strong>Authentication</strong><br />
If you wish to use authentication with your proxy you will need to install apache2 utilities</p>
<blockquote><p><code>sudo aptitude install squid squid-common apache2-utils</code></p></blockquote>
<p>To add your first user you will need to specify -c</p>
<blockquote><p><code>sudo htpasswd -c /etc/squid.passwd first_user</code></p></blockquote>
<p>Thereafter you add new users with</p>
<blockquote><p><code>sudo htpasswd /etc/squid.passwd another_user</code></p></blockquote>
<p>Edit the squid config file</p>
<blockquote><p><code>sudo vi /etc/squid/squid.conf<br />
</code></p></blockquote>
<p>Set the the authentication parameters and the acl</p>
<blockquote><p><code>auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid.passwd<br />
auth_param basic children 5<br />
auth_param basic realm NFYE Squid proxy-caching web server<br />
auth_param basic credentialsttl 3 hours<br />
auth_param basic casesensitive off<br />
</code><br />
<code>acl users proxy_auth REQUIRED</code><br />
<code>acl sectionx proxy_auth REQUIRED</code><br />
<code>http_access allow users</code></p></blockquote>
<p>So this is what your squid.conf should look like.</p>
<blockquote><p><span style="font-family: monospace;">acl all src 0.0.0.0/0.0.0.0</span></p>
<p><code>acl </code><code>internal_network</code><code> src 192.168.0.0/24<br />
acl users proxy_auth REQUIRED<br />
acl manager proto cache_object<br />
acl localhost src 127.0.0.1/255.255.255.255<br />
acl to_localhost dst 127.0.0.0/8<br />
acl SSL_ports port 443 563      # https, snews<br />
acl SSL_ports port 873          # rsync<br />
acl Safe_ports port 80          # http<br />
acl Safe_ports port 21          # ftp<br />
acl Safe_ports port 443 563     # https, snews<br />
acl Safe_ports port 70          # gopher<br />
acl Safe_ports port 210         # wais<br />
acl Safe_ports port 1025-65535  # unregistered ports<br />
acl Safe_ports port 280         # http-mgmt<br />
acl Safe_ports port 488         # gss-http<br />
acl Safe_ports port 591         # filemaker<br />
acl Safe_ports port 777         # multiling http<br />
acl Safe_ports port 631         # cups<br />
acl Safe_ports port 873         # rsync<br />
acl Safe_ports port 901         # SWAT<br />
acl sectionx proxy_auth REQUIRED<br />
acl purge method PURGE<br />
acl CONNECT method CONNECT</code><br />
http_access allow manager localhost<br />
http_access allow users<br />
http_access allow <code>internal_network</code><code><br />
http_access deny manager<br />
http_access allow purge localhost<br />
http_access deny purge<br />
http_access deny !Safe_ports<br />
http_access deny CONNECT !SSL_ports<br />
http_access allow localhost<br />
http_access deny all<br />
http_reply_access allow all<br />
icp_access allow all</code><br />
<strong> </strong></p></blockquote>
<p><strong>Redirect the all HTTP traffic.</strong><br />
If you would like to redirect the all HTTP traffic through the proxy without needing to set up a proxy manually in all your applications you will need to add some rules</p>
<blockquote><p><code>iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp <code>--dport</code> 80 -j DNAT <code>--to-destination</code> 192.168.0.1:3128<br />
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT <code>--to-ports</code> 3128<br />
</code></p></blockquote>
<p>Where eth1,eth0 are the LAN, WAN devices and 192.168.0.1 is the IP address of your LAN device.<br />
If you wish to monitor the performance of your proxy you can look as some log parser’s (sarg, calamaris, ect.)</p>
<p>After all, probably you feel the need to monitor the performance of your proxy. Unfortunately, most of the squid log parsers in the Ubuntu repository are configured for Squid 2.x. Nevertheless, squid 3 uses the same log format, so you can change the log file path in your parser config file (sarg, calamaris, etd.) or simply link the log directory of squid 3 to the correct path<br />
<code><br />
ln -s /var/log/squid3 /var/log/squid</code></p>
<p>Source : <a title="Kuscsik" href="http://kuscsik.blogspot.com/2008/01/transparent-proxy-with-squid-3-on.html" target="_blank">kuscsik</a></p>
<p><map name='google_ad_map_161_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/161?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_161_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=161&amp;url= http%3A%2F%2Fwww.osscc.org%2F2010%2F07%2Fhow-to-setup-transparent-squid-proxy-server-in-ubuntu%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2010/07/how-to-setup-transparent-squid-proxy-server-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install ubuntu lucid to hard drive Part 2</title>
		<link>http://www.osscc.org/2010/06/how-to-install-ubuntu-lucid-to-hard-drive-part-2/</link>
		<comments>http://www.osscc.org/2010/06/how-to-install-ubuntu-lucid-to-hard-drive-part-2/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 02:18:32 +0000</pubDate>
		<dc:creator>osscc</dc:creator>
				<category><![CDATA[Cyber Cafe]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.osscc.org/?p=145</guid>
		<description><![CDATA[After a successful installation and boot to the newly installed Ubuntu Lucid with out problem, now it's time for the post-installation. You might consider to create a user if you want, login as root with your previous password]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.osscc.org/wp-content/uploads/2010/06/Ubuntu-Lucid-1.png"><img class="alignleft size-medium wp-image-142" title="Ubuntu-Lucid-1" src="http://www.osscc.org/wp-content/uploads/2010/06/Ubuntu-Lucid-1-300x175.png" alt="" width="300" height="175" /></a>Post installation</strong></p>
<p>After a successful installation and boot to the newly installed Ubuntu Lucid with out problem, now it&#8217;s time for the post-installation. You might consider to create a user if you want, login as root with your previous password:</p>
<div>
<p>To add a user and set a password for that user.</p>
</div>
<div>
<blockquote><p><strong># adduser</strong></p>
</blockquote>
</div>
<p><strong>Step 1.</strong> You will need to edit your hosts file</p>
<div>
<blockquote><p><strong># vi /etc/hosts</strong></p>
</blockquote>
<blockquote><p>127.0.0.0.1                localhost.localdomain  localhost</p>
<p>127.0.0.0.1                yourhostname</p>
<p>192.168.1.100           yourhostname.dotcom yourhostname</p>
</blockquote>
<p>Change the 192.168.1.100 to fit your need.</p>
</div>
<div>
<div>
<p><strong>Step 2.</strong> Re-create and reconfigure your file system table, this is quite tricky, I got three partition for on my hard drive for this installation method.</p>
</div>
<div>
<blockquote>
<div>
<p>Name                Flags             Part Type        FS Type                    [Label]                 Size (MB)</p>
</div>
<div>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
</div>
<div>
<p>sda1                Boot               Primary         Linux ext3                                           5239.51</p>
</div>
<div>
<p>sda5                                   Logical         Linux ext3                                           4491.01</p>
</div>
<div>
<p>sda6                                   Logical         Linux swap / Solaris                                  509.97</p>
</div>
<div>
<div>
<p>so just create new file system for the partition to used as a cache directory for Squid Proxy purpose.</p>
</div>
<p><strong># mkfs.ext3 /dev/sda5</strong></p>
</div>
<p><strong> # mkdir -p /var/spool/squid (note: you will need this)</strong></p>
<div>
<p><strong># mount /dev/sda5 /var/spool/squid</strong></p>
</div>
<div>
<p>Now edit your /etc/fstab file</p>
<p><strong># vi /etc/fstab</strong></p>
</div>
<div>
<p>You will see the fstab file content is nothing except &#8220;UNCONFIGURED FSTAB FOR BASE SYSTEM&#8221;,  find your UUID using blkid commmand</p>
</div>
<div>
<p><strong># blkid</strong></p>
</div>
<div>
<p>/dev/sda1: UUID=&#8221;09dd88d5-251b-4c88-9643-3c2658fe3b50&#8243; TYPE=&#8221;ext3&#8243;</p>
</div>
<div>
<p>/dev/sda5: UUID=&#8221;76835f78-cfee-4d52-a664-92bdf3d8a633&#8243; TYPE=&#8221;ext3&#8243;</p>
</div>
<div>
<p>/dev/sda6: UUID=&#8221;b0f80d32-87d6-46f4-97b9-9aedd93334b6&#8243; TYPE=&#8221;swap&#8221;</p>
</div>
<p>now enter those UUID without &#8220;quote&#8221; sign.</p>
<div>
<p><strong># vi /etc/fstab</strong></p>
</div>
<div>
<p>#</p>
</div>
<div>
<p>proc            /proc           proc    defaults        0       0</p>
</div>
<div>
<p>UUID=09dd88d5-251b-4c88-9643-3c2658fe3b50      /       ext3    relatime,errors=remount-ro 0       1</p>
</div>
<div>
<p>UUID=76835f78-cfee-4d52-a664-92bdf3d8a633      /var/spool/squid        ext3  nodev,nosuid 0        2</p>
</div>
<div>
<p>UUID=b0f80d32-87d6-46f4-97b9-9aedd93334b6      none    swap    sw              0       0</p>
</div>
<div>
<p>Esc then :wq! press Enter</p>
</div>
<div>
<p>now type the command below to see the changes</p>
</div>
<div>
<p><strong># sudo mount -a</strong></p>
</div>
<div>
<p><strong># sudo mount</strong></p>
</div>
<div>
<div>
<p>/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)</p>
</div>
<div>
<p>proc on /proc type proc (rw)</p>
</div>
<div>
<p>none on /sys type sysfs (rw,noexec,nosuid,nodev)</p>
</div>
<div>
<p>none on /sys/fs/fuse/connections type fusectl (rw)</p>
</div>
<div>
<p>none on /sys/kernel/debug type debugfs (rw)</p>
</div>
<div>
<p>none on /sys/kernel/security type securityfs (rw)</p>
</div>
<div>
<p>udev on /dev type tmpfs (rw,mode=0755)</p>
</div>
<div>
<p>none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)</p>
</div>
<div>
<p>none on /dev/shm type tmpfs (rw,nosuid,nodev)</p>
</div>
<div>
<p>none on /var/run type tmpfs (rw,nosuid,mode=0755)</p>
</div>
<div>
<p>none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)</p>
</div>
<div>
<p>none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)</p>
</div>
<div>
<p>/dev/sda5 on /var</p>
</div>
</div>
</blockquote>
<p><strong> now edit your /etc/fstab file</strong></p>
<p>After that reboot your system and pray hard</p>
<p>Then we will continue to setup our firewall and proxy server</p>
</div>
<div>
</div>
</div>
<p><map name='google_ad_map_145_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/145?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_145_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=145&amp;url= http%3A%2F%2Fwww.osscc.org%2F2010%2F06%2Fhow-to-install-ubuntu-lucid-to-hard-drive-part-2%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2010/06/how-to-install-ubuntu-lucid-to-hard-drive-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Ubuntu Lucid to hard drive Part 1</title>
		<link>http://www.osscc.org/2010/06/how-to-install-ubuntu-lucid-to-hard-drive-part-1/</link>
		<comments>http://www.osscc.org/2010/06/how-to-install-ubuntu-lucid-to-hard-drive-part-1/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 01:47:08 +0000</pubDate>
		<dc:creator>osscc</dc:creator>
				<category><![CDATA[Cyber Cafe]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.osscc.org/?p=138</guid>
		<description><![CDATA[Firewall is one of the most important thing that you should have it although your business is a cyber cafe, internet cafe or gaming center. Because running a firewall system meant to protect your interest and your investment, also your business reputation is depending on i]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osscc.org/wp-content/uploads/2010/06/Ubuntu-Lucid-1.png"><img class="alignleft size-medium wp-image-142" title="Ubuntu-Lucid-1" src="http://www.osscc.org/wp-content/uploads/2010/06/Ubuntu-Lucid-1-300x175.png" alt="" width="300" height="175" /></a>Firewall is one of the most important thing that you should have it although your business is a cyber cafe, internet cafe or gaming center. Because running a firewall system meant to protect your interest and your investment, also your business reputation is depending on it.</p>
<p>So I want to install Ubuntu Linux for my other system without using a cdrom, but I dont want to do it on that system, instead of that I want to install it via my current working ubuntu desktop that Im using right now.</p>
<p>Actually I want to build a firewall system complate with hotspot gateway and freeradius. But for now lets start with the basic installation first.</p>
<p>You could follow the instruction from ubuntu help community by <a class="interwiki" title="https://login.launchpad.net/+id/PRKPNfN @ wentz-dip0.nat.okstate.edu[139.78.10.24]" href="https://launchpad.net/%7Ecurtlee2002">Curtis Lee Bolin</a> : <a href="https://help.ubuntu.com/community/Installation/FromLinux#Alternate%20CD%20Alternate%20Method">Installation From Linux</a> or you can continue to read it from here because I made a little modification for the installation method and I add the instruction for the post-installation and how to setup a firewall base system.</p>
<p><strong>How to install without CD</strong></p>
<p>You can install Ubuntu directly from Ubuntu using debootstrap. Debootstrap installs some essential packages in a directory for use with chroot. Note that the essential packages does not in itself make the system bootable. It just installs what you need to chroot to that directory and use apt-get to install other packages witch makes ubuntu usable.</p>
<p><strong>Step 1</strong>. First turn off you computer and plugin your hard drive to it, after turn it on back then check that you have debootstrap installed if not, then you should run the following command below:</p>
<p><strong># sudo apt-get install debootstrap</strong></p>
<p>(NOTE: if you want to install a newer release than your current system, you normally need to install the backported debootstrap version, see: UbuntuBackports)</p>
<p><strong>Step 2. </strong>Partition device and make a file-system, to make it more easy, I use cfdisk to create partition for the other drive.</p>
<p>We will assume /dev/sdb is the storage device for your fresh install. I use my thumbdrive to show you an example how to partition the other drive for another system to setup an installation of ubuntu linux from your current ubuntu desktop.</p>
<p>Remove former partitions and create the new on.</p>
<blockquote><p><strong># sudo cfdisk /dev/sdb</strong></p></blockquote>
<p>cfdisk (util-linux-ng 2.17.2)</p>
<p>Disk Drive: /dev/sdb<br />
Size: 2056257536 bytes, 2056 MB<br />
Heads: 64   Sectors per Track: 62   Cylinders: 1012</p>
<p>Name        Flags      Part Type  FS Type          [Label]        Size (MB)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
sdb1        Boot        Primary   W95 FAT32 (LBA)                   2056.00</p>
<p>[ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]<br />
[   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]</p>
<p>Use your arrow key to the [ Delete ] option to remove your partition on the other drive:</p>
<p>Name        Flags      Part Type  FS Type          [Label]        Size (MB)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Pri/Log   Free Space                        2056.00</p>
<p>[   Help   ]  [   New    ]  [  Print   ]  [   Quit   ]  [  Units   ]<br />
[  Write   ]</p>
<p>Create new partition from free space, then you will see your drive is empty, now select [ New ] to create your new partition and select [ Primary ] :</p>
<p>Name        Flags      Part Type  FS Type          [Label]        Size (MB)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Pri/Log   Free Space                        2056.00</p>
<p>Size (in MB): 1500</p>
<p>You need to enter new size limit for primary partition, press backspace then enter the size yo want, for example I use 1500MB and 500MB++ for the extended and swap partition.</p>
<p>Now create the rest of your free space as an extended and swap, to change type of your newly created partition navigate to [ Type ] press Enter and select 83 for linux and 82 for swap.</p>
<p>Name        Flags      Part Type  FS Type          [Label]        Size (MB)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
sdb1        Boot        Primary   Linux                             1499.34<br />
sdb5                    Logical   Linux swap / Solaris               556.67</p>
<p>and select your primary partition as bootable by press the option [ Bootable ]. The write down your partition and quite cfdisk.</p>
<p>Are you sure you want to write the partition table to disk? (yes or no): yes</p>
<p>then [ Quit ] and start to make the file-system</p>
<blockquote><p><strong># sudo mkfs.ext4 /dev/sdb1</strong></p></blockquote>
<p><strong>Step 3.</strong> Mount that new partition.</p>
<blockquote><p><strong># sudo mkdir /mnt<br />
# sudo mount /dev/sdb1 /mnt</strong></p></blockquote>
<p><strong>Step 4</strong>. Create the new install.</p>
<blockquote><p><strong># sudo debootstrap lucid /mnt</strong></p></blockquote>
<p><strong>Step 5.</strong> Copy files to the new install to keep your repositories</p>
<blockquote><p><strong># sudo cp /etc/apt/sources.list /mnt/etc/apt/</strong></p></blockquote>
<p><strong>Step 6</strong>. Chroot to your new install.</p>
<blockquote><p><strong># sudo mount &#8211;bind /dev /mnt/dev<br />
# sudo mount -t proc /proc /mnt/proc<br />
# sudo chroot /mnt /bin/bash</strong></p></blockquote>
<p><strong>Step 7</strong>. Upgrade the new install.</p>
<blockquote><p><strong># apt-get update<br />
# apt-get install language-pack-en-base</strong></p></blockquote>
<p><em>Note: I install the language-pack-en-base before upgrade to avoid perl warnings as shown below.</em></p>
<p>perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
LANGUAGE = (unset),<br />
LC_ALL = (unset),<br />
LANG = &#8220;en_US.utf8&#8243;<br />
are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale (&#8220;C&#8221;).<br />
locale: Cannot set LC_CTYPE to default locale: No such file or directory<br />
locale: Cannot set LC_MESSAGES to default locale: No such file or directory<br />
locale: Cannot set LC_ALL to default locale: No such file or directory</p>
<p>then continue with :</p>
<blockquote><p><strong># apt-get upgrade</strong></p></blockquote>
<p><strong>Step 8.</strong> Install Grub and Linux Kernel.</p>
<blockquote><p><strong># apt-get install grub-pc linux-image</strong></p></blockquote>
<p><strong>Step 9.</strong> set root password.</p>
<p>To set a root password.</p>
<p>(NOTE: You must at least set a root password if you aren&#8217;t adding a user)</p>
<blockquote><p><strong># passwd</strong></p></blockquote>
<p>It should now be safe to reboot, you may want the next few things.</p>
<p><strong>Step 10</strong>. If you want to access it with ssh after reboot.</p>
<p>Use vi or install nano to edit /etc/hostname.</p>
<p>Remove anytext in this file and add the hostname you would like.</p>
<blockquote><p><strong># vi /etc/hostname</strong></p>
<p>yourhostnameyouwant</p></blockquote>
<p>and then edit /etc/network/interfaces</p>
<blockquote><p><strong># vi /etc/network/interfaces</strong></p></blockquote>
<p>Add this lines to /etc/network/interfaces. This will start eth0 at boot and request an ip with dhclient.</p>
<blockquote><p>auto eth0<br />
iface eth0 inet dhcp</p></blockquote>
<p>Next you need to install ssh</p>
<blockquote><p><strong># apt-get install ssh</strong></p></blockquote>
<p>Turn off your computer, remove the new installation drive and plugin to the other system, and bootup the system. If you want the Ubuntu Gnome desktop, continue with Step 11, but if you want to setup a firewall base system, so just skip the Step 11 and Step 12, so it safe for you turn off your system and boot the drive from other system.</p>
<p><strong>Step 11.</strong> Install ubuntu-desktop.</p>
<blockquote><p><strong># apt-get install ubuntu-desktop ubuntu-standard</strong></p></blockquote>
<p>Step 12. Reboot and keep those fingers crossed.</p>
<blockquote><p><strong># sudo halt or sudo reboot</strong></p></blockquote>
<p><strong>To be continue on Part 2</strong></p>
<p><map name='google_ad_map_138_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/138?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_138_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=138&amp;url= http%3A%2F%2Fwww.osscc.org%2F2010%2F06%2Fhow-to-install-ubuntu-lucid-to-hard-drive-part-1%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2010/06/how-to-install-ubuntu-lucid-to-hard-drive-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linksys Power Over Ethernet Adapter Injector</title>
		<link>http://www.osscc.org/2010/05/linksys-power-over-ethernet-adapter-injector/</link>
		<comments>http://www.osscc.org/2010/05/linksys-power-over-ethernet-adapter-injector/#comments</comments>
		<pubDate>Wed, 19 May 2010 23:17:00 +0000</pubDate>
		<dc:creator>thenone</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[Access Point]]></category>
		<category><![CDATA[power over ethernet]]></category>

		<guid isPermaLink="false">http://osscc.org/?p=33</guid>
		<description><![CDATA[What you may not realize is that, these same pins 4, 5, 7, and 8 can be used as data or network cable as well if we going to split one UTP cable to be connected to two NIC on the same computer system such as linux pc based router/firewall, so for pins 4,5,7 and 8 are used as power supply pins.]]></description>
			<content:encoded><![CDATA[<p><a style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" href="http://www.amazon.com/Cisco-WAP200E-Wireless-G-Access-Point/dp/B000RMJAKC?ie=UTF8&amp;tag=kegpal-20&amp;link_code=bil&amp;camp=213689&amp;creative=392969" target="_blank"><img src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;ServiceVersion=20070822&amp;ID=AsinImage&amp;WS=1&amp;Format=_SL160_&amp;ASIN=B000RMJAKC&amp;tag=kegpal-20" alt="Cisco WAP200E Wireless-G Access Point - PoE" /></a><img style="border: none !important; margin: 0px !important; padding: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=kegpal-20&amp;l=bil&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=B000RMJAKC" border="0" alt="" width="1" height="1" />This is a survival guide to save your &#8220;buck&#8221; if you had a same problem like me in dealing with broken UTP cable on Linksys <a href="http://www.amazon.com/Cisco-Linksys-WAPPOE12-Power-Ethernet-Adapter/dp/B00077IPC6?ie=UTF8&amp;tag=kegpal-20&amp;link_code=btl&amp;camp=213689&amp;creative=392969" target="_blank">Power Over Ethernet Adapter</a><img style="border: none !important; margin: 0px !important; padding: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=kegpal-20&amp;l=btl&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=B00077IPC6" border="0" alt="" width="1" height="1" /> Injector and beside you dont have any other POE appliances such as manageable switch to providing power supply over ethernet for your <a href="http://www.amazon.com/Cisco-WAP200E-Wireless-G-Access-Point/dp/B000RMJAKC?ie=UTF8&amp;tag=kegpal-20&amp;link_code=btl&amp;camp=213689&amp;creative=392969" target="_blank">Linksys WAP54GPE Acess Point</a><img style="border: none !important; margin: 0px !important; padding: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=kegpal-20&amp;l=btl&amp;camp=213689&amp;creative=392969&amp;o=1&amp;a=B000RMJAKC" border="0" alt="" width="1" height="1" />.<span id="more-33"></span></p>
<p><strong>My actual problem is :</strong></p>
<ol>
<li>the UTP cable on POE Adapter is not working to transmit data via it own UTP cable, to buy a new one it cost about $25-$60 buck(RM80 &#8211; RM200), but why spending when you can still use the POE Adapter as power supply, except for the broken UTP cable on the POE Adapter.</li>
<li>the current UTP installed with Linksys WAP54GPE with RJ45 PCB Socket attached on it is not working too.</li>
</ol>
<div class="separator" style="clear: both; text-align: center;"><a href="http://www.osscc.org/wp-content/uploads/2010/05/DSC00096.jpg"><img class="aligncenter size-full wp-image-107" title="DSC00096" src="http://www.osscc.org/wp-content/uploads/2010/05/DSC00096.jpg" alt="" width="384" height="288" /></a></div>
<div style="text-align: center;">
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://lh4.ggpht.com/_IZd4Rp4XipA/S_RxWPlzc9I/AAAAAAAAA9U/3Nu1_RLCkfo/DSC00095.JPG"><img src="http://lh4.ggpht.com/_IZd4Rp4XipA/S_RxWPlzc9I/AAAAAAAAA9U/3Nu1_RLCkfo/DSC00095.JPG" border="0" alt="" width="400" height="300" /></a></div>
<p>the power is there but not the network connection</p>
</div>
<p><strong>My Solution :</strong><br />
Splitting 1 UTP cable into POE connector and networking cable. At the first end of the UTP cable clamped as normal straight cable, and the second end we split it one as data cable and the other as power supply cable. So pins 1,2,3 and 6 will be connected to the switch.</p>
<div style="text-align: center;"><strong>See the pins out diagram</strong></div>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://1.bp.blogspot.com/_IZd4Rp4XipA/S_Re5eMlU8I/AAAAAAAAA80/1IAz_CxMdWk/s1600/568-b.gif"><img src="http://1.bp.blogspot.com/_IZd4Rp4XipA/S_Re5eMlU8I/AAAAAAAAA80/1IAz_CxMdWk/s320/568-b.gif" border="0" alt="" /></a></div>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://1.bp.blogspot.com/_IZd4Rp4XipA/S_RgXcXl1PI/AAAAAAAAA88/45ZvoheZvk0/s1600/rj45pinout.gif"><img src="http://1.bp.blogspot.com/_IZd4Rp4XipA/S_RgXcXl1PI/AAAAAAAAA88/45ZvoheZvk0/s320/rj45pinout.gif" border="0" alt="" /></a></div>
<div style="text-align: center;"><span class="Apple-style-span" style="font-family: arial, serif;"> </span><br />
<span class="Apple-style-span" style="font-family: arial, serif;"> </span><br />
<span class="Apple-style-span" style="font-family: arial, serif;"></p>
<div style="margin-bottom: 0in;"><strong>The Table</strong></div>
<dl>
<dd>
<table style="text-align: left;" border="0" cellspacing="0" cellpadding="2">
<col width="41*"></col>
<col width="40*"></col>
<col width="47*"></col>
<col width="55*"></col>
<col width="29*"></col>
<col width="45*"></col>
<thead>
<tr>
<th width="16%">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: white;"><span style="font-size: x-small;"><strong>First      RJ45 Pin #</strong></span></span></div>
</th>
<th width="16%">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: white;"><span style="font-size: x-small;"><strong>Wire      Color</strong></span></span></div>
</th>
<th width="18%">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: white;"><span style="font-size: x-small;"><strong>100Base-TX      Signal</strong></span></span></div>
</th>
<th width="21%">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: white;"><span style="font-size: x-small;"><strong>2nd      and 3rd RJ45 Pin #</strong></span></span></div>
</th>
<th width="11%">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: white;"><span style="font-size: x-small;"><strong>Wire      Color</strong></span></span></div>
</th>
<th width="17%">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: white;"><span style="font-size: x-small;"><strong>100Base-TX      Signal</strong></span></span></div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">1</span></span></div>
</td>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Orange</span></span></div>
</td>
<td width="18%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Transmit+</span></span></div>
</td>
<td width="21%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">1      (2nd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Green</span></span></div>
</td>
<td width="17%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Transmit+</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">2</span></span></div>
</td>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Orange</span></span></div>
</td>
<td width="18%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Transmit-</span></span></div>
</td>
<td width="21%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">2 (2nd      RJ45) </span></span></div>
</td>
<td width="11%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Green</span></span></div>
</td>
<td width="17%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Transmit-</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">3</span></span></div>
</td>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Green</span></span></div>
</td>
<td width="18%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Receive+</span></span></div>
</td>
<td width="21%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">3      (2nd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Orange</span></span></div>
</td>
<td width="17%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Receive+</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">4</span></span></div>
</td>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Blue</span></span></div>
</td>
<td width="18%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Unused</span></span></div>
</td>
<td width="21%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">6      (2nd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Blue</span></span></div>
</td>
<td width="17%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Receive-</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">5</span></span></div>
</td>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Blue</span></span></div>
</td>
<td width="18%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Unused</span></span></div>
</td>
<td width="21%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">4      (3rd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Blue</span></span></div>
</td>
<td width="17%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">BI_D3+**</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">6</span></span></div>
</td>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Green</span></span></div>
</td>
<td width="18%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Receive-</span></span></div>
</td>
<td width="21%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">5      (3rd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Green</span></span></div>
</td>
<td width="17%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">BI_D3-**</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">7</span></span></div>
</td>
<td width="16%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Brown</span></span></div>
</td>
<td width="18%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Unused</span></span></div>
</td>
<td width="21%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">7      (3rd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">White/Brown</span></span></div>
</td>
<td width="17%" bgcolor="#ffffff">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">BI_D4+**</span></span></div>
</td>
</tr>
<tr>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">8</span></span></div>
</td>
<td width="16%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Brown</span></span></div>
</td>
<td width="18%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Unused</span></span></div>
</td>
<td width="21%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">8      (3rd RJ45)</span></span></div>
</td>
<td width="11%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">Brown</span></span></div>
</td>
<td width="17%" bgcolor="#dddddd">
<div style="text-align: center; padding: 0in; border: initial none initial;"><span style="color: black;"><span style="font-size: x-small;">BI_D4-**</span></span></div>
</td>
</tr>
</tbody>
</table>
</dd>
</dl>
<p></span></div>
<div style="text-align: center;"><strong>like this one</strong></p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://lh5.ggpht.com/_IZd4Rp4XipA/S_RxVpNaqlI/AAAAAAAAA9E/QTSFe3ORFQM/s1600/DSC00099.JPG"><img src="http://lh5.ggpht.com/_IZd4Rp4XipA/S_RxVpNaqlI/AAAAAAAAA9E/QTSFe3ORFQM/s400/DSC00099.JPG" border="0" alt="" width="300" height="400" /></a></div>
<p><strong><br />
</strong></p>
</div>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://lh5.ggpht.com/_IZd4Rp4XipA/S_RduygdJhI/AAAAAAAAA8w/FXFo0lKw7p4/s1600/DSC00100.JPG"><img src="http://lh5.ggpht.com/_IZd4Rp4XipA/S_RduygdJhI/AAAAAAAAA8w/FXFo0lKw7p4/s400/DSC00100.JPG" border="0" alt="" width="300" height="400" /></a></div>
<p><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;">We see that the TX (transmitter) pins are connected to the corresponding RX (receiver) pins, plus to plus and minus to minus. You can also see that both the blue and brown wire pairs on pins 4, 5, 7, and 8 are not used in either standard, but actually it was used as power transmiter between the POE Adapter and WAP54GPE Access Point.</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;">What you may not realize is that, these same pins 4, 5, 7, and 8 can be used as data or network cable as well if we going to split one UTP cable to be connected to two NIC on the same computer system such as linux pc based router/firewall, s</span><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;">o for pins 4,5,7 and 8 are used as power supply pins.</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><br />
</span></p>
<div style="text-align: center;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><strong>And the result</strong></span></div>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://lh5.ggpht.com/_IZd4Rp4XipA/S_RdGhYKlXI/AAAAAAAAA8M/bgRV27xuHks/DSC00107.JPG"><img src="http://lh5.ggpht.com/_IZd4Rp4XipA/S_RdGhYKlXI/AAAAAAAAA8M/bgRV27xuHks/DSC00107.JPG" border="0" alt="" width="400" height="300" /></a></div>
<p><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><br />
</span></p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://lh3.ggpht.com/_IZd4Rp4XipA/S_RcxxjTmII/AAAAAAAAA8E/k-WnM78q_Hw/DSC00109.JPG"><img src="http://lh3.ggpht.com/_IZd4Rp4XipA/S_RcxxjTmII/AAAAAAAAA8E/k-WnM78q_Hw/DSC00109.JPG" border="0" alt="" width="400" height="300" /></a></div>
<div style="text-align: center;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;">Now the LAN connection is ON</span></div>
<div style="text-align: center;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><br />
</span></div>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://lh3.ggpht.com/_IZd4Rp4XipA/S_RcxG2-OZI/AAAAAAAAA78/dL8M5Dh0HQ8/DSC00111.JPG"><img src="http://lh3.ggpht.com/_IZd4Rp4XipA/S_RcxG2-OZI/AAAAAAAAA78/dL8M5Dh0HQ8/DSC00111.JPG" border="0" alt="" width="400" height="300" /></a></div>
<div style="text-align: center;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;">WAP54GPE is &#8220;ON THE AIR&#8221;</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;">hehe.. now I can browse the internet using my Sony Ericsson G705 again =P</span></div>
<div class="blogger-post-footer">OSSCC © 2006</div>
<p><map name='google_ad_map_33_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/33?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_33_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=33&amp;url= http%3A%2F%2Fwww.osscc.org%2F2010%2F05%2Flinksys-power-over-ethernet-adapter-injector%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2010/05/linksys-power-over-ethernet-adapter-injector/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Installing Limewire 5.5.8 On Ubuntu 10.04 LTS</title>
		<link>http://www.osscc.org/2010/05/installing-limewire-5-5-8-on-ubuntu-10-04-lts/</link>
		<comments>http://www.osscc.org/2010/05/installing-limewire-5-5-8-on-ubuntu-10-04-lts/#comments</comments>
		<pubDate>Thu, 13 May 2010 16:56:00 +0000</pubDate>
		<dc:creator>thenone</dc:creator>
				<category><![CDATA[File Sharing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[limewire]]></category>

		<guid isPermaLink="false">http://osscc.org/?p=31</guid>
		<description><![CDATA[I was having a problem to run an old version of Limewire after upgrading my laptop operating system from Ubuntu 9.10 Karmic Koala to Ubuntu 10.04 LTS Lucid Lynx. This is because I was so eager and can wait to buy Ironman 2 and Clash Of The Titan DVD. After searching and googleling for solution then [...]]]></description>
			<content:encoded><![CDATA[<p>I was having a problem to run an old version of Limewire after upgrading my laptop operating system from Ubuntu 9.10 Karmic Koala to Ubuntu 10.04 LTS Lucid Lynx.</p>
<p>This is because I was so eager and can wait to buy Ironman 2 and Clash Of The Titan DVD.</p>
<p>After searching and googleling for solution then I&#8217;ve find out how to upgrade to Limewire 5.5.8.<span id="more-31"></span></p>
<div style="text-align: center;"><strong>Limewire Basic 5.5.8 For Ubuntu Linux</strong></div>
<p><a href="http://www.osscc.org/wp-content/uploads/2010/05/Limewire.png"><img class="aligncenter size-full wp-image-104" title="Limewire" src="http://www.osscc.org/wp-content/uploads/2010/05/Limewire.png" alt="Limewire on Ubuntu Linux" width="400" height="243" /></a><br />
<strong>Just follow these simple instruction here :</strong></p>
<ol>
<li>sudo add-apt-repository &#8220;deb http://archive.canonical.com/ lucid partner&#8221;</li>
<li>sudo apt-get update</li>
<li>download Limewire Basic 5.5.8 for Ubuntu Linux from here <a href="http://www.limewire.com/LimeWireSoftLinuxDeb">http://www.limewire.com/LimeWireSoftLinuxDeb</a></li>
<li>search for the downloaded file, double click and follow the installation prosess</li>
</ol>
<p>If you prompted with authentication key for Limewire Pro, just ignore it, click cancel and proceed to use it as usual.</p>
<p>There is another software you might consider to try, I just installed it but dont have any intentions to explorer gtk-gnutella, but you can give a try.</p>
<div class="blogger-post-footer">OSSCC © 2006</div>
<p><map name='google_ad_map_31_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/31?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_31_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=31&amp;url= http%3A%2F%2Fwww.osscc.org%2F2010%2F05%2Finstalling-limewire-5-5-8-on-ubuntu-10-04-lts%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2010/05/installing-limewire-5-5-8-on-ubuntu-10-04-lts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Smoothwall for routing your client internet access</title>
		<link>http://www.osscc.org/2010/01/smoothwall-for-routing-your-client-internet-access/</link>
		<comments>http://www.osscc.org/2010/01/smoothwall-for-routing-your-client-internet-access/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 20:51:00 +0000</pubDate>
		<dc:creator>cubiczero</dc:creator>
				<category><![CDATA[Cyber Cafe]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[smoothwall]]></category>

		<guid isPermaLink="false">http://osscc.org/?p=26</guid>
		<description><![CDATA[They are many kind of firewall system and application you can try for free, and one of them are Smoothwall Express 3.0 polar. Further more SmoothWall Express is not just a firewall but it can also to be setup as a proxy server. Yeah, normally a cyber cafe really needs a proxy server to release the burden of their connection]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osscc.org/wp-content/uploads/2010/01/smoothwallexpress3.gif"><img class="aligncenter size-full wp-image-90" title="smoothwallexpress3" src="http://www.osscc.org/wp-content/uploads/2010/01/smoothwallexpress3.gif" alt="Smoothwall Express Polar" width="668" height="159" /></a></p>
<p>One of the most important thing that cyber cafe or internet cafe owners should not forget is a firewall. I am not going to brief about firewall history here, but from my experiences dealing with business that has an internet access, a firewall is a must.</p>
<p>They are many kind of firewall system and application you can try for free, and one of them are Smoothwall Express 3.0 polar. Further more SmoothWall Express is not just a firewall but it can also to be setup as a proxy server. Yeah, normally a cyber cafe really needs a proxy server to release the burden of their connection.</p>
<p>Installing and configuring a Linux firewall can be one of the most difficult tasks Linux administrators face. In addition to actually configuring the gateway, few admin pros have expertise with securing the network through <em>ipchains</em>.</p>
<p>Not to worry. The <a href="http://www.smoothwall.org/">SmoothWall</a> Linux distribution simplifies the otherwise daunting task of sharing Internet connections and providing network security. This relatively new Linux distribution is used for one purpose: to provide an easy-to-configure firewall with minimal hardware requirements. Typically, you can convert an older desktop system that has outlived its word-processing and Web-surfing usefulness into a formidable firewall box. SmoothWall is able to run on processors as old as a 386 with 8 MB of RAM. In this Daily Drill Down, I’ll discuss how to install and configure SmoothWall.</p>
<p><strong><span class="subhead1">What you need</span></strong></p>
<ul>
<li>Intel-based PC (386 or greater) with 8 MB of RAM</li>
<li>CD-ROM drive</li>
<li>100 MB of disk space</li>
<li>Access to a CD-ROM writer</li>
</ul>
<p><strong>SmoothWall Express Polar Screenshot</strong></p>
<p style="text-align: center;"><a href="http://www.osscc.org/wp-content/uploads/2010/01/smoowall-express-3-polar.png"><img class="aligncenter size-full wp-image-92" title="smoowall-express-3-polar" src="http://www.osscc.org/wp-content/uploads/2010/01/smoowall-express-3-polar.png" alt="Smoothwall Express" width="475" height="388" /></a>Nice simple and slick web administration interface</p>
<p>Source : <a href="http://articles.techrepublic.com.com/5100-10878_11-1053408.html">http://articles.techrepublic.com.com/5100-10878_11-1053408.html</a></p>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer"></div>
<div class="blogger-post-footer">OSSCC © 2006</div>
<p><map name='google_ad_map_26_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/26?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_26_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=26&amp;url= http%3A%2F%2Fwww.osscc.org%2F2010%2F01%2Fsmoothwall-for-routing-your-client-internet-access%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2010/01/smoothwall-for-routing-your-client-internet-access/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>To Bypass Transperent proxy for local Intranet</title>
		<link>http://www.osscc.org/2009/12/to-bypass-transperent-proxy-for-local-intranet/</link>
		<comments>http://www.osscc.org/2009/12/to-bypass-transperent-proxy-for-local-intranet/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 22:44:00 +0000</pubDate>
		<dc:creator>osscc</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.osscc.org/2009/12/to-bypass-transperent-proxy-for-local-intranet/</guid>
		<description><![CDATA[By satishap Created 2008-05-21 06:43 Dear All,We have setup Squid proxy server in transparent mode so that every user is forced to browse the internet through squid proxy on 3128 port. Configuration is follows1) Squid and Firewall configured on same box on 172.18.0.51.2) Done all necessary setting required for Transparent Proxy.also it is working file. [...]]]></description>
			<content:encoded><![CDATA[<p>By <i>satishap</i>     
<div class="print-created">Created <i>2008-05-21 06:43</i></p>
</div>
<div class="print-content">Dear All,<br />We have setup Squid proxy server in transparent mode so that every user is forced to browse the internet through squid proxy on 3128 port.</p>
<p><b>Configuration is follows</b><br />1) Squid and Firewall configured on same box on 172.18.0.51.<br />2) Done all necessary setting required for Transparent Proxy.<br />also it is working file.</p>
<p>But my problem is that we have local intranet server on 172.21.0.4:80</p>
<p>In normal case without Transperent proxy manually assingning proxy address in Internet explorer proxy setting and clicking bypass proxy for local address we able to access intranet, but with Transperent proxy we r not able to access the same becuase which I suppose that all request is redirected to 3128 port( transperent proxy feature).</p>
<p>therefore We want to bypass transpernet proxy for local intranet so that<br />we can able to access 172.21.0.4 : 80 port. I thinks there must be iptable<br />rule which enables this, can anybody tell me how this is to done.</p>
</div>
<div class="print-footer"></div>
<hr class="print-hr" />
<div class="print-source_url"><b>Source URL:</b> <a href="http://www.linuxjournal.com/content/bypass-transperent-proxy-local-intranet">http://www.linuxjournal.com/content/bypass-transperent-proxy-local-intranet</a></div>
<p><b>Links:</b><br />[1] http://www.linuxjournal.com/content/dns-server<br />[2] http://www.linuxjournal.com/content/photo-gallery-software</p>
<p><map name='google_ad_map_168_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/168?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_168_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=168&amp;url= http%3A%2F%2Fwww.osscc.org%2F2009%2F12%2Fto-bypass-transperent-proxy-for-local-intranet%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2009/12/to-bypass-transperent-proxy-for-local-intranet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making wireless work in Ubuntu</title>
		<link>http://www.osscc.org/2009/11/making-wireless-work-in-ubuntu/</link>
		<comments>http://www.osscc.org/2009/11/making-wireless-work-in-ubuntu/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 00:27:00 +0000</pubDate>
		<dc:creator>osscc</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://www.osscc.org/2009/11/making-wireless-work-in-ubuntu/</guid>
		<description><![CDATA[If network manager does not solve the problem, the first step should be to see which driver your wireless card needs. Do a search for your card on Google and in the Ubuntu Forums to find out which driver you need. Many of the drivers are already included in Ubuntu, but some newer drivers may not be present.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osscc.org/wp-content/uploads/2009/11/tux_wifi.png"><img class="alignleft size-full wp-image-237" title="tux_wifi" src="http://www.osscc.org/wp-content/uploads/2009/11/tux_wifi.png" alt="Linux Wireless" width="160" height="160" /></a>Simply click on the Network-Manager icon to see all available wireless networks, and click on the network to connect to it. If wireless authentication is needed, be it WEP, WPA, or 802.1x, a network-manager dialog will pop up asking for your authentication details.</p>
<p>If network manager does not solve the problem, the first step should be to see which driver your wireless card needs. Do a search for your card on Google and in the Ubuntu Forums to find out which driver you need. Many of the drivers are already included in Ubuntu, but some newer drivers may not be present.</p>
<p>Next, you need to find out if the driver is loaded. As an example, if you have an Intel Centrino and it uses the ipw2200 driver, run this command:</p>
<blockquote>
<blockquote><p>sudo lsmod | grep ipw2200</p></blockquote>
</blockquote>
<p>Replace ipw2200 with the relevant driver for your card. If you get some lines returned, the driver is loaded and working. If nothing is returned, your card is either not supported or the driver is not included in Ubuntu. You should refer to the Ubuntu Forums for further support.</p>
<p>With the card identified, you now need to get connected. The easiest way to do this is to select System -&gt; Administration -&gt; Networking. Inside this tool you should see an icon for your wireless card. Select it and click the Properties button. Add the name of the wireless network and a password if applicable. If you are using a normal password such as s3cr3tpass, select Plain (ASCII) from the Key type box. If you are entering the long numeric password, use the Hexedecimal option. If you don&#8217;t have a password on your wireless network, leave the Key type and WEP key boxes empty.</p>
<p>If you are automatically assigned an IP address, use the Configuration box to select DHCP. Otherwise, select Static IP Address, and enter the details of your network in the boxes.<br />
For more information, see <a href="https://wiki.ubuntu.com/HardwareSupportComponentsWirelessNetworkCards">the Ubuntu wiki</a>.</p>
<p><strong>Using WPA</strong><br />
To use WPA, you need a supported card. Such cards are listed on the <a href="http://hostap.epitest.fi/wpa_supplicant/">WPA Supplicant Web site</a>. Common drivers that support WPA include ipw2200, ipw2100, and madwifi.</p>
<p>To use WPA (Wi-Fi Protected Access) with wireless cards in Ubuntu, the wpasupplicant package must be installed. After installing it, edit /etc/wpa_supplicant.conf. Networks are configured by adding network blocks to the configuration file. Each network block can also be assigned a priority so if both networks are seen, the higher priority network is chosen. Examples for common network configurations can be found in /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz.</p>
<p>Some configurations require certificates that should be available from the network administrator. WPA Supplicant can also configure your wireless card to use unencrypted networks, as noted in the example file. After writing the file, edit /etc/default/wpasupplicant and change the ENABLED, DRIVER, and INTERFACE options. The DRIVER option should match the type of wireless device being used. Available drivers can be viewed by typing:</p>
<blockquote>
<blockquote><p>wpa_supplicant -help</p></blockquote>
</blockquote>
<p>To start the Supplicant run:</p>
<blockquote>
<blockquote><p>/etc/init.d/wpasupplicant start</p></blockquote>
</blockquote>
<p>Lastly, wpasupplicant should be added to STOP_SERVICES in /etc/default/ acpi-support to ensure it functions properly after a system suspend or hibernation.</p>
<p>To check if the connection is working, run:</p>
<blockquote>
<blockquote><p>sudo wpa_cli</p></blockquote>
</blockquote>
<p>This command gives information on the current connection along with scrolling logs to indicate the current status. By default wpa_cli must be run as root. Status will show what network the wireless card is currently connected to and parameters about the link. Scan causes the supplicant to look for a new access point while scan_results will display what access points are locally accessible to the machine. As soon as the supplicant authenticates, ifplugd should start the interface with ifup, and networking will be available shortly. If it seems that the supplicant is not working it may be that a different driver must be selected in the /etc/defaults/wpasupplicant configuration file. Also, some cards cannot operate in a mixed TKIP/CCMP (types of encryption) mode. If it appears the PTK listed in the log from wpa_cli is CCMP but that the GTK is TKIP, setting the pairwise and group entries of a network configuration block to TKIP may fix the issue.</p>
<p>By <a href="http://www.phptr.com/title/0132354136">Benjamin Mako Hill, Jono Bacon, Ivan Krstic. David J. Murphy, Jonathan Jesse, Peter Savage, Corey Burger</a><br />
<em>This article is excerpted from the newly published book </em> <a href="http://service.bfast.com/bfast/click?bfmid=2181&amp;sourceid=39391960&amp;isbn=0132435942">The Official Ubuntu Book</a> <em>.</em> © Copyright Pearson Education. All rights reserved.</p>
<p><map name='google_ad_map_160_3db9945d9ae1c815'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/160?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_160_3db9945d9ae1c815' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=160&amp;url= http%3A%2F%2Fwww.osscc.org%2F2009%2F11%2Fmaking-wireless-work-in-ubuntu%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.osscc.org/2009/11/making-wireless-work-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

