Suramya's Blog : Welcome to my crazy life…

September 20, 2011

New Script Web2Email Released

Filed under: Linux/Unix Related,Software Releases,Tech Related — Suramya @ 2:47 AM

Just released Ver 0.1 of Web2Email. Web2Email is a Perl Script that allows the user to send a message with a list of URL’s to a special mail account and get back a snapshot of the websites as PDF files.

You can download it from Scripts.Suramya.com: Web2Email.

If you want a demo, send an email to: web2email@suramya.com with website URL’s in the email body (one per line) and after about 5 mins you will get an email with the snapshots of the sites listed as PDF files.

Update: The cron job running this on my machine is having issues, will fix it once I get back home and this should be back up again tonight.

Update (22nd Sep 2011): The project wasn’t the cron job, there is an issue with the version of wkhtmltopdf that is available in the Debian repo. Basically if you have both http & https images in a site it goes for a toss. The static built version should fix this issue but haven’t got the time to install and test. Till that is done the demo version will be on hold.

As always I would appreciated any feedback/suggestions you might have.

– Suramya

September 19, 2011

Trouble-Maker: Learn to fix computer issues

Filed under: Computer Software,Linux/Unix Related,Tech Related — Suramya @ 2:38 AM

This interesting app randomly breaks your system so you can learn how to fix it.

Haven’t tried it yet because as of now I only have one working Linux system at home, but as soon as I fix that I will be installing this on my secondary system. Once I do that I will log my experiences here.

You can download it from Trouble-Maker‘s site.

– Suramya

September 18, 2011

How to set different backgrounds for each desktop in KDE 4.6.5

Filed under: Computer Tips,Linux/Unix Related,Tech Related — Suramya @ 11:59 PM

I have talked about How to set different backgrounds for each desktop in KDE4 in a previous post. However in KDE 4.6.5 the previous steps no longer work, so posting the new steps to get different backgrounds in KDE:

  • Click on the ‘Start Menu’ (The K at the bottom Right of the screen)
  • Click on ‘System Settings’ under the Settings menu
  • Double Click on the ‘Workspace Behavior’ under the “Workspace Appearance and Behavior” section
  • Check the “Different widgets for each desktop”
  • Click Apply

That’s it. Now you can change the wallpaper by Right clicking on the desktop and selecting ‘Desktop Settings’. Its good to know that the KDE Developers paid attention to complaints that the users made about their software and addressed it.

– Suramya

September 17, 2011

All of suramya.com now migrated to new layout

Filed under: Website Updates — Suramya @ 5:24 AM

As promised, I have updated the entire Suramya.com site except the Photogallery to use the new website layout/theme. This will make life simpler for me when I update (and yes I will be added new content semi-regularly once again) and make the site look a lot better.

For the Photogallery I might use the Gallery software to host the photos, but haven’t decided yet. Since that will take some work on my side to integrate and migrate data, it will be a while before the new Photogallery is live. Till that happens don’t expect any new posts to the Photogallery.

I will also be adding some more website optimizations etc once I get some sleep and am thinking clearly again. That should speed up the site a lot more. Take a look around and let me know if you find any issues.

– Suramya

September 15, 2011

Exporting Blog feed to Facebook

Filed under: Website Updates — Suramya @ 3:09 AM

I thought I had done this earlier but I guess Facebook changed its protocols so the import stopped working at some point in time. *shrug* No big deal, I have once again configured up my Facebook account to read and post any blog posts I make to my Facebook Wall.

If all goes well and nothing breaks, people on Facebook will be able to see this post on Facebook instead of having to visit the blog. Although I would rather that people visit the blog directly instead of viewing on FB because I don’t know if the comments (if any) made on Facebook for a post will be synced to the Blog or not. I guess I should try and figure out a two way sync between the two. Or maybe not. Lets see.

Let me know if you hit any errors or issues.

– Suramya

September 14, 2011

Updating the website

Filed under: Website Updates — Suramya @ 11:09 PM

Just realized that the suramya.com site is a mess right now. Parts of it are version 5 (the latest), parts are v4 and there are even a couple of v3’s scattered around. So what I will be doing over the next few days is taking the content from the v3 &v4 pages and moving them to the new version 5.1. This new layout should be a lot nicer, faster to load and easy to maintain.

This time to prevent me from getting distracted, I will not be updating the content while updating the layout, which is what I did previously and when I ran out of time the update/migration stopped. However once the new layout is live I will start updating the content as well, mainly the About Me, Tech, Linux and Photogallery sections really need to be updated.

