[HowTo] hamachi on Linpus A1

Discussion in 'Networking' started by psybertech, Sep 9, 2008.

  1. psybertech

    psybertech

    Joined:
    Sep 4, 2008
    Messages:
    3
    Likes Received:
    0
    After a few painful attempts to get Hamachi running on my A1, I decided to write down a quick how-to for those interested once I got it down to a repeatable process.

    Before starting you will need to have 'make' and 'gcc':
    sudo yum intall gcc make

    Since the A1 doesn't ship with a 'tun' module, you will need to get one.
    I stumbled across one on the net here.
    The page is in french so you can either translate it or just download the tun.ko on that page.
    (I also mirrored it here)


    Once you have it, copy it to:
    /lib/modules/2.6.23.9lw/kernel/drivers/net/

    and then run:
    sudo depmod -a

    Reboot (not sure it that is needed or not)

    Once back up, make sure tun is ok by running:
    sudo modprobe tun
    You should just see a new line in the terminal with no errors reported.

    From here I followed this page.
    I followed it up until I got to the 'hamachi start' at the end of step 3.
    I am not entirely sure if recompiling tuncfg is needed or not, but it can't hurt. (a quick check of your $PATH should include /sbin by default but in some cases this may not be enough for some reason so I used the guide to recompile tuncfg forcing it to see /sbin/ifconfig )

    From there you can do your normal hamachi setup
    hamachi set-nick yourNick
    hamachi login
    hamachi join networkName
    hamachi go-online networkName
    hamachi list


    And you are good to go.

    To start it up automagically, I created a small script containing:
    sudo tuncfg
    hamachi start

    and I call that script using the autoloading applications app found in the settings of the A1.
    You can start it however you like.

    Side note:
    I noticed a hang up sometimes during shutdown when running hamachi and I am not sure, but it seems to me it if I 'hamachi stop' before shutting down, it shuts down faster.

    Annyway, I hope this helps someone.

    Sorry for not really fleshing this out, but for those interested, this should at least help you out.
     
    psybertech, Sep 9, 2008
    #1
  2. psybertech

    jonglee25

    Joined:
    Sep 12, 2008
    Messages:
    10
    Likes Received:
    0
    Darn, I wished I saw your post before reinventing the wheel myself. Also you beat me to writing a how-to lol. I got hamachi to run however it seems i have to run hamachi-init everytime i reboot the machine and want to hamachi to connect. I don't know why this is the case. Any insight?

    J.

    EDIT it isn't necessary to hamachi-init
     
    jonglee25, Sep 12, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.