Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi. Im trying to get a program named hamachi working. I got it installed but whenever i try to login the login fails. I've started it with the debug flag and this is what i get when trying to login.
i've searched on google, on the hamachi support forum, etc, but still not sure what the problem is. I hope someone here is familar with it to help. Thanks for any help in advance. I appreciate it.
I'm far from being an expert, but what strikes me right off is the line that says 'tap configuration failed'. In my experience, you have to log into the console as root and run 'tuncfg', then logout of the root console and start hamachi.
My biggest problem was with the Linux GUI, it won't repaint and it freezes and won't work for me. Maybe we'll get to the bottom of these problems soon.
thanks for your response. i can't login even with tunecfg running. i've tried running tuncfg -d to get debug info but it just hangs. The weird thing is when i first installed it on my laptop i was able to start it up and login right off the bat. But now i can't login on the laptop either. I noticed that when i was logged in on the laptop i had ham0 in the output of ifconfig. I've never had it on the desktop (haven't successfully logged in once) So my guess is the problem is when i tries to setup ham0.
I think your problem is probably spelled out right here. It seems to be pointing to tun/tap. If you could post this snippet on the hamachi forum, you'll probably get a response pretty soon.
i've posted the whole thing at the hamachi forum. so far i have got one response there from what i believe is a developer to post the output of tuncfg -d but that command just hangs on both my desktop and laptop. thanks for your response.
hmmm. I checked the annoucements to see if the server is down again and it isn't but i still can't log in. I think im going to give up on hamachi and try ssh tunneling. Hamachi sounds like it would be a nice program if i could get it to work. oh well.
I had the exact same problem, and it turned out the when I ran tuncfg it wasn't completing
correctly. Run 'tuncfg -d' to see what is happening. In my case, it couldn't find ifconfig
and adding /sbin to my path fixed the problem. Hope this helps.
I had the same problem. Took me a while to figure it all out with the help of the previous posts. I assume that all was installed properly and you already run hamachi-init as the current user. I use Fedora Core 6 which doesn't allow running programs in the /sbin folder without specifying the folder.
You should be in the folder where you unpacked hamachi and into the tuncfg folder, which in my case was:
/tmp/hamachi-0.9.9.9-20-lnx/tuncfg/
Next, rename the original tuncfg file in that folder (only if you need to)
mv tuncfg tuncfg.backup
Next, use your choice of text editor to edit the tuncfg.c file. Search for the piece of code that has ifconfig. There is only one instance of that.
Change:
"ifconfig %s %u.%u.%u.%u ", ctx[i].dev,
To:
"/sbin/ifconfig %s %u.%u.%u.%u ", ctx[i].dev,
Then:
"gcc tuncfg.c -o tuncfg"
That recompiles tuncfg to incorporate the changes you made.
Next, if you had already started tuncfg, kill all instances of tuncfg with
"killall tuncfg"
Next, run "make install" as root to install the new tuncfg
Next, Run "tuncfg" as root
Next, run "hamachi start" as a regular user and you may proceed as indicated in the README file.
feistyfeline, thank you.
This redhat 'particularity' just keeps getting on the way...
I didn't spend much time on it but, if someone has an easy way to include the damned /sbin/ dir into the root's path automatically, that would really be a feature to put as default...
Thanks a lot for that great single post
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.