Codes from my life

As our college has installed new proxy server, it has become difficult for people to use Linux. So I spent some time and then found out ways to resolve some problems.

SVN can be easily configured to work behind proxy. In your home directory search for the .subversion directory. If the directory does not exist, open a terminal type svn and hit enter the default configuration files will be created. As the name suggests it is a hidden directory. Inside it and there is a file name “servers”. All the proxy settings can be done here. Now notice the string “[global]”  which is at the last. Here you can do the necessary changes. Remove the hash “#” in front of http-proxy-host and http-proxy-port and align it to left, I mean delete any space because it looks for the settings from the first column. Now add the 10.0.0.1 and 3128 port no. After editing it should look like this

———————————————————–

## leave the lines above it untouched, it is always better to back up a configuration file before editing

[global]
# http-proxy-exceptions = *.exception.com, http://www.internal-site.org
http-proxy-host = 10.0.0.1
http-proxy-port = 3128
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# http-auth-types = basic;digest;negotiate
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
——————————————————–

Now it is done. Check if it works, it worked for me. If it still doesnot work set the http_proxy variable.

$export http_proxy=http://10.0.0.1:3128

Now check it.

$echo $http_proxy

It should show ‘http://10.0.0.1:3128’ .

Pidgin can be very easily configured for GTalk likewise,

Go to manage accounts, and select the account then go to the advanced tab. Check “Force old (port 5223) SSL. Then change the Connect port to 443. Now go to proxy options and then select HTTP and then set Host as 10.0.0.1 and port as 3128. You are now done. Enjoy. 🙂

Advertisements

Comments on: "Using SVN and Pidgin via(or behind) proxy" (6)

  1. It might be useful (for the readers of your blog) to mention the IM services (e.g. Y!, MSN, GTalk etc) that are readily accessible using Pidgin via the proxy. As often people may not be looking for pidgin via proxy rather via (or behind) a proxy. This way your post will better search engine optimized.

    Give it a thought if you like.

  2. You also need to specify the connect server as talk.google.com in the advanced tab of pidgin.
    At first, your method did not work for me (I was getting read errors) so I did some searching and found this link: http://ubuntuforums.org/showthread.php?t=847947 (pretty similar to yours), and this pointed me to what I was missing.

    Thanks a lot for the useful post.

    Can we pidgin to work with yahoo in the same way? If so please comment.

  3. I have a problem, connect yahoo using pidgin. I’ve tried change pager port to 20,23,80,443 (not default) and put proxy server, but still not work. Is there any solution?

  4. Varsha Jaikumar said:

    This is really a very useful information. But I am having problems configuring Pidgin to work as Yahoo messenger. How is that to be done? I mean what are the ports and other settings?

  5. ya actually i also tried a lot but could not succeed with yahoo messenger

  6. 11 сентября – оказывается День граненого стакана) с прошедшим!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: