Archive for the ‘Software’ Category

NTLM authentication proxies

continuing from the last post. If your network is all Windows based, then using the tricks mentioned in the previous post are of no use to you. That’s because Windows servers use NTLM authentication. It’s different from normal authentication, in the sense of a user, you won’t be able to use Linux happily on a network with that kind of authentication scheme. You need to keep an eye on how to use this tip to your benefits.

You need this to create your very own NTLM workaround proxy server. It’s called NTLM Authorization Proxy Server.

Setps for those-who-don’t-know-and-want-to-learn

  1. Download the NTLMAPS script.
  2. Download python.
  3. Unzip the NTLMAPS zip file and install python.
  4. Configure(edit and save) the server.cfg (read below).
  5. Double click on runserver.bat

voila, you see a console!

Configuring the server.cfg

You will need to modify these variables in the config file named “server.cfg” according to your network needs

LISTEN_PORT:5865

PARENT_PROXY:your_parentproxy

PARENT_PROXY_PORT:8080

NT_DOMAIN:your_domain

USER:username_to_use

PASSWORD:your_nt_password

And these variables if you need, normally they won’t require a change, but you might need to.

LM_PART:1

NT_PART:0

SCR_DEBUG:0

ALLOW_EXTERNAL_CLIENTS:0

FRIENDLY_IPS:

For me the configuration looks like

LISTEN_PORT:4000

PARENT_PROXY:10.100.56.45

PARENT_PROXY_PORT:3128

NT_DOMAIN:your_domain

USER:200301001

PASSWORD:

LM_PART:1

NT_PART:0

SCR_DEBUG:0

ALLOW_EXTERNAL_CLIENTS:0

FRIENDLY_IPS:10.100.90.90 10.100.96.69

Note, if you don’t fill in the password, it will automatically ask when you run the “runserver.bat” file.

So now it’s all done, tell me if you use it successfully, or failed at it miserably!


DarK is a Sony Vaio user who cannot learn enough about networks. He hates his laptop and loves it at the same time. You can catch him on twitter at http://twitter.com/abhishekchhajer

Share this post :

How to make your Linux applications use proxy

Hi,

If you are frustrated by Linux and your college’s network, which is windows based or sysadmins can help you with windows only, and sysadmins for a request call, replies as “use Windows”. If you are in a university then I am sure they use that damned( or good) software called as proxy (squid proxy to be specific). And you are a linux newbie then, here are some quick tips for you.

TIP # 1

You want your download manager (wget), updates by apt or aptitude to use a http proxy, you can type

export http_proxy=http://user:password@proxy:port/

or

export http_proxy=http://proxy:port/

Things to note here are

  • Type the command as it is, don’t leave unnecessary spaces.
  • Username/password is the username and password you use to access the proxy, that is the same password which you type when you access internet using a web-browser. If you don’t use one, then use the second version of the command
  • Proxy and port are the values that are the same as used in your web-browser, or you can ask check them out with your sysadmin, or anyone who has a working internet on the same network.

After you do this you can use apt or aptitude and it will use the http proxy you specified!


TIP # 2
For GNOME users : GNOME allows users to specify a proxy from a GUI, which you can find in

Preferences –> Network Proxy

It also allows you to specify username/password, by clicking on “Details”


TIP # 3
Using socks proxy with evolution (the e-mail client)You need a package named tsocks

sudo apt-get install tsocks

for Ubuntu users

or you can download it from here, http://tsocks.sourceforge.net

then just type

tsocks evolution

you might want to read the man page for configurations too.

So, that’s it. I hope it makes your life a little easier with Linux on network. Tell us about your experiences of using Linux behind proxies. Remember google search is your best resource!

DarK is a Linux newbie who is frustrated by network admins across India. His recent project is installing Linux-from-scratch. He is the How to’s master here!

Share this post :

Humanized Enso.. Err.. ?

For those who are a fan of yakuake terminal on GNU/Linux systems, Humanized has something serious to offer for windows platform with Enso. Although the program seems fairly simple it works wonders for those who don’t want to move their hands off the keyboard, especially the laptop users. Before going in the details I must specify, that few of the things that Enso provides you can be implemented by Windows terminal, but the program has more to it.

Walt Mossberg of the Wall Street Journal explains:

Enso is dead simple to use. You just hold down the Caps Lock key and type an Enso command, which is displayed in a translucent overlay. Once the command is typed, you simply release the Caps Lock key to activate it, and the overlay disappears. If you type fast, it all happens in a flash. For instance, to launch the Firefox Web browser, you just hold down the Caps Lock key and type “open firefox.” To look up the meaning of the word “proclivity,” you just hold down the Caps Lock key and type “define proclivity.”

A simple example is this

The program can be configured to open the programs you want, with the tag you want. Like by default firefox opens with “mozilla firefox” but i prefer “firefox” over default. Enso gets it’s initial list of programs through your start menu, so after install you are good to go.

