Showing posts with label Tricks amp; Hacks. Show all posts
Showing posts with label Tricks amp; Hacks. Show all posts

Sharing files between two ubuntu systems through local router

I have a old desktop running Lubuntu 11.04 and it is connected to internet through a wireless router. While I store lot of information on this computer, I also have a laptop running Ubuntu 11.04 that I most of the times work on and it is also connected to internet through the same router. Transferring files between these two machines is important to me. There are countless ways you could do it, but I preferred ssh to have a safe and reliable connection through the local router. If you are willing to do the same then here's how you do it.



Step 1: Install ssh on both the machines. Run this command in terminals of both the linux machines.


sudo apt-get install ssh

Step 2: Learn the IP address of your desktop. This can be done by right clicking the connection icon on the panel and then on "Connection Information".

Otherwise you can just run the following command and read for "inet addr:" field.


ifconfig

In my case, it is 192.168.1.3.



Step 3: Go to your laptop. Find "Connect to Server" option.

If you are using GNOME then you find this on "Places -> Connect to Server".

If you are using UNITY then you find this option by opening Nautilus. Go to File -> Connect to Server.

You get this window -




Step 4: Fill details into the fields and click Connect.



Service type must be selected to SSH.

Server field takes the address of the computer to which you want to connect to.

Port is 22, which is a TCP standard for SSH Connections.

Folder that you want to share.

Username to access the desktop.

You can add a bookmark and give it a name for you to access it next time.


Step 5: Once you are done, click on "Connect". It prompts for password. Enter it and you are done. You have successfully established file sharing from your desktop machine to your laptop machine. You can do the vice versa by following Step 3, 4 and 5 on your other machine.



PS: I have used terms 'laptop' and 'desktop' everywhere. But this need not be the case and procedure is same for any two machines connected through same router. 

Get the new Google Bar

Google recently went on a renovation spree to change the appearances of all the google services. Ever since the release of G+, google started rolling out new appearances to every other service they had.



Recently Google announced in its official google blog that google is now ready for its next set of change - the new Google bar which makes it easy to access different Google Services. Even though the new google bar is announced, it is still not rolled out for users but here is a simple tweak that help you get a head start in trying out the new google bar.

The tweak is to modify your cookie. All you have to do is follow these simple steps -

For Google Chrome users -

1. Add 'Edit this Cookie' extension to Chrome
2. Go to google.com
3. Click on the extension


4. Go to PREF section and change the value field to this

ID=03fd476a699d6487:U=88e8716486ff1e5d:FF=0:LD=en:CR=2:TM=1322688084:LM=1322688085:S=McEsyvcXKMiVfGds

5. Refresh the page


For firefox users -

1. Go to google.com
2. Press Ctrl + Shift + K
3. Paste the following into the text field and press enter
document.cookie="PREF=ID=03fd476a699d6487:U=88e8716486ff1e5d:FF=0:LD=en:CR=2:TM=1322688084:LM=1322688085:S=McEsyvcXKMiVfGds; path=/; domain=.google.com";window.location.reload();

For IE users -

Install Chrome, firefox or anything that evolved after dinosaurs!

Autopost Twitter updates to Facebook Wall


We get frustrated lot of time when we have to post lot of status updates in both Twitter as well as Facebook. We need some apps or some method by which we can redirect and post our status messages in both Twitter as well as Facebook at a time. But if you think in reality, we tend to update all our twitter updates to our Facebook wall if there is no control over the application.


Techspace provides you a simple app by which we can control which message has to be posted in Facebook and which message to be not posted by simple means. Yes, a application named Selective Tweets on Facebook provides an easy access to us and helps us to control which tweet has to be posted in our Facebook wall and which should not be with the help of hashtag (#). If you postfix "#fb" in the end of your tweet, your message will be posted in your Facebook wall page and if you don't postfix, then it will not be posted.


Steps to Autopost tweets to Facebook:-




  • Know your twitter username.



  • Go to this link and login with your Facebook credentials.



  • Provide the twitter username in the Selective Tweets on Facebook page and save it.



  • Now login to you twitter account.



  • Write your tweet and finally end the tweet with "#fb" (without double quotes).



  • Now go to your Facebook profile page and you can see your tweet appearing on your Facebook wall.


That's it. Please do comment if this post has helped you. Thank you. Stay tuned with Techspace.

How to jailbreak iPod touch?


There are so many tutorials and videos out there that teach how to jailbreak ipod touch and iphones but the techniques have improved way too much and here is the easiest way which is just a  matter of two clicks to get your iPhone or iPod touch jailbroken. If you are not sure what jailbreaking is then go to the wikipedia page to know more about it.

Why would anyone want to jailbreak his device?

There are a number of reasons. Jailbreaking is similar to rooting your android phones. Jailbreaking gives you much more control over your device. For example, iOS does not by default allow you to change the wallpaper or the theme. But jailbroken devices do.

Here are the assumptions that I've made -

You have a iPod touch or an iPhone running firmware 3.1.2.

Steps follow -

1. Download Blackra1n for your firmware from here - http://blackra1n.org/download-blackra1n/

2. Start the blackra1n.exe

3. Your device will be automatically detected. Just click on the only button that blackra1n.exe provides. Wait for a few minutes and your device will reboot.



4. When your device reboots, you will find a new icon called blackra1n in your device. Open it. Connect to the internet. Download 'Cydia' Installer. Once you're done there will be another icon on your device called 'Cydia'. Using this installer, you get to download lot many applications to your iphone!



This is how you jailbreak a iPod touch or iPhone :) Hope that helps.

PS: There are other ways of jailbreaking a device. This method involves using blackra1n. There are other jailbreaking agents like redsnow, snowbreeze etc. But I personally like blackra1n for its simplicity.

Format from FAT32 to NTFS without loss of data

FAT32 is a file system supported by all operating systems. FAT means File Allocation Table. This provides maximum partition size of 32GB. Disk Quota management is not possible using this file system and the main problem here is the read mechanism. There exists sequence read mechanism under FAT32 and hence the transfer speed of data is very less. This reduces the performance of the system.


NTFS is a new file system and this is supported by all operating systems as well. NTFS means New Technology File System. This provides maximum partition size of 2TB which is very very large. There exists Disk Quota management feature enabled so that the disk can be used to store specified amount of data only. This file system provides Enhanced Binary Tree architecture and hence the transfer speed will be very very high and performance increase as well.


But the main problem is how to change the file system format from FAT32 too NTFS without erasing  the data in the drive?


Techspace has an answer for this problem and the solution is very very simple.


Steps to convert from FAT32 to NTFS without erasing the data.




  • Go to command prompt.


