<?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>modern-geek.com &#187; linux</title>
	<atom:link href="http://modern-geek.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://modern-geek.com</link>
	<description>networking, linux, misc</description>
	<lastBuildDate>Sat, 25 Feb 2012 14:03:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Open ssh and telnet from firefox</title>
		<link>http://modern-geek.com/2012/02/24/open-ssh-and-telnet-from-firefox/</link>
		<comments>http://modern-geek.com/2012/02/24/open-ssh-and-telnet-from-firefox/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 11:50:24 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=520</guid>
		<description><![CDATA[How to open telnet/ssh sessions from firefox with putty? Simply add following script as application under Edit &#8211; Preferences &#8211; Applications. #!/usr/bin/perl # parse URL ($protocol,$host) = split /:\/\//, $ARGV[0]; ($host,$port) = split /:/, $host; # validate input if ( $protocol !~ /^(telnet&#124;ssh)$/ &#124;&#124; $host !~ /^[a-zA-Z0-9][a-zA-Z0-9.-]*$/ &#124;&#124; $port !~ /(^[a-zA-Z0-9][a-zA-Z0-9_-]*$&#124;^$)/ ) { warn "Invalid [...]]]></description>
			<content:encoded><![CDATA[<p>How to open telnet/ssh sessions from firefox with putty? Simply add following script as application under Edit &#8211; Preferences &#8211; Applications.</p>
<pre style="padding-left: 30px;"><strong>#!/usr/bin/perl</strong>
<strong># parse URL</strong>
<strong> ($protocol,$host) = split /:\/\//, $ARGV[0];</strong>
<strong> ($host,$port) = split /:/, $host;
</strong><strong># validate input
</strong><strong> if ( $protocol !~ /^(telnet|ssh)$/ ||
</strong><strong> $host !~ /^[a-zA-Z0-9][a-zA-Z0-9.-]*$/ ||
</strong><strong> $port !~ /(^[a-zA-Z0-9][a-zA-Z0-9_-]*$|^$)/ ) {
</strong><strong> warn "Invalid URL";
</strong><strong> exit 1;
</strong><strong> }
</strong><strong># if SSH, add -p argument
</strong><strong> if ( $protocol eq "ssh" &amp;&amp; $port != '' ) { $port = "-p $port" ; }
</strong><strong># call terminal emulator
</strong><strong> exec("putty -$protocol $host $port");
</strong><strong> exit;
</strong></pre>
<p>Script taken and modified from <a href="http://www.tolaris.com/2010/08/23/enabling-telnet-and-ssh-urls-in-firefox-for-linux/" target="_blank">tolaris</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2012/02/24/open-ssh-and-telnet-from-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rogue DHCP in your network</title>
		<link>http://modern-geek.com/2012/02/17/rogue-dhcp-in-your-network/</link>
		<comments>http://modern-geek.com/2012/02/17/rogue-dhcp-in-your-network/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 09:09:29 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=515</guid>
		<description><![CDATA[atpitude install dhcp_probe become root! dhcp_probe -f -o /home/user/dhcp.pcap eth0 or search in vlans! dhcp_probe -f -o /home/user/dhcp.pcap eth0 -Q &#60;vlan-id&#62;]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;">atpitude install dhcp_probe<br />
become root!<br />
dhcp_probe -f -o /home/user/dhcp.pcap eth0</p>
<p style="padding-left: 30px;">or search in vlans!</p>
<p style="padding-left: 30px;">dhcp_probe -f -o /home/user/dhcp.pcap eth0 -Q &lt;vlan-id&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2012/02/17/rogue-dhcp-in-your-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I keep forgetting</title>
		<link>http://modern-geek.com/2011/10/24/i-keep-forgetting/</link>
		<comments>http://modern-geek.com/2011/10/24/i-keep-forgetting/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 12:40:40 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=511</guid>
		<description><![CDATA[yum whatprovides &#60;name-of-the-file&#62;  ]]></description>
			<content:encoded><![CDATA[<p>yum whatprovides &lt;name-of-the-file&gt;   <img src='http://modern-geek.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2011/10/24/i-keep-forgetting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu natty 11.04 + iphone 3GS + tethering</title>
		<link>http://modern-geek.com/2011/08/12/ubuntu-natty-11-04-iphone-3gs-tethering/</link>
		<comments>http://modern-geek.com/2011/08/12/ubuntu-natty-11-04-iphone-3gs-tethering/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 13:03:38 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=507</guid>
		<description><![CDATA[works on maverick but not on natty? sound familiar? ubuntu screwed something up, but the solution is quite simple: sudo add-apt-repository ppa:pmcenery/ppa sudo aptitude update &#38;&#38; sudo aptitude install  gvfs ipheth-dkms ipheth-utils works like a charm]]></description>
			<content:encoded><![CDATA[<p>works on maverick but not on natty? sound familiar? ubuntu screwed something up, but the solution is quite simple:</p>
<p style="padding-left: 30px;">sudo add-apt-repository ppa:pmcenery/ppa<br />
sudo aptitude update &amp;&amp; sudo aptitude install  gvfs ipheth-dkms ipheth-utils</p>
<p>works like a charm <img src='http://modern-geek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2011/08/12/ubuntu-natty-11-04-iphone-3gs-tethering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iphone + Virtualbox + linux</title>
		<link>http://modern-geek.com/2011/08/12/iphone-virtualbox-linux/</link>
		<comments>http://modern-geek.com/2011/08/12/iphone-virtualbox-linux/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 10:25:22 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=504</guid>
		<description><![CDATA[finally I managed to update my iphone via virtualbox! itunes version: 10.4.0.80 virtualbox version:  4.0.6-71344]]></description>
			<content:encoded><![CDATA[<p>finally I managed to update my iphone via virtualbox!<br />
itunes version: 10.4.0.80<br />
virtualbox version:  4.0.6-71344</p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2011/08/12/iphone-virtualbox-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux packet managers commands</title>
		<link>http://modern-geek.com/2011/04/28/linux-packet-managers-commands/</link>
		<comments>http://modern-geek.com/2011/04/28/linux-packet-managers-commands/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 08:19:02 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=494</guid>
		<description><![CDATA[nicely put in one table &#8211; see equivalent commands for rpm, dpkg, emerge and pacman.]]></description>
			<content:encoded><![CDATA[<p>nicely put in <a href="http://wiki.openvz.org/Package_managers" target="_blank">one table</a> &#8211; see equivalent commands for rpm, dpkg, emerge and pacman.</p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2011/04/28/linux-packet-managers-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logging numbering scheme</title>
		<link>http://modern-geek.com/2011/02/08/logging-numbering-scheme/</link>
		<comments>http://modern-geek.com/2011/02/08/logging-numbering-scheme/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 13:35:54 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=478</guid>
		<description><![CDATA[Nice table @ linux home networking]]></description>
			<content:encoded><![CDATA[<p>Nice table @ <a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ap04_:_syslog_Configuration_and_Cisco_Devices" target="_blank">linux home networking</a></p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2011/02/08/logging-numbering-scheme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cisco .pcf to vpnc</title>
		<link>http://modern-geek.com/2010/11/03/cisco-pcf-to-vpnc/</link>
		<comments>http://modern-geek.com/2010/11/03/cisco-pcf-to-vpnc/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 08:54:12 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=472</guid>
		<description><![CDATA[to decrypt group password use online decrypter]]></description>
			<content:encoded><![CDATA[<p>to decrypt group password use online <a href="http://www.unix-ag.uni-kl.de/~massar/bin/cisco-decode?enc=c2FmdXZwbg%3D%3D+&amp;.submit=decode!" target="_blank">decrypter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2010/11/03/cisco-pcf-to-vpnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use your iphone/ipod with linux via virtualbox</title>
		<link>http://modern-geek.com/2010/06/29/use-your-iphoneipod-with-linux-via-virtualbox/</link>
		<comments>http://modern-geek.com/2010/06/29/use-your-iphoneipod-with-linux-via-virtualbox/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 10:04:01 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=465</guid>
		<description><![CDATA[Nice article @ krizka.net edit: new solution located here]]></description>
			<content:encoded><![CDATA[<p>Nice article @ <a href="http://www.krizka.net/2009/07/21/how-to-upgrade-iphoneipod-touch-to-os-3-0-with-linux-and-virtualbox/" target="_blank">krizka.net</a></p>
<p>edit: new solution located <a href="http://forums.virtualbox.org/viewtopic.php?f=1&amp;t=27611" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2010/06/29/use-your-iphoneipod-with-linux-via-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>locale error</title>
		<link>http://modern-geek.com/2010/06/04/locale-error/</link>
		<comments>http://modern-geek.com/2010/06/04/locale-error/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 10:45:42 +0000</pubDate>
		<dc:creator>tini</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://modern-geek.com/?p=455</guid>
		<description><![CDATA[If you&#8217;re here, then you had problem like this: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = &#8220;hr_HR.UTF-8&#8243;, LANG = &#8220;en_US.UTF-8&#8243; are supported and installed on your system. perl: warning: Falling back to the standard locale (&#8220;C&#8221;). locale: Cannot set LC_ALL to [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;">
<div id="_mcePaste">If you&#8217;re here, then you had problem like this:</div>
<div style="padding-left: 30px;">perl: warning: Setting locale failed.</div>
<div id="_mcePaste" style="padding-left: 30px;">perl: warning: Please check that your locale settings:</div>
<div id="_mcePaste" style="padding-left: 30px;">LANGUAGE = (unset),</div>
<div id="_mcePaste" style="padding-left: 30px;">LC_ALL = (unset),</div>
<div id="_mcePaste" style="padding-left: 30px;">LC_TIME = &#8220;hr_HR.UTF-8&#8243;,</div>
<div id="_mcePaste" style="padding-left: 30px;">LANG = &#8220;en_US.UTF-8&#8243;</div>
<div id="_mcePaste" style="padding-left: 30px;">are supported and installed on your system.</div>
<div id="_mcePaste" style="padding-left: 30px;">perl: warning: Falling back to the standard locale (&#8220;C&#8221;).</div>
<div id="_mcePaste" style="padding-left: 30px;">locale: Cannot set LC_ALL to default locale: No such file or directory</div>
<p style="padding-left: 30px;">user@computer:~$ /usr/bin/locale<br />
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory<br />
LANG=en_US.UTF-8<br />
LC_CTYPE=&#8221;en_US.UTF-8&#8243;<br />
LC_NUMERIC=&#8221;en_US.UTF-8&#8243;<br />
LC_TIME=hr_HR.UTF-8<br />
LC_COLLATE=&#8221;en_US.UTF-8&#8243;<br />
LC_MONETARY=&#8221;en_US.UTF-8&#8243;<br />
LC_MESSAGES=&#8221;en_US.UTF-8&#8243;<br />
LC_PAPER=&#8221;en_US.UTF-8&#8243;<br />
LC_NAME=&#8221;en_US.UTF-8&#8243;<br />
LC_ADDRESS=&#8221;en_US.UTF-8&#8243;<br />
LC_TELEPHONE=&#8221;en_US.UTF-8&#8243;<br />
LC_MEASUREMENT=&#8221;en_US.UTF-8&#8243;<br />
LC_IDENTIFICATION=&#8221;en_US.UTF-8&#8243;<br />
LC_ALL=</p>
<div>Solution is quite simple:</div>
<p style="padding-left: 30px;">sudo /usr/sbin/locale-gen hr_HR.UTF-8<br />
sudo /usr/sbin/update-locale LANG=hr_HR.UTF-8</p>
]]></content:encoded>
			<wfw:commentRss>http://modern-geek.com/2010/06/04/locale-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