Using the single “CAPS LOCK” key they offer

Enso Map Anywhere v0.1

Easily add maps to your documents and emails, and look up phone numbers and addresses.

Enso Media Remote Control v0.2

A remote-control for your music: Play, pause, and skip tracks in your favorite music player from any application.

Enso Web Search Anywhere v0.1

Provides commands for performing web searches using a variety of web services, from Amazon to Youtube to your Gmail account.

Enso Translate Anywhere v0.1.1

The power to translate English to and from eight other languages. In any application.

Enso TeX Anywhere v0.1

Effortlessly render TEX markup into beautifully type-set equations (and convert them back again) everywhere from Powerpoint to Gmail.

So for all the touch typing enthusiasts, try this application out. I bet you won’t be disappointed.

Blogged with Flock

Tags: , ,

Adding Social Bookmarking Tags had never been so easy!

I was already quite impressed by Live Writer. But to add to my excitement, I just found a great plugin for it to ease my blogging experience.

Previously we used to manually add Social Bookmarking tags in our blog posts, so that the user can share the posts on their favorite online bookmark sharing site. Since our blog is hosted on a free blogging site “WordPress.com”, modification of source code is not possible and we cannot add code which can auto generate these tags for every blog post.

Thanks to a plugin called “Insert Bookmarking Tags!” I will tell you how to add these tags on a free blogging service provider like “wordpress”, “blogger” etc. (all blogging services which Live Write supports)

Follow these steps.

1. Get Live Writer and configure your blog in it.

2. Get the plugin and rest of instruction from here.

3. To get More Live Writer plugins, just click on “+Add a Plugin…” in your right pane of Live Writer.

4. Happy Blogging!

To know how the inserted bookmaking tags will look, see the bottom of this post.

To other Authors of Gurus: I am inserting the following set of bookmarking sites in all my blogpost. You can choose a different set if you want.

  • del.icio.us
  • digg
  • live
  • technocrati
  • yahoo

Share this post :

Get your desktop E-Mail client ready for free IMAP for GMail – What does GMail IMAP change


OK, I have it enabled now. Free IMAP for GMail. But first for those who don’t know what IMAP is, go to this link . How is IMAP any different from POP3, or wait what I am talking about. I have this small FAQ for newbies.

Q. What is POP3/IMAP?

A. To simplify this, they are mail accessing protocols which are used by your Desktop E-mail Client.

Q. What is a protocol?

A. From wikipedia “A Protocol is a set of guidelines or rules that help in governing an operation on the internet and communications over it” . Simply put it’s a way to communicate over internet.

Q. What is a desktop e-mail client.

A. An e-mail client is a computer program used to manage e-mail. Few examples are

Linux : Mozilla Thunderbird, Evolution, KMail, Pine, Mutt (pine and mutt are console based)

Windows : Mozilla Thunderbird, Outlook Express (not free), Microsoft Outlook (comes as a part of Windows), Windows Mail (comes in windows Vista)

PS : This is by no means the whole list of E-mail Client available. This is just the list of client I have used in the past, and in the order of my liking.

Q. What is an E-Mail?

A. Seriously man, stop reading this! 😛 Anyways. Read this for information about E-Mail

Ok, so now we are out of the viscious cycle of jargons, lets come to the point. GMail has added IMAP service to their currently 4.4GB E-mail inbox. How does this matter to you. Well if you have a E-mail account with services like Yahoo or Hotmail, I can say IMAP wins over almost every service they have to offer.

Q. How? ( You can say to me, you dumb ##$##@$, that BIG editor gave Yahoo a better score than GMail!)

A. How does IMAP change your life. Well in simple terms, you might never need to open the web browser for any of your emailing needs. Is that big? Well lets add this to the list, unlike POP3, you can use multiple E-Mail clients at the same time on the same account. It means you can receive the same e-mail on your PDA, Laptop, Desktop and if you mark it as read on one of them, it will be marked read in all of them, it keeps everything in sync. You will love this feature if you have a history of using POP3 and the mails once downloaded and read are again marked unread once you shift to some other computer.

Q. I still don’t get it, how does it makes GMail any better?

A. Well any standard IMAP client can be configured to

  • Run in system tray, without take any place in the tasks list
  • Check one or more, e-mail accounts simultaneously
  • Check the accounts after a fixed interval, again and again and again, so that you don’t have to
  • Notify in case you get a mail

Q. Still doesn’t makes any sense to me!

A. Using and e-mail service with IMAP access (like GMail) and a desktop client you can send/receive your e-mail (with attachments) from your desktop without using a browser, and you will be notified of new mails automatically.

Q. Why is your english so bad!

A. I am working on it 😦

Q. So I what do I do now?

A. I’ll suggest create an account on GMail and see it working first hand.

This what IMAP changes for me and many other GMail users, although Google might have big plans with this offering !!!