<?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>Networking &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="http://lifelinux.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 14 Mar 2014 02:21:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.8</generator>
	<item>
		<title>How To Fix NIC Link is Down On Centos 6.5 After Upgrade</title>
		<link>http://lifelinux.com/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/</link>
					<comments>http://lifelinux.com/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 14 Mar 2014 02:19:11 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[82574L]]></category>
		<category><![CDATA[Reset adapter unexpectedly]]></category>
		<category><![CDATA[Timesync]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1889</guid>

					<description><![CDATA[<p>Since upgrading a CentOS 6.4 with a SuperMicro X8SIE-F/X9SCL board with Intel 82574L NIC to 2.6.32-431.el6.x86_64 and rebooting, I have been having consistent NIC failures where the NIC shuts down permanently until a soft reboot is performed. Type the following commands to get more info about error # cat /var/log/messages &#124; grep eth1 kernel: NETDEV [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/">How To Fix NIC Link is Down On Centos 6.5 After Upgrade</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Since upgrading a CentOS 6.4 with a SuperMicro X8SIE-F/X9SCL board with Intel 82574L NIC to 2.6.32-431.el6.x86_64 and rebooting, I have been having consistent NIC failures where the NIC shuts down permanently until a soft reboot is performed.<span id="more-1889"></span></p>
<p>Type the following commands to get more info about error</p>
<pre># cat /var/log/messages | grep eth1
kernel: NETDEV WATCHDOG: eth1 (e1000e): transmit queue 0 timed out
kernel: e1000e 0000:02:00.0: eth1: Reset adapter unexpectedly
kernel: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
kernel: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
kernel: e1000e 0000:02:00.0: eth1: Timesync Tx Control register not set as expected
kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready</pre>
<pre># uname -a
Linux svr.lifelinux.com 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux</pre>
<pre># ethtool -i eth0
driver: e1000e
version: 2.3.2-k
firmware-version: 0.13-4
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no</pre>
<pre># dmidecode --type baseboard
SMBIOS 2.7 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Supermicro
        Product Name: X9SCL/X9SCM
        Version: 1.11A
        Serial Number: ZM2BS41603
        Asset Tag: To be filled by O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To be filled by O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0</pre>
<p>I found the following conversations on the net, exactly the same situation:</p>
<pre>https://bugzilla.redhat.com/show_bug.cgi?id=625776
https://lkml.org/lkml/2012/3/17/48
http://lists.centos.org/pipermail/centos/2011-September/118027.html
http://sourceforge.net/p/e1000/bugs/358/</pre>
<p><strong>A quick step to fix this problem</strong></p>
<p>Step 1. Login SSH as root</p>
<p>Step 2. Add pcie_aspm=off kernel parameters to grub config</p>
<pre># cd /boot/grub
# vi grub.conf</pre>
<p>Find and add &#8220;pcie_aspm=off&#8221; at the end of the kernel parameters</p>
<pre>default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-431.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/vg_host10588-lv_root nomodeset rd_NO_LUKS rd_MD_UUID=083ae648:88342690:2c5c8edb:4af053ee rd_LVM_LV=vg_host10588/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_MD_UUID=8263fd2d:c008be86:08ead055:2b929ecf rd_LVM_LV=vg_host10588/lv_swap  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM LANG=en_US.UTF-8 rhgb quiet pcie_aspm=off
        initrd /initramfs-2.6.32-431.el6.x86_64.img</pre>
<p>Step 3. Save and reboot</p>
<pre># shutdown -r now</pre>
<g:plusone href="http://lifelinux.com/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/">How To Fix NIC Link is Down On Centos 6.5 After Upgrade</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-fix-nic-link-is-down-on-centos-6-5-after-upgrade/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Recover Password Juniper SSG 550 Using Serial Number</title>
		<link>http://lifelinux.com/how-to-recover-password-juniper-ssg-550-using-serial-number/</link>
					<comments>http://lifelinux.com/how-to-recover-password-juniper-ssg-550-using-serial-number/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 28 Jul 2013 03:28:19 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[reset password ssg 550]]></category>
		<category><![CDATA[ssg reset default settings]]></category>
		<category><![CDATA[ssg system Recovery]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1842</guid>

					<description><![CDATA[<p>SSG550M is a purpose-built, modular security platform that delivers 1+ Gbps of firewall traffic and 600 Mbps of IPSec VPN for large branch, regional offices and enterprises. If you ever forget your password and lose access to your SSG firewall then in this article, I will show you How to recover password Juniper SSG 550 [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-recover-password-juniper-ssg-550-using-serial-number/">How To Recover Password Juniper SSG 550 Using Serial Number</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>SSG550M is a purpose-built, modular security platform that delivers 1+ Gbps of firewall traffic and 600 Mbps of IPSec VPN for large branch, regional offices and enterprises. If you ever forget your password and lose access to your SSG firewall then in this article, I will show you How to recover password Juniper SSG 550 using serial number step by step.<span id="more-1842"></span><br />
<span style="color: #ff0000;"><strong>NOTE: You will be notified that you will lose your configuration and all your settings.</strong></span></p>
<p><strong>Step 1.</strong> Connect to the device with a console connection.<br />
<strong>Step 2.</strong> Log into the firewall using the device&#8217;s serial number as both the username and password. The following shows a typical serial number login and the resulting messages.</p>
<pre>login: 00442421012308289
password:</pre>
<p><strong>Step 3.</strong> A warning message will display, requesting confirmation to continue with the process. Enter &#8220;y&#8221;</p>
<pre>!!! Lost Password Reset !!! You have initiated a command to reset the device to
factory defaults, clearing all current configuration and settings. Would you like
to continue? y/[n] y</pre>
<p><strong>Step 4.</strong> A reconfirmation message displays. Again, enter &#8221; y &#8220;. The firewall will reboot.</p>
<pre>!! Reconfirm Lost Password Reset !! If you continue, the entire
configuration of the device will be erased. In addition, a permanent
counter will be incremented to signify that this device has been reset.
This is your last chance to cancel this command. If you proceed, the
device will return to factory default configuration, which is: System IP:
192.168.1.1; username: netscreen, password: netscreen. Would you like to
continue? y/[n] y</pre>
<p><strong>Step 5.</strong> Upon reboot, the configuration is set back to factory default. The login for both the username and password is reset to &#8220;netscreen&#8221;.</p>
<g:plusone href="http://lifelinux.com/how-to-recover-password-juniper-ssg-550-using-serial-number/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-recover-password-juniper-ssg-550-using-serial-number/">How To Recover Password Juniper SSG 550 Using Serial Number</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-recover-password-juniper-ssg-550-using-serial-number/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Wowza Media Server 3 On CentOS 6</title>
		<link>http://lifelinux.com/how-to-install-wowza-media-server-3-on-centos-6/</link>
					<comments>http://lifelinux.com/how-to-install-wowza-media-server-3-on-centos-6/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 08 Nov 2012 10:23:04 +0000</pubDate>
				<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[rtmp]]></category>
		<category><![CDATA[rtmpe]]></category>
		<category><![CDATA[server streaming]]></category>
		<category><![CDATA[wowza media server]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1395</guid>

					<description><![CDATA[<p>Wowza Media Server 3 is the high-performance, high-value unified streaming media and video software for any screen. For live or on-demand streaming to computers, mobile devices and IPTV/OTT endpoints, the Wowza® platform delivers superior features, benefits and functionality. This tutorial shows how I can install Wowza Media Server 3 on a CentOS 6. First, update [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-wowza-media-server-3-on-centos-6/">How To Install Wowza Media Server 3 On CentOS 6</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><a title="Wowza Media Server" href="http://www.wowza.com/media-server" target="_blank">Wowza Media Server</a> 3 is the high-performance, high-value unified streaming media and video software for any screen. For live or on-demand streaming to computers, mobile devices and IPTV/OTT endpoints, the Wowza® platform delivers superior features, benefits and functionality. This tutorial shows how I can install Wowza Media Server 3 on a CentOS 6.<br />
<span id="more-1395"></span><br />
First, update update CentOS to latest version and You will need Java installed. Type the following command:</p>
<pre># yum update -y
# yum install java* -y</pre>
<h2>Installing Wowza Media Server 3</h2>
<p>You need to download the Wowza Media Server 3 from http://www.wowza.com/pricing/installer. Type the following command</p>
<pre># wget http://www.wowza.com/downloads/WowzaMediaServer-3-1-2/WowzaMediaServer-3.1.2.rpm.bin</pre>
<p>Next, type the following command to install Wowza Media Server 3</p>
<pre># chmod +x WowzaMediaServer-3.1.2.rpm.bin
# ./WowzaMediaServer-3.1.2.rpm.bin</pre>
<h2>Setting up the License</h2>
<p>In order to use Wowza Media Server, you&#8217;ll need a license, which can be obtained from the <a href="http://www.wowza.com" target="_blank">Wowza website</a> (select a trail or developer license).<br />
After, moving to the Wowza install directory and run the start up script</p>
<pre># cd /usr/local/WowzaMediaServer
# bin/startup.sh</pre>
<p>If you wish to add WowzaMediaServer service to start when the machine boot, type the following command</p>
<pre># chkconfig --level 345 WowzaMediaServer on</pre>
<h2>Installing Wowza Examples</h2>
<p>Type the following command</p>
<pre># cd /usr/local/WowzaMediaServerPro/examples
# ./install.sh
# /etc/init.d/WowzaMediaServer restart</pre>
<p>If You are using a firewall, You need open the port: 1935. Type the following command if You are using <strong>iptables</strong></p>
<pre># iptables -I INPUT -p tcp --dport 1935 -j ACCEPT</pre>
<p>Default, media files to hosted at: /usr/local/WowzaMediaServer/content. You can copy movie file to here.<br />
After, moving to /usr/local/WowzaMediaServer/examples/SimpleVideoStreaming and copy a folder called &#8220;client&#8221; to desktop.<br />
Run &#8220;simplevideostreaming.html&#8221; in folder client. It look like<br />
<a href="http://www.lifelinux.com/wp-content/uploads/2012/11/wowza.png"><img loading="lazy" class="aligncenter size-medium wp-image-1399" title="wowza" alt="" src="http://www.lifelinux.com/wp-content/uploads/2012/11/wowza-300x245.png" width="300" height="245" srcset="http://lifelinux.com/wp-content/uploads/2012/11/wowza-300x245.png 300w, http://lifelinux.com/wp-content/uploads/2012/11/wowza.png 673w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<g:plusone href="http://lifelinux.com/how-to-install-wowza-media-server-3-on-centos-6/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-wowza-media-server-3-on-centos-6/">How To Install Wowza Media Server 3 On CentOS 6</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-install-wowza-media-server-3-on-centos-6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How Do I Display Summary Statistics For Each Protocol On Linux ?</title>
		<link>http://lifelinux.com/how-do-i-display-summary-statistics-for-each-protocol-on-linux/</link>
					<comments>http://lifelinux.com/how-do-i-display-summary-statistics-for-each-protocol-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 31 Jan 2012 10:47:51 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[netstat command]]></category>
		<category><![CDATA[netstat statistic]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1321</guid>

					<description><![CDATA[<p>Q. How do I display summary statistics for each protocol on Linux ? A. Using netstat command to display summary statistics for each protocol. netstat command netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics. It is available on Unix, [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-do-i-display-summary-statistics-for-each-protocol-on-linux/">How Do I Display Summary Statistics For Each Protocol On Linux ?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><span style="color: #ff0000;">Q</span>. How do I display summary statistics for each protocol on Linux ?<br />
<span style="color: #008000;">A</span>. Using netstat command to display summary statistics for each protocol.<br />
<span id="more-1321"></span></p>
<h2>netstat command</h2>
<p>netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics. It is available on Unix, Unix-like, and Windows NT-based operating systems.</p>
<h2>Display summary statistics using netstat</h2>
<p>Simply use netstat -s</p>
<pre># netstat -s</pre>
<p>Ouput</p>
<pre>Ip:
    927340778 total packets received
    7 with invalid headers
    1959 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    922379597 incoming packets delivered
    1280879573 requests sent out
    27 outgoing packets dropped
    4 fragments dropped after timeout
    757 reassemblies required
    354 packets reassembled ok
    4 packet reassembles failed
    20 fragments failed
Icmp:
    36541 ICMP messages received
    124 input ICMP message failed.
    ICMP input histogram:
        destination unreachable: 26890
        timeout in transit: 348
        source quenches: 11
        echo requests: 9274
        echo replies: 1
    18720 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
        destination unreachable: 9446
        echo replies: 9274
IcmpMsg:
        InType0: 1
        InType3: 26890
        InType4: 11
        InType8: 9274
        InType11: 348
        OutType0: 9274
        OutType3: 9446
Tcp:
    5916623 active connections openings
    36244722 passive connection openings
    102606 failed connection attempts
    3493764 connection resets received
    53 connections established
    918246879 segments received
    1254505238 segments send out
    22244556 segments retransmited
    0 bad segments received.
    5748855 resets sent
Udp:
    4086750 packets received
    9427 packets to unknown port received.
    0 packet receive errors
    4125646 packets sent
...</pre>
<p>To display the statistics for only the TCP or UDP protocols, type one of the following commands</p>
<pre># netstat -st
# netstat -su</pre>
<p>Ouput</p>
<pre>IcmpMsg:
    InType0: 1
    InType3: 26890
    InType4: 11
    InType8: 9274
    InType11: 348
    OutType0: 9274
    OutType3: 9446
Tcp:
    5917335 active connections openings
    36247817 passive connection openings
    102606 failed connection attempts
    3493814 connection resets received
    29 connections established
    918349626 segments received
    1254667978 segments send out
    22246760 segments retransmited
    0 bad segments received.
    5749332 resets sent
...</pre>
<p>To display the quick interfaces statistics, type the following command</p>
<pre># netstat -i</pre>
<p>Ouput</p>
<pre>Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0       1500   0 767575580      0      0      0 1120000223      0      0      0 BMRU
lo        16436   0 161102011      0      0      0 161102011      0      0      0 LRU</pre>
<p>To display the extended interfaces statistics, type the following command</p>
<pre># netstat -ie</pre>
<p>Ouput</p>
<pre>Kernel Interface table
eth0      Link encap:Ethernet  HWaddr 00:25:90:0B:A3:E4
          inet addr:221.132.34.8  Bcast:221.132.34.95  Mask:255.255.255.224
          inet6 addr: fe80::225:90ff:fe0b:a3e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:767588970 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1120021944 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4030025515 (3.7 GiB)  TX bytes:2208549264 (2.0 GiB)
          Interrupt:169 Memory:fb5e0000-fb600000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:161106440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:161106440 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3387569934 (3.1 GiB)  TX bytes:3387569934 (3.1 GiB)</pre>
<g:plusone href="http://lifelinux.com/how-do-i-display-summary-statistics-for-each-protocol-on-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-do-i-display-summary-statistics-for-each-protocol-on-linux/">How Do I Display Summary Statistics For Each Protocol On Linux ?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-do-i-display-summary-statistics-for-each-protocol-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How Do I Disable The Ping Response On Linux?</title>
		<link>http://lifelinux.com/how-do-i-disable-the-ping-response-on-linux/</link>
					<comments>http://lifelinux.com/how-do-i-disable-the-ping-response-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 14:43:24 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Disable Ping Replies]]></category>
		<category><![CDATA[Disable Ping Response]]></category>
		<category><![CDATA[icmp_echo_ignore_all]]></category>
		<category><![CDATA[sysctl -p]]></category>
		<category><![CDATA[sysctl.conf]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1302</guid>

					<description><![CDATA[<p>Sometimes you may want to disable ping response for many reasons, may be for a security reason&#8230; This article explains how do I disable the ping response on Linux ? Disable ping response Temporarily To disable the PING response, login as root and type the following command # echo 1 &#62;/proc/sys/net/ipv4/icmp_echo_ignore_all To reenable the PING [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-do-i-disable-the-ping-response-on-linux/">How Do I Disable The Ping Response On Linux?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Sometimes you may want to disable ping response for many reasons, may be for a security reason&#8230; This article explains how do I disable the ping response on Linux ?<br />
<span id="more-1302"></span></p>
<h2>Disable ping response Temporarily</h2>
<p>To disable the PING response, login as root and type the following command</p>
<pre># echo 1 &gt;/proc/sys/net/ipv4/icmp_echo_ignore_all</pre>
<p>To reenable the PING response do this:</p>
<pre># echo 0 &gt;/proc/sys/net/ipv4/icmp_echo_ignore_all</pre>
<h2>Disable ping response Permanently</h2>
<p>Edit the /etc/sysctl.conf file and add the following line</p>
<pre>net.ipv4.conf.icmp_echo_ignore_all = 1</pre>
<p>Execute sysctl -p to enforce this setting immediately</p>
<pre># sysctl -p</pre>
<g:plusone href="http://lifelinux.com/how-do-i-disable-the-ping-response-on-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-do-i-disable-the-ping-response-on-linux/">How Do I Disable The Ping Response On Linux?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-do-i-disable-the-ping-response-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Find Out My NIC Speed ?</title>
		<link>http://lifelinux.com/how-to-find-out-my-nic-speed/</link>
					<comments>http://lifelinux.com/how-to-find-out-my-nic-speed/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 06 Nov 2011 10:03:01 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[check NIC speed in linu]]></category>
		<category><![CDATA[checking nic speed]]></category>
		<category><![CDATA[ethtool command]]></category>
		<category><![CDATA[find NIC speed in linux]]></category>
		<category><![CDATA[mii-tool command]]></category>
		<category><![CDATA[network connection speed in linux]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1254</guid>

					<description><![CDATA[<p>Q. How do I find out my NIC speed in Linux ? A. Use ethtool or mii-tool to display or change ethernet card settings. ethtool To display duplex speed of eth0, type the following command # ethtool eth0 Sample outputs Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-find-out-my-nic-speed/">How To Find Out My NIC Speed ?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><span style="color: #ff0000;">Q</span>. How do I find out my NIC speed in Linux ?<br />
<span style="color: #008000;">A</span>. Use <strong>ethtool</strong> or <strong>mii-tool</strong> to display or change ethernet card settings.</p>
<h2>ethtool</h2>
<p>To display duplex speed of eth0, type the following command</p>
<pre># ethtool eth0</pre>
<p><span id="more-1254"></span><br />
Sample outputs</p>
<pre>Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: <span style="color: #ff0000;"><strong>100Mb/s</strong></span>
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000001 (1)
        Link detected: yes</pre>
<h2>mii-tool</h2>
<p>To display duplex speed of eth0, type the following command</p>
<pre># mii-tool -v eth0</pre>
<p>Sample outputs</p>
<pre>SIOCGMIIREG on eth0 failed: Input/output error
eth0: negotiated 100baseTx-FD, link ok
  product info: vendor 00:50:43, model 11 rev 1
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 100baseT4 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD</pre>
<p><strong>Where,</strong><br />
100baseTx-FD: 100Mbps full duplex (FD)<br />
100baseTx-HD: 100Mbps half duplex (HD)<br />
10baseT-FD: 10Mbps full duplex (FD)<br />
10baseT-HD: 10Mbps half duplex (HD)</p>
<g:plusone href="http://lifelinux.com/how-to-find-out-my-nic-speed/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-find-out-my-nic-speed/">How To Find Out My NIC Speed ?</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-find-out-my-nic-speed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configure Static IP Address On CentOS</title>
		<link>http://lifelinux.com/how-to-configure-static-ip-address-on-centos/</link>
					<comments>http://lifelinux.com/how-to-configure-static-ip-address-on-centos/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 15:35:31 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/etc/HOSTNAME]]></category>
		<category><![CDATA[/etc/init.d/network restart]]></category>
		<category><![CDATA[/etc/init.d/networking restart]]></category>
		<category><![CDATA[/etc/network/interfaces]]></category>
		<category><![CDATA[/etc/resolv.conf]]></category>
		<category><![CDATA[/etc/sysconfig/network]]></category>
		<category><![CDATA[/etc/sysconfig/network-scripts/ifcfg-eth0]]></category>
		<category><![CDATA[/etc/sysconfig/network-scripts/ifcfg-eth1]]></category>
		<category><![CDATA[default gateway]]></category>
		<category><![CDATA[dns servers]]></category>
		<category><![CDATA[enterprise linux]]></category>
		<category><![CDATA[gateway ip]]></category>
		<category><![CDATA[internet protocol version]]></category>
		<category><![CDATA[internet protocol version 4]]></category>
		<category><![CDATA[network configuration]]></category>
		<category><![CDATA[network interfaces]]></category>
		<category><![CDATA[network scripts]]></category>
		<category><![CDATA[networking service]]></category>
		<category><![CDATA[setup linux]]></category>
		<category><![CDATA[static ip address]]></category>
		<category><![CDATA[static ip configuration]]></category>
		<category><![CDATA[tcp ip settings]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1226</guid>

					<description><![CDATA[<p>Configure a static IP address on CentOS is quite easy. In this article, I&#8217;ll show you how to do it through command line. Log on as root, change directory to /etc/sysconfig/network-scripts and list all available devices with the following command # cd /etc/sysconfig/network-scripts # ls -la &#124; grep ifcfg- Sample outputs -rw-r--r-- 3 root root [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-configure-static-ip-address-on-centos/">How To Configure Static IP Address On CentOS</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Configure a static IP address on CentOS is quite easy. In this article, I&#8217;ll show you how to do it through command line.<br />
<span id="more-1226"></span><br />
Log on as root, change directory to /etc/sysconfig/network-scripts and list all available devices with the following command</p>
<pre># cd /etc/sysconfig/network-scripts
# ls -la | grep ifcfg-</pre>
<p>Sample outputs</p>
<pre>-rw-r--r--  3 root root   244 Oct 15  2010 ifcfg-<span style="color: #ff0000;">eth0</span>
-rw-r--r--  3 root root   141 Oct 15  2010 ifcfg-<span style="color: #ff0000;">eth1</span>
-rw-r--r--  1 root root   254 Oct 13  2010 ifcfg-<span style="color: #0000ff;">lo</span></pre>
<p>Find the configuration file corresponding to the NIC for which you want to set a static IP and edit it. In this example I&#8217;ll configure a static IP address for eth1 and use the following Internet Protocol Version 4:<br />
# IP address: 192.168.1.10<br />
# Netmask: 255.255.255.0<br />
# Gateway IP: 192.168.1.1<br />
# DNS Server IP # 2: 8.8.8.8<br />
# DNS Server IP # 2: 8.8.4.4</p>
<pre># vi ifcfg-eth1</pre>
<p>Sample outputs</p>
<pre># Intel Corporation 82574L Gigabit Network Connection
DEVICE=eth1
HWADDR=00:25:90:0B:A3:E5
ONBOOT=no
HOTPLUG=no
BOOTPROTO=dhcp
TYPE=Ethernet</pre>
<p>Now set the parameters below according to your settings, sample static ip configuration</p>
<pre># Intel Corporation 82574L Gigabit Network Connection
DEVICE=eth1
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:25:90:0B:A3:E5
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes</pre>
<p>To setup DNS servers, edit /etc/resolv.conf, enter</p>
<pre># vi /etc/resolv.conf</pre>
<p>Sample configurations</p>
<pre>nameserver 8.8.8.8
nameserver 8.8.4.4</pre>
<p>Now save the configuration file and exit the text editor. To apply changes, we need to bring the network interface down and back up, type the following command</p>
<pre># /etc/init.d/network restart</pre>
<p>Or,</p>
<pre># service network restart</pre>
<g:plusone href="http://lifelinux.com/how-to-configure-static-ip-address-on-centos/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-configure-static-ip-address-on-centos/">How To Configure Static IP Address On CentOS</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-configure-static-ip-address-on-centos/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>How To Restart Networking Service In Linux</title>
		<link>http://lifelinux.com/how-to-restart-networking-service-in-linux/</link>
					<comments>http://lifelinux.com/how-to-restart-networking-service-in-linux/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 15:29:19 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/etc/init.d/network restart]]></category>
		<category><![CDATA[/etc/init.d/networking restart]]></category>
		<category><![CDATA[/etc/rc.d/rc.inet1 eth0_restart]]></category>
		<category><![CDATA[/etc/rc.d/rc.inet1 restart]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[linux operating systems]]></category>
		<category><![CDATA[network interface]]></category>
		<category><![CDATA[networking service]]></category>
		<category><![CDATA[novell]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[root user]]></category>
		<category><![CDATA[slackware]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1220</guid>

					<description><![CDATA[<p>How to start/stop/restart networking service under Linux operating systems after making changes to IP configuration from a shell prompt ? Use the following commands as per your Linux distribution to start/stop/restart the networking service. RedHat / CentOS / Fedora To start networking service, enter # /etc/init.d/network start Or, # service network start To stop networking [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-restart-networking-service-in-linux/">How To Restart Networking Service In Linux</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>How to start/stop/restart networking service under Linux operating systems after making changes to IP configuration from a shell prompt ?<br />
<span id="more-1220"></span><br />
Use the following commands as per your Linux distribution to start/stop/restart the networking service.</p>
<h2>RedHat / CentOS / Fedora</h2>
<p>To start networking service, enter</p>
<pre># /etc/init.d/network start</pre>
<p>Or,</p>
<pre># service network start</pre>
<p>To stop networking service, enter</p>
<pre># /etc/init.d/network stop</pre>
<p>Or,</p>
<pre># service network stop</pre>
<p>To restart networking service, enter</p>
<pre># /etc/init.d/network restart</pre>
<p>Or,</p>
<pre># service network restart</pre>
<h2>Ubuntu / Debian</h2>
<p>To start networking service, enter</p>
<pre># sudo /etc/init.d/networking start</pre>
<p>Or,</p>
<pre># sudo service networking start</pre>
<p>To stop networking service, enter</p>
<pre># sudo /etc/init.d/networking stop</pre>
<p>Or,</p>
<pre># sudo service networking stop</pre>
<p>To restart networking service, enter</p>
<pre># sudo /etc/init.d/networking restart</pre>
<p>Or,</p>
<pre># service networking restart</pre>
<g:plusone href="http://lifelinux.com/how-to-restart-networking-service-in-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-restart-networking-service-in-linux/">How To Restart Networking Service In Linux</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-restart-networking-service-in-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How To Save/Restore Iptables Rules</title>
		<link>http://lifelinux.com/how-to-saverestore-iptables-rules/</link>
					<comments>http://lifelinux.com/how-to-saverestore-iptables-rules/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 18 May 2011 05:49:46 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[iptables-restore command]]></category>
		<category><![CDATA[iptables-save command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[ubuntu iptables]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>
		<category><![CDATA[ubuntu save firewall]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=598</guid>

					<description><![CDATA[<p>Save Iptables rules Rules created with the iptables command are stored in memory. If the system is restarted before saving the iptables rule set, all rules are lost. To save netfilter rules, type the following command as root: # /etc/init.d/iptables save If you are using IPv6, enter: # /etc/init.d/ip6tables save The above commands will write [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-saverestore-iptables-rules/">How To Save/Restore Iptables Rules</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>Save Iptables rules</h3>
<p>Rules created with the <strong>iptables</strong> command are stored in memory. If the system is restarted before saving the iptables rule set, all rules are lost. To save netfilter rules, type the following command as root:</p>
<pre>
# /etc/init.d/iptables save 
</pre>
<p><span id="more-598"></span><br />
If you are using IPv6, enter:</p>
<pre>
# /etc/init.d/ip6tables save 
</pre>
<p>The above commands will write the current iptables configuration to <strong>/etc/sysconfig/iptables</strong>. The next time the system boots, the iptables init script reapplies the rules saved in /etc/sysconfig/iptables. You can also save the iptables rules to a separate file for distribution, backup or other purposes. Type the following command as root</p>
<pre>
# iptables-save > /root/iptables.rules
</pre>
<p>If you are using IPv6, enter:</p>
<pre>
# ip6tables-save  > /root/iptables.rules
</pre>
<h3>Restore Iptables rules</h3>
<p>To restore it use the command iptables-restore, type the following command as root:</p>
<pre>
# iptables-restore < /root/iptables.rules
</pre>
<p>If you are using IPv6, enter:</p>
<pre>
# ip6tables-restore < /root/iptables.rules
</pre>
<g:plusone href="http://lifelinux.com/how-to-saverestore-iptables-rules/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-saverestore-iptables-rules/">How To Save/Restore Iptables Rules</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-saverestore-iptables-rules/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Enable/Disable Firewall On Centos / RedHat / Fedora</title>
		<link>http://lifelinux.com/how-to-enabledisable-firewall-on-centos-redhat-fedora/</link>
					<comments>http://lifelinux.com/how-to-enabledisable-firewall-on-centos-redhat-fedora/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 18 May 2011 05:34:36 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[administration tool]]></category>
		<category><![CDATA[boot time]]></category>
		<category><![CDATA[chkconfig command]]></category>
		<category><![CDATA[disable firewall]]></category>
		<category><![CDATA[firewall service]]></category>
		<category><![CDATA[init script]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[packet filtering]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[service command]]></category>
		<category><![CDATA[system tool]]></category>
		<category><![CDATA[system v]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=590</guid>

					<description><![CDATA[<p>Iptables should be installed by default on all CentOS 3.x, 4.x and 5.x installations. You can check to see if iptables is installed on your system by: # rpm -q iptables Sample output iptables-1.3.5-5.3.el5_4.1 How to enable firewall Login as root and type the following command # /etc/init.d/iptables start # chkconfig iptables on If you [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-enabledisable-firewall-on-centos-redhat-fedora/">How To Enable/Disable Firewall On Centos / RedHat / Fedora</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><strong>Iptables</strong> should be installed by default on all CentOS 3.x, 4.x and 5.x installations. You can check to see if iptables is installed on your system by:</p>
<pre>
# rpm -q iptables
</pre>
<p><span id="more-590"></span><br />
Sample output</p>
<pre>
iptables-1.3.5-5.3.el5_4.1
</pre>
<h3>How to enable firewall</h3>
<p>Login as root and type the following command</p>
<pre>
# /etc/init.d/iptables start
# chkconfig iptables on
</pre>
<p>If you are using IPv6, enter:</p>
<pre>
# /etc/init.d/ip6tables start
# chkconfig ip6tables on
</pre>
<p>And to see if iptables is actually running, we can check that the iptables modules are loaded, type the following command</p>
<pre>
# lsmod | grep ip_tables
</pre>
<p>Something look like:</p>
<pre>
ip_tables              29288  1 iptable_filter
x_tables               29192  6 ip6t_REJECT,ip6_tables,ipt_REJECT,xt_state,xt_tcpudp,ip_tables
</pre>
<h3>How to disable firewall</h3>
<p>Login as root and type the following command</p>
<pre>
# /etc/init.d/iptables stop
# chkconfig iptables off
</pre>
<p>If you are using IPv6, enter:</p>
<pre>
# /etc/init.d/ip6tables stop
# chkconfig ip6tables off
</pre>
<g:plusone href="http://lifelinux.com/how-to-enabledisable-firewall-on-centos-redhat-fedora/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-enabledisable-firewall-on-centos-redhat-fedora/">How To Enable/Disable Firewall On Centos / RedHat / Fedora</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-enabledisable-firewall-on-centos-redhat-fedora/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
