Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using Hamachi to link my desktop top a remote laptop. If I use the command: 'vncviewer xx.x.xxx.xxx' on a Mandriva 2007 desktop I am asked for a password, and then greeted with the remote desktop. Attempting the same with Mageia 2 on the same computer as root with firewall off, I get "server not found". Using 'vncviewer xx.x.xxx.xxx port 5900' has the same response.
'xx.x.xxx.xxx' is the reote address obtained with the command 'hamachi list', and as displayed on the remote desktop.
Thanks for the reply. The remote laptop has Windows XP with Logmein-Hamachi and Tightvnc running. Hamachi is logged into a network with a name aaaaaa and an address 25.xxx.xxx.xxx.
The Desktop is logged into the same network aaaaaa, address 25.yyy.yyy.yyy. If I command 'hamachi list' it identifies the remote laptop 25.xxx.xxx.xxx confirming the connection. Up to this point, I can do the same using Windows XP, Mandriva 2007, and Mageia 2 (same computer - multi boot).
On the Desktop, using Tightvnc on XP or vncviewer on Mandriva 2007, I can see the desktop on the remote laptop. On Mandriva, I enter vncviewer 25.xxx.xxx.xxx, password when asked, and the remote desktop appears.
Using Mageia on the Desktop, if I enter vncviewer 25.xxx.xxx.xxx, after a delay I get the response "Server not found". I have tried krdc with similar results. I'm doing this a root, with the firewall disabled.
Logmein-Hamachi is a free VPN; when you connect, it assigns an unique address to each system eg: 25.yyy.yyy.yyy. Once logged in, you can create a new network or join a previously created named network, eg aaaaaa. After joining a network, on Mandriva 2007, the command vncviewer 25.xxx.xxx.xxx connects to the remote device (the laptop) through the hamachi VPN network. This is not happening on Mageia. It would not on Mandriva 2010 also. It would seem something changed between Mandriva 2007 and 2010(?).
The Mageia Dsktop IP is 192.168.1.4. I cannot ping the 25.xxx.xxx.xxx on any system, even those that work as desired.
As you may have guessed I'm not familiar with hamachi but can you access it like any other VPN? Do you use a hamachi service to access it? If so is that service running on your linux box? I'm a centos user but can you do something like
service hamachi status
If a VPN is established is there a proper interface with that IP when you do ifconfig?
For example when I VPN from my box I get an interface
jnc0: flags=841<UP,RUNNING,SIMPLEX> mtu 1400
inet SOMEVPNIP netmask 0xffffffff
sorry for not being too much help...
Last edited by kenneth_phough; 12-12-2012 at 07:35 PM.
Re: "sorry for not being too much help..." I appreciate your help. I realise I'm not helping cos I'm flying blind.
'service hamachi status' produced no results. However the hamachi status is:
version : 188.8.131.52
pid : 18870
status : logged in
client id : 119-422-405
address : 184.108.40.206 2620:9b::19c7:d303
nickname : localhost.localdomain
lmi account: -
ifconfig lists eth0, ham0 and lo which don't appear relevant.
Re: "can you access it like any other VPN?" - I don't know, I've not had any other experience.
normally in VPN when you are logged in to another network you cannot access (i.e. ping) machines on your local network.
Once you've booted Mageia or Mandriva 2010, started hamachi, and logged into your VPN try pinging something that is on your lan (192.168.1.0/24), i.e. your printer or router. If this works it seems like you're not on the VPN at all.
Is there a log for hamachi? I couldn't find anything useful on google becuase "Log" file and "Log" me in coincided.
My guess would be that the file is in /var/log/
Right of course it's a virtual interface...so ethX won't help in this case.
I looked around and couldn't find a configuration file with the linux hamachi files. It seems like you can do some kind of configuration online. Is there a way to disable ipv6 from hamachi "control panel"?
hamachi can be set = set-ip-mode ipv4 | ipv6 | both
I have set it to ipv4
I also ran: # nmap 25.xxx.xxx.x -Pn
Starting Nmap 5.51 ( http://nmap.org ) at 2012-12-15 10:07 NZDT
Nmap scan report for 25.xxx.xxx.x
Host is up (0.000027s latency).
Not shown: 999 closed ports
PORT STATE SERVICE
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.55 seconds
(IP address censored), firewall off.
The remote Win XP indicates when there is/not a hamachi link, therefore I'm sure the two computers are linked via the hamachi VPN. vcnviewer is Tigervnc; I have also tried gtkviewer (gvncviewer) with same result. It seems there is a barrier between the hamachi VPN and vcnviewer on Mageia and Mdk2010 thats not present on Mdk 2007.