Hamachi annoyances

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
thorin
Level 3
Level 3
Posts: 50
Joined: Thu Feb 05, 2009 8:09 am

Hamachi annoyances

Post by thorin »

Hi all,

Got a very frustrating problem here, I've been trying to use hamachi to play a few games over it's virtual lan connection. With all the games in question, be they native or run via wine, they all seem to not be able to pick up on the hamachi network.

My /etc/hosts file has the following entries.
5.86.189.163 sirbubbles-desktop
127.0.0.1 localhost
127.0.1.1 sirbubbles-desktop

I had /etc/network/interfaces set up with the ham0 network interface, but since it didn't seem to be working, I thought I might have mucked it up, and deleted it. The games that I've been trying to run are Warcraft 3 with a special version of wine that's been patched for networking and battle.net, and works over my local network, as well as Red alert 2 with a udp patch to allow lan games.

I'm running Ubuntu 8.10 with a lan connection to my adsl router, if that makes any difference. The router also supports wireless, but I'm using lan for my pc.

Also, this all works fine under windows, on my end and on my friend's end. And I have no software firewall installed, and hamachi as well as the games have all their respective ports forwarded.

Thanks for your help.
Jan-Matthias Braun

Hamachi annoyances

Post by Jan-Matthias Braun »

Hi,

On Tuesday 19. May 2009 13:20:30 thorin wrote:
Got a very frustrating problem here, I've been trying to use hamachi to
play a few games over it's virtual lan connection. With all the games in
question, be they native or run via wine, they all seem to not be able to
pick up on the hamachi network.

My /etc/hosts file has the following entries.
5.86.189.163 sirbubbles-desktop
127.0.0.1 localhost
127.0.1.1 sirbubbles-desktop

I had /etc/network/interfaces set up with the ham0 network interface, but
since it didn't seem to be working, I thought I might have mucked it up,
and deleted it. The games that I've been trying to run are Warcraft 3 with
a special version of wine that's been patched for networking and
battle.net, and works over my local network, as well as Red alert 2 with a
udp patch to allow lan games.

I'm running Ubuntu 8.10 with a lan connection to my adsl router, if that
makes any difference. The router also supports wireless, but I'm using lan
for my pc.

Also, this all works fine under windows, on my end and on my friend's end.
And I have no software firewall installed, and hamachi as well as the games
have all their respective ports forwarded.

Thanks for your help.
if I recall correctly the games are sending broadcasts to the network to
discover and announce network games. Add a special route for these packets to
the hamachi interface to get the games to see each other. Something like
route add 255.255.255.255 dev ham0
should do the trick.

Hope that helps,
Jan-Matthias
thorin
Level 3
Level 3
Posts: 50
Joined: Thu Feb 05, 2009 8:09 am

Re: Hamachi annoyances

Post by thorin »

[/quote]
if I recall correctly the games are sending broadcasts to the network to
discover and announce network games. Add a special route for these packets to
the hamachi interface to get the games to see each other. Something like
route add 255.255.255.255 dev ham0
should do the trick.

Hope that helps,
Jan-Matthias[/quote]

Thanks Jan-Matthias, but I don't think it did the trick. Should I change /etc/hosts to have 255.255.255.255 pointing to either my hamachi ip or my local ip?
James McKenzie

Hamachi annoyances

Post by James McKenzie »

thorin wrote:
Hi all,

Got a very frustrating problem here, I've been trying to use hamachi to play a few games over it's virtual lan connection. With all the games in question, be they native or run via wine, they all seem to not be able to pick up on the hamachi network.

My /etc/hosts file has the following entries.
5.86.189.163 sirbubbles-desktop
127.0.0.1 localhost
127.0.1.1 sirbubbles-desktop
Is this normal? I don't think you can name a system with two different
IP addresses.

James McKenzie
Gert van den Berg

Hamachi annoyances

Post by Gert van den Berg »

On Wed, May 20, 2009 at 04:21, James McKenzie
<[email protected]> wrote:
thorin wrote:
Hi all,

Got a very frustrating problem here, I've been trying to use hamachi to play a few games over it's virtual lan connection. With all the games in question, be they native or run via wine, they all seem to not be able to pick up on the hamachi network.

My /etc/hosts file has the following entries.
5.86.189.163 sirbubbles-desktop
127.0.0.1 localhost
127.0.1.1 sirbubbles-desktop
Is this normal?  I don't think you can name a system with two different
IP addresses.
That's the standard Ubuntu setup.

The loopback interface ussually responds on the entire 127.0.0.0/8 network.

Gert
James Mckenzie

Hamachi annoyances

Post by James Mckenzie »

Gert van den Berg wrote about [Wine] Hamachi annoyances
On Wed, May 20, 2009 at 04:21, James McKenzie
<[email protected]> wrote:
thorin wrote:
Hi all,

Got a very frustrating problem here, I've been trying to use hamachi to play a few games over it's virtual lan connection. With all the games in question, be they native or run via wine, they all seem to not be able to pick up on the hamachi network.

My /etc/hosts file has the following entries.
5.86.189.163 sirbubbles-desktop
127.0.0.1 localhost
127.0.1.1 sirbubbles-desktop
Is this normal?  I don't think you can name a system with two different
IP addresses.
That's the standard Ubuntu setup.
That is strange and with most Unixes, would not work. I guess the folks at Ubuntu figured it out and got it working.

However, this does not address why Hamachi suddenly stopped working under Wine. My guess is that the network is not accessable. It would be interesting to see what a ping/traceroute looks like to the other systems attempting to connect, if that is possible to do.
The loopback interface ussually responds on the entire 127.0.0.0/8 network.
I agree. It is very unusual to have the system in the hosts file twice.

James McKenzie
thorin
Level 3
Level 3
Posts: 50
Joined: Thu Feb 05, 2009 8:09 am

Re: Hamachi annoyances

Post by thorin »

James McKenzie wrote:thorin wrote:
Hi all,

Got a very frustrating problem here, I've been trying to use hamachi to play a few games over it's virtual lan connection. With all the games in question, be they native or run via wine, they all seem to not be able to pick up on the hamachi network.

My /etc/hosts file has the following entries.
5.86.189.163 sirbubbles-desktop
127.0.0.1 localhost
127.0.1.1 sirbubbles-desktop
Is this normal? I don't think you can name a system with two different
IP addresses.

James McKenzie
As said by others, that is the standard ubuntu setup, that's how it is by default, at least in 8.10. It was, if I recall correctly, just 127.0.0.1 in earlier versions.
Gert van den Berg

Hamachi annoyances

Post by Gert van den Berg »

On Wed, May 20, 2009 at 15:34, James Mckenzie
<[email protected]> wrote:
I agree. It is very unusual to have the system in the hosts file twice.
The 127.0.0.0/8 addresses is the default, the other entry is the
user's cusomization
thorin
Level 3
Level 3
Posts: 50
Joined: Thu Feb 05, 2009 8:09 am

Post by thorin »

Actually, it had the additional 127.0.1.1 in there by default as well.
thorin
Level 3
Level 3
Posts: 50
Joined: Thu Feb 05, 2009 8:09 am

Bump

Post by thorin »

Anyone out there able to help?
Locked