<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Planet Isa Linux</title>
	<atom:link href="http://ghazalisco.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ghazalisco.wordpress.com</link>
	<description>A Weblog for Linux Enthusiasts</description>
	<lastBuildDate>Thu, 15 Sep 2011 04:25:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ghazalisco.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Planet Isa Linux</title>
		<link>http://ghazalisco.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ghazalisco.wordpress.com/osd.xml" title="Planet Isa Linux" />
	<atom:link rel='hub' href='http://ghazalisco.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Exploring ssh between Vector Linux and Ubuntu</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/exploring-ssh-between-vector-linux-and-ubuntu/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/exploring-ssh-between-vector-linux-and-ubuntu/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:58:26 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=867</guid>
		<description><![CDATA[Exploring ssh between Vector Linux and Ubuntu ssh server: Ubuntu ssh client: Vector linux Configure IP address on Ubuntu # ifconfig eth0 172.16.0.2 netmask 255.255.0.0 broadcast 172.16.255.255 up Configure IP address on Vector Go to /etc/rc.d vi rc.inet1 Change the IP address as required Quit and save Restart the network interface /etc/rc.d/./rc.inet1 restart Verify it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=867&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>Exploring ssh between Vector Linux and Ubuntu</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->ssh server: Ubuntu</p>
<p>ssh client: Vector linux</p>
<p>Configure IP address on Ubuntu</p>
<p># ifconfig eth0 172.16.0.2 netmask 255.255.0.0 broadcast 172.16.255.255 up</p>
<p>Configure IP address on Vector</p>
<p>Go to /etc/rc.d</p>
<p>vi rc.inet1</p>
<p>Change the IP address as required</p>
<p>Quit and save</p>
<p>Restart the network interface</p>
<p>/etc/rc.d/./rc.inet1 restart</p>
<p>Verify it</p>
<p>ifconfig eth0</p>
<p>Check that both hosts can ping to each other</p>
<p>Check sshd running on Ubuntu</p>
<p>root@ismail-laptop:/etc# ps -ef|grep sshd</p>
<p>root      3457     1  0 14:22 ?        00:00:00 /usr/sbin/sshd</p>
<p>root      8430  7360  0 14:57 pts/1    00:00:00 grep sshd</p>
<p>Now ssh from Vector to Ubuntu</p>
<p>#ssh 172.16.0.2</p>
<p>After providing the password you should be able to ssh to Ubuntu SSH server.</p>
<p>Note:</p>
<p>In case you are unable to ssh into the Vector Linux ssh server, you can also try tostop the firewall service like this:</p>
<p>root:# cd /etc/rc.d</p>
<p>vector://etc/rc.d</p>
<p>root:# ./rc.firewall stop</p>
<p><span style="font-size:x-small;">Loading kernel modules &#8230;</span></p>
<p><span style="font-size:x-small;">error: &#8220;net.ipv4.tcp_syncookies&#8221; is an unknown key</span></p>
<p><span style="font-size:x-small;">net.ipv4.conf.all.rp_filter = 1</span></p>
<p><span style="font-size:x-small;">net.ipv4.icmp_echo_ignore_broadcasts = 1</span></p>
<p><span style="font-size:x-small;">net.ipv4.conf.all.accept_source_route = 0</span></p>
<p><span style="font-size:x-small;">net.ipv4.conf.all.secure_redirects = 1</span></p>
<p><span style="font-size:x-small;">net.ipv4.conf.all.log_martians = 1</span></p>
<p><span style="font-size:x-small;">Flushing Tables &#8230;</span></p>
<p><span style="font-size:x-small;">Firewall completely flushed!  Now running with no firewall.</span></p>
<p>Then try to ssh again. You should be able to ssh to the remote host.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/867/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=867&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/exploring-ssh-between-vector-linux-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Assgining IP address with a specific MAC address</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/assgining-ip-address-with-a-specific-mac-address/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/assgining-ip-address-with-a-specific-mac-address/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:47:39 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[dhcp]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=865</guid>
		<description><![CDATA[Assgining IP address with a specific MAC address Suppose our dhcp client has a MAC address of 00:11:85:77:d0:a7 and we want to fixed its IP address as 172.16.0.99. These are the steps: Firstly on the DHCP server, edit the dhcpd.conf and add the following lines. # cd /etc/dhcp3/ root@ismail-laptop:/etc/dhcp3# ls dhclient.conf dhclient-enter-hooks.d dhclient-exit-hooks.d dhcpd.conf dhcpd.conf.bak [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=865&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<h3>Assgining IP address with a specific MAC address</h3>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->Suppose our dhcp client has a MAC address of  00:11:85:77:d0:a7 and we want to fixed its IP address as 172.16.0.99. These are the steps:</p>
<p lang="en-US">Firstly on the DHCP server, edit the dhcpd.conf and add the following lines.</p>
<p lang="en-US"># cd /etc/dhcp3/</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/etc/dhcp3# ls</p>
<p lang="en-US">
<p lang="en-US">dhclient.conf  dhclient-enter-hooks.d  dhclient-exit-hooks.d  dhcpd.conf  dhcpd.conf.bak</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/etc/dhcp3# vi dhcpd.conf</p>
<p lang="en-US">#I add this</p>
<p lang="en-US">
<p lang="en-US">subnet 172.16.0.0 netmask 255.255.0.0 {</p>
<p lang="en-US">
<p>range 172.16.0.07 172.16.0.99;}</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">host examplehost {</p>
<p lang="en-US">
<p lang="en-US">hardware ethernet 00:11:85:77:d0:a7;</p>
<p lang="en-US">
<p lang="en-US">fixed-address 172.16.0.99;</p>
<p lang="en-US">
<p lang="en-US">}</p>
<p lang="en-US">
<p lang="en-US">Save and quit. Then restart the dhcpd service.</p>
<p lang="en-US">You can also run the following command</p>
<p lang="en-US"># service dhcp3-server restart</p>
<p lang="en-US">
<p>* Stopping DHCP server dhcpd3                                                                          [ OK ]</p>
<p lang="en-US">
<p>* Starting DHCP server dhcpd3                                                                             [OK].</p>
<p>On the dhcp client, in my case the Vector Linux, type:</p>
<p>#/etc/rc.d/./rc.inet1 stop</p>
<p>#/etc/rc.d/./rc.inet1 start</p>
<p>if it fail to obtain IP address then type:</p>
<p>#dhcpcd</p>
<p>This is the DHCP client daemon. Then check the IP address. It should now assign the IP address based on the MAC address.</p>
<p># ifconfig eth0</p>
<p>eth0      Link encap:Ethernet  HWaddr 00:11:85:77:D0:A7</p>
<p><strong>inet addr:172.16.0.15 </strong> Bcast:172.16.255.255  Mask:255.255.0.0</p>
<p>UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1</p>
<p>Note</p>
<p>You can include the DNS server in the DHCP server</p>
<pre>option domain-name-servers 172.16.0.2;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/865/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/865/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/865/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=865&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/assgining-ip-address-with-a-specific-mac-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring DHCP server in Ubuntu Jaunty</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/configuring-dhcp-server-in-ubuntu-jaunty/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/configuring-dhcp-server-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:45:47 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[dhcp]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=862</guid>
		<description><![CDATA[Configuring DHCP server in Ubuntu Jaunty DHCP server: Ubuntu DHCP client: Vector linux On DHCP server, install DHCP package root@ismail-laptop:~# apt-get install dhcp3-server &#60;output truncated for brevity&#62; Setting up dhcp3-common (3.1.1-5ubuntu8.2) &#8230; Setting up dhcp3-client (3.1.1-5ubuntu8.2) &#8230; * Reloading AppArmor profiles &#8230; [ OK ] Setting up dhcp3-server (3.1.1-5ubuntu8.2) &#8230; Generating /etc/default/dhcp3-server&#8230; * Reloading AppArmor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=862&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>Configuring DHCP server in Ubuntu Jaunty</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<p lang="en-US">DHCP server: Ubuntu</p>
<p lang="en-US">DHCP client: Vector linux</p>
<p lang="en-US">
<p lang="en-US">
<p>On DHCP server, install DHCP package</p>
<p>root@ismail-laptop:~# apt-get install dhcp3-server</p>
<p>&lt;output truncated for brevity&gt;</p>
<p>Setting up dhcp3-common (3.1.1-5ubuntu8.2) &#8230;</p>
<p>Setting up dhcp3-client (3.1.1-5ubuntu8.2) &#8230;</p>
<p>* Reloading AppArmor profiles &#8230;                                                                      [ OK ]</p>
<p>Setting up dhcp3-server (3.1.1-5ubuntu8.2) &#8230;</p>
<p>Generating /etc/default/dhcp3-server&#8230;</p>
<p>* Reloading AppArmor profiles &#8230;                                                                      [ OK ]</p>
<p>* Starting DHCP server dhcpd3                                                                                  * check syslog for diagnostics.</p>
<p>[fail]</p>
<p>invoke-rc.d: initscript dhcp3-server, action &#8220;start&#8221; failed.</p>
<p>To check if the dhcp packages are installed, type:</p>
<p># dpkg &#8211;list | grep dhcp</p>
<p><span style="font-size:x-small;">ii  dhcp3-client                               3.1.1-5ubuntu8.2                          DHCP client</span></p>
<p><span style="font-size:x-small;">ii  dhcp3-common                               3.1.1-5ubuntu8.2                          common files used by all the dhcp3* packages</span></p>
<p><span style="font-size:x-small;">ii  dhcp3-server                               3.1.1-5ubuntu8.2                          DHCP server for automatic IP address assignm</span></p>
<p>Next on the DHCP server edit the configuration file. But before that I could never strees enough on making a backup copy of the original file.</p>
<p>root@ismail-laptop:~# cd /etc/dhcp3/</p>
<p>root@ismail-laptop:/etc/dhcp3# ls</p>
<p>dhclient.conf  dhclient-enter-hooks.d  dhclient-exit-hooks.d  dhcpd.conf</p>
<p>root@ismail-laptop:/etc/dhcp3# cp -p dhcpd.conf dhcpd.conf.bak</p>
<p>Now edit the file and include the following lines:;</p>
<p>#i added the following</p>
<p>subnet 72.16.0.0 netmask 255.255.0.0 {</p>
<p>range 172.16.0.10 172.16.0.20;</p>
<p>}</p>
<p>The above entries said that to assign IP address in the range of  172.16.0.10 to 172.16.0.20 to a host (dhcp client).</p>
<p>Check that the DHCP server is running. And if changes were done on the configuration file, you have to restart the dhcpd service.</p>
<p># cd /etc/init.d/</p>
<p># ./dhcp3-server status</p>
<p>Status of DHCP server: dhcpd3 is not running.</p>
<p>Start the dhcpd server,</p>
<p># ./dhcp3-server start</p>
<ul>
<li>Starting DHCP server dhcpd3        	                                                                  [ 	OK ]</li>
</ul>
<h3>Configuring the dhcp client (Vector LInux)</h3>
<p lang="en-US">
<p lang="en-US">Edit the network settings of the dhcp client. Change the DHCP value to &#8220;yes&#8221;</p>
<p lang="en-US">
<p lang="en-US">root:# cd /etc/rc.d</p>
<p lang="en-US">vector://etc/rc.d</p>
<p lang="en-US">root:# vi rc.inet1</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">## The settings</p>
<p lang="en-US">DEVICE=&#8217;eth0&#8242;</p>
<p lang="en-US">DHCP=&#8217;yes&#8217;</p>
<p lang="en-US">IPADDR=&#8217;172.16.0.1&#8242;</p>
<p lang="en-US">NETMASK=&#8217;255.255.0.0&#8242;</p>
<p lang="en-US">GATEWAY=&#8217;172.16.0.2&#8242;</p>
<p lang="en-US">PROBE=&#8217;no&#8217;</p>
<p lang="en-US">
<p lang="en-US">Save and quit. Then you need to restart the network services.</p>
<p lang="en-US">
<p lang="en-US">root:# ./rc.inet1 stop</p>
<p lang="en-US">Stopping network eth0 &#8230;</p>
<p lang="en-US">
<p lang="en-US">root:# ./rc.inet1 start</p>
<p lang="en-US"><span style="font-size:x-small;">Starting network eth0 using a DHCP server&#8230;</span></p>
<p lang="en-US"><span style="font-size:x-small;">dhcpcd: MAC address = 00:11:85:77:d0:a7</span></p>
<p lang="en-US"><span style="font-size:x-small;">dhcpcd: your IP address = 172.16.0.10</span></p>
<p lang="en-US"><span style="font-size:x-small;">eth0      Link encap:Ethernet  HWaddr 00:11:85:77:D0:A7</span></p>
<p><span style="font-size:x-small;">inet addr:172.16.0.10  Bcast:172.16.255.255  Mask:255.255.0.0</span></p>
<p><span style="font-size:x-small;">UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1</span></p>
<p><span style="font-size:x-small;">RX packets:4 errors:0 dropped:0 overruns:0 frame:0</span></p>
<p><span style="font-size:x-small;">TX packets:1 errors:0 dropped:0 overruns:0 carrier:0</span></p>
<p><span style="font-size:x-small;">collisions:0 txqueuelen:1000</span></p>
<p><span style="font-size:x-small;">RX bytes:671 (671.0 b)  TX bytes:594 (594.0 b)</span></p>
<p><span style="font-size:x-small;">Interrupt:20</span></p>
<p lang="en-US">
<p lang="en-US">From the output, it shows that the dhcp client was assign the IP address of 172.16.0.10. Remember that we have assigned a range of IP addresses on the DHCP server i.e. IP addresses from  172.16.0.10 to 172.16.0.20.</p>
<p lang="en-US">
<p lang="en-US">Verify this IP address and check that you can now ping the DHCP server, and that the DHCP server can ping its clients.</p>
<p lang="en-US">
<p lang="en-US">root:# ping 172.16.0.2</p>
<p lang="en-US">PING 172.16.0.2 (172.16.0.2) 56(84) bytes of data.</p>
<p lang="en-US">64 bytes from 172.16.0.2: icmp_seq=1 ttl=64 time=0.213 ms</p>
<p lang="en-US">64 bytes from 172.16.0.2: icmp_seq=2 ttl=64 time=0.204 ms</p>
<p lang="en-US">
<p lang="en-US">Yes the dhcp client can ping the DHCP server</p>
<p lang="en-US">
<p lang="en-US">Try ping the dhcp client from the DHCP server</p>
<p lang="en-US"># ping 172.16.0.10</p>
<p lang="en-US">
<p lang="en-US">PING 172.16.0.10 (172.16.0.10) 56(84) bytes of data.</p>
<p lang="en-US">
<p lang="en-US">64 bytes from 172.16.0.10: icmp_seq=1 ttl=64 time=1.26 ms</p>
<p lang="en-US">
<p lang="en-US">64 bytes from 172.16.0.10: icmp_seq=2 ttl=64 time=0.202 ms</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">
<p>Yes this shows that the dhcp client can ping  the DHCP server.</p>
<p>Next we are going to assign IP address based on a specificHardware MAC address.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/862/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=862&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/configuring-dhcp-server-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting NFS Server Automatically in Vector Linux</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/starting-nfs-server-automatically-in-vector-linux/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/starting-nfs-server-automatically-in-vector-linux/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:42:33 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=860</guid>
		<description><![CDATA[Starting NFS Server Automatically in Vector Linux In my case the NFS server upon booting did not start automatically. I have to start it manually each time I booted up my server. To automatically start up NFS server service, you will need to edit the /etc/rc.d scripts. On Vector Linux Go to /etc/rc.d/rc4.d root:# cd [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=860&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<h3>Starting NFS Server Automatically in Vector Linux</h3>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p lang="en-US">In my case the NFS server upon booting did not start automatically. I have to start it manually each time I booted up my server. To automatically start up NFS server service, you will need to edit the /etc/rc.d scripts.</p>
<p lang="en-US">
<p lang="en-US">On Vector Linux</p>
<p lang="en-US">
<p lang="en-US">Go to /etc/rc.d/rc4.d</p>
<p lang="en-US">
<p lang="en-US">root:# cd /etc/rc.d/rc4.d/</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Create a script called S77nfsd (You can give it any name, but make sure the script name starts with Capital S, to indicate start of script. Script names that start with letter K means stopping or killing of service.)</p>
<p lang="en-US">
<p lang="en-US">The contents of my S77nfsd script are as follow:</p>
<p lang="en-US">
<p lang="en-US">root:# more S77nfsd</p>
<p lang="en-US">
<p lang="en-US">#!/bin/bash</p>
<p lang="en-US">
<p lang="en-US">cd /etc/rc.d</p>
<p lang="en-US">
<p lang="en-US">./rc.nfsd start</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Save and quit, and remember to chmod to ugo+x</p>
<p lang="en-US">
<p lang="en-US">#chmod ugo+x S77nfsd</p>
<p lang="en-US">
<p lang="en-US">What we actually do is to place the script at runlevel 4 and the script will in this case start the NFS server service when the system reaches runlevel 4. Try to see if this works by rebooting the system.</p>
<p lang="en-US">
<p lang="en-US">In my case after I rebooted the system, NFS server service was started automatically. Do a ps -ef|grep nfs to check this.</p>
<p lang="en-US">
<p lang="en-US">Note:</p>
<p lang="en-US">
<p lang="en-US">In Vector Linux the sshd service is also not started by default when you booted up the system. You can also include a script which started the sshd service in the /etc/rc.d/rc4.d directory. You can call this script S99sshd and the contents of the script may look like the following:</p>
<p lang="en-US">
<p lang="en-US">#!/bin/bash</p>
<p lang="en-US">
<p lang="en-US">cd /etc/rc.d</p>
<p lang="en-US">
<p lang="en-US">./rc.sshd start</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Again chmod ugo+x S99sshd so that the system can execute the script. That&#8217;s it. Try to reboot the system and when you have boot up, you can see that sshd service has started.</p>
<p lang="en-US">
<p lang="en-US">And please remember that in Vector Linux even though you started the SSH server service, you may at times unable to ssh to your Vector Linux SSH server. This is because of the firewall service. In my case I stop the firewall service to use ssh. Type:</p>
<p lang="en-US">
<p lang="en-US">#cd /etc/rc.d/</p>
<p lang="en-US">#./rc.firewall stop</p>
<p lang="en-US">
<p lang="en-US">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/860/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=860&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/starting-nfs-server-automatically-in-vector-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring NFS on Ubuntu Jaunty</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/configuring-nfs-on-ubuntu-jaunty/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/configuring-nfs-on-ubuntu-jaunty/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:15:41 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=857</guid>
		<description><![CDATA[Configuring NFS on Ubuntu Jaunty Check if the packages are install root@ismail-laptop:/etc# dpkg &#8211;list &#124; grep nfs root@ismail-laptop:/etc# dpkg &#8211;list &#124; grep portmap If they are not install, then type: apt-get install nfs-kernel-server nfs-common portmap Creating config file /etc/default/nfs-kernel-server with new version * Starting NFS common utilities [ OK ] * Exporting directories for NFS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=857&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>Configuring NFS on Ubuntu Jaunty</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<p lang="en-US">Check if the packages are install</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/etc# dpkg &#8211;list | grep nfs</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/etc# dpkg &#8211;list | grep portmap</p>
<p lang="en-US">
<p lang="en-US">If they are not install, then type:</p>
<p lang="en-US">
<p lang="en-US">apt-get install nfs-kernel-server nfs-common portmap</p>
<p lang="en-US">
<p lang="en-US">Creating config file /etc/default/nfs-kernel-server with new version</p>
<p lang="en-US">
<p>* Starting NFS common utilities                                         [ OK ]</p>
<p lang="en-US">
<p>* Exporting directories for NFS kernel daemon&#8230;                        [ OK ]</p>
<p lang="en-US">
<p>* Starting NFS kernel daemon                                            [ OK ]</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Processing triggers for libc6 &#8230;</p>
<p lang="en-US">
<p lang="en-US">ldconfig deferred processing now taking place</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Check if nfs and portmap are running:</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:~# ps -ef|grep nfs</p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30523     2  0 19:01 ?        00:00:00 [nfsd4]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30524     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30525     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30526     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30527     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30528     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30529     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30530     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30531     2  0 19:01 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root     30552 23453  0 19:01 pts/2    00:00:00 grep nfs</span></p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:~# ps -ef|grep portmap</p>
<p lang="en-US">
<p lang="en-US">daemon   30114     1  0 19:01 ?        00:00:00 /sbin/portmap</p>
<p lang="en-US">
<p lang="en-US">root     30581 23453  0 19:01 pts/2    00:00:00 grep portmap</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Edit the /etc/exports file and add the following</p>
<p lang="en-US">
<p lang="en-US">/root/Desktop/nfsshare  172.16.0.1/255.255.0.0(rw)</p>
<p lang="en-US">The IP address is the NFS client or clients. But in this case, my nfs client is the nfs server itself. This is because Vector was unable to participate as it is down for maintenance. Thus I have to make Ubuntu as the NFS client and server.</p>
<p lang="en-US">
<p lang="en-US">Restart the nfsd service</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/etc/init.d# ./nfs-kernel-server restart</p>
<p lang="en-US">
<p>* Stopping NFS kernel daemon                                            [ OK ]</p>
<p lang="en-US">
<p>* Unexporting directories for NFS kernel daemon&#8230;                      [ OK ]</p>
<p lang="en-US">
<p>* Exporting directories for NFS kernel daemon&#8230;                               exportfs: /etc/exports [1]: Neither &#8216;subtree_check&#8217; or &#8216;no_subtree_check&#8217; specified for export &#8220;172.16.0.0/255.255.0.0:/root/Desktop/nfsshare&#8221;.</p>
<p lang="en-US">
<p>Assuming default behaviour (&#8216;no_subtree_check&#8217;).</p>
<p lang="en-US">
<p>NOTE: this default has changed since nfs-utils version 1.0.x</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">
<p>[ OK ]</p>
<p lang="en-US">
<p>* Starting NFS kernel daemon                                            [ OK ]</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/etc/init.d#</p>
<p lang="en-US">
<h3>Mounting the NFS Share on the NFS Client</h3>
<p>To mount the NFS share on the client , type:</p>
<p>root@ismail-laptop:~# mount -t nfs 172.16.0.1:/root/Desktop/nfsshare/ /mnt/share</p>
<p>Type mount to check that it is mounted</p>
<p># mount</p>
<p>/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)</p>
<p>&lt;output truncated for brevity&gt;</p>
<p>172.16.0.1:/root/Desktop/nfsshare/ on /mnt/share type nfs (rw,addr=172.16.0.1)</p>
<p>It shows here that the NFS share is mounted on the client at the /mnt/share directory.</p>
<p>You can access the NFS share by typing:</p>
<p>root@ismail-laptop:~# cd /mnt/share/</p>
<p>root@ismail-laptop:/mnt/share# ls</p>
<p>freeRecipex.txt</p>
<p>Edit the file</p>
<p># vi freeRecipex.txt</p>
<p>hello world</p>
<p>we are from Mars, Grretings!</p>
<p>Check that the file contents are the same at /root/Desktop/nfsshare/ directory. This is at the NFS server.</p>
<p>root@ismail-laptop:~# cd /root/Desktop/nfsshare/</p>
<p>root@ismail-laptop:~/Desktop/nfsshare# less freeRecipex.txt</p>
<p>Yes, the contents are the same.</p>
<h3>Auto Mount NFS Shares on Clients</h3>
<p>To auto mount the NFS share when clients boot-up, you will need to edit the /etc/fstab file</p>
<p>root@ismail-laptop:~# cd /etc</p>
<p>root@ismail-laptop:/etc# cp fstab fstab.bak</p>
<p>root@ismail-laptop:/etc# vi fstab</p>
<p>In my case I have included the following lines:</p>
<p>172.16.0.1:/home/ismail	/home/ismail	nfs	defaults	0	0</p>
<p>172.16.0.1:/portsmouth	/mnt/portsmouth	nfs	defaults	0	0</p>
<p>Reboot the NFS client and check that the NFS shares are mounted</p>
<p lang="en-US">Note:</p>
<p lang="en-US">To mount the partitions that are in the /etc/fstab, you can also type:</p>
<p lang="en-US">
<p lang="en-US">#mount -a</p>
<p lang="en-US">
<p lang="en-US">All partitions will be mounted</p>
<p lang="en-US">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/857/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/857/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/857/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=857&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/configuring-nfs-on-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Issues on UIDs of NFS server and client</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/issues-on-uids-of-nfs-server-and-client/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/issues-on-uids-of-nfs-server-and-client/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:10:56 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=855</guid>
		<description><![CDATA[Issues on UIDs of NFS Server and Client On the NFS client root@ismail-laptop:~# grep ismail /etc/passwd ismail:x:1000:1000:ismail,,,:/home/ismail:/bin/bash On the NFS server root:# grep ismail /etc/passwd ismail:x:1001:100::/home/ismail: The user has different UID on the server and at the client. Let&#8217;s see if this affect the file sharing On the nfs client # mount -t nfs 172.16.0.1:/home/ismail [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=855&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>Issues on UIDs of NFS Server and Client</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<p lang="en-US">On the NFS client</p>
<p lang="en-US">root@ismail-laptop:~# grep ismail /etc/passwd</p>
<p lang="en-US">
<p lang="en-US">ismail:x:1000:1000:ismail,,,:/home/ismail:/bin/bash</p>
<p lang="en-US">
<p lang="en-US">On the NFS server</p>
<p lang="en-US">root:# grep ismail /etc/passwd</p>
<p lang="en-US">
<p lang="en-US">ismail:x:1001:100::/home/ismail:</p>
<p lang="en-US">
<p lang="en-US">The user has different UID on the server and at the client. Let&#8217;s see if this affect the file sharing</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">On the nfs client</p>
<p lang="en-US"># mount -t nfs 172.16.0.1:/home/ismail /home/ismail</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">#mount</p>
<p lang="en-US">172.16.0.1:/home/ismail on /home/ismail type nfs (rw,addr=172.16.0.1)</p>
<p lang="en-US">
<p lang="en-US">Access and try edit the files</p>
<p lang="en-US">
<p lang="en-US">On the client the user can view the file but unable to edit the file</p>
<p lang="en-US">
<p lang="en-US">SO now I will try to change the UIDs to 1001</p>
<p lang="en-US">
<p lang="en-US">On the client, I have to make some adjustment to the user who currently has UID 1001</p>
<p lang="en-US"># usermod -u 1005 idris</p>
<p lang="en-US">
<p lang="en-US">Now I assigned the user ismail UID with 1001</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/home/ismail# grep ismail /etc/passwd</p>
<p lang="en-US">
<p lang="en-US">ismail:x:1001:1000:ismail,,,:/home/ismail:/bin/bash</p>
<p lang="en-US">
<p lang="en-US">Now the UID is the same let&#8217;s try to edit the shared file</p>
<p lang="en-US">
<p lang="en-US">ismail@ismail-laptop:~$ vi ismailfile</p>
<p lang="en-US">good job</p>
<p lang="en-US">
<p lang="en-US">yes I need to change the UID to edit the file</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Yes the user can now edit the shared file.</p>
<p lang="en-US">
<h2>Making NFS share called “portsmouth”</h2>
<p lang="en-US">On  the NFS server and in my case Vector Linux</p>
<p lang="en-US">
<p lang="en-US">root:# mkdir /portsmouth</p>
<p lang="en-US">root:# chmod 1777 /portsmouth/</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">root:# ls -ld /portsmouth/</p>
<p lang="en-US">
<p lang="en-US">drwxrwxrwt 2 root root 4096 2010-02-24 12:11 /portsmouth//</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Now the portsmouth directory only allow users to edit their own file. Furthermore users cannot delete files that do not belong to them.</p>
<p lang="en-US">
<p lang="en-US">On the NFS server, again mine is Vecotr Linux, set up the directories to be shared.</p>
<p lang="en-US">
<p lang="en-US">root:# vi /etc/exports</p>
<p lang="en-US">/portsmouth     172.16.0.2/255.255.0.0(rw,root_squash)</p>
<p lang="en-US">
<p lang="en-US">Then type:</p>
<p lang="en-US">
<p lang="en-US">root:# exportfs -v -a</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">exporting 172.16.0.2/255.255.0.0:/root/Desktop/TopHits</p>
<p lang="en-US">
<p lang="en-US">exporting 172.16.0.2/255.255.0.0:/home/ismail</p>
<p lang="en-US">
<p lang="en-US">exporting 172.16.0.2/255.255.0.0:/portsmouth</p>
<p lang="en-US">
<p lang="en-US">Restart the NFS server</p>
<p lang="en-US">
<p lang="en-US">root:# ./rc.nfsd start</p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">Starting RPC portmapper:  /sbin/rpc.portmap</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">Starting RPC kernel lockd process:  /sbin/rpc.lockd</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">Starting RPC NSM (Network Status Monitor):  /sbin/rpc.statd</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">Starting NFS server daemons:</span></p>
<p lang="en-US">
<p><span style="font-size:x-small;">/usr/sbin/exportfs -r</span></p>
<p lang="en-US">
<p lang="en-US">
<p><span style="font-size:x-small;">/usr/sbin/rpc.rquotad</span></p>
<p lang="en-US">
<p><span style="font-size:x-small;">/usr/sbin/rpc.nfsd 8</span></p>
<p lang="en-US">
<p><span style="font-size:x-small;">/usr/sbin/rpc.mountd</span></p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Note that in my case I do not need to restart the portmap service</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Now let&#8217;s configure NFS on Ubuntu. I will make Ubuntu as the NFS server and the NFS client.</p>
<p lang="en-US">The portmap script is found at /etc/rc.d/init.d</p>
<p lang="en-US">/./portmap</p>
<p lang="en-US">
<p lang="en-US">On the NFS client, make directory so that users will access their files.</p>
<p lang="en-US">root@ismail-laptop:/mnt# mkdir portsmouth</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/mnt# ll portsmouth/</p>
<p lang="en-US">
<p lang="en-US">total 0</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/mnt# ll -d portsmouth/</p>
<p lang="en-US">
<p lang="en-US">drwxr-xr-x 2 root root 4096 2010-02-24 14:41 portsmouth/</p>
<p lang="en-US">
<p lang="en-US">Now mount the share</p>
<p lang="en-US">root@ismail-laptop:~# mount -t nfs 172.16.0.1:/portsmouth /mnt/portsmouth/</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:~# mount</p>
<p lang="en-US">
<p lang="en-US">/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)</p>
<p lang="en-US">
<p lang="en-US">&lt;information truncated for brevity&gt;</p>
<p lang="en-US">172.16.0.1:/portsmouth on /mnt/portsmouth type nfs (rw,addr=172.16.0.1)</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Now try to create files and try to delete other users&#8217; files</p>
<p lang="en-US">root@ismail-laptop:~# su &#8211; idris</p>
<p lang="en-US">
<p lang="en-US">idris@ismail-laptop:~$ pwd</p>
<p lang="en-US">
<p lang="en-US">/home/idris</p>
<p lang="en-US">
<p lang="en-US">idris@ismail-laptop:~$ cd /mnt/portsmouth/</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">idris@ismail-laptop:/mnt/portsmouth$ ls -l</p>
<p lang="en-US">
<p lang="en-US">total 8</p>
<p lang="en-US">
<p lang="en-US">-rw-r&#8211;r&#8211; 1 ismail ismail 5 2010-02-24 15:13 ismail_recipes</p>
<p lang="en-US">
<p lang="en-US">-rw-r&#8211;r&#8211; 1 ismail users  5 2010-02-24 15:11 ismail_secrets</p>
<p lang="en-US">
<p lang="en-US">idris@ismail-laptop:/mnt/portsmouth$ rm ismail_recipes</p>
<p lang="en-US">
<p lang="en-US">rm: remove write-protected regular file `ismail_recipes&#8217;? y</p>
<p lang="en-US">
<p lang="en-US">rm: cannot remove `ismail_recipes&#8217;: Operation not permitted</p>
<p lang="en-US">
<p lang="en-US">User idris cannot remove ismail&#8217;s files</p>
<p lang="en-US">
<p lang="en-US">Note</p>
<p lang="en-US">The sticky bit is set on the NFS server, not the client</p>
<p lang="en-US">
<p lang="en-US">This is what it looks like on the NFS server</p>
<p lang="en-US">root:# ls -ld portsmouth/</p>
<p lang="en-US">
<p lang="en-US">drwxrwxrwt 2 root root 4096 2010-02-24 15:13 portsmouth//</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">And after you mount on the client, it appears that the sticky bit is set automatically by NFS</p>
<p lang="en-US">
<p lang="en-US">idris@ismail-laptop:~$ ls -ld /mnt/portsmouth/</p>
<p lang="en-US">
<p lang="en-US">drwxrwxrwt 2 root root 4096 2010-02-24 15:13 /mnt/portsmouth/</p>
<p lang="en-US">
<p lang="en-US">
<h3>Important Notes</h3>
<p lang="en-US">When you mount an NFS share on the client, the client thought that he is creating files on the local machine, but the truth is that the files he created all reside in the NFS server. Once you unmount the NFS share, the client files are not on his or her home directory. They are found on the NFS server.</p>
<p lang="en-US">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/855/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/855/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/855/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/855/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/855/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/855/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/855/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/855/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=855&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/issues-on-uids-of-nfs-server-and-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Exploring NFS in Vector Linux with Ubuntu Jaunty as Client</title>
		<link>http://ghazalisco.wordpress.com/2010/04/21/exploring-nfs-in-ubuntu-jaunty/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/21/exploring-nfs-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:04:36 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=851</guid>
		<description><![CDATA[Exploring NFS in Vector Linux with Ubuntu Jaunty as Client Vector Linux is configured as the NFS server Check that the NFS package is install root:# slapt-get &#8211;installed &#124; grep nfs nfs-utils-1.0.10-i486-3 [inst=yes]: nfs-utils (Network File System daemons and utilities) root:# slapt-get &#8211;installed &#124; grep portmap portmap-5.0-i486-3 [inst=yes]: portmap (a daemon to manage RPC connections) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=851&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Exploring NFS in Vector Linux with Ubuntu Jaunty as Client</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<p lang="en-US">Vector Linux is configured as the NFS server</p>
<p lang="en-US">
<p lang="en-US">Check that the NFS package is install</p>
<p lang="en-US">
<p lang="en-US">root:# slapt-get &#8211;installed | grep nfs</p>
<p lang="en-US">nfs-utils-1.0.10-i486-3 [inst=yes]: nfs-utils (Network File System daemons and utilities)</p>
<p lang="en-US">
<p lang="en-US">root:# slapt-get &#8211;installed | grep portmap</p>
<p lang="en-US">portmap-5.0-i486-3 [inst=yes]: portmap (a daemon to manage RPC connections)</p>
<p lang="en-US">
<p lang="en-US">Check where to start the NFS server daemon</p>
<p lang="en-US">root:# cd /etc/rc.d</p>
<p lang="en-US">vector://etc/rc.d</p>
<p lang="en-US">root:# ./rc.nfsd</p>
<p lang="en-US">
<p lang="en-US">
<h3>Important Notes</h3>
<p lang="en-US">If you are thinking of making Vector Linux as the ssh or NFS server, you must stop the firewall service by  typing:</p>
<p lang="en-US">#cd /etc/rc.d</p>
<p lang="en-US">#./rc.firewall stop</p>
<p lang="en-US">
<p lang="en-US">Otherwise your ssh or NFS share will not be accessible from remote hosts. I wrote a rc script which will stop the firewall services, before the server starts the NFS and SSH. Follow the steps, and I remind you that this is for Vector linux.</p>
<p lang="en-US">
<p lang="en-US">root:# cd /etc/rc.d</p>
<p lang="en-US">
<p lang="en-US">vector://etc/rc.d</p>
<p lang="en-US">
<p lang="en-US">root:# cd rc4.d/</p>
<p lang="en-US">
<p lang="en-US">vector://etc/rc.d/rc4.d</p>
<p lang="en-US">
<p lang="en-US">root:# ls</p>
<p lang="en-US">
<p lang="en-US">K49ifplugd@   S50ifplugd@   S76tembokapi*  S99cups*</p>
<p lang="en-US">
<p lang="en-US">K76firewall@  S70firewall@  S77nfsd*       S99sshd*</p>
<p lang="en-US">
<p lang="en-US">vector://etc/rc.d/rc4.d</p>
<p lang="en-US">
<p lang="en-US">The rc script is called S76tembokapi. Make sure the script name begins with letter S (means start) and that the number is after the firewall script S70FIREWALL. That&#8217;s why I chose number 76; after the firewall start and before the nfsd and sshd scripts started.</p>
<p lang="en-US">
<p lang="en-US">Create a directory to be shared</p>
<p lang="en-US">
<p lang="en-US">root:# cd /root/Desktop/</p>
<p lang="en-US">vector:/~/Desktop</p>
<p lang="en-US">root:# mkdir TopHits</p>
<p lang="en-US">vector:/~/Desktop</p>
<p lang="en-US">root:# vi somefile.txt</p>
<p lang="en-US">
<p lang="en-US">Write some things to the file and save.</p>
<p lang="en-US">
<p lang="en-US">Let&#8217;s check if the nfsd service is running on the NFS server (the Vector Linux)</p>
<p lang="en-US">
<p lang="en-US">root:# ps -ef|grep nfs</p>
<p lang="en-US">
<p lang="en-US">root      3417  3372  0 08:00 pts/3    00:00:00 grep nfs</p>
<p lang="en-US">
<p lang="en-US">It shows that nfs server is not running</p>
<p lang="en-US">
<p lang="en-US">But before we start it let&#8217;s edit the /etc/exports file</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Edit the /etc/exports</p>
<p lang="en-US">
<p lang="en-US">Add a line that looks like this:</p>
<p lang="en-US">/root/Desktop/TopHits   172.16.0.2/255.255.0.0(rw,no_root_squash)</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">The IP address here is the NFS client, which is my case is the Ubuntu Jaunty.</p>
<p lang="en-US">
<p lang="en-US">After that run the following command to export the folders.</p>
<p lang="en-US">
<p lang="en-US">root:# exportfs -a -v</p>
<p lang="en-US">
<p lang="en-US">exportfs: /etc/exports [1]: Neither &#8216;subtree_check&#8217; or &#8216;no_subtree_check&#8217; specified for export &#8220;172.16.0.2/255.255.0.0:/root/Desktop/TopHits&#8221;.</p>
<p lang="en-US">
<p>Assuming default behaviour (&#8216;subtree_check&#8217;).</p>
<p lang="en-US">
<p>NOTE: this default will change with nfs-utils version 1.1.0</p>
<p lang="en-US">
<p lang="en-US">exporting 172.16.0.2/255.255.0.0:/root/Desktop/TopHits</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Make sure you have the /root/Desktop/TopHIts created on your ssh server, otherwise you are not sharing anything.</p>
<p lang="en-US">
<p lang="en-US">Now let&#8217;s restart the NFS server:</p>
<p lang="en-US">
<p lang="en-US">Before that we also note that for NFS to work, you need the rpc portmap and nfs service running. Now we already know how to check for nfs service. To check for the rpc portmap type:</p>
<p lang="en-US">
<p lang="en-US">vector://etc</p>
<p lang="en-US">
<p lang="en-US">root:# ps -ef|grep portmap</p>
<p lang="en-US">
<p lang="en-US">root      3423  3372  0 08:06 pts/3    00:00:00 grep portmap</p>
<p lang="en-US">
<p lang="en-US">vector://etc</p>
<p lang="en-US">
<p lang="en-US">root:# ps -ef|grep rpc</p>
<p lang="en-US">
<p lang="en-US">root      3425  3372  0 08:06 pts/3    00:00:00 grep rpc</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Ok let&#8217;s start the NFS server on the Vector Linux</p>
<p lang="en-US">
<p lang="en-US">root:# cd /etc/rc.d</p>
<p lang="en-US">
<p lang="en-US">vector://etc/rc.d</p>
<p lang="en-US">
<p lang="en-US">root:# ./rc.nfsd start</p>
<p lang="en-US">
<p lang="en-US">Starting RPC portmapper:  /sbin/rpc.portmap</p>
<p lang="en-US">
<p lang="en-US">Starting RPC kernel lockd process:  /sbin/rpc.lockd</p>
<p lang="en-US">
<p lang="en-US">Starting RPC NSM (Network Status Monitor):  /sbin/rpc.statd</p>
<p lang="en-US">
<p lang="en-US">Starting NFS server daemons:</p>
<p lang="en-US">
<p>/usr/sbin/exportfs -r</p>
<p lang="en-US">
<p lang="en-US">exportfs: /etc/exports [1]: Neither &#8216;subtree_check&#8217; or &#8216;no_subtree_check&#8217; specified for export &#8220;172.16.0.2/255.255.0.0:/root/Desktop/TopHits&#8221;.</p>
<p lang="en-US">
<p>Assuming default behaviour (&#8216;subtree_check&#8217;).</p>
<p lang="en-US">
<p>NOTE: this default will change with nfs-utils version 1.1.0</p>
<p lang="en-US">
<p>/usr/sbin/rpc.rquotad</p>
<p lang="en-US">
<p>/usr/sbin/rpc.nfsd 8</p>
<p lang="en-US">
<p>/usr/sbin/rpc.mountd</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Check for the necessary services:</p>
<p lang="en-US">
<p lang="en-US">root:# ps -ef|grep rpc</p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">bin       3453     1  0 08:08 ?        00:00:00 /sbin/rpc.portmap</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3462     1  0 08:08 ?        00:00:00 /sbin/rpc.statd</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3465     1  0 08:08 ?        00:00:00 /usr/sbin/rpc.rquotad</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3478     6  0 08:08 ?        00:00:00 [rpciod/0]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3479     1  0 08:08 ?        00:00:00 /usr/sbin/rpc.mountd</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3496     1  0 08:10 ?        00:00:00 /usr/sbin/rpc.rquotad</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3499     1  0 08:10 ?        00:00:00 /usr/sbin/rpc.mountd</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3501  3372  0 08:10 pts/3    00:00:00 grep rpc</span></p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root:# ps -ef|grep nfs</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3467     6  0 08:08 ?        00:00:00 [nfsd4]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3468     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3469     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3470     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3471     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3472     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3473     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3474     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3475     1  0 08:08 ?        00:00:00 [nfsd]</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">root      3505  3372  0 08:11 pts/3    00:00:00 grep nfs</span></p>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H3 { margin-bottom: 0.08in } 		H3.western { font-family: "Nimbus Sans L", "Arial", sans-serif } 		H3.cjk { font-family: "DejaVu Sans" } 		H3.ctl { font-family: "DejaVu Sans" } --></p>
<h3>rpcinfo utility</h3>
<p lang="en-US">
<p lang="en-US">The rpcinfo utility displays information about programs registered with portmap and makes RPC calls to programs to see if they are alive</p>
<p lang="en-US">
<p lang="en-US">Type the command:</p>
<p lang="en-US">
<p lang="en-US"><span><span style="font-size:x-small;"># rpcinfo -p ubuntu.example.com</span></span></p>
<p lang="en-US">
<p lang="en-US">You can replace the hostname with IP address or localhost.</p>
<p lang="en-US">
<p lang="en-US">Use the -u option to display a list of versions of a daemon registered on a host</p>
<p lang="en-US"><span><span style="font-size:x-small;"># rpcinfo -u ubuntu.example.com nfs</span></span></p>
<p lang="en-US">
<p lang="en-US"><span><span style="font-size:x-small;">program 100003 version 2 ready and waiting</span></span></p>
<p lang="en-US">
<p lang="en-US"><span><span style="font-size:x-small;">program 100003 version 3 ready and waiting</span></span></p>
<p lang="en-US">
<p lang="en-US"><span><span style="font-size:x-small;">program 100003 version 4 ready and waiting</span></span></p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Now let&#8217;s configure the NFS client on the Ubuntu Jaunty</p>
<p lang="en-US">
<p lang="en-US">Firstly, make a directory at the client</p>
<p lang="en-US">
<p lang="en-US"># mkdir /mnt/share</p>
<p lang="en-US">
<p lang="en-US">Next mount the shareon the NFS client and in my case it&#8217;s Ubuntu Jaunty:</p>
<p lang="en-US">
<p lang="en-US"># mount -t nfs 172.16.0.1:/root/Desktop/TopHits /mnt/share</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">Check to see if it is mounted</p>
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:~# mount</p>
<p lang="en-US"># mount</p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)</span></p>
<p lang="en-US">
<p lang="en-US"><span style="font-size:x-small;">proc on /proc type proc (rw,noexec,nosuid,nodev)</span></p>
<p lang="en-US">
<p><span style="font-size:x-small;">&lt;</span><span style="font-size:x-small;"><em>lines truncated for brevity&gt;</em></span></p>
<p lang="en-US"><span style="font-size:x-small;">172.16.0.1:/root/Desktop/TopHits on /mnt/share type nfs (rw,addr=172.16.0.1)</span></p>
<p lang="en-US">
<p lang="en-US">Look at the last entry. It shows that the NFS share is mounted.</p>
<p lang="en-US">
<p lang="en-US">Let&#8217;s edit the file from the NFS client</p>
<p lang="en-US">
<p lang="en-US"># cd /mnt/share/</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/mnt/share# ls</p>
<p lang="en-US">
<p lang="en-US">somefile.txt</p>
<p lang="en-US">
<p lang="en-US">
<p lang="en-US">root@ismail-laptop:/mnt/share# vi somefile.txt</p>
<p lang="en-US">hello world</p>
<p lang="en-US">
<p lang="en-US">hi earthlings! Greetings from mars.</p>
<p lang="en-US">
<p lang="en-US">You can also check that the file is updated on the NFS server</p>
<p lang="en-US">
<p lang="en-US">To unmount the share on the NFS client, type:</p>
<p lang="en-US">
<p lang="en-US">#umount /mnt/share</p>
<p lang="en-US">
<p lang="en-US">Note:</p>
<p lang="en-US">Based on several tests, NFS server service in Vector Linux will not start unless you have NFS share entries in your /etc/export file. If the file is blank, nfs services will not even work.</p>
<p lang="en-US">
<p lang="en-US">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/851/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/851/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/851/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/851/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/851/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/851/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/851/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/851/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=851&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/21/exploring-nfs-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring Telnet Server in Ubuntu Jaunty</title>
		<link>http://ghazalisco.wordpress.com/2010/04/18/configuring-telnet-server-in-ubuntu-jaunty/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/18/configuring-telnet-server-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 20:40:34 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=848</guid>
		<description><![CDATA[Configuring Telnet Server in Ubuntu Jaunty Telnet is run as a Super Server root@ismail-laptop:/etc/init.d# cd /etc/xinetd.d root@ismail-laptop:/etc/xinetd.d# ls -lrt total 24 -rw-r&#8211;r&#8211; 1 root root 727 2008-07-28 20:26 time -rw-r&#8211;r&#8211; 1 root root 580 2008-07-28 20:26 echo -rw-r&#8211;r&#8211; 1 root root 549 2008-07-28 20:26 discard -rw-r&#8211;r&#8211; 1 root root 660 2008-07-28 20:26 daytime -rw-r&#8211;r&#8211; 1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=848&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>Configuring Telnet Server in Ubuntu Jaunty</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } -->Telnet is run as a Super Server</p>
<p>root@ismail-laptop:/etc/init.d# cd /etc/xinetd.d</p>
<p>root@ismail-laptop:/etc/xinetd.d# ls -lrt</p>
<p>total 24</p>
<p>-rw-r&#8211;r&#8211; 1 root root 727 2008-07-28 20:26 time</p>
<p>-rw-r&#8211;r&#8211; 1 root root 580 2008-07-28 20:26 echo</p>
<p>-rw-r&#8211;r&#8211; 1 root root 549 2008-07-28 20:26 discard</p>
<p>-rw-r&#8211;r&#8211; 1 root root 660 2008-07-28 20:26 daytime</p>
<p>-rw-r&#8211;r&#8211; 1 root root 798 2008-07-28 20:26 chargen</p>
<p>-rw-r&#8211;r&#8211; 1 root root 392 2010-02-06 03:07 telnetd</p>
<p>If there is no telnetd file, create one like this</p>
<p>service telnetd</p>
<p>{</p>
<p>disable		= no</p>
<p>type		= INTERNAL</p>
<p>socket_type	= stream</p>
<p>protocol	= tcp</p>
<p>user		= root</p>
<p>wait		= no</p>
<p>}</p>
<p>After that restart the xinetd service</p>
<p>root@ismail-laptop:/etc# cd init.d/</p>
<p>root@ismail-laptop:/etc/init.d# ./xinetd</p>
<p>Usage: /etc/init.d/xinetd {start|stop|reload|force-reload|restart|status}</p>
<p>root@ismail-laptop:/etc/init.d# ./xinetd restart</p>
<p>Now from Vector, telnet to Ubuntu</p>
<p lang="en-US">root:# telnet 172.16.0.2</p>
<p lang="en-US">Trying 172.16.0.2&#8230;</p>
<p lang="en-US">Connected to 172.16.0.2.</p>
<p lang="en-US">Escape character is &#8216;^]&#8217;.</p>
<p lang="en-US">Ubuntu 9.04</p>
<p lang="en-US">ismail-laptop login: root</p>
<p lang="en-US">Password:</p>
<p lang="en-US">Last login: Sun Feb 14 16:23:21 SGT 2010 from 172.16.0.1 on pts/2</p>
<p lang="en-US">Linux ismail-laptop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686</p>
<p><span style="color:#000080;"><span style="text-decoration:underline;"><a href="mailto:root@ismail-laptop">root@ismail-laptop</a></span></span>:~#</p>
<p lang="en-US">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/848/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/848/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/848/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=848&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/18/configuring-telnet-server-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>FTP from Vector Linux to Ubuntu Jaunty</title>
		<link>http://ghazalisco.wordpress.com/2010/04/18/ftp-from-vector-linux-to-ubuntu-jaunty/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/18/ftp-from-vector-linux-to-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 20:37:18 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[ftp]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/2010/04/18/ftp-from-vector-linux-to-ubuntu-jaunty/</guid>
		<description><![CDATA[FTP from Vector Linux to Ubuntu Jaunty On Ubuntu root@ismail-laptop:~# ps -ef&#124;grep ftp proftpd 2930 1 0 21:05 ? 00:00:00 proftpd: (accepting connections) root 7544 5961 0 21:48 pts/2 00:00:00 grep ftp This shows that ftp server, proftpd is ready. On Vector root:# ftp 172.16.0.2 Connected to 172.16.0.2. 220 ProFTPD 1.3.1 Server (Debian) [::ffff:172.16.0.2] Name [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=847&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>FTP from Vector Linux to Ubuntu Jaunty</h2>
<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->On Ubuntu</p>
<p>root@ismail-laptop:~# ps -ef|grep ftp</p>
<p>proftpd   2930     1  0 21:05 ?        00:00:00 proftpd: (accepting connections)</p>
<p>root      7544  5961  0 21:48 pts/2    00:00:00 grep ftp</p>
<p>This shows that ftp server, proftpd is ready.</p>
<p>On Vector</p>
<p lang="en-US">root:# ftp 172.16.0.2</p>
<p lang="en-US">Connected to 172.16.0.2.</p>
<p lang="en-US">220 ProFTPD 1.3.1 Server (Debian) [::ffff:172.16.0.2]</p>
<p lang="en-US">Name (172.16.0.2:root): root</p>
<p lang="en-US">331 Password required for root</p>
<p lang="en-US">Password:</p>
<p lang="en-US">230 User root logged in</p>
<p lang="en-US">Remote system type is UNIX.</p>
<p lang="en-US">Using binary mode to transfer files.</p>
<p lang="en-US">ftp&gt; ls</p>
<p lang="en-US">200 PORT command successful</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/847/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=847&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/18/ftp-from-vector-linux-to-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting IP address on Vector Linux</title>
		<link>http://ghazalisco.wordpress.com/2010/04/10/setting-ip-address-on-vector-linux/</link>
		<comments>http://ghazalisco.wordpress.com/2010/04/10/setting-ip-address-on-vector-linux/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 09:02:49 +0000</pubDate>
		<dc:creator>isaraffee</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[vectorlinux]]></category>

		<guid isPermaLink="false">http://ghazalisco.wordpress.com/?p=844</guid>
		<description><![CDATA[Setting IP address on Vector Linux On Vector Linux, to edit the network interface, eth0 type: #vi /etc/rc.d/rc.inet1 ## The settings DEVICE=&#8217;eth0&#8242; DHCP=&#8217;no&#8217; IPADDR=&#8217;172.16.0.1&#8242; NETMASK=&#8217;255.255.0.0&#8242; GATEWAY=&#8217;172.16.0.2&#8242; PROBE=&#8217;no&#8217; Save and quit. Then you need to restart the network services. root:# /etc/rc.d/./rc.inet1 stop Stopping network eth0 &#8230; root:# /etc/rc.d/./rc.inet1 start Ping the Vector Linux root@ismail-laptop:~# ping 172.16.0.1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=844&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		H2 { margin-bottom: 0.08in } 		H2.western { font-family: "Nimbus Sans L", "Arial", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } 		H2.ctl { font-family: "DejaVu Sans"; font-size: 14pt; font-style: italic } --></p>
<h2>Setting IP address on Vector Linux</h2>
<p>On Vector Linux, to edit the network interface, eth0 type:</p>
<p>#vi /etc/rc.d/rc.inet1</p>
<p lang="en-US">## The settings</p>
<p lang="en-US">DEVICE=&#8217;eth0&#8242;</p>
<p lang="en-US">DHCP=&#8217;no&#8217;</p>
<p lang="en-US">IPADDR=&#8217;172.16.0.1&#8242;</p>
<p lang="en-US">NETMASK=&#8217;255.255.0.0&#8242;</p>
<p lang="en-US">GATEWAY=&#8217;172.16.0.2&#8242;</p>
<p lang="en-US">PROBE=&#8217;no&#8217;</p>
<p lang="en-US">
<p lang="en-US">Save and quit. Then you need to restart the network services.</p>
<p lang="en-US">
<p lang="en-US">root:# /etc/rc.d/./rc.inet1 stop</p>
<p lang="en-US">Stopping network eth0 &#8230;</p>
<p lang="en-US">
<p lang="en-US">root:# /etc/rc.d/./rc.inet1 start</p>
<p>Ping the Vector Linux</p>
<p>root@ismail-laptop:~# ping 172.16.0.1</p>
<p><span style="font-size:x-small;">PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data.</span></p>
<p><span style="font-size:x-small;">64 bytes from 172.16.0.1: icmp_seq=1 ttl=64 time=1.24 ms</span></p>
<p><span style="font-size:x-small;">64 bytes from 172.16.0.1: icmp_seq=2 ttl=64 time=0.185 ms</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghazalisco.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghazalisco.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghazalisco.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghazalisco.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghazalisco.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghazalisco.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghazalisco.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghazalisco.wordpress.com/844/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghazalisco.wordpress.com&amp;blog=5925178&amp;post=844&amp;subd=ghazalisco&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghazalisco.wordpress.com/2010/04/10/setting-ip-address-on-vector-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f12b8bd35940bf985d706aa4c72a09ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ghazalisco</media:title>
		</media:content>
	</item>
	</channel>
</rss>