I will be updating the site on my local system first before pushing it out to the webserver, so look for a new version of the site by the end of the month.

Well this is all for now. Will post more later.

– Suramya

September 13, 2011

The cure for hunger…

Filed under: Humor — Suramya @ 8:38 PM

According to a subway sign.

Are people really that slow that they need to be told this? If so then I am seriously worried.

– Suramya

September 6, 2011

This is the toothpase I need to start using

Filed under: Humor — Suramya @ 7:25 PM

and I am sure that Vinit would agree with me on this 🙂

– Suramya

September 5, 2011

Getting RTL8111/8168B PCI Express Gigabit Ethernet controller to work in Debian 6

Filed under: Knowledgebase,Linux/Unix Related,Tech Related,Tutorials — Suramya @ 11:28 PM

Once I got Debian 6 installed on my server I needed to connect it to the internet to download updates etc, however my network card wasn’t being detected correctly so I had to perform the following steps to get it to work correctly:

  • Download the latest Linux drivers for the RTL8111 Chipset from the Realtek site on a computer that can connect to the Internet.
  • Copy the file over to your new system via USB or smoke signals
  • Login as root to the server
  • Identify the kernel version that you are running, using the following command:
  • uname -a

    It will give you a result like the following:

    Linux StarKnight 2.6.30-2-686 #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux

    Now you need to install the kernel source code for this version on the server. First we need to find the package name of the kernel source code, we do that by running the following command:

    apt-cache search linux |grep header |grep 2.6 

    If you have a 2.4.x kernel, replace grep 2.6 with grep 2.4. Once you have the package name install it using the following command as root:

    apt-get install linux-headers-2.6.30-2-686

    Make sure you replace linux-headers-2.6.30-2-686 with the package name you got.

    Once we have the kernel source installed we can go ahead and install the driver using the following commands:

    tar -jxvf r8168-8.025.00.tar.bz
    cd r8168-8.025.00
    ./autorun.sh 
    

    This will compile the drive and install it. I didn’t get any errors when I ran it, but if you do get errors try searching for the error message on Google, it usually provides a solution.

    After I installed the driver I tried initializing my network but kept getting the following error message:

    StarKnight:~# ifdown eth0
    ifdown: interface eth0 not configured
    StarKnight:~# ifup eth0
    Ignoring unknown interface eth0=eth0.
    

    Fixing it was fairly simple though, all I had to do was edit the /etc/network/interfaces file and add the following lines to it (This assumes you are using DHCP):

    auto eth0
    iface eth0 inet dhcp
    

    Once you add the lines, you can try starting the network again using the command:

    ifup eth0

    If all went well, you will be assigned an IP address and will now be able to successfully browse the net.

    Hope this helped.

    – Suramya

    September 4, 2011

    Upgrading my Desktop Hardware & Software

    Filed under: My Life,Website Updates — Suramya @ 2:46 PM

    Hey Everyone,

    I am back. Yes, I was missing for almost a year. No, I won’t make excuses for why that happened. Moving on…

    I have been having issues with my primary desktop for the past few months now, to the point where I was mainly using my GalaxyTab for most of my browsing/watching movies etc at home. It kept telling me that my Hard drive died so I decided to spend some time reinstalling Linux on a new drive. After I finished backing things up the system suddenly decided that none of my disks existed anymore and wouldn’t even detect them during boot-up. 🙁 So I connected the drives to an external case and plugged them into my laptop and they worked fine. This is when I decided that the problem had to be with the motherboard (as I had changed everything else: SATA cables, Hard drives etc)

    So I went out and bought an AMD Phenom II x6 1055T processor and ASUS M4A88T-M Motherboard to put it in. Got everything assembled and then realized that the new board uses DDR3 RAM while my previous one had DDR2 RAM so had to go buy a 4GB DDR3 RAM chip. Finally got everything working and am now a proud owner of a working desktop. Had some issue with the Network card but was easily resolved. Will document the steps on the wiki later.

    I have installed Debian 6.0 on the new system and then upgraded it to Debian Unstable (sid). The process is not as straight forward as usual and if you are not familiar with Linux its easy to get stuck. I hit a couple of snags that required me to search online for fixes and yes I will be documenting those as well in my next post. In the end all worked out and the server is stable and works without issues. Might try to overclock the CPU later to see how that goes, lets see.

    Lastly, I upgraded wordpress on suramya.com to the latest version which unfortunately broke the theme I was using so the blog has a different layout right now than normal. I will be fixing this over the next few days.

    Well this is all for now. Will post more later.

    – Suramya

    « Newer Posts — Older Posts »

    Powered by WordPress