<?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>SUSE &#38; openSUSE &#187; Networking</title>
	<atom:link href="http://www.susegeek.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.susegeek.com</link>
	<description>Tips,Tricks, Tutorials,How Tos and Troubleshooting suse linux</description>
	<lastBuildDate>Wed, 30 Dec 2009 05:17:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
<link>http://www.susegeek.com</link>
<url>http://www.susegeek.com/wp-content/mbp-favicon/favicon.ico</url>
<title>SUSE &amp; openSUSE</title>
</image>
		<item>
		<title>iftop to monitor traffic/bandwidth in SUSE/openSUSE</title>
		<link>http://www.susegeek.com/networking/iftop-to-monitor-trafficbandwidth-in-suseopensuse/</link>
		<comments>http://www.susegeek.com/networking/iftop-to-monitor-trafficbandwidth-in-suseopensuse/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 22:31:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mmonitoring]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[promiscous mode]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=1856</guid>
		<description><![CDATA[iftop is yet another free opensource tool to measure bandwidth utilization on the network interfaces on your systems or servers. As the name predicts, iftop is what &#8220;top&#8221; utility is for CPU usage measurement.

iftop can also run in promiscous mode and listen for all traffic on the subnet and can also listen for traffic on [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong>iftop </strong>is yet another free opensource tool to measure bandwidth utilization on the network interfaces on your systems or servers. As the name predicts, iftop is what &#8220;top&#8221; utility is for CPU usage measurement.</p>
<p><span id="more-1856"></span></p>
<p>iftop can also run in promiscous mode and listen for all traffic on the subnet and can also listen for traffic on specified networks. iftop can be run in custom modes like disabling DNS name lookups, converting ports to service names, displaying results in Bytes etc.</p>
<p>For a detailed list of options run iftop with a &#8220;-h&#8221; arguement as follows:</p>
<blockquote><p><strong>opensuse11:~ # iftop -h</strong><br />
iftop: display bandwidth usage on an interface by host</p>
<p>Synopsis: iftop -h | [-npbBP] [-i interface] [-f filter code] [-N net/mask]</p>
<p>-h                  display this message<br />
-n                  don&#8217;t do hostname lookups<br />
-N                  don&#8217;t convert port numbers to services<br />
-p                  run in promiscuous mode (show traffic between other<br />
hosts on the same network segment)<br />
-b                  don&#8217;t display a bar graph of traffic<br />
-B                  Display bandwidth in bytes<br />
-i interface        listen on named interface<br />
-f filter code      use filter code to select packets to count<br />
(default: none, but only IP packets are counted)<br />
-F net/mask         show traffic flows in/out of network<br />
-P                  show ports as well as hosts<br />
-m limit            sets the upper limit for the bandwidth scale<br />
-c config file      specifies an alternative configuration file</p>
<p>iftop, version 0.17<br />
copyright (c) 2002 Paul Warren &lt;pdw@ex-parrot.com&gt; and contributors</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Install IFTOP in openSUSE</strong></span></p>
<p>Click from the 1-click installer for your openSUSE build to download the YMP file and launch an autmatic installation process which should add the required repositories and download and install the required packages and dependencies.</p>
<p><span style="text-decoration: underline;"><strong>openSUSE 11.1</strong></span></p>
<p><a title="iftop 1-click install in openSUSE 11.1" href="http://software.opensuse.org/ymp/openSUSE:11.1/standard/iftop.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a><br />
<span style="text-decoration: underline;"><strong>openSUSE 11.0</strong></span></p>
<p><a title="iftop 1-click install in openSUSE 11.0" href="http://software.opensuse.org/ymp/openSUSE:11.0/standard/iftop.ymp" target="_blank"><img title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p><span style="text-decoration: underline;"><strong>openSUSE 10.3</strong></span></p>
<p><a title="iftop 1-click install in openSUSE 10.3" href="http://software.opensuse.org/ymp/openSUSE:10.3/standard/iftop.ymp" target="_blank"><img title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p>There are also IFTOP 1-click installers for</p>
<p><span style="text-decoration: underline;"><strong>SLES/SLED 10</strong></span></p>
<p><a title="iftop 1-click install in SLES/SLED 10" href="http://software.opensuse.org/ymp/home:sschapiro/SLE_10/iftop.ymp" target="_blank"><img title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p><span style="text-decoration: underline;"><strong>SLES 9</strong></span><br />
<a title="iftop 1-click install in SLES 9" href="http://software.opensuse.org/ymp/home:sschapiro/SLES_9/iftop.ymp" target="_blank"><img title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p>Once the installation finishes succesfully, iftop should be installed under <strong>/usr/sbin</strong></p>
<blockquote><p><strong>opensuse11:~ # which iftop</strong><br />
/usr/sbin/iftop</p></blockquote>
<p>To have a quick preview of the bandwidth utilization, simply run &#8220;iftop&#8221; without any arguements:</p>
<blockquote><p><strong>opensuse11:~ # iftop</strong></p></blockquote>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/08/iftop1.png"><img class="alignnone size-medium wp-image-1853" title="iftop1" src="http://www.susegeek.com/wp-content/uploads/2009/08/iftop1-300x213.png" alt="iftop1" width="300" height="213" /></a><br />
To run in a promiscous mode and listen for all traffic on the subnet, run with &#8220;-p&#8221; option</p>
<blockquote><p><strong>opensuse11:~ # iftop -p</strong></p></blockquote>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/08/iftop2.png"><img class="alignnone size-medium wp-image-1855" title="iftop2" src="http://www.susegeek.com/wp-content/uploads/2009/08/iftop2-300x213.png" alt="iftop2" width="300" height="213" /></a><br />
As shown earlier, use <span style="text-decoration: underline;"><strong>&#8220;-h&#8221;</strong></span> arguement for all options.</p>
<p><a title="iftop project home" href="http://www.ex-parrot.com/pdw/iftop/" target="_blank">Click here</a> to visit the project home.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/iftop-to-monitor-trafficbandwidth-in-suseopensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install &amp; Configure IPplan IP Manager in openSUSE</title>
		<link>http://www.susegeek.com/networking/install-configure-ipplan-ip-manager-in-opensuse/</link>
		<comments>http://www.susegeek.com/networking/install-configure-ipplan-ip-manager-in-opensuse/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 22:24:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[AS]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[ip manager]]></category>
		<category><![CDATA[ipplan]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ms sql]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[routing table]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=1685</guid>
		<description><![CDATA[IPplan is a free opensource IP Address management application. IPPlan is a web based IP address management software and tracking tool simplifying the administration of your IP address space. IPplan goes beyond IP address management including DNS administration, configuration file management, circuit management and storing of hardware information. IPplan can handle a single network or [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong>IPplan</strong> is a free opensource IP Address management application. IPPlan is a web based IP address management software and tracking tool simplifying the administration of your IP address space. IPplan goes beyond IP address management including DNS administration, configuration file management, circuit management and storing of hardware information. IPplan can handle a single network or cater for multiple networks and customers with overlapping address space. Makes managing ip addresses and managing ip address space simple and easy.<br />
<span id="more-1685"></span><br />
Features of IPPlan include</p>
<blockquote><p><em>Supports MySQL, Postress, Oracle, MS SQL and runs on Windows and Linux</em></p>
<p><em>Import network definitions from routing tables</em></p>
<p><em>Import definitions from TAB delimited files and NMAP’s XML format</em></p>
<p><em>Multiple administrators with different access profiles (per group, allowing access per customer, per network etc.)</em></p>
<p><em>Define address space authority boundaries per group</em></p>
<p><em>Finding free address space across a range</em></p>
<p><em>Split and join networks to make them smaller and larger</em></p>
<p><em>Display overlapping address space between networks</em></p>
<p><em>search capabilities, audit logs and statistics</em></p>
<p><em>Keeping track of and sending SWIP/RIPE/APNIC registrar information</em></p>
<p><em>DNS administration (forward and reverse zones, import existing zones via zone transfer)</em></p>
<p><em>Template system to extend IPplan to contain site specific information like circuit data, host configuration data, asset information</em></p>
<p><em>Device configuration file management</em></p>
<p><em>Link addresses together via pointers &#8211; ideal for NAT</em></p>
<p><em>Triggers &#8211; every user event can call a user defined function &#8211; useful to execute backend DNS scripts</em></p>
<p><em>External poller &#8211; scan subnets for active addresses to gather usage statistics</em></p>
<p><em>IP address request system &#8211; allows users to request static IP addresses from the database</em></p>
<p><em>IPplan’s own internal authentication scheme or an external Apache compatible system including single sign on systems like SiteMinder</em></p>
<p><em>IPPlan API for customisation</em></p></blockquote>
<p><em><span style="text-decoration: underline;"><strong>Install IPplan in SuSE / openSUSE</strong></span></em></p>
<p>The installation procedure listed below is done on openSUSE 11.1 but should work fine on SuSE Linux as well.</p>
<p><span style="text-decoration: underline;"><strong>Pre-Requisites</strong></span></p>
<p>There is not much of a surprise here. IPplan requires Apache2, PHP and a Database software. To go with the LAMP tradition, I choose MySQL than anyother database. So, lets get started with installing the pre-requisites:</p>
<blockquote><p><strong>opensuse11:~ # yast2 -i apache2 mysql php5 php5-mysql apache2-mod_php5 php-zlib</strong></p></blockquote>
<p>This should install Apache 2 webserver, MySQL Database server and PHP5.</p>
<p>The following optional packages can be installed for multi-lingual and snmp support</p>
<p><em><strong>php5-snmp &#8211; To import routing tables and directly query devices</strong></em></p>
<p><em><strong>php5-gettext &#8211; Multi-Lingial support</strong></em></p>
<p>To install</p>
<blockquote><p><strong>opensuse11:~ # yast2 -i php5-snmp php5-gettext</strong></p></blockquote>
<p>Now, we are good to get IPplan installed. Download the latest stable package for IPplan (version 4.91a at the time of writing) from <a title="Download IPPlan" href="http://sourceforge.net/project/showfiles.php?group_id=32122&amp;package_id=31178&amp;release_id=74941" target="_blank">here</a></p>
<p><em><span style="text-decoration: underline;"><strong>Untar &amp; Unzip IPPlan source</strong></span></em></p>
<p>Once downloaded, unzip and untar the downloaded file which will create the ipplan directory</p>
<blockquote><p><strong>opensuse11:~ # tar -zxvf ipplan-4.91a.tar.gz</strong></p></blockquote>
<p>Move, the ipplan directory to the Apache webserver root (/srv/www/htdocs).</p>
<blockquote><p><strong>opensuse11:~ # mv ipplan /srv/www/htdocs/</strong></p></blockquote>
<p>Change the directory ownership / permissions as follows:</p>
<blockquote><p><strong>opensuse11:~ # chown -R root:www ipplan</strong></p>
<p><strong>opensuse11:~ # chmod -R 750 ipplan</strong></p></blockquote>
<p>Create the following directory and set the permissions to allow users upload files:</p>
<blockquote><p><strong>opensuse11:~ # mkdir /var/spool/ipplanuploads</strong></p>
<p><strong>opensuse11:~ # chown wwwrun:www /var/spool/ipplanuploads<br />
</strong></p>
<p><strong>opensuse11:~ # chmod 750 /var/spool/ipplanuploads</strong></p></blockquote>
<p><em><span style="text-decoration: underline;"><strong>MySQL Database</strong></span></em></p>
<p>Now, lets get the MySQL Database, user created and privileges set:</p>
<p>If you installed MySQL just now, it is important to set the root password before proceeding to implementing ipplan.</p>
<p>Launch MySQL database server for the 1st time</p>
<blockquote><p><strong>opensuse11:~ # rcmysql start</strong></p></blockquote>
<p>Set the passwords as follows:</p>
<blockquote><p><strong>opensuse11:~ # mysqladmin -u root -p &#8216;your password&#8217;</strong></p></blockquote>
<p>For more information on LAMP in SuSE/openSUSE, <a title="LAMP in SuSE/openSUSE" href="http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/" target="_blank">click here</a></p>
<p><span style="text-decoration: underline;"><strong>Create the Database</strong></span></p>
<p>Logon to MySQL and create database.</p>
<blockquote><p><strong>opensuse11:~ # mysql -u root -p</strong></p>
<p><strong>mysql&gt;CREATE DATABASE ipplan;<br />
Query OK, 1 row affected (0.00 sec)</strong></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Set Database password</strong></span></p>
<blockquote><p><strong>mysql&gt; USE DATABASE ipplan ;</strong><br />
<strong><br />
mysql&gt; SET PASSWORD = PASSWORD(&#8216;enterpassword&#8217;) ;</strong></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Create user</strong></span></p>
<blockquote><p><strong>mysql&gt; GRANT CREATE,ALTER,SELECT,INSERT,UPDATE,DELETE on ipplan.* TO ipplan@localhost IDENTIFIED by &#8216;password&#8217;;</strong></p></blockquote>
<p><em><span style="text-decoration: underline;"><strong>Config.php</strong></span></em></p>
<p>While almost all the default settings can be accepted, the password you set above needs to be updated on the config.pho file. Edit the config.php file in the ipplan directory and look for the line</p>
<blockquote><p><strong>define(&#8220;DBF_PASSWORD&#8221;, &#8216;ipplan&#8217;);</strong></p></blockquote>
<p>and set the password here. Also, look for the line</p>
<blockquote><p><strong>define(&#8220;ADMINPASSWD&#8221;, &#8216;admin&#8217;);</strong></p></blockquote>
<p>and set the password as you wish. This is required to run the install script.</p>
<p>Now, start the webserver</p>
<blockquote><p><strong>opensuse11:~ # rcapache2 start</strong></p></blockquote>
<p>Browse to</p>
<blockquote><p><strong>http://localhost/ipplan/admin/install.php</strong></p></blockquote>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/06/ipplan1.png"><img class="alignnone size-medium wp-image-1687" title="ipplan1" src="http://www.susegeek.com/wp-content/uploads/2009/06/ipplan1-300x218.png" alt="ipplan1" width="300" height="218" /></a></p>
<p>Here, select your language, select <strong>&#8220;Install&#8221;</strong> in the install/upgrade listbox and <strong>&#8220;Run the SQL now&#8221;</strong> in the next box and click<strong> &#8220;GO&#8221;</strong></p>
<p>This should do. Browse IPplan as follows:</p>
<blockquote><p><strong>http://localhost/ipplan/</strong></p></blockquote>
<p>As a first step, create a new admin user (may be a new name or the username &#8220;admin&#8221; itself) and set the password to re-authenticate yourself. This can be done from &#8220;Admin &#8211; Users &#8211; Create a New user&#8221; set the group as &#8220;<strong>Admin &#8211; All groups</strong>&#8221;</p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/06/ipplan3.png"><img class="alignnone size-medium wp-image-1689" title="ipplan3" src="http://www.susegeek.com/wp-content/uploads/2009/06/ipplan3-300x218.png" alt="ipplan3" width="300" height="218" /></a></p>
<p>That should all do&#8230;You can now, create users, customers, IP subnets. As you can see the software is very extensive when it comes to IP management. Telcos would love it as you can creat/manage customers, AS etc.For more detailed HOWTOs and screenshots, <a title="IPplan project home" href="http://iptrack.sourceforge.net/" target="_blank">click here</a></p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/install-configure-ipplan-ip-manager-in-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ntop in openSUSE to probe &amp; monitor Network Traffic</title>
		<link>http://www.susegeek.com/networking/ntop-in-opensuse-to-probe-monitor-network-traffic/</link>
		<comments>http://www.susegeek.com/networking/ntop-in-opensuse-to-probe-monitor-network-traffic/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 01:18:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[network probe]]></category>
		<category><![CDATA[ntop]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[rrd]]></category>
		<category><![CDATA[traffic]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=1608</guid>
		<description><![CDATA[ntop is a free opensource network traffic probe that shows the network usage. ntop is based on libpcap and can run on Linux/Unix and Windows operating system. ntop provides a very easy to use a web access to navigate through ntop traffic information and get a dump of the network status.

ntop shows the current network [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->ntop is a free opensource network traffic probe that shows the network usage. ntop is based on libpcap and can run on Linux/Unix and Windows operating system. ntop provides a very easy to use a web access to navigate through ntop traffic information and get a dump of the network status.</p>
<p><span id="more-1608"></span></p>
<p>ntop shows the current network usage and displays list of hosts currently on the network and report IP and Fibre Channel (FC) traffic generated by the host. ntop supports TCP/UDP (HTTP/FTP,DNS,Telnet,SMTP etc),ICMP, ARP &amp; RARP,IP/IPX,DLC, Decnet, Apple Talk, Netbios, FC (Control Traffic &#8211; SW2, GS3,ELS &amp; SCSI)</p>
<p><span style="text-decoration: underline;"><strong><em>Install ntop on openSUSE</em></strong></span></p>
<p>To install ntop on openSUSE, click on one of the following 1-click installers based on the version of openSUSE operating system.</p>
<p><strong><em><span style="text-decoration: underline;">openSUSE 11.1</span></em></strong></p>
<p><a title="ntop 1-click install in openSUSE 11.1" href="http://software.opensuse.org/ymp/home:lmich/openSUSE_11.1/ntop.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p><strong><span style="text-decoration: underline;"><em>openSUSE 11.0</em></span></strong></p>
<p><a title="ntop 1-click install in openSUSE 11.0" href="http://software.opensuse.org/ymp/home:lmich/openSUSE_11.0/ntop.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p><strong><span style="text-decoration: underline;"><em>openSUSE 10.3</em></span></strong></p>
<p><a title="ntop 1-click install in openSUSE 10.3" href="http://software.opensuse.org/ymp/home:lmich/openSUSE_10.3/ntop.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p>This should launch YaST package manager and add requried repositories, install the required package and dependencies for ntop. Accept the defaults and follow the onscreen instructions to complete the installation. Once the installation is successfully completed, ntop will be installed under /usr/bin/</p>
<blockquote><p><strong>saihari:~ #which ntop</strong></p>
<p>/usr/bin/ntop</p></blockquote>
<p>When you run ntop (as a root user) for the first time, run ntop from a terminal window, this should initialize ntop and will let you set the password for the default ntop admin user <strong>(admin)</strong>. Enter the password twice. By default the web interface is accessible from</p>
<blockquote><p><em>http://localhost:3000</em></p>
<p><em>or</em></p>
<p><em>http://&lt;ipaddress&gt;:3000</em></p></blockquote>
<p>Login with the user &#8220;admin&#8221; and password you just set.</p>
<p>Later on, you can start/stop/restart ntop as follows:</p>
<blockquote><p><strong>saihari:~ # rcntop start</strong></p>
<p>Starting service ntop                 done</p>
<p><strong>saihari:~ # rcntop stop</strong></p>
<p>Stopping service ntop                 done</p></blockquote>
<p><strong><em>Quick Start with ntop</em></strong></p>
<p>As soon as you logon to the web interface, everything becomes fairly straight forward as most if not all data shown in simple host/IP or protocol based tables and/or with nice grpahs, piecharts or graphs generated using the RRD Tools.</p>
<p>For instance,</p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/04/ntop1.png"><img class="alignnone size-medium wp-image-1620" title="Network Traffic (Host/Protocol)" src="http://www.susegeek.com/wp-content/uploads/2009/04/ntop1-300x116.png" alt="Network Traffic (Host/Protocol)" width="300" height="116" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2009/04/ntop2-unicast.png"><img class="alignnone size-medium wp-image-1619" title="Unicast/Muticast Traffic" src="http://www.susegeek.com/wp-content/uploads/2009/04/ntop2-unicast-300x245.png" alt="Unicast/Muticast Traffic" width="300" height="245" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/04/ntop3-packetsize.png"><img class="alignnone size-medium wp-image-1618" title="packet Sizes" src="http://www.susegeek.com/wp-content/uploads/2009/04/ntop3-packetsize-300x249.png" alt="packet Sizes" width="300" height="249" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2009/04/ip-noniptraffic.png"><img class="alignnone size-medium wp-image-1617" title="IP/Non-IP Traffic" src="http://www.susegeek.com/wp-content/uploads/2009/04/ip-noniptraffic-300x234.png" alt="IP/Non-IP Traffic" width="300" height="234" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/04/ttls.png"><img class="alignnone size-medium wp-image-1616" title="TTLs" src="http://www.susegeek.com/wp-content/uploads/2009/04/ttls-300x246.png" alt="TTLs" width="300" height="246" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2009/04/hops_load.png"><img class="alignnone size-medium wp-image-1615" title="Hops to Destinations" src="http://www.susegeek.com/wp-content/uploads/2009/04/hops_load-300x204.png" alt="Hops to Destinations" width="300" height="204" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/04/traffic-ports.png"><img class="alignnone size-medium wp-image-1614" title="traffic-ports" src="http://www.susegeek.com/wp-content/uploads/2009/04/traffic-ports-300x294.png" alt="traffic-ports" width="300" height="294" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2009/04/netactivity.png"><img class="alignnone size-medium wp-image-1612" title="netactivity" src="http://www.susegeek.com/wp-content/uploads/2009/04/netactivity-300x192.png" alt="netactivity" width="300" height="192" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/04/ipsubnettraffic-matrix.png"><img class="alignnone size-medium wp-image-1609" title="ipsubnettraffic-matrix" src="http://www.susegeek.com/wp-content/uploads/2009/04/ipsubnettraffic-matrix-300x132.png" alt="ipsubnettraffic-matrix" width="300" height="132" /></a></p>
<p>If you would want to generate nice RRD Tools based graphs then it is important that RRD Tool (should be installed by default in openSUSE) and its RRD Tool devel packages, else ntop will report the following error at startup and disable the RRD Plugin which means no RRD based graphs.</p>
<p><span style="font-family: mceinline;"><strong>**ERROR** RRD: Disabled &#8211; unable to create base directory (err 13, /usr/local/var/ntop/rrd)</strong></span></p>
<p>To install RRD Tool and its devel package quickly from a terminal window,</p>
<blockquote><p>saihari:~ # yast2 -i rrdtool rrdtool-devel</p></blockquote>
<div id="attachment_1613" class="wp-caption alignnone" style="width: 310px"><a href="http://www.susegeek.com/wp-content/uploads/2009/04/rrdgraphs.png"><img class="size-medium wp-image-1613" title="RRD Tool generated Graphs" src="http://www.susegeek.com/wp-content/uploads/2009/04/rrdgraphs-300x229.png" alt="RRD Tool generated Graphs" width="300" height="229" /></a><p class="wp-caption-text">RRD Tool generated Graphs</p></div>
<p>The plugin architecture makes it easy to allow enhanced features like</p>
<p><em><span style="font-family: mceinline;">netFlow/sFlow support where ntop can be configured to be a flow probe or a collector</span></em></p>
<p><em><span style="font-family: mceinline;">Last time packet seen for hosts</span></em></p>
<p><em><span style="font-family: mceinline;">ICMP traffic data</span></em></p>
<div id="attachment_1611" class="wp-caption alignnone" style="width: 310px"><a href="http://www.susegeek.com/wp-content/uploads/2009/04/plugins.png"><img class="size-medium wp-image-1611" title="Plugin Architecture" src="http://www.susegeek.com/wp-content/uploads/2009/04/plugins-300x124.png" alt="Plugin Architecture" width="300" height="124" /></a><p class="wp-caption-text">Plugin Architecture</p></div>
<p>Simply, click on the plugin (Yes/No) link to toggle between enable &amp; disable from the Plugins menu.</p>
<p>You can also dump traffic data from ntop web interface</p>
<div id="attachment_1610" class="wp-caption alignnone" style="width: 310px"><a href="http://www.susegeek.com/wp-content/uploads/2009/04/datadump.png"><img class="size-medium wp-image-1610" title="Dump Traffic Data" src="http://www.susegeek.com/wp-content/uploads/2009/04/datadump-300x176.png" alt="Dump Traffic Data" width="300" height="176" /></a><p class="wp-caption-text">Dump Traffic Data</p></div>
<p>ntop has always been and will be so for long as a must have opensource tool for any network or system admin in any sized network or even on your home network. <a title="ntop project homepage" href="http://www.ntop.org/news.html" target="_blank">Click here</a> to visit the project homepage.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/ntop-in-opensuse-to-probe-monitor-network-traffic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IPTraf &#8211; Console based IP Traffic Monitor in openSUSE</title>
		<link>http://www.susegeek.com/networking/iptraf-console-based-ip-traffic-monitor-in-opensuse/</link>
		<comments>http://www.susegeek.com/networking/iptraf-console-based-ip-traffic-monitor-in-opensuse/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 07:26:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[ARP]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[FDDI]]></category>
		<category><![CDATA[HDLC]]></category>
		<category><![CDATA[icmp]]></category>
		<category><![CDATA[IGP]]></category>
		<category><![CDATA[IGRP]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[iptraf]]></category>
		<category><![CDATA[ISDN]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[OSPF]]></category>
		<category><![CDATA[PPP]]></category>
		<category><![CDATA[RARP]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[traffic monitor]]></category>
		<category><![CDATA[udp]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=1518</guid>
		<description><![CDATA[IPTraf is a console-based network statistics utility for Linux. It gathers a variety of figures such as TCP connection packet and byte counts, interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. IPTraf is an IP traffic monitor that shows information on the IP traffic passing over your network. [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong>IPTraf</strong> is a console-based network statistics utility for Linux. It gathers a variety of figures such as TCP connection packet and byte counts, interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. IPTraf is an IP traffic monitor that shows information on the IP traffic passing over your network. IPTraf is very easy to use with the easy to use menus and the simplicity of configurations (if changing from defaults) makes it a real nice command-line network utility. IPTraf is a root only utility and cannot be run by standard users.</p>
<p><span id="more-1518"></span>Protocols supported are IP, TCP, UDP, ICMP, IGMP, IGP, IGRP, OSPF, ARP, RARP and supports Loopback, Ethernet, FDDI, SLIP, Asynchronus PPP, Synchronus PPP over ISDN, ISDN with RAW IP &amp; Cisco HDLC Encapsulation and Parallel line IP.<br />
Highlighting Features</p>
<blockquote><p><em>Includes TCP flag information, packet and byte counts, ICMP details, OSPF packet types.<br />
General and detailed interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP packet counts, IP checksum errors, interface activity, packet size counts.<br />
A TCP and UDP service monitor showing counts of incoming and outgoing packets for common TCP and UDP application ports<br />
A LAN statistics module that discovers active hosts and shows statistics showing the data activity on them<br />
TCP, UDP, and other protocol display filters, allowing you to view only traffic you&#8217;re interested in.<br />
Support for logging<br />
Supports Ethernet, FDDI, ISDN, SLIP, PPP, and loopback interface types.<br />
Utilizes the built-in raw socket interface of the Linux kernel, allowing it to be used over a wide range of supported network cards.</em></p></blockquote>
<p><em><span style="text-decoration: underline;"><strong>Install IPTraf</strong></span></em></p>
<p>To install IPTraf on your openSUSE, click one of the following 1-click installers based on your openSUSE version.</p>
<p><em><span style="text-decoration: underline;"><strong>openSUSE 11.1 (iptraf-3.0.0-138.7)</strong></span></em><br />
<a title="IPTraf 1-click install in openSUSE 11.1" href="http://software.opensuse.org/ymp/openSUSE:11.1/standard/iptraf.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p><em><span style="text-decoration: underline;"><strong>openSUSE 11.0 (iptraf-3.0.0-114.1)</strong></span></em><br />
<a title="IPTraf 1-click install in openSUSE 11.0" href="http://software.opensuse.org/ymp/openSUSE:11.0/standard/iptraf.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p><em><span style="text-decoration: underline;"><strong>openSUSE 10.3 (iptraf-3.0.0-76)</strong></span></em><br />
<a title="IPTraf 1-click install in openSUSE 10.3" href="http://software.opensuse.org/ymp/openSUSE:10.3/standard/iptraf.ymp" target="_blank"><img class="alignnone size-full wp-image-1273" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2009/01/oneclick.png" alt="oneclick" width="162" height="46" /></a></p>
<p>This should download the YMP file and launch YaST to start the installation. Click Next on the Additional Repositories window and Next on Software to be installed window and finally Next on the installation proposal window. Click Finish when the software install successfully completes.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf1.png"><img class="alignnone size-thumbnail wp-image-1519" title="iptraf1" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf1-150x150.png" alt="iptraf1" width="150" height="150" /></a><a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf2.png"><img class="alignnone size-thumbnail wp-image-1520" title="iptraf2" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf2-150x150.png" alt="iptraf2" width="150" height="150" /></a><a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf3.png"><img class="alignnone size-thumbnail wp-image-1521" title="iptraf3" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf3-150x150.png" alt="iptraf3" width="150" height="150" /></a><a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf4.png"><img class="alignnone size-thumbnail wp-image-1522" title="iptraf4" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf4-150x150.png" alt="iptraf4" width="150" height="150" /></a></p>
<p>This should install iptraf under <strong>/usr/sbin/iptraf</strong></p>
<blockquote><p><strong>linux-pa5r:~ # which iptraf</strong><br />
/usr/sbin/iptraf</p></blockquote>
<p>To start the utility, simply run &#8220;<strong>iptraf</strong>&#8221; from a terminal window to launch the Network monitoring console. Press any key to get the menu items. You can see a list of possible monitoring options inlucing thr live IP traffix monitor, a detailed and a general interface statiustics, Statistical breakdowns and LAN station monitor.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf6.png"><img class="alignnone size-medium wp-image-1524" title="iptraf6" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf6-300x178.png" alt="iptraf6" width="300" height="178" /></a><a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf7.png"><img class="alignnone size-medium wp-image-1525" title="iptraf7" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf7-300x178.png" alt="iptraf7" width="300" height="178" /></a><br />
Before, you start monitoring, select &#8220;configure&#8221; from the menu and enable the options you would consider useful like Reverse DNS Lookup, TCP Service Names. To turn ON the option or to get its submenu, simply press Enter. You are also presented with keyboard shortcuts the good old way at the bottom of the screen. Once done with the configuration, exit and choose your monitoring option.</p>
<p>The IP Traffic Monitor shows real-time IP Traffic on the selected interfaces.</p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf8.png"><img class="alignnone size-medium wp-image-1526" title="iptraf8" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf8-300x178.png" alt="iptraf8" width="300" height="178" /></a></p>
<p>While Interface statistics (general &amp; detailed) shows the number of packets, differentiting IP and Non-IP traffic and total bytes/bits in and out of the interfaces choosen.</p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf9.png"><img class="alignnone size-medium wp-image-1527" title="iptraf9" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf9-300x178.png" alt="iptraf9" width="300" height="178" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf10.png"><img class="alignnone size-medium wp-image-1528" title="iptraf10" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf10-300x178.png" alt="iptraf10" width="300" height="178" /></a></p>
<p>A nice breakdown of the packets based on its size or by the TCP or UDP ports is provided by the Statistical breakdown options.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf11.png"><img class="alignnone size-medium wp-image-1529" title="iptraf11" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf11-300x178.png" alt="iptraf11" width="300" height="178" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf14.png"><img class="alignnone size-medium wp-image-1532" title="iptraf14" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf14-300x178.png" alt="iptraf14" width="300" height="178" /></a><br />
You can also choose to view the LAN monitor with the ethernet address of the end devices, IP packets in/out and Bytes/bits in/out etc.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf12.png"><img class="alignnone size-medium wp-image-1530" title="iptraf12" src="http://www.susegeek.com/wp-content/uploads/2009/02/iptraf12-300x178.png" alt="iptraf12" width="300" height="178" /></a><br />
Overall, IPTraf a very nicely done efficient console based Network Monitoring utility. <a title="IPTraf Network Traffic Monitor project homepage" href="http://iptraf.seul.org/" target="_blank"><strong>Click here</strong></a> to visit the project homepage.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/iptraf-console-based-ip-traffic-monitor-in-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix BCM4311/4312/4321/4322 Wireless in openSUSE 11.1 and earlier</title>
		<link>http://www.susegeek.com/networking/fix-bcm4311431243214322-wireless-in-opensuse-111-and-earlier/</link>
		<comments>http://www.susegeek.com/networking/fix-bcm4311431243214322-wireless-in-opensuse-111-and-earlier/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 20:06:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[openSUSE 11.0]]></category>
		<category><![CDATA[openSUSE 11.1]]></category>
		<category><![CDATA[bcm4311]]></category>
		<category><![CDATA[bcm4312]]></category>
		<category><![CDATA[bcm4321]]></category>
		<category><![CDATA[bcm4322]]></category>
		<category><![CDATA[Broadcom]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[openSUSE11.1]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[x86_64]]></category>
		<category><![CDATA[YaST]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=1229</guid>
		<description><![CDATA[In openSUSE 11.1, laptops installed with the BCM4311/BCM4312/BCM4321/BCM4322 Wireless LAN cards like the Dell Inspiron 1525 do not have drivers installed and hence do not work out of the box. In Dell this Wireless card is labelled as &#8220;Dell 1395 Wireless card&#8221;. Broadcom has released a linux version of its driver both 32-bit (x86) and [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->In openSUSE 11.1, laptops installed with the BCM4311/BCM4312/BCM4321/BCM4322 Wireless LAN cards like the Dell Inspiron 1525 do not have drivers installed and hence do not work out of the box. In Dell this Wireless card is labelled as &#8220;Dell 1395 Wireless card&#8221;. Broadcom has released a <a title="Broadcom Linux driver source" href="http://www.broadcom.com/support/802.11/linux_sta.php" target="_blank">linux</a> version of its driver both 32-bit (x86) and 64bit (x86_64) editions for BCM4311, BCM4312, BCM4321 &amp; BCM4322 Wireless cards. A 1-click install Yast Metapackage file (YMP) is available for install from Packman which makes it easy to get your wireless up and running in no time.</p>
<p><span id="more-1229"></span><br />
While this procedure is written for openSUSE 11.1, it should just work fine for openSUSE 11.0, openSUSE 10.3 as well as the 1-click install supports these versions.</p>
<p>Check the install Wireless module to confirm it is one of the above listed Broadcom Wireless devices.</p>
<blockquote><p><strong>openSUSE11_1:~ # lspci|grep -i broad<br />
0b:00.0 Network controller: Broadcom Corporation <span style="color: #008000;">BCM4312</span> 802.11b/g (rev 01)</strong></p></blockquote>
<p>Click this <a title="Brodacom Wireless Driver 1-click install" href="http://packman.links2linux.org/install/broadcom-wl" target="_blank"><img class="alignnone size-medium wp-image-1230" title="oneclick" src="http://www.susegeek.com/wp-content/uploads/2008/12/oneclick.png" alt="1-click installer for Broadcom-wl" width="162" height="46" /></a>to download and automatically start YaST Package manager. Click Next on the installation Welcome screen and click &#8220;Customize&#8221; on the screen showing the Repository and the packages selected to install. Click Next on the repository selection and screen.</p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl1.png"><img class="alignnone size-medium wp-image-1231" title="broadcom-wl1" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl1-300x208.png" alt="Broadcom Wireless driver install" width="300" height="208" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2.png"><img class="alignnone size-medium wp-image-1235" title="broadcom-wl2" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2-300x208.png" alt="customize selection" width="300" height="208" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2a.png"><img class="alignnone size-medium wp-image-1232" title="broadcom-wl2a" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2a-300x208.png" alt="Select repositories" width="300" height="208" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2b.png"><img class="alignnone size-medium wp-image-1233" title="broadcom-wl2b" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2b-300x208.png" alt="unselect packages not required" width="300" height="208" /></a></p>
<p>And finally, in the screen showing the list of packages selected to install, untick the drivers for custom Kernels like Kernel-pae, Kernel-trace &amp; Kernel-xen (unless you use any of these Kernel versions than the default one).</p>
<p>This means you will untick the following:</p>
<blockquote><p><em><strong>Broadcom-wl-kmp-pae<br />
Broadcom-wl-kmp-trace<br />
Broadcom-wl-kmp-xen</strong></em></p></blockquote>
<p>and finally, click Next on the proposal screen. This will start adding the packman repository and download and install the required driver packages and required dependencies. Click Finish when the drivers have successfully installed on your openSUSE.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2b.png"><img class="alignnone size-medium wp-image-1233" title="broadcom-wl2b" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2b-300x208.png" alt="unselect packages not required" width="300" height="208" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2c.png"><img class="alignnone size-medium wp-image-1234" title="broadcom-wl2c" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl2c-300x208.png" alt="installation proposal" width="300" height="208" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl3.png"><img class="alignnone size-medium wp-image-1236" title="broadcom-wl3" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl3-300x208.png" alt="Successful installation" width="300" height="208" /></a><br />
Now, insert the installed wireless module</p>
<blockquote><p><strong>openSUSE11_1:~ # modprobe wl</strong></p></blockquote>
<p>Now, confirm the Kernel module is loaded on your openSUSE</p>
<blockquote><p><strong>openSUSE11_1:~ # lsmod | grep wl<br />
wl                   1080320  0<br />
ieee80211_crypt         6476  2 ieee80211_crypt_tkip,wl</strong></p></blockquote>
<p>Confirm with the iwconfig command:</p>
<blockquote><p><strong>openSUSE11_1:~ # iwconfig</strong><br />
lo        no wireless extensions.</p>
<p>eth0      no wireless extensions.</p>
<p>pan0      no wireless extensions.</p>
<p><span style="color: #339966;"><em>eth1      IEEE 802.11bg  ESSID:&#8221;"</em><br />
Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated<br />
Bit Rate:54 Mb/s   Tx-Power:32 dBm<br />
Retry min limit:7   RTS thr:off   Fragment thr:off<br />
Power Managementmode:All packets received<br />
Link Quality=5/5  Signal level=0 dBm  Noise level=0 dBm<br />
Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0<br />
Tx excessive retries:0  Invalid misc:0   Missed beacon:0</span></p></blockquote>
<p>You are now ready to go, you should already see your KNetworkManager adjusting itself to insert the wireless (eth1 in my laptop) into its list of active devices.</p>
<p>From KnetworkManager, click &#8220;New Connection&#8221; and select your wireless device (eth1) in my laptop, select your Wireless Network from the list of scanned networks (or manually enter the details if your Wireless network doesn&#8217;t broadcast), click next and enter your Encryption details and click Connect &amp; Save. You should now be up and running with your Wireless.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl4.png"><img class="alignnone size-medium wp-image-1237" title="broadcom-wl4" src="http://www.susegeek.com/wp-content/uploads/2008/12/broadcom-wl4-300x119.png" alt="" width="300" height="119" /></a></p>
<blockquote><p><strong>openSUSE11_1:~ # iwconfig</strong><br />
lo        no wireless extensions.</p>
<p>eth0      no wireless extensions.</p>
<p><span style="color: #008000;">eth1      IEEE 802.11bg  ESSID:&#8221;SKY12345&#8243;<br />
Mode:Managed  Frequency:2.437 GHz  Access Point: 00:11:42:F3:AA:6E<br />
Bit Rate=54 Mb/s   Tx-Power:32 dBm<br />
Retry min limit:7   RTS thr:off   Fragment thr:off<br />
Power Managementmode:All packets received<br />
Link Quality=5/5  Signal level=-29 dBm  Noise level=-89 dBm<br />
Rx invalid nwid:0  Rx invalid crypt:14  Rx invalid frag:0<br />
Tx excessive retries:0  Invalid misc:0   Missed beacon:0<br />
</span><br />
pan0      no wireless extensions.</p></blockquote>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/fix-bcm4311431243214322-wireless-in-opensuse-111-and-earlier/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>DarkStat &#8211; Network traffic &amp; bandwidth monitoring in openSUSE</title>
		<link>http://www.susegeek.com/networking/darkstat-network-traffic-bandwidth-monitoring-in-opensuse/</link>
		<comments>http://www.susegeek.com/networking/darkstat-network-traffic-bandwidth-monitoring-in-opensuse/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 19:59:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[bandwidth-monitoring]]></category>
		<category><![CDATA[cable dsl]]></category>
		<category><![CDATA[darkstat]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[libpcap]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network-monitoring]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[redwall]]></category>
		<category><![CDATA[routers]]></category>
		<category><![CDATA[traffic graphs]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=1051</guid>
		<description><![CDATA[DarkStat is a simple Packet Sniffing Network Traffic/Bandwidth monitoring utility for Linux and UNIX. DarkStat relies on libpcap and presents simple webinterface with nice graphs and stats auto-refreshed.
Darkstat uses a very low footprint and the memory, CPU usage. DarkStat runs in the background of many Cable/DSL routers and are used in pfSense, redWall opensource firewalls.

Features [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong>DarkStat</strong> is a simple Packet Sniffing Network Traffic/Bandwidth monitoring utility for Linux and UNIX. DarkStat relies on libpcap and presents simple webinterface with nice graphs and stats auto-refreshed.</p>
<p>Darkstat uses a very low footprint and the memory, CPU usage. DarkStat runs in the background of many Cable/DSL routers and are used in <a title="pfSense OpenSource firewall" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.itsyourip.com');" href="http://www.itsyourip.com/Security/pfsense-m0n0wall-based-opensource-firewall-using-old-pc/" target="_blank">pfSense</a>, <a title="RedWall OpenSource Firewall" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.itsyourip.com');" href="http://www.itsyourip.com/Security/redwall-firewall-opensource-linux-firewall-using-an-old-pc/" target="_blank">redWall</a> opensource firewalls.</p>
<p><span id="more-1051"></span><br />
Features include</p>
<blockquote><p><em>Traffic graphs, reports per host, shows ports for each host<br />
Embedded web-server with deflate compression<br />
Asynchronous reverse DNS resolution using a child process<br />
Small, Portable, Single-threaded, Efficient and Uncomplicated</em></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Install DarkStat</strong></span></p>
<p>DarkStat can be installed using one of the following 1-click installs based on your openSUSE version.</p>
<p><span style="text-decoration: underline;"><strong>openSUSE 11.0</strong></span><br />
<a title="Darkstat 1-click install for openSUSE 11.0" href="http://software.opensuse.org/ymp/home:elvigia/openSUSE_11.0/darkstat.ymp" target="_blank"><img class="alignnone size-medium wp-image-1059" title="oneclick10" src="http://www.susegeek.com/wp-content/uploads/2008/10/oneclick10.png" alt="1-click install for openSUSE" width="162" height="46" /></a><br />
<span style="text-decoration: underline;"><strong>openSUSE 10.3</strong></span><br />
<a title="Darkstat 1-click install for openSUSE 10.3" href="http://software.opensuse.org/ymp/home:elvigia/openSUSE_10.3/darkstat.ymp" target="_blank"><img class="alignnone size-medium wp-image-1059" title="oneclick10" src="http://www.susegeek.com/wp-content/uploads/2008/10/oneclick10.png" alt="1-click install for openSUSE" width="162" height="46" /></a></p>
<p>This should download the YaST MetaPackage file (YMP) and launch the YaST Package manager for installation. Click next on the window showing the selected repositories and next again on the package selection window and finally click Next on the installation proposal window. This should add the required repositories (click import when prompted to import the GPG Keys) and install DarkStat and required dependencies. Click Finish when the installation is completed succesfully.<br />
<a href="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat1.png"><img class="alignnone size-medium wp-image-1052" title="darkstat1" src="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat1-300x200.png" alt="Repository selection" width="300" height="200" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat2.png"><img class="alignnone size-medium wp-image-1053" title="darkstat2" src="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat2-300x200.png" alt="Package selection" width="300" height="200" /></a></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat3.png"><img class="alignnone size-medium wp-image-1054" title="darkstat3" src="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat3-300x200.png" alt="Installation proposal" width="300" height="200" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat4.png"><img class="alignnone size-medium wp-image-1055" title="darkstat4" src="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat4-300x200.png" alt="Successful installation" width="300" height="200" /></a><br />
Once installed, dartstat executable is loaded under at /usr/sbin/darkstat</p>
<blockquote><p><strong>opensuse11:~ # which darkstat<br />
</strong>/usr/sbin/darkstat</p></blockquote>
<p>While you can run with a lot of customization like the protocols ports IP Addresses networks, a simple way to run would be to run with the interface to monitor traffic.</p>
<blockquote><p><strong>opensuse11:~ # /usr/sbin/darkstat -i wlan0</strong></p></blockquote>
<p>This starts and keeps sniffing in the background. By default, darkstat serves the graphs at <strong>http://localhost:667</strong> or <strong>http://&lt;IP address&gt;:667</strong>.</p>
<p>To view the graphs, go to <strong>http://localhost:667</strong> if browsing from the local pc or from http://192.168.0.3:667 (where the IP here is IP Address of my system where it runs)<br />
<a href="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat5.png"><img class="alignnone size-medium wp-image-1060" title="darkstat5" src="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat5-273x300.png" alt="Graphs" width="273" height="300" /></a> <a href="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat7.png"><img class="alignnone size-medium wp-image-1058" title="darkstat7" src="http://www.susegeek.com/wp-content/uploads/2008/10/darkstat7-243x300.png" alt="Hosts" width="243" height="300" /></a><br />
The graphs autorefresh every seconds however this can be modified and/or turned off.</p>
<p>For more options</p>
<blockquote><p><strong>opensuse11:~  # darkstat<br />
</strong>darkstat 3.0.711 (built with libpcap 2.4)</p>
<p>usage: darkstat [ -i interface ]<br />
[ -r file ]<br />
[ --pppoe ]<br />
[ --verbose ]<br />
[ --no-daemon ]<br />
[ --no-promisc ]<br />
[ --no-dns ]<br />
[ -p port ]<br />
[ -b bindaddr ]<br />
[ -f filter ]<br />
[ -l network/netmask ]<br />
[ --chroot dir ]<br />
[ --user username ]<br />
[ --daylog filename ]<br />
[ --import filename ]<br />
[ --export filename ]<br />
[ --pidfile filename ]<br />
[ --hosts-max count ]<br />
[ --hosts-keep count ]<br />
[ --ports-max count ]<br />
[ --ports-keep count ]<br />
[ --highest-port port ]</p>
<p>Please refer to the darkstat(1) manual page for further<br />
documentation and usage examples.</p></blockquote>
<p>Also, get more details from a wonderful man page</p>
<blockquote><p><strong>opensuse11:~ # man darkstat</strong></p></blockquote>
<p><a title="DarkStat Homepage" href="http://dmr.ath.cx/net/darkstat/" target="_blank">Click here</a> to visit the project homepage</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/darkstat-network-traffic-bandwidth-monitoring-in-opensuse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Network Performance Fine Tuning in openSUSE &amp; SUSE</title>
		<link>http://www.susegeek.com/networking/network-performance-fine-tuning-in-opensuse-suse/</link>
		<comments>http://www.susegeek.com/networking/network-performance-fine-tuning-in-opensuse-suse/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 19:58:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[buffer]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[congestion]]></category>
		<category><![CDATA[fine-tuning]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[sysctl]]></category>
		<category><![CDATA[tcp]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=969</guid>
		<description><![CDATA[openSUSE and SUSE Linux sets default values for some of the network related Kernel parameters. While these are certainly not something that reduces the performance on your linux but are set considering optimal across platforms. With Kernel 2.6 (default in recent releases of openSUSE &#38; SuSE Linux), there are some fine tuning you can do [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->openSUSE and SUSE Linux sets default values for some of the network related Kernel parameters. While these are certainly not something that reduces the performance on your linux but are set considering optimal across platforms. With Kernel 2.6 (default in recent releases of openSUSE &amp; SuSE Linux), there are some fine tuning you can do to improve Network performance and get that extra out of your system.<br />
<span id="more-969"></span><br />
The parameters that we focus to improve performance are</p>
<p><span style="text-decoration: underline;"><strong>net.core.rmem_max</strong></span></p>
<p>Sets the Maximum Socket Receive Buffer for all protocols</p>
<p><span style="text-decoration: underline;"><strong>net.core.wmem_max</strong></span></p>
<p>sets the Maximum Socket Send Buffer for all protocols</p>
<p><span style="text-decoration: underline;"><strong>net.ipv4.tcp_rmem</strong></span></p>
<p>Sets the Maximum Socket Receive Buffer for TCP Protocol (overides the defaults set by net.core.rmem_default)</p>
<p><span style="text-decoration: underline;"><strong>net.ipv4.tcp_wmem</strong></span></p>
<p>Sets the Maximum Socket Send Buffer for TCP Protocol (overides the defaults set by net.core.wmem_default)</p>
<p><span style="text-decoration: underline;"><strong>net.ipv4.tcp_no_metrics_save</strong></span></p>
<p>Enables/Disables the behaviour of cachek performance charecteristics connection. By default, Linux Kernel remembers connection performance and congestion charecteristics.</p>
<p><span style="text-decoration: underline;"><strong>net.ipv4.tcp_reordering</strong></span></p>
<p>Sometimes, packet reordering in a network can be interpreted as packet loss and hence increasing the value of this parameter should improve performance (default is &#8220;3&#8243;)</p>
<p><span style="text-decoration: underline;"><strong>net.ipv4.tcp_congestion_control</strong></span></p>
<p>You can set this to one of the manu available high speed congestion variants like &#8220;cubic&#8221; &#8220;hs-tcp&#8221; (default is &#8220;reno&#8221;)</p>
<p>Before we set the values, lets look at the current values.</p>
<p>The following displays a long list of current values set for the Kernel Paramters.</p>
<blockquote><p><em><strong>opensuse11:~ # sysctl -a</strong></em></p></blockquote>
<p>To view the values of interest here</p>
<blockquote><p><strong>opensuse11:~ # sysctl -a | egrep &#8220;rmem|wmem|tcp_congestion|reordering|metrics&#8221;| egrep -v &#8220;default|udp|lowmem&#8221;</strong><br />
net.ipv4.tcp_reordering = 3<br />
net.ipv4.tcp_wmem = 4096        16384   4194304<br />
net.ipv4.tcp_rmem = 4096        87380   4194304<br />
net.ipv4.tcp_no_metrics_save = 0<br />
net.ipv4.tcp_congestion_control = reno<br />
net.core.wmem_max = 131071<br />
net.core.rmem_max = 131071</p></blockquote>
<p>We can set the values are as follows:</p>
<blockquote><p><em><strong>net.ipv4.tcp_reordering = 20<br />
net.ipv4.tcp_wmem = 8192 87380 16777216<br />
net.ipv4.tcp_rmem = 8192 87380 16777216<br />
net.ipv4.tcp_no_metrics_save = 1<br />
net.ipv4.tcp_congestion_control = cubic<br />
net.core.wmem_max = 16777216<br />
net.core.rmem_max = 16777216</strong></em></p></blockquote>
<p>To set the values to be set at boot time, we need to edit the file &#8220;<strong>/etc/sysctl.conf</strong>&#8221; and add the above lines. However, this will not take effect immediatly. To make the changes to take effect immediatly,</p>
<blockquote><p><strong>opensuse11:~ # sysctl -p /etc/sysctl.conf</strong></p></blockquote>
<p>Alternatively, you can set one parameter value at a time as follows:</p>
<blockquote><p><strong><em>opensuse11:~ # sysctl -w net.ipv4.tcp_reordering=20</em></strong></p>
<p><strong><em>opensuse11:~ # sysctl -w net.ipv4.tcp_wmem=&#8221;8192 87380 16777216&#8243;</em></strong></p>
<p><strong><em>opensuse11:~ # sysctl -w net.ipv4.tcp_rmem=&#8221;8192 87380 16777216&#8243;</em></strong></p>
<p><strong><em>opensuse11:~ # sysctl -w net.ipv4.tcp_no_metrics_save=1</em></strong></p>
<p><strong><em>opensuse11:~ # sysctl -w net.ipv4.tcp_congestion_control=cubic</em></strong></p>
<p><strong><em>opensuse11:~ # sysctl -w net.core.wmem_max=16777216</em></strong></p></blockquote>
<p>This should improve Network Performance on your SuSE or openSUSE Linux.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/network-performance-fine-tuning-in-opensuse-suse/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bandwidth Monitoring NG (bwm-ng) &#8211; Monitor Network &amp; Disk statistics in openSUSE</title>
		<link>http://www.susegeek.com/networking/bandwidth-monitoring-ng-bwm-ng-monitor-network-disk-statistics-in-opensuse/</link>
		<comments>http://www.susegeek.com/networking/bandwidth-monitoring-ng-bwm-ng-monitor-network-disk-statistics-in-opensuse/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 20:06:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[bandiwdth]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[live stats]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=929</guid>
		<description><![CDATA[Bandwidth Monitor NG (bwm-ng) is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others. There is no fancy GUI or interfaces simple console utility which installs and runs flawlessly showing live stats of your Network or Disk I/O stats.

Features include
support for /proc/net/dev, netstat, [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong>Bandwidth Monitor NG (bwm-ng)</strong> is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others. There is no fancy GUI or interfaces simple console utility which installs and runs flawlessly showing live stats of your Network or Disk I/O stats.</p>
<p><span id="more-929"></span><br />
Features include</p>
<blockquote><p><em>support for /proc/net/dev, netstat, getifaddr, sysctl, kstat for Network Monitoring<br />
</em></p>
<p><em>support for /proc/diskstats /proc/partitions, IOKit, devstat and libstatgrab for Disk I/O Monitoring</em></p>
<p><em>Support for unlimited number of Network interfaces/devices<br />
</em></p>
<p><em>Dynamic Addition and Deletion of interfaces/devices to the list<br />
</em></p>
<p><em>Whitelist and blacklist of interfaces/devices</em></p>
<p><em>Output formats of KB/s, Kb/s, packets, errors, average, max and total sum</em></p>
<p><em>Output in curses, plain console, CSV or HTML</em></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Install bwm-ng</strong></span></p>
<p>Bandwidth monitor NG can quickly be built from source. Download bwm-ng from here or from a terminal window as follows:</p>
<blockquote><p><strong>opensuse11:~ # wget http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz</strong></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Unzip &amp; Untar bwm-ng</strong></span></p>
<blockquote><p><strong>opensuse11:~ # tar -zxvf bwm-ng-0.6.tar.gz</strong></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Install GCC and Make utility</strong></span></p>
<p>If you do not already have the GCC compiler and the make utility then install as follows. If already installed then you can skip this step.</p>
<blockquote><p><strong>opensuse11:~ # yast2 -i gcc make</strong></p></blockquote>
<p>Now, change directory to the newly created bwm-ng directory and run configure.</p>
<blockquote><p><strong>opensuse11:~ # cd bwm-ng-0.6</strong></p>
<p><strong>opensuse11:~/bwm-ng-0.6 # ./configure</strong></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Compile &amp; Install</strong></span></p>
<p>Now, compile and install bwm-ng as follows:</p>
<blockquote><p><strong>opensuse11:~/bwm-ng-0.6 # make &amp;&amp; make install</strong></p></blockquote>
<p>This should install bwm-ng under /usr/local/bin/bwm-ng</p>
<blockquote><p><strong>opensuse11:~ # which bwm-ng<br />
</strong>/usr/local/bin/bwm-ng</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Run bwm-ng</strong></span></p>
<p>To see the stats of all the interfaces (including Wireless interfaces) on the system simply run bwm-ng without any arguements. At anytime press &lt;CTRL+C&gt; to stop monitoring the stats.</p>
<blockquote><p><strong>opensuse11:~ # bwm-ng</strong></p></blockquote>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/10/bwm-ng1.png"><img class="alignnone size-full wp-image-930" title="bwm-ng1" src="http://www.susegeek.com/wp-content/uploads/2008/10/bwm-ng1.png" alt="Monitor all Network Interfaces" width="500" height="433" /></a><br />
To see stats on a specific interface,</p>
<blockquote><p><strong>opensuse11:~ # bwm-ng -I wlan0</strong></p></blockquote>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/10/bwm-ng2.png"><img class="alignnone size-full wp-image-931" title="bwm-ng2" src="http://www.susegeek.com/wp-content/uploads/2008/10/bwm-ng2.png" alt="Monitor select interface" width="500" height="433" /></a><br />
To check Disk I/O stats,</p>
<blockquote><p><strong>opensuse11:~ # bwm-ng -i disk</strong></p></blockquote>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/10/bwm-ng3.png"><img class="alignnone size-full wp-image-932" title="bwm-ng3" src="http://www.susegeek.com/wp-content/uploads/2008/10/bwm-ng3.png" alt="" width="500" height="433" /></a><br />
For more options, run bwm-ng with &#8220;-h&#8221; arguement to show the options</p>
<blockquote><p><em><strong>opensuse:~/bwm-ng-0.6 # bwm-ng -h</strong><br />
Bandwidth Monitor NG (bwm-ng) v0.6<br />
Copyright (C) 2004-2007 Volker Gropp &lt;bwmng@gropp.org&gt;<br />
USAGE: bwm-ng [OPTION] &#8230; [CONFIGFILE]<br />
displays current ethernet interfaces stats</em></p>
<p><em>Options:<br />
-t, &#8211;timeout &lt;msec&gt;    displays stats every &lt;msec&gt; (1msec = 1/1000sec)<br />
default: 500<br />
-d, &#8211;dynamic [value]   show values dynamicly (Byte KB or MB)<br />
-a, &#8211;allif [mode]      where mode is one of:<br />
0=show only up (and selected) interfaces<br />
1=show all up interfaces (default)<br />
2=show all and down interfaces<br />
-I, &#8211;interfaces &lt;list&gt; show only interfaces in &lt;list&gt; (comma seperated), or<br />
if list is prefaced with % show all but interfaces<br />
in list<br />
-S, &#8211;sumhidden [value] count hidden interfaces for total<br />
-A, &#8211;avglength &lt;sec&gt;   sets the span of average stats (Default 30s)<br />
-D, &#8211;daemon [value]    fork into background and daemonize<br />
-h, &#8211;help              displays this help<br />
-V, &#8211;version           print version info</em></p>
<p><em>Input:<br />
-i, &#8211;input &lt;method&gt;    input method, one of: proc netstat disk<br />
-f, &#8211;procfile &lt;file&gt;   filename to read raw data from. (/proc/net/dev)<br />
&#8211;diskstatsfile &lt;file&gt; filename to read diskstats (Linux 2.6+) from. (/proc/diskstats)<br />
&#8211;partitionsfile &lt;file&gt; filename to read diskstats (Linux 2.4) from. (/proc/partitions)</em></p>
<p><em>Output:<br />
-o, &#8211;output &lt;method&gt;   output method, one of:<br />
plain, csv, html<br />
-u, &#8211;unit &lt;value&gt;      unit to show. one of bytes, bits, packets, errors<br />
-T, &#8211;type &lt;value&gt;      type of stats. one of rate, max, sum, avg<br />
-C, &#8211;csvchar &lt;char&gt;    delimiter for csv<br />
-F, &#8211;outfile &lt;file&gt;    output file for csv and html (default stdout)<br />
-R, &#8211;htmlrefresh &lt;num&gt; meta refresh for html output<br />
-H, &#8211;htmlheader        show &lt;html&gt; and &lt;meta&gt; frame for html output<br />
-c, &#8211;count &lt;num&gt;       number of query/output for plain &amp; csv<br />
-N, &#8211;ansiout           disable ansi codes for plain output<br />
(ie 1 for one single output)</em></p></blockquote>
<p>A simple but useful tool when trying to troubleshoot network problems or when there is a Disk I/O performance issue. <a title="Bandwidth Monitor NG" href="http://www.gropp.org/?id=projects&amp;sub=bwm-ng" target="_blank">Click here</a> to visit the project homepage.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/bandwidth-monitoring-ng-bwm-ng-monitor-network-disk-statistics-in-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to manually set the MTU (Maximum Transmission Unit) in openSUSE</title>
		<link>http://www.susegeek.com/networking/how-to-manually-set-the-mtu-maximum-transmission-unit-in-opensuse/</link>
		<comments>http://www.susegeek.com/networking/how-to-manually-set-the-mtu-maximum-transmission-unit-in-opensuse/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 22:04:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[bandwidth efficiency]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[maximum transmission unit]]></category>
		<category><![CDATA[mtu]]></category>
		<category><![CDATA[mtu size]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[pppoe]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=438</guid>
		<description><![CDATA[
Maximum Transmission Unit (MTU) the size (in bytes) of the largest packet or frame that a given layer of a communications protocol can pass onwards. The MTU may be fixed by standards (as is the case with Ethernet) or decided at connect time. A higher MTU brings higher bandwidth efficiency. However, large packets can block [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Maximum Transmission Unit (MTU) the size (in bytes) of the largest packet or frame that a given layer of a communications protocol can pass onwards. The MTU may be fixed by standards (as is the case with Ethernet) or decided at connect time. A higher MTU brings higher bandwidth efficiency. However, large packets can block up a slow interface for some time, increasing the lag for further packets.</p>
<p><span id="more-438"></span><br />
The MTU for ethernet is 1500 bytes, 1492 for PPPoE and 576 for Dialup. In very rare occasions, you may need to change the MTU size due to connectivity issues with your ISPs or in a VPN environment on your openSUSE.</p>
<p>The following procedure should help to change the Maximum Transmission Unit (MTU) in openSUSE.</p>
<p><span style="text-decoration: underline;"><strong>In Network Manager<br />
</strong></span><br />
If you are using Network-Manager to control the network settings in your openSUSE then</p>
<p>1. From the menu, click Computer &#8211; YaST.</p>
<p>2. Click Network Devices in the leftpane and click Network Settings</p>
<p><img class="alignnone size-full wp-image-440" title="networksettings" src="http://www.susegeek.com/wp-content/uploads/2008/08/networksettings.png" alt="Network Settings" width="500" height="307" /></p>
<p>3. Select the Network Adapter and click Edit.</p>
<p><img class="alignnone size-full wp-image-441" title="networksettings2" src="http://www.susegeek.com/wp-content/uploads/2008/08/networksettings2.png" alt="Select Network Adapter" width="500" height="347" /><br />
4. Under General tab, select from the default &#8220;MTU&#8221; values or enter your own required value. Please be aware of what you are doing as an incorrect MTU size setting can cause connectivity and performance issues. Click Next and Finish to complete the settings wizard.</p>
<p><img class="alignnone size-full wp-image-439" title="mtu" src="http://www.susegeek.com/wp-content/uploads/2008/08/mtu.png" alt="MTU Settings" width="500" height="347" /></p>
<p>This will set the MTU value and restart the Network Service.</p>
<p><span style="text-decoration: underline;"><strong>In traditional Network configuration<br />
</strong></span><br />
If you are not using the Network Manager and use the traditional method of controlling network settings using ifcfg scripts then</p>
<p>1. Using a terminal window, change directory to /etc/sysconfig/network/</p>
<blockquote><p><strong>opensuse:~ # cd /etc/sysconfig/network</strong></p></blockquote>
<p>2. In /etc/sysconfig/network directory, you have a config file for each of your network interface card. For instance, on my laptop, I have ifcfg-eth0 (ethernet) and ifcfg-wlan0 (wireless). These hold configurations for the respective network cards. Edit the interface file and enter the line as following</p>
<blockquote><p><strong>opensuse:/etc/sysconfig/network # vi ifcfg-eth0</strong></p></blockquote>
<blockquote><p>and add a line like</p>
<p><strong>MTU=&#8217;1460&#8242;</strong></p>
<p>So it looks something like this</p>
<p><strong>opensuse11:/etc/sysconfig/network # cat ifcfg-eth0</strong><br />
BOOTPROTO=&#8217;dhcp&#8217;<br />
BROADCAST=&#8221;<br />
ETHTOOL_OPTIONS=&#8221;<br />
IPADDR=&#8221;<br />
<span style="color: #ff0000;">MTU=&#8217;1460&#8242;</span><br />
NAME=&#8217;BCM4401-B0 100Base-TX&#8217;<br />
NETMASK=&#8221;<br />
NETWORK=&#8221;<br />
REMOTE_IPADDR=&#8221;<br />
STARTMODE=&#8217;auto&#8217;<br />
USERCONTROL=&#8217;no&#8217;</p></blockquote>
<p>3. Restart the network service or reboot your computer for the changes to take effect.</p>
<blockquote><p><strong>opensuse11:/etc/sysconfig/network # /etc/init.d/network restart</strong></p></blockquote>
<p><span style="text-decoration: underline;"><strong>Dynamically change MTU</strong></span></p>
<p>To dynamically change the MTU, you can use the ifconfig command. To change the MTU of interface eth0,</p>
<blockquote><p><strong>opensuse11:~ # ifconfig eth0 mtu 1460</strong></p></blockquote>
<p>However, this will be lost upon reboot.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/how-to-manually-set-the-mtu-maximum-transmission-unit-in-opensuse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to setup persistent Static Routes in openSUSE 11.0</title>
		<link>http://www.susegeek.com/networking/how-to-setup-persistent-static-routes-in-opensuse-110/</link>
		<comments>http://www.susegeek.com/networking/how-to-setup-persistent-static-routes-in-opensuse-110/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 19:49:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[openSUSE 11.0]]></category>
		<category><![CDATA[ifup]]></category>
		<category><![CDATA[NetworkManager]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[Static-Routes]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://www.susegeek.com/?p=94</guid>
		<description><![CDATA[
In openSUSE 11.0, the network setup is by default controller by &#8220;NetworkManager&#8221; and this is different from the traditional netcontrol. With NetworkManager, users control the Network Interfaces. To confirm this, in GNOME from Computer &#8211; Yast &#8211; Network Devices &#8211; Network Settings, check for option &#8220;User Controlled with Network Manager&#8221; under Network Setup Method. Or, [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
In openSUSE 11.0, the network setup is by default controller by &#8220;NetworkManager&#8221; and this is different from the traditional netcontrol. With NetworkManager, users control the Network Interfaces. To confirm this, in GNOME from Computer &#8211; Yast &#8211; Network Devices &#8211; Network Settings, check for option &#8220;User Controlled with Network Manager&#8221; under Network Setup Method. Or, check for the line &#8216;NETWORKMANAGER=&#8221;yes&#8221;&#8216; in /etc/sysconfig/network/config file.</p>
<p>This may not be a viable option to use on SUSE enterprise Desktop as in a enterprise environment you wouldn&#8217;t want the user to modify or control network settings.</p>
<p><span id="more-94"></span></p>
<p><a href="http://www.susegeek.com/wp-content/uploads/2008/06/staticroute-networkmanager.png"><img class="alignnone size-medium wp-image-95" title="staticroute-networkmanager" src="http://www.susegeek.com/wp-content/uploads/2008/06/staticroute-networkmanager-300x255.png" alt="Network Manager setup in openSUSE" width="300" height="255" /></a><br />
To setup persistent Statis Routes in openSUSE 11.0 when network settings are controlled by NetworkManager, then try the following:</p>
<p><span style="text-decoration: underline;"><strong>1. Create a ifroute-&lt;*&gt; file for each interface<br />
</strong></span><br />
For every network interface on the system which needs individual persisten static routing table create a &#8220;ifroute-&lt;*&gt;&#8221; file in the /etc/sysconfig/network/ directory.</p>
<p>where &lt;*&gt; is the name of the interface</p>
<p>For instance, on my system the interface name is eth0 and hence I create a file called</p>
<p><strong></strong></p>
<blockquote><p><strong>/etc/sysconfig/network/ifroute-eth0<br />
</strong></p></blockquote>
<p>This file should have the static route entries for the hosts or networks in any of the following format:</p>
<blockquote><p><strong><span style="color: #ff0000;">DESTINATION           GATEWAY NETMASK   INTERFACE [ TYPE ] [ OPTIONS ]</span><br />
Example<br />
192.168.1.1 192.168.233.2 255.255.255.255 eth0</strong></p>
<p><span style="color: #ff0000;"><strong>DESTINATION           GATEWAY PREFIXLEN INTERFACE [ TYPE ] [ OPTIONS ]</strong></span><strong><br />
Example<br />
10.1.1.0  192.168.233.2 24</strong></p>
<p><span style="color: #ff0000;"><strong>DESTINATION/PREFIXLEN GATEWAY -         INTERFACE [ TYPE ] [ OPTIONS ]</strong></span><strong><br />
10.1.1.0/24 192.168.233.2 -<br />
</strong></p></blockquote>
<p>In the above each of the field is seperated by a TAB. [TYPE][OPTIONS] are optional.</p>
<p>If you not in the above, Example 2 &amp; 3 mean exactly the same. Only represented in different formats.</p>
<p>So, I created a file as follows on my system</p>
<blockquote><p><strong>SAIBABA:~ # cat /etc/sysconfig/network/ifroute-eth0<br />
</strong>10.1.1.1 192.168.233.2 255.255.255.255 eth0<br />
10.10.10.0 192.168.233.2 24 eth0<br />
172.20.1.0/24 192.168.233.2 &#8211; eth0</p></blockquote>
<p><span style="text-decoration: underline;"><strong>2. NetworkManager POST_UP Script<br />
</strong></span><br />
With NetworkManager, the POST_UP scripts are fetched from /etc/sysconfig/network/if-up.d/ directory and is set to &#8216;yes&#8217; (enabled) by default. In simple terms, any script that you want to run once the Network interface up and active, simply drop them into this directory or create a symbolic link to the script file in this directory.</p>
<p>In SUSE and openSUSE, there are the following scripts in /etc/sysconfig/network/scripts/ directory which assist in bring up/down Interface routes and to check the status</p>
<p><strong>ifup-route<br />
</strong><br />
To bring up static routes. This reads the file /etc/sysconfig/network/ifroute-* file.</p>
<p><strong>ifdown-route<br />
</strong><br />
To clear the static routes loaded</p>
<p><strong>ifstatus-route<br />
</strong><br />
To check the current status of the routes</p>
<blockquote><p><strong>SAIBABA:~ # /etc/sysconfig/network/scripts/ifstatus-route eth0<br />
</strong>Configured routes for interface eth0:<br />
169.254.0.0 &#8211; 255.255.0.0 eth0<br />
10.1.1.1 192.168.233.2 255.255.255.255 eth0<br />
10.10.10.0 192.168.233.2 24 eth0<br />
172.20.1.0/24 192.168.233.2 &#8211; eth0<br />
Active routes for interface eth0:<br />
10.1.1.1 via 192.168.233.2<br />
172.20.1.0/24 via 192.168.233.2<br />
192.168.233.0/24  proto kernel  scope link  src 192.168.233.128<br />
10.10.10.0/24 via 192.168.233.2<br />
169.254.0.0/16  scope link<br />
default via 192.168.233.2  proto static<br />
3 of 4 configured routes for interface eth0 up</p></blockquote>
<p><span style="text-decoration: underline;"><strong>3. Create a Symbolic File for ifup-route<br />
</strong></span><br />
In the POST_UP directory for NetworkManager i.e, /etc/sysconfig/network/if-up.d/ create a Symbolic link as follows to the ifup-route script as follows:</p>
<blockquote><p><strong>SAIBABA:~ # ln -s /etc/sysconfig/network/scripts/ifup-route /etc/sysconfig/network/if-up.d/ifup-route</strong></p></blockquote>
<p>Thats it. You can either restart your system or simply restart your Network service for the change to take effect.</p>
<blockquote><p><strong>SAIBABA:~ # /etc/init.d/network restart<br />
</strong>Shutting down the NetworkManager                                     done<br />
Shutting down network interfaces:<br />
eth0      device: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)                                                                   done<br />
Shutting down service network  .  .  .  .  .  .  .  .  .  .  .  .  . done.<br />
Starting the NetworkManager                                          done</p></blockquote>
<p>Thats it! We are done.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-addons-plugins-in-opensuse-11-0/" title="1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0 (August 10, 2009)">1-click installs for Nagios Addons &#038; plugins in openSUSE 11.0</a> (3)</li>
	<li><a href="http://www.susegeek.com/monitoring/1-click-installs-for-nagios-in-opensuse-11-1/" title="1-click installs for Nagios in openSUSE 11.1 (August 10, 2009)">1-click installs for Nagios in openSUSE 11.1</a> (0)</li>
	<li><a href="http://www.susegeek.com/multimedia/abby-gui-addons-utilities-for-clivecclive/" title="abby GUI &#038; addons utilities for Clive/CClive (June 23, 2009)">abby GUI &#038; addons utilities for Clive/CClive</a> (1)</li>
	<li><a href="http://www.susegeek.com/office-productivity/abiword-free-opensource-word-processor-for-opensuse-linux/" title="AbiWord &#8211; Free opensource Word Processor for openSUSE Linux (September 11, 2008)">AbiWord &#8211; Free opensource Word Processor for openSUSE Linux</a> (2)</li>
	<li><a href="http://www.susegeek.com/multimedia/acetoneiso2-a-full-feature-rich-imageiso-tool-for-opensuse/" title="Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE (August 22, 2008)">Acetoneiso2 &#8211; A full feature rich Image/ISO tool for openSUSE</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.susegeek.com/networking/how-to-setup-persistent-static-routes-in-opensuse-110/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
