<?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>LinuxMonk &#187; LAN</title>
	<atom:link href="http://www.linuxmonk.org/tag/lan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmonk.org</link>
	<description>A Journey Towards Infinity...</description>
	<lastBuildDate>Fri, 16 Jul 2010 19:32:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Samba File sharing between two ubuntu systems in LAN</title>
		<link>http://www.linuxmonk.org/2008/11/03/samba-file-sharing-between-two-ubuntu-systems-in-lan/</link>
		<comments>http://www.linuxmonk.org/2008/11/03/samba-file-sharing-between-two-ubuntu-systems-in-lan/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 14:46:31 +0000</pubDate>
		<dc:creator>Rosario</dc:creator>
				<category><![CDATA[Linux Networking]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[LAN]]></category>

		<guid isPermaLink="false">http://linuxmonk.wordpress.com/?p=174</guid>
		<description><![CDATA[With two systems connected in LAN is so easy to share files and folders in Ubuntu. Here i tell you how to share files and folders with samba file server between two ubuntu systems with few clicks. The Ubuntu Iam using here is Hardy. The system that has source contents to be shared should have [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom:0;">With two systems connected in LAN is so easy to share files and folders in Ubuntu. Here i tell you how to share files and folders with samba file server between two ubuntu systems with few clicks. The Ubuntu Iam using here is Hardy.</p>
<p style="margin-bottom:0;">The system that has source contents to be shared should have Samba server, (That can be installed in course of the procedure how to share). And the remote system that wish to access the source contents should have the Samba client. Samba client will installed be default in ubuntu, if not install it with the command</p>
<blockquote>
<p style="margin-bottom:0;"><strong> $sudo apt-get install smbclient</strong></p>
</blockquote>
<p style="margin-bottom:0;">Here comes the procedure how to share.</p>
<p style="margin-bottom:0;">Soruce Side</p>
<ol>
<li>
<p style="margin-bottom:0;">On the source system login to 	ubuntu, right click on the folder you wish to share and select 	&#8216;Sharing Options&#8217;.</p>
</li>
<li>
<p style="margin-bottom:0;">In the Dialog box that apears 	select &#8216;Share this Folder&#8217; check box, you will be prompted to 	install a service. Clicking on Install will open synaptic package 	manager and install the Samba Server packages.</p>
</li>
<li>
<p style="margin-bottom:0;">On successful Installation of the 	packages, the part in the server side is over.</p>
<p style="margin-bottom:0;">This will create a share automatically 	in Samba server on the the username you have logged in (here 	&#8216;rosario&#8217;) with its password.</p>
</li>
</ol>
<p style="margin-bottom:0;">Destination Side</p>
<ol>
<li>
<p style="margin-bottom:0;">Check whether the smbclient 	package is installed, if not install it with the above command.</p>
</li>
<li> Use the command like</li>
<blockquote><p><strong>$sudo smbclient 	\\\\192.168.1.33\\photos -U rosario</strong></p></blockquote>
<blockquote>
<ul>
<li>where rosario is the username of the source system,</li>
<li>192.168.1.33 is the IP address of the source system</li>
<li>photos is the name of the folders shared in the source system(In small characters)</li>
</ul>
</blockquote>
<li> The above command first will prompt the local system password as sudo is used. And then it will prompt for the password of the remote samba server for the username rosario</li>
<li>On giving the right password, it 	will take to the samba promt.</li>
</ol>
<p><em> </em></p>
<blockquote>
<p style="margin-bottom:0;"><em> <strong>Smb</strong></em><strong>: \&gt;</strong></p>
<p style="margin-bottom:0;">
</blockquote>
<p style="margin-bottom:0;">Some usefull commands</p>
<ul>
<li>help- To know all possible commands</li>
<li> dir- To list out all the shared directories, or contents inside the current directory</li>
<li> cd- Change Directory</li>
<li> get- To copy a specified file from the source system to the local system</li>
<li> put- To copy contents from local system to the server system</li>
</ul>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Enjoy Easy File Sharing With Ubuntu&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmonk.org/2008/11/03/samba-file-sharing-between-two-ubuntu-systems-in-lan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Copying File across Between two systems in a Lan</title>
		<link>http://www.linuxmonk.org/2008/07/09/copying-file-across-between-two-systems-in-a-lan/</link>
		<comments>http://www.linuxmonk.org/2008/07/09/copying-file-across-between-two-systems-in-a-lan/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 16:59:01 +0000</pubDate>
		<dc:creator>Rosario</dc:creator>
				<category><![CDATA[Linux Networking]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://linuxmonk.wordpress.com/?p=20</guid>
		<description><![CDATA[If in a Lan, Ping between two system to check the availability of the connection. If peer to peer, connect the lan cable. Assign the IP addresses for the two systems (Like 172.16.25.1 and 172.16.25.2 for both the systems, with subnet mask 255.255.255.0). That is the subnet addresses should be same for both the systems. [...]]]></description>
			<content:encoded><![CDATA[<p>If in a Lan, Ping between two system to check the availability of the connection. If peer to peer, connect the lan cable. Assign the IP addresses for the two systems (Like 172.16.25.1 and 172.16.25.2 for both the systems, with subnet mask 255.255.255.0). That is the subnet addresses should be same for both the systems.</p>
<p style="margin-bottom:0;">scp is the command that can be used for transfering files across the systems. Secure Copy(scp) uses Open SSH protocol for the file transfer. ftp can also be used for the file transfer. For using the scp command you must follow a rule. The rule is, the system you invoke this command should have the ssh client and the target system should have the ssh server(sshd). For copying the files from the source to the destination system, this command can be invoked in both source system or the destination system, but should follow the above rule.</p>
<p style="margin-bottom:0;">The usage is the scp command is,</p>
<blockquote><p><strong>#scp username@&lt;source-ip&gt; :/path/to/the/source/file username@&lt;destination-ip&gt; :/path/to/the/destination/file</strong></p></blockquote>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">To copy a folder from the source system to the destination use the recursive the option,</p>
<blockquote><p><strong>#scp -r username@&lt;source-ip&gt; :/path/to/the/source/folder username@&lt;destination-ip&gt; :/path/to/the/destination/folder</strong></p></blockquote>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">The first user name is the user in the source system and the second username is the user in the destination system. The access privileges to the files or folder to copied or to be used as the destination folder depends on the user privileges used in the command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmonk.org/2008/07/09/copying-file-across-between-two-systems-in-a-lan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
