<?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>ItHowTo.ro &#187; linux administration</title>
	<atom:link href="http://www.ithowto.ro/category/system-administration/linux_admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ithowto.ro</link>
	<description>Blogging about IT Stuff by ESSERIO</description>
	<lastBuildDate>Wed, 30 Nov 2011 09:13:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>OpenWRT + OpenSwan IPSEC on Linksys WRT54GL v1.1</title>
		<link>http://www.ithowto.ro/2011/05/openwrt-openswan-ipsec-linksys-wrt54gl-v1-1/</link>
		<comments>http://www.ithowto.ro/2011/05/openwrt-openswan-ipsec-linksys-wrt54gl-v1-1/#comments</comments>
		<pubDate>Wed, 18 May 2011 16:53:12 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[openswan]]></category>
		<category><![CDATA[openwrt]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=165</guid>
		<description><![CDATA[First of all u need a linux pc in order to accomplish this so if u don&#8217;t have one try using a virtual machine running linux. Ok here goes, The challenge was to install openswan ipsec support on top of the openwrt custom firmware using a Linksys WRT54GL router. The usual way to do this [...]]]></description>
			<content:encoded><![CDATA[<p>First of all u need a linux pc in order to accomplish this so if u don&#8217;t have one try using a virtual machine running linux.</p>
<p>Ok here goes,<br />
The challenge was to install openswan ipsec support on top of the openwrt custom firmware using a Linksys WRT54GL router. The usual way to do this would be using the package manager that comes with OpenWRT (opkg) but since this router has only a 4MB flash, if using the default firmare from openwrt, there&#8217;s not enough space to install openswan. The way to do it is to build a custom firmware using OpenWrt&#8217;s Image Builder.</p>
<p>The instructions on how to use the builder can be found here:<br />
<span style="color: #0000ff;">http://wiki.openwrt.org/doc/howto/obtain.firmware.generate</span></p>
<p>The issue i had is that it&#8217;s quiet confusing to understand which packages to use for a custom firmare. The article in the link above shows us how to get a list of the default packages coming with the official firmare:</p>
<p>After a few times trying i ended up with the following make command to generate a firmware that would fit in the 4mb flash card on the router<em>. </em>I had to drop some of the default packages (the ones with a &#8211; in front of their name in the below command) in order to keep the firmare + web gui + openswan configuration:</p>
<p style="text-align: justify;"><em><strong>make image PACKAGES=&#8221;base-files busybox dnsmasq dropbear firewall hotplug2 libc libgcc nvram uci udevtrigger wireless-tools luci kmod-crypto-core kmod-crypto-aes kmod-crypto-arc4 kmod-ipt-core kmod-ipt-conntrack kmod-ipt-nat kmod-ipt-nathelper -kmod-ppp -kmod-pppoe kmod-crc-ccitt kmod-diag kmod-switch kmod-b43 kmod-b43legacy kmod-cfg80211 kmod-mac80211 libiptc liblua libnl-tiny libuci libuci-lua libxtables crda iptables iptables-mod-conntrack iptables-mod-nat iw -ppp -ppp-mod-pppoe uhttpd wpad-mini -lua openswan -nano mtd -opkg&#8221;</strong></em></p>
<p>Note the openswan package at the end. When issuing this command the system will build the custom firmware which is under 4mb so it will fit your router&#8217;s flash. You can then upload the firmare onto the router using tftp as described here: <span style="color: #0000ff;">http://wiki.openwrt.org/toh/linksys/wrt54g</span></p>
<p>Good luck</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2011/05/openwrt-openswan-ipsec-linksys-wrt54gl-v1-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: test if suPHP works with your apache installation.</title>
		<link>http://www.ithowto.ro/2010/03/howto-test-if-suphp-works-with-your-apache-installation/</link>
		<comments>http://www.ithowto.ro/2010/03/howto-test-if-suphp-works-with-your-apache-installation/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 18:49:12 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=119</guid>
		<description><![CDATA[I wrote this small script to verify that my suPHP was infact working on the server. Copy &#38; paste this in to a file test.php on your server and run it on your favourite browser. If the current script owner is the same as the user that php runs as, than suPHP works. &#60;?php echo [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote this small script to verify that my suPHP was infact working on the server.</p>
<p>Copy &amp; paste this in to a file test.php on your server and run it on your favourite browser.</p>
<p>If the current script owner is the same as the user that php runs as, than suPHP works.</p>
<p><em>&lt;?php</p>
<p>echo &#8216;Current script owner: &#8216; . get_current_user(). &#8216;&lt;br&gt;&#8217;;<br />
echo &#8216;UID:&#8217; . getmyuid() . &#8216;&lt;br&gt;&#8217;;<br />
echo &#8216;GID:&#8217; . getmygid() . &#8216;&lt;br&gt;&#8217;;<br />
echo &#8216;PID:&#8217; . getmypid() . &#8216;&lt;br&gt;&#8217;;<br />
echo &#8216;&lt;br&gt;&#8217;;<br />
echo &#8220;PHP runs under the user: [" . system('whoami') . "]&lt;br&gt;&#8221;;<br />
</em></p>
<p><em>?&gt;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2010/03/howto-test-if-suphp-works-with-your-apache-installation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Find Extensive Hard Disk Info on Linux</title>
		<link>http://www.ithowto.ro/2009/09/howto-find-hard-disk-information-on-linux/</link>
		<comments>http://www.ithowto.ro/2009/09/howto-find-hard-disk-information-on-linux/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 09:01:38 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=111</guid>
		<description><![CDATA[If you want to find additional information on your hard disks in linux you can use an utility called: hdparm. If you can&#8217;t find this utility install it using apt-get on debian: apt-get install hdparm then at the console type: hdparm -I /dev/sda an it should list something like this: /dev/sda: ATA device, with non-removable [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to find additional information on your hard disks in linux you can use an utility called: <strong>hdparm.</strong></p>
<p>If you can&#8217;t find this utility install it using apt-get on debian: <strong>apt-get install hdparm</strong></p>
<p>then at the console type: <strong>hdparm -I /dev/sda</strong> an it should list something like this:</p>
<p>/dev/sda:</p>
<p>ATA device, with non-removable media<br />
Model Number:       ST31000340NS<br />
Serial Number:      9QJ365N0<br />
Firmware Revision:  SN05<br />
Transport:          Serial<br />
Standards:<br />
Used: unknown (minor revision code 0&#215;0029)<br />
Supported: 8 7 6 5<br />
Likely used: 8<br />
Configuration:<br />
Logical         max     current<br />
cylinders       16383   16383<br />
heads           16      16<br />
sectors/track   63      63<br />
&#8211;<br />
CHS current addressable sectors:   16514064<br />
LBA    user addressable sectors:  268435455<br />
LBA48  user addressable sectors: 1953525168<br />
device size with M = 1024*1024:      953869 MBytes<br />
device size with M = 1000*1000:     1000204 MBytes (1000 GB)<br />
Capabilities:<br />
LBA, IORDY(can be disabled)<br />
Queue depth: 32<br />
Standby timer values: spec&#8217;d by Standard, no device specific minimum<br />
R/W multiple sector transfer: Max = 16  Current = 16<br />
Recommended acoustic management value: 254, current value: 0<br />
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6<br />
Cycle time: min=120ns recommended=120ns<br />
PIO: pio0 pio1 pio2 pio3 pio4<br />
Cycle time: no flow control=120ns  IORDY flow control=120ns<br />
Commands/features:<br />
Enabled Supported:<br />
*    SMART feature set<br />
Security Mode feature set<br />
*    Power Management feature set<br />
*    Write cache<br />
*    Look-ahead<br />
*    Host Protected Area feature set<br />
*    WRITE_BUFFER command<br />
*    READ_BUFFER command<br />
*    DOWNLOAD_MICROCODE<br />
SET_MAX security extension<br />
*    48-bit Address feature set<br />
*    Device Configuration Overlay feature set<br />
*    Mandatory FLUSH_CACHE<br />
*    FLUSH_CACHE_EXT<br />
*    SMART error logging<br />
*    SMART self-test<br />
*    General Purpose Logging feature set<br />
*    64-bit World wide name<br />
*    Write-Read-Verify feature set<br />
*    WRITE_UNCORRECTABLE_EXT command<br />
*    {READ,WRITE}_DMA_EXT_GPL commands<br />
*    Segmented DOWNLOAD_MICROCODE<br />
*    SATA-I signaling speed (1.5Gb/s)<br />
*    Native Command Queueing (NCQ)<br />
*    Phy event counters<br />
*    Software settings preservation<br />
*    SMART Command Transport (SCT) feature set<br />
*    SCT LBA Segment Access (AC2)<br />
*    SCT Error Recovery Control (AC3)<br />
*    SCT Features Control (AC4)<br />
*    SCT Data Tables (AC5)<br />
Security:<br />
Master password revision code = 65534<br />
supported<br />
not     enabled<br />
not     locked<br />
not     frozen<br />
not     expired: security count<br />
supported: enhanced erase<br />
196min for SECURITY ERASE UNIT. 196min for ENHANCED SECURITY ERASE UNIT.<br />
Logical Unit WWN Device Identifier: 5000c50010f8c3d0<br />
NAA             : 5<br />
IEEE OUI        : c50<br />
Unique ID       : 010f8c3d0<br />
Checksum: correct</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/09/howto-find-hard-disk-information-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache not reading .htaccess</title>
		<link>http://www.ithowto.ro/2009/06/apache-not-reading-htacces/</link>
		<comments>http://www.ithowto.ro/2009/06/apache-not-reading-htacces/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 10:01:48 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=105</guid>
		<description><![CDATA[I had this problem on a client&#8217;s server. Apache was not reading the .htaccess files thus mor_rewrite was not working. After i did a few searches i found out that the Directory settings in the apache configuration hat AllowOverride None as directive instead of AllowOverride All. I made the change, restardet apache and all went [...]]]></description>
			<content:encoded><![CDATA[<p>I had this problem on a client&#8217;s server. Apache was not reading the .htaccess files thus mor_rewrite was not working. After i did a few searches i found out that the Directory settings in the apache configuration hat AllowOverride None as directive instead of AllowOverride All.</p>
<p>I made the change, restardet apache and all went as it should.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/06/apache-not-reading-htacces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba: Can&#8217;t browse domain computers list. The network path was not foud.</title>
		<link>http://www.ithowto.ro/2009/05/samba-cant-browse-domain-computers-list-the-network-path-was-not-foud/</link>
		<comments>http://www.ithowto.ro/2009/05/samba-cant-browse-domain-computers-list-the-network-path-was-not-foud/#comments</comments>
		<pubDate>Mon, 18 May 2009 10:53:04 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=102</guid>
		<description><![CDATA[I&#8217;ve ran into this situation while configuring a samba domain. I&#8217;ve searched for hours in forums and in google and found lots of causes for this issue. In my case i had the following: i could ping the domain clients using their netbios name ( my pdc was also running as a wins server ) [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve ran into this situation while configuring a samba domain. I&#8217;ve searched for hours in forums and in google and found lots of causes for this issue. In my case i had the following:</p>
<p>i could ping the domain clients using their <strong>netbios name</strong> ( my pdc was also running as a wins server )</p>
<p>i could acces the clients by using their netbios name ( eg. <strong>\\netbiosname</strong> )</p>
<p>I just couldn&#8217;t <strong>browse the domain</strong> ( the <strong>list with computers on my domain</strong> ).</p>
<p>The problem was caused by samba working only on port <strong>445</strong>. I&#8217;ve enabled <strong>samba </strong>to work on port <strong>139 </strong>also and the error was gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/05/samba-cant-browse-domain-computers-list-the-network-path-was-not-foud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: rename a samba domain member computer from registry</title>
		<link>http://www.ithowto.ro/2009/05/howto-rename-a-samba-domain-member-computer-from-registry/</link>
		<comments>http://www.ithowto.ro/2009/05/howto-rename-a-samba-domain-member-computer-from-registry/#comments</comments>
		<pubDate>Sat, 16 May 2009 22:46:43 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=99</guid>
		<description><![CDATA[I had the difficult task to reorganise a medium network in a factory. Inbetween all the operations i had to do i also had to rename all the computers in the network and organise them by departments. Now this wouldn&#8217;t be such a headache unless all the computers are in a linux domain. As you [...]]]></description>
			<content:encoded><![CDATA[<p>I had the difficult task to reorganise a medium network in a factory. Inbetween all the operations i had to do i also had to rename all the computers in the network and organise them by departments. Now this wouldn&#8217;t be such a headache unless all the computers are in a linux domain. As you probably know when joining a domain, every computer gets a &#8220;computer account&#8221;. If you want to rename the computer you have to disconect the computer from the domain, reboot it, rename the computer, reboot it again, re-join the domain and reboot again to be able to login and have the new computer running in the domain again. This really sucks when you have to deal with 50 computers or more. Here&#8217;s the solution i found to do this.</p>
<p><strong>REMEMBER! THIS WORKS WITH A LINUX SAMBA DOMAIN running with a TDBSAM Backend, If you have a WINDOWS DOMAIN or a LINUX DOMAIN with LDAP BACKEND this WON&#8217;T WORK !!!! Also this howto was only tested with WINDOWS XP. I don&#8217;t know if it&#8217;ll work in vista but i think it should.<br />
</strong></p>
<p>First of all you have to login to the computer with a local administrative account ( eg. Administrator ).</p>
<p>Go to -&gt; Start -&gt; run &gt; and type <em><strong>regedit</strong></em>.</p>
<p>Go to this key: <strong>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName]</strong></p>
<p>Under Computer Name you&#8217;ll have 2 subfolders: <strong>ActiveComputerName </strong>and <strong>ComputerName</strong>, and in the 2 subfolders you&#8217;ll see the <strong>key ComputerName</strong> with the <strong>value </strong>being your current computer name. Change both of these values to the new name you want for your machine.</p>
<p>Reboot. ( this is the only time you need to reboot ).</p>
<p>Go to your linux domain controler and search for the <strong>smbpasswd </strong>file. This file stores both the computer and user accounts. Find your old computer&#8217;s name in this file. It should look something like this :</p>
<p><em><strong>GKOO$:1396:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:578E3D23GF5C1AA7588D3295281282EB:[W          ]:LCT-00000000:</strong></em></p>
<p>Change it&#8217;s name to the new name you assigned previously to your windows machine. Be sure to keep the $ mark at the and of the name ( the $ sign means this account is a machine account not a user account ) and also all the other numbers following your computer name.</p>
<p>Next create a machine account on your linux box with the new computer name:</p>
<p><em><strong>useradd -s /bin/false -d /dev/null gkoonew$ </strong></em> ( remember to always attach the $ sign to your machine account name ).</p>
<p>That&#8217;s it you should now be able to login to your domain with the new computer name. If you can&#8217;t watch the samba logs, they&#8217;ll tell you a lot. Also you can remove the old machine account from your linux users database to keep things more organised.</p>
<p>Good luck, GKoo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/05/howto-rename-a-samba-domain-member-computer-from-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Password Prompt Timeout</title>
		<link>http://www.ithowto.ro/2009/05/ssh-password-prompt-timeout/</link>
		<comments>http://www.ithowto.ro/2009/05/ssh-password-prompt-timeout/#comments</comments>
		<pubDate>Thu, 07 May 2009 09:48:59 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=97</guid>
		<description><![CDATA[When try-ing to ssh into a linux server from a machine that doesn&#8217;t have reverse dns setup you might fall intro the situation where your ssh connection times-out befor you get the password prompt. In this case, on the server, in sshd_config add the following line to solve your issue: UseDNS no]]></description>
			<content:encoded><![CDATA[<p>When try-ing to ssh into a linux server from a machine that doesn&#8217;t have reverse dns setup you might fall intro the situation where your ssh connection times-out befor you get the password prompt.</p>
<p>In this case, on the server, in <strong>sshd_config</strong> add the following line to solve your issue:</p>
<p><em><strong>UseDNS no</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/05/ssh-password-prompt-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: force umount a busy device in linux</title>
		<link>http://www.ithowto.ro/2009/04/howto-force-umount-a-busy-device-in-linux/</link>
		<comments>http://www.ithowto.ro/2009/04/howto-force-umount-a-busy-device-in-linux/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 14:44:01 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[force]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[umount]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=90</guid>
		<description><![CDATA[Here&#8217;s how : When you try to umount the regular way, if a device is busy you&#8217;ll get the following : dev:/# umount /dev/sda1 umount2: Device or resource busy umount: /boot: device is busy This can be solver very easy by entering this : dev:/# umount -l /dev/sda1]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how :</p>
<p>When you try to umount the regular way, if a device is busy you&#8217;ll get the following :</p>
<p><em><strong>dev:/# umount /dev/sda1</strong><br />
umount2: Device or resource busy<br />
umount: /boot: device is busy</em></p>
<p>This can be solver very easy by entering this :</p>
<p><strong><em>dev:/# umount -l /dev/sda1</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/04/howto-force-umount-a-busy-device-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Useful iproute2 comands in linux</title>
		<link>http://www.ithowto.ro/2009/03/useful-iproute2-comands-in-linux/</link>
		<comments>http://www.ithowto.ro/2009/03/useful-iproute2-comands-in-linux/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 19:02:12 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[ip route]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=85</guid>
		<description><![CDATA[While reading the Link Advanced Routing and Trafic Control howto i decided to extract a list of useful commands, in case i forget them later. I&#8217;ve posted them here for whoever finds&#8217;em useful. ip link show - shows the available interfaces on your machine ip address show &#8211; shows the IP addresses attached to your [...]]]></description>
			<content:encoded><![CDATA[<p>While reading the Link Advanced Routing and Trafic Control howto i decided to extract a list of useful commands, in case i forget them later. I&#8217;ve posted them here for whoever finds&#8217;em useful.</p>
<p><strong>ip link show </strong>- shows the available interfaces on your machine</p>
<p><strong>ip address show</strong> &#8211; shows the IP addresses attached to your interfaces.</p>
<p><strong>ip route show</strong> &#8211; shows the available routes on your machine.</p>
<p><strong>ip neigh show</strong> &#8211; shows the current information in your ARP cache.</p>
<p><strong>ip rule</strong> &#8211; shows the routing tables active on yout machine.</p>
<p><strong>ip route list table </strong><em>table_name</em> &#8211; lists the rules available in a specific table</p>
<p><strong>ip rule add from</strong> <em>10.0.0.1</em> <strong>table </strong><em>table_name</em> &#8211; adds a new rule in the <em>table_name</em> table.</p>
<p><strong>ip route add default via </strong><em>200.100.50.25</em><strong> dev </strong><em>eth0</em><strong> table </strong><em>table_name</em> &#8211; adds a default route on a specific table.</p>
<pre class="SCREEN"><a name="LARTC.RPDB.SIMPLE">
</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/03/useful-iproute2-comands-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTo: Test the link on your network cards in linux</title>
		<link>http://www.ithowto.ro/2009/03/howto-test-the-link-on-your-network-cards-in-linux/</link>
		<comments>http://www.ithowto.ro/2009/03/howto-test-the-link-on-your-network-cards-in-linux/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 16:17:08 +0000</pubDate>
		<dc:creator>gkoo</dc:creator>
				<category><![CDATA[linux administration]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.ithowto.ro/?p=83</guid>
		<description><![CDATA[If you work remote and want to test if the link is up or not on your linux interfaces use mii-tool. If the thing is not already installed on your machine, if you run debian simply use apt-get install mii-tool . After the tool in installed just type mii-tool in your console. Example: server1:~# mii-tool [...]]]></description>
			<content:encoded><![CDATA[<p>If you work remote and want to test if the link is up or not on your linux interfaces use <strong>mii-tool</strong>.</p>
<p>If the thing is not already installed on your machine, if you run debian simply use <strong>apt-get install mii-tool</strong> . After the tool in installed just type mii-tool in your console.</p>
<p>Example:</p>
<p>server1:~# mii-tool<br />
eth0: negotiated 100baseTx-FD flow-control, link ok<br />
eth1: negotiated 100baseTx-FD, link ok<br />
eth2: negotiated 100baseTx-FD, link ok<br />
eth3: negotiated 100baseTx-FD, link ok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ithowto.ro/2009/03/howto-test-the-link-on-your-network-cards-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

