<?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>SHOCM &#187; Pidgin</title>
	<atom:link href="http://www.shocm.com/tag/pidgin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shocm.com</link>
	<description>Open Source, Cloud, Development, Scotch, Baseball, and Family</description>
	<lastBuildDate>Thu, 01 Jul 2010 23:43:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Problems getting Pidgin to connect to Yahoo Messenger</title>
		<link>http://www.shocm.com/2009/07/problems-getting-pidgin-to-connect-to-yahoo-messenger/</link>
		<comments>http://www.shocm.com/2009/07/problems-getting-pidgin-to-connect-to-yahoo-messenger/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 20:06:26 +0000</pubDate>
		<dc:creator>Shocm</dc:creator>
				<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.shocm.com/?p=451</guid>
		<description><![CDATA[Update: @nanderoo on Twitter informed me the latest release of Pidgin addressed the Yahoo issue and in fact if you go to the Pidgin site there is a message &#8220;Yahoo issues are fixed in 2.5.8.&#8221; I&#8217;ll keep my post up for future reference but it doesn&#8217;t look like its needed anymore. Have had a couple [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2009%2F07%2Fproblems-getting-pidgin-to-connect-to-yahoo-messenger%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2009%2F07%2Fproblems-getting-pidgin-to-connect-to-yahoo-messenger%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><strong><em>Update</em></strong><em>: @</em><a style="text-decoration: none; color: #0084b4; padding: 0px; margin: 0px;" title="Neal Anders" hreflang="en" href="http://twitter.com/nanderoo"><em>nanderoo</em></a><em> on Twitter </em><a href="http://twitter.com/nanderoo/status/2455252329"><em>informed me</em></a><em> the latest release of Pidgin addressed the Yahoo issue and in fact if you go to the </em><a href="http://www.pidgin.im/"><em>Pidgin site</em></a><em> there is a message &#8220;Yahoo issues are fixed in 2.5.8.&#8221; I&#8217;ll keep my post up for future reference but it doesn&#8217;t look like its needed anymore. </em></p>
<p>Have had a couple friends come to me and tell me they&#8217;ve been having a problem getting Pidgin to connect to the Yahoo service. I don&#8217;t typically use Pidgin but fired up my Pidgin and confirmed there was a problem connecting to Yahoo. I was outside any corporate firewalls which help narrow down what the problem could be. Didn&#8217;t have a problem logging into my Yahoo service using other IM clients like Adium so the problem wasn&#8217;t the account.</p>
<p>Did a little digging and found an old post talking about how you needed to configure the &#8220;Yahoo Pager Server&#8221; in Pidgin using an IP address instead on the URL of scs.msg.yahoo.com. The Pager Service can be found on the Accounts Screen-&gt;Yahoo Instance -&gt;Edit Account-&gt;Advance Tab.</p>
<p>I ran the command <code>host scs.msg.yahoo.com</code> and got all the IP addresses associated with that URL and did a check on the IP address I had configured and it was no longer in the list. I played around and replaced the IP address I had with a new one from the current list. Pidgin seems to like the new IP and stopped giving me the message that it was unable to connect to service but still didn&#8217;t display my buddy list. As good measure I shut down Pidgin and restarted it and everything seems good now. Connect to Yahoo service again and able to access my Buddy List. Hope this works for you too.<br />
<img class="size-full wp-image-453 alignnone" title="Pidgin Advance Yahoo" src="http://www.shocm.com/wp-content/uploads/2009/07/Screenshot-1.jpg" alt="Pidgin Advance Yahoo" width="449" height="507" /></p>
<p>Here is the last output I got when I the command;<br />
<code><br />
$ host scs.msg.yahoo.com<br />
scs.msg.yahoo.com has address 76.13.15.33<br />
scs.msg.yahoo.com has address 76.13.15.34<br />
scs.msg.yahoo.com has address 76.13.15.35<br />
scs.msg.yahoo.com has address 76.13.15.36<br />
scs.msg.yahoo.com has address 76.13.15.37<br />
scs.msg.yahoo.com has address 68.180.217.6<br />
scs.msg.yahoo.com has address 68.180.217.7<br />
scs.msg.yahoo.com has address 68.180.217.8<br />
scs.msg.yahoo.com has address 68.180.217.9<br />
scs.msg.yahoo.com has address 68.180.217.10<br />
scs.msg.yahoo.com has address 68.180.217.11<br />
scs.msg.yahoo.com has address 68.180.217.12<br />
scs.msg.yahoo.com has address 68.180.217.13<br />
scs.msg.yahoo.com has address 68.180.217.14<br />
scs.msg.yahoo.com has address 76.13.15.29<br />
scs.msg.yahoo.com has address 76.13.15.30<br />
scs.msg.yahoo.com has address 76.13.15.31<br />
scs.msg.yahoo.com has address 76.13.15.32<br />
scs.msg.yahoo.com mail is handled by 0 .<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2009/07/problems-getting-pidgin-to-connect-to-yahoo-messenger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Killing IM with killall and taskkill</title>
		<link>http://www.shocm.com/2008/10/killing-im-with-killall-and-taskkill/</link>
		<comments>http://www.shocm.com/2008/10/killing-im-with-killall-and-taskkill/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 03:44:29 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Adium]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Trillian]]></category>

		<guid isPermaLink="false">http://www.vanjohnson.com/?p=242</guid>
		<description><![CDATA[I&#8217;ve stated before how I am fortunate to be in a position where I typically work on a Linux, OSX, and Windows desktops on regular basis. Depending on what I am doing and my location I might spend a good amount of time on any of these systems. For the most part, my life style [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F10%2Fkilling-im-with-killall-and-taskkill%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.shocm.com%2F2008%2F10%2Fkilling-im-with-killall-and-taskkill%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.shocm.com/wp-content/uploads/2008/10/imclients.png" rel="lightbox[480]"><img class="alignleft size-medium wp-image-249" title="imclients" src="http://www.shocm.com/wp-content/uploads/2008/10/imclients.png" alt="" width="76" height="82" /></a>I&#8217;ve stated before how I am fortunate to be in a position where I typically work on a Linux, OSX, and Windows desktops on regular basis. Depending on what I am doing and my location I might spend a good amount of time on any of these systems. For the most part, my life style makes this pretty easy. I live in &#8220;the cloud&#8221; a lot for things like email and even documents. I keep things standard complaint and use tools that are typically cross-platformed or have counterparts on other platforms. This has afforded me some great freedoms and have allowed me to unchain myself and not be too dependent on any one solution. Instead my life has become one of preference and knowledge.</p>
<p>However, with everything there has always been pain points, one for me has been IM. While yes, it no longer matters which platform I am on at any given time I am still able to access my Yahoo, AIM, MSN, Gtalk accounts, the issue comes into play when I move from one machine to another and forget to sign out of IM on the previous machine. Some of the IM services alert you when you are logged onto one accounts from multiple systems and allows you to decide what to do, like AIM which gives you an option to send it a command to log you out of your previous session. Some just don&#8217;t care, like Gtalk which doesn&#8217;t seem to be concerned with how many times and from how many locations you are logged in, I don&#8217;t particularly like this approach. Then there are services like Yahoo that just get upset and decides to log you out from one of your accounts, couple that with IM clients that battle to keep their connection like Trillian and you can end up in a situation where you can&#8217;t log into your account because another is already logged in and wont let go.</p>
<p>I&#8217;ve come up with a few approaches that have made this situation somewhat manageable. On my Linux and OSX box this is pretty simple, there is a command line command called &#8216;<a href="http://en.wikipedia.org/wiki/Killall">killall</a>&#8216; that comes to the rescue. With the line &#8216;killall pidgin&#8217; or &#8216;killall Adium&#8217; my IM clients on Linux and OSX respectively, end. Add the ability to ssh into these systems and if I forget to log out I simple do a quick ssh connection to these boxes, run my command and I am done. Furthermore, I typically have a good idea when I wont be at those computers, so with that information and the killall command, I am able to add <a href="http://www.crontab.org/">crontab</a> entries to automatically run my command. So for example, I know at 3AM I don&#8217;t want to be up IM&#8217;ing with anyone so I run that command at that time in case I left my IM client running before going to bed. I also know Monday through Friday I am typically at work and in my office around 8AM so I run that command on my home systems at that time too in case I left the house without logging out. The command ends up looking like this in crontab, <code>00      03,08        *       *       *       /usr/bin/killall Adium &gt; /dev/null 2&gt;&amp;1</code> Worse case scenario, I ssh back to the system and manually run the command. Its a great system and works like a charm.</p>
<p><a href="http://www.shocm.com/wp-content/uploads/2008/10/terminalscreensnapz001.jpg" rel="lightbox[480]"><img class="aligncenter size-medium wp-image-247" title="terminalscreensnapz001" src="http://www.vanjohnson.com/wp-content/uploads/2008/10/terminalscreensnapz001-300x27.jpg" alt="" width="300" height="27" /></a></p>
<p>At work the story is a little different. First off, the system I run IM on is a Windows machine which doesn&#8217;t have the cool ability to just SSH to and even if I did install an SSH server on the machine it is located behind a corporate firewall so I wouldn&#8217;t be able to get it anyways from the outside. I do have the ability to log in via VPN but that is a lot of work to log into the corporate VPN and RDP to my desktop just to turn off an IM client. Windows also doesn&#8217;t really have crontab, it does have a &#8220;scheduler&#8221; which acts kind of acts like crontab but that coupled with the fact that Windows doesn&#8217;t really have the same powerful command line tools that Linux and OSX have makes this simple task a little tougher to accomplish.<br />
<span id="more-480"></span><br />
I have come up with a solution however,  there&#8217;s a command on my Windows XP called &#8216;<a href="http://technet.microsoft.com/en-us/library/bb491009.aspx">taskkill</a>&#8216;, I am not sure if this command is available on all Windows platform but it is on mine so I use it. Now with this command, I am able to write a small <a href="http://en.wikipedia.org/wiki/Batch_file">batch file</a> that has the one line in it like this <code>taskkill /f /im trillan.exe</code>. When ran this behaves very much like killall on my other machines. I then use the Windows built in scheduler to run this batch file every day, Monday through Friday, at 6:30 PM because if I am still at work at this time, I am done talking to people and need to finish up work and get home. Now for whatever reason, this doesn&#8217;t always work or maybe I leave work early and need to get on IM at home. Because of the before mention firewall issue, its not as easy as just SSH to the box and running the command manually. So I had to come up with a solution to reach into my computer at work from outside to kill my IM if needed. To do this I created an Outlook rule. Since I almost always run Outlook 100% of the time when my work laptop is on, so Outlook seemed like the best vehicle for this effort.</p>
<p>To accomplish this, in Outlook I&#8217;ve defined a rule that looks for emails from specific senders (for example my personal email address), looks for a specific subject line (like &#8220;Turn off IM&#8221;), and checks for something special in the body (example &#8220;Trillian&#8221;). If all these conditions are meant, then it runs my aforementioned batch job and kills Trillian.</p>
<p>That&#8217;s about it, that&#8217;s how I manage my IM needs that run of various different OS in various different environment during various different times and allows me to stay unchained, mobile, and free. Hope you found some of this information helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shocm.com/2008/10/killing-im-with-killall-and-taskkill/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
