Babar Haq

Saturday, August 07, 2010

Download torrents using command line in linux

I have been using btdownload-curses for some time to download torrents form linux command line. Recently for some reason it kept failing. Upon investigation I found out that rtorrent is a much better option. In ubuntu installing it is as simple as sudo apt-get install rtorrent.

Had some problems installing it in CentOS 5.5. Finally I found a couple of rpms which could save you the headache. Get the rpms. For some reason I couldn't install them directly using rpm command.

wget http://packages.sw.be/libsigc++20/libsigc++20-2.0.17-1.el5.rf.i386.rpm
wget http://packages.sw.be/libtorrent/libtorrent-0.12.5-1.el5.rf.i386.rpm
wget http://packages.sw.be/rtorrent/rtorrent-0.8.6-2.el5.rf.i386.rpm

Install them using rpm -Uvh in the same order as above.

Labels:

TPLINK TLWN321G on CentOS 5.5

Recently I had to attach the above USB wireless dongle to a CentOS 5.5 machine. It works out of the box for ubuntu as I mentioned here.

For CentOS 5.5 here is what I did to make it work. Got the information from here.

Installed elrepo repository:
rpm -Uvh http://elrepo.org/elrepo-release-0.1-1.el5.elrepo.noarch.rpm

Imported its GPG key
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org

Install driver
yum --enablerepo=elrepo install rt73usb-firmware

Now we need to disable the default network service for centos
chkconfig network off
chkconfig wpa_supplicant off

Let NetworkManager take care of the network
chkconfig NetworkManager on

Reboot. Now move your mouse over the network manager applet in the task bar and you should be able to see a list of all available wireless networks.

Labels: