0

using wget

Posted by anuj on Dec 30, 2009 in Linux

wget is a very good utility to download large files or iso images.
When downloading large file or DVD iso, you can use wget -c ‘url to iso file’ which you can resume download from where you left last time.

Sometimes there are scuh links which keep a lot of garbege, and using wget -c ‘url to iso file’ causes a new thread a new download instead of resuming.
In such a case you can use wget -c ‘url to iso’ -O my-dvd.iso

Using -O file name downloads file with file name and always can be resumed.

Anuj

Share/Save/Bookmark

 
0

Website moved

Posted by anuj on Jan 1, 2009 in Misc

Hi,

This site has been migrated to my new url.

http://www.anujunix.com

Anuj Singh.

Share/Save/Bookmark

 
0

bypass port blocking of ISP using hamachi

Posted by anuj on Oct 12, 2008 in Linux

Here we will be connecting two linux machines, of which ISP is blocking ports.

On the machine behind the blocked ports:

Download hamachi for linux.

https://secure.logmein.com/products/hamachi/list.asp

I have hamachi-0.9.9.9-20-lnx.tar.gz

  • Uncompress tar file with
    tar zxvf hamachi-0.9.9.9-20-lnx.tar.gz -C /usr/src/
  • Change directory
    cd /usr/src/hamachi-0.9.9.9-20-lnx/
  • Install hamachi
    make install
  • Run tuncfg command
    tuncfg
  • Generate crypto identity
    hamachi-init
  • Start hamachi daemon
    hamachi start
  • Put hamachi daemon online
    hamachi login
  • Create hamachi network
    /usr/bin/hamachi create myHamNetwork password
  • Now become online in created network
    /usr/bin/hamachi go-online myHamNetwork

    Follow these steps on the machine from which you want to connect to the blocked machine:

  • Download hamachi for linux.https://secure.logmein.com/products/hamachi/list.aspI have hamachi-0.9.9.9-20-lnx.tar.gz
  • Uncompress tar file with
    tar zxvf hamachi-0.9.9.9-20-lnx.tar.gz -C /usr/src/
  • Change directory
    cd /usr/src/hamachi-0.9.9.9-20-lnx/
  • Install hamachi
    make install
  • Run tuncfg command
    tuncfg
  • Generate crypto identity
    hamachi-init
  • Start hamachi daemon
    hamachi start
  • Put hamachi daemon online
    hamachi login
  • Join the hamachi network
    hamachi join myHamNetwork
  • You will be prompted for the password of myHamNetwork, in earlier steps we defined password as ‘password’ on machine behind blocked ports.
  • Check the list of hamachi network with
    hamachi list
    * [myHamNetwork]
    * 5.66.11.169                                 118.94.50.194:32774
    Here we can see 5.66.11.169 is th
  • Now become online in created network
    /usr/bin/hamachi go-online myHamNetwork
  • a
  • hamachi-init

Share/Save/Bookmark

Copyright © 2010 Anuj Singh All rights reserved. Theme by Laptop Geek.


Warning: stristr() [function.stristr]: Empty delimiter in /home/a/anujhere/public_html/wp-content/plugins/wassup/wassup.php on line 2093