[stextbox id="grey"]convert C: /FS:NTFS[/stextbox]




  • Enter the above command in command prompt and wait till the process completes. After the process is completed, the specified drive will be converted to NTFS without erasing your data on the drive.



  • In my case, C: is the drive which i have taken into account. If you want to format your drive, then you can specify that corresponding letter.



  • FS: means File System.



  • convert will convert that corresponding drive to NTFS without erasing the data in that drive.




    Isn't this a nice trick? Subscribe for our feeds and please do comment.





    Format from FAT32 to NTFS without loss of data

    How to try the New Facebook profile?

    Facebook in the F8 Conference last week announced the release of new interface to facebook profiles. The interface is so designed to give a timeline of updates a person goes through. The timeline scrolls back to the day you first joined facebook. The new facebook interface encourages users to share more data over the social network. The new interface is still in development version and happen to have a few bugs and some more features are yet to be integrated. If you want to try out the new interface, then here is the step - by - step guide.


    Instructions -

    • Go to your Facebook developers page. Click Here if your logged in .

    • Next  Click " Create New App ".

    • Name it anything you want it to sound like . both app display name and app namespace. Do agree to the checkbox which says " I agree to platform privacy policy ".

    • Next there ll be a CAPTCHA security verification .

    • On successful verification your app s basic setting page ll be opened.

    • Click "Open Graph" on the left side of the screen.

    • Next screen is "Open Graph : Getting Started " .

    • Type in whatever you want in accordance to the examples shown there. and then click "Get Started ".

    • Next 2 screens just scroll down and click "Save changes and next ".

    • And last screen just scroll down and click " Save and Finish ".

    • Wait..then go to your "home". You ll be invited for the developers release of New timeline

    • Accept it .. and have fun :) :)


    Thanks to Sourabh K Rao for his post on A Cynic's Viewpoint.

    Ubuntu 3D Visual effects in Virtual Box


    Ubuntu 11.04 need 3D acceleration to work. But some systems may not provide support for 3D acceleration and some systems will provide but the feature will not be enabled in Virtual box. Then how can we get 3D visual effects in Virtual box for Ubuntu? Below is the steps to go through.

    • Click here to Install virtual box and Ubuntu in Virtual box.



    • If you need USB 2.0 support, Virtualbox RDP and PXE boot for Intel cards you can also download the extension pack from here.



    • First check whether you have enabled option of 3D acceleration in display tab of Virtual box.



    • Now type the following commands in terminal.


    sudo apt-get update
    sudo apt-get install dkms
    sudo apt-get install virtualbox-ose-guest-utils

    Now you will be able to have 3D acceleration and visual effects in Ubuntu through virtual drive.

    Kaspersky anti virus for Android, BlackBerry, Symbian and Windows Mobile


    Anti viruses guards our mobiles and PC from intruders and stealers. It is more helpful to have anti viruses for mobiles before connecting it to net because, malwares, viruses and adwares etc... can come from anywhere via internet and may steal our data. It will be very easy to breach if we do not have anti virus. So to be in safer side, its always adviced to have anti virus installed in your mobile.


    Kaspersky, the best anti virus currently in market has released anti virus softwares for mobiles names Kaspersky mobile Security 9. This protects your PC for 24x7 and helps you in having full security to your mobile.


    Features of Kaspersky Mobile Security 9 :-




    • Locate a lost or stolen smartphone.



    • Secure contacts, photos and files from unauthorized access.



    • Privacy Protection.



    • Block unwanted calls or SMS's.



    • Parental control.



    • Protect your smartphone from malware and network attacks.


    Download kaspersky mobile security from here.

    Please do comment and like us on facebook and subscribe for our feeds.

    Ubuntu Tip: View images easily from your command line

    Here is a tip for the ubuntu users that can save some time and make you little more productive. This situation arises quite often. You browse through folders from your terminal and you find that you have a image file you need to open or you just wonder what's in there. All you can think of is browsing through to the folder through Nautilus File Browser and then open it. But instead you can just issue this simple command line and open it.

     [stextbox id="grey"]eog image.jpg[/stextbox]


    eog is the default image viewer in Ubuntu. It stands for Eye of Gnome. It supports

    • .ani

    • .bmp

    • .gif

    • .ico

    • .jpeg

    • .pcx

    • .png

    • .pnm

    • .ras

    • .svg

    • .tga

    • .tiff

    • .wbmp

    • .xbm

    • .xpm


    This one will work only on desktops that run Gnome only.

    Fix rundll32.exe in Windows


    Rundll32.exe is a host process which helps us to execute all dll files. This is the compulsory file which is needed by windows and if this gets corrupted, then our system is surely compromised.


    To find whether your system is compromised or not, you just have to open task manager and look for rundll32.exe in processes tab. If there exists more than one instance of rundll32.exe, then your system is infected or compromised for sure. If it is, then what is the solution to revert it back? Re-installing the windows? 100% not. There is a simple solution. Go ahead and follow the simple steps given below and your problem will be solved within seconds.




    • Open run using Start menu or keyboard shortcut Ctrl+R. Type cmd to open Command Prompt.



    • Now type the following command to take ownership of the file



    takeown /f  C:\\Windows\\System32\\rundll32.exe




    • Now type


    cacls C:\\Windows\\System32\\rundll32.exe /G abcd:F

    (NOTE: Replace ‘abcd’ with your System Username)




    • Now go to C:\\Windows\\System32 and delete the rundll32 file. If you still cant delete, restart your computer in Safe Mode and open CMD. Then type in


    del C:\\Windows\\system32\\rundll32.exe.



      • Download this rundll32.exe file from here and copy it to C:\\Windows\\System32 folder.


      That's it. Problem solved.

      Please do comment and like us on facebook.

      Installed software's Product Key Finder - Windows


      We will install lot of softwares in our system and there are chances of losing the serials of those softwares or we may need the serials of those softwares to use it in future. So we need to find the key and we should be able to have a copy of it for future reference. How can we do this?


      Magical Jelly Bean's Keyfinder portable software helps us to find the key.


      Download this software from here.


      This software is compatible with all versions of windows. This is the best keyfinder available in the market. You can snapshot of the software below.


      Get Windows 8 Start button in Windows 7


      Windows 8 is the next major release of Microsoft and Windows 7 is the successfully running OS in most of the computers today. The one who is interested in changing the Start button of Windows 7 to make it look as Windows 8 start button, then below are the steps to carry on.


      Steps:-




      • Download this Windows 8 metro pack from here.



      • Extract the .zip file you downloaded.



      • Now download Windows 7 Start Orb Changer utility from here and extract this file.



      • Open Windows 7 Start Orb Changer utility and then click on Change button and browse to Windows 8 metro pack extracted folder and select big.bmp.


      This will automatically replace the old Start button with new button. Once done, you will see “The Start orb has been changed successfully” message.

      Solution for Double click on drive opens Search or defragment in windows explorer


      A perfect windows system will open and show us the contents of the corresponding when we double click on the drive but sometimes, due to error in windows or because of virus, it may open Search or defragment option in windows explorer always. Techspace has a solution for this problem and is given below.


      Solution




      • Open run or use shortcut by pressing Windows+r keys on keyboard.

      • Type regedit

      • Browse down to


      HKEY_CLASSES_ROOT\Directory\shell


      • Double-click on the default and set it to none as shown below.





      • Now open command prompt and type


      regsvr32 /i shell32.dll

      That's it. Problem solved.


      If you are helped with this article, then please do comment and subscribe for our feeds and like us on facebook.

      Solution for power policy manager unable to reserve hibernate file


      Windows platform has more affinity towards the errors, bugs and viruses. Something or other will always happen with windows OS. This tutorial is to provide you solution for the hibernation error when you try to activate hibernation option via control panel.


      When you try to activate hibernation, then windows may provide you error saying "Power policy manager unable to reserve hibernate file". This error encounters because of the virtual drive software installed in your system like Alcohol, deamon tools and etc.


      How to get rid of the above problem?




      • First find the virtual drive software like Alcohol or deamon tools or etc. installed in your system.



      • Uninstall it from control panel or using any un-installer softwares.



      • Now Go to Control panel-->Power Options-->Hibernation and check mark on Hibernation and click on Apply and ok.



      • Now re-install you virtual drive(If you wish to) and you are done.


      Please do like this post and comment if you are helped with this article.

      Solution for BOOTMGR is missing



      Not able to use system because of windows crash or file missing error saying BOOTMGR missing? Here is the solution for it.

      Solution:-

      • Boot with your windows installtion dvd.

      • Windows setup will ask you for language and keyboard layout information.

      • Then you will be asked to Repair for fresh install windows. Click on Repair button.

      • Now click on StartUp repair and windows setup dvd will takecare of everything and finally you will be able to proceed with usage of windows without any error or problem.




      Please do comment and like us on facebook if you are helped with this post.

      Solution for Msvcp71.dll And Msvcr71.dll Missing Error In Windows 7

      When we try to run some program, windows will show error "The program can't start because MSVCP71.dll is missing from your computer. Try reinstalling the program to fix this problem" or "The program can't start because MSVCR71.dll is missing from your computer. Try reinstalling the program to fix this problem".



      Solution for above problems under Windows 7 32-Bit OS is




      • Download this file.

      • Unzip and copy files to Windows/System32 folder.


      Solution for above problems under Windows 7 64-Bit OS is

      • Download this file.

      • Unzip and copy files to  Windows/SysWOW64 folder.


      Problem solved :)  Please do comment if you are helped with this article.

      Dont like the new scrollbar in Ubuntu 11.04 ??



      Of all the changes made in Ubuntu 11.04 , the most dumbest would be the overlay scroll bar.




      At times it just fails to show up and its damn irritating.



      Here is a solution to get back your old classic scrollbar





      Steps :



      1. Open synaptic package manager.

      2. search for "liboverlay-scrollbar" and remove it.

      3. restart to get your classic scrollbar.




      Sharing files between two ubuntu systems through local router

      I have a old desktop running Lubuntu 11.04 and it is connected to internet through a wireless router. While I store lot of information on this computer, I also have a laptop running Ubuntu 11.04 that I most of the times work on and it is also connected to internet through the same router. Transferring files between these two machines is important to me. There are countless ways you could do it, but I preferred ssh to have a safe and reliable connection through the local router. If you are willing to do the same then here's how you do it.

      Step 1: Install ssh on both the machines. Run this command in terminals of both the linux machines.
      sudo apt-get install ssh

      Step 2: Learn the IP address of your desktop. This can be done by right clicking the connection icon on the panel and then on "Connection Information".

      Otherwise you can just run the following command and read for "inet addr:" field.
      ifconfig

      In my case, it is 192.168.1.3.

      Step 3: Go to your laptop. Find "Connect to Server" option.

      If you are using GNOME then you find this on "Places -> Connect to Server".

      If you are using UNITY then you find this option by opening Nautilus. Go to File -> Connect to Server.

      You get this window -



      Step 4: Fill details into the fields and click Connect.

      Service type must be selected to SSH.

      Server field takes the address of the computer to which you want to connect to.

      Port is 22, which is TCP standard for SSH Connections.

      Folder that you want to share.

      Username to access the desktop.

      You can add a bookmark and give it a name for you to access it next time.

      Step 5: Once you are done, click on "Connect". It prompts for password. Enter it and you are done. You have successfully established file sharing from your desktop machine to your laptop machine. You can do the vice versa by following Step 3, 4 and 5 on your other machine.

      PS: I have used terms 'laptop' and 'desktop' everywhere. But this need not be the case and procedure is same for any two machines connected through same router.

      Manual Partitioning while Installing Linux

      Linus Trovalds created Linux, but ever since its there in the open source world, there have been countless varieties and versions and the list is exponentially growing. Unlike Windows, Linux is a playground where people can tweak around, experiment (and mess it up). Whenever there's a new version or a distribution which makes lot of fuss on the Internet, users tend to move on to the new version. Quite obvious they want to.

      Being into Ubuntu evangelism for quite a long time, I often come across people who complain that they lose their home folder contents on installing a different version or a distribution. So how do we not lose home folder contents then?

      Rather explaining each individual I thought I write it down. The problem lies in specifying partitions during the installation. Here's my advise. While installing any Linux, it is of best practice to have these three partitions -

      swap


      Without specifying this partition, you will not be allowed to install any Linux distribution. When you start an application installed on your hard disk, the application's required resources are first brought to RAM before it runs. When your RAM is overloaded, a bit of unused data from RAM is transfered to swap space making room for the application to run. And when its done, the data moved to swap space is brought back to your RAM thus acting like a secondary RAM. If you have a huge capacity of RAM, then a small hard disk partition is enough for swap. It is ideal to keep your swap partition as big as your RAM capacity.

      root (/)


      root file system, represented by a forward slash (/) is the top most node of your directory tree. This contains the linux kernel, device drivers and every other files that you install. This is where your actual linux is running from. This is similar to the C drive of your windows where windows and other programs (C:\Program Files) are stored. The size of this partition depends on the size of the linux distribution you are about to install. Minimum requirement will be specified in its documentation but the partition size must have a few extra bytes for you to install extra applications. For starters, 5GB of space is more than enough, but if you have a really huge hard disk space, then you can always keep some room for more applications.


      /home


      This is the final partition which will hold /home directory. Every user will have his/her own directory under /home. If your username is 'john' then your home folder will be at the path '/home/john'. All the user specific files will be stored in their respective home directories. Every document you create, pictures you download or any files specific to you are stored in your home directory.

      Strictly speaking, you can install Linux without specifying partition to /home but in which case, the /home will be mounted under root (/) and is erased next time you reinstall.

      Now that you have the idea of these three partitions, you should remember that whatever you install (like GIMP, VLC media player, any application) is stored in your root directory while whatever you download or create (like documents, pictures, music, webpages) is stored in your home directory.

      Once you install linux with these three partitions, you can save as much content as you want in your home directory and next time while installing Linux, it is enough to specify your root and swap partitions. This way, your /home partition remains untouched and you don't lose any data.

      Android Secret Codes