OpenVZ Forum


Home » General » Support » hamachi in openvz - tun problem
hamachi in openvz - tun problem [message #28453] Tue, 18 March 2008 15:14 Go to next message
strikegun is currently offline  strikegun
Messages: 8
Registered: March 2008
Junior Member
hi,
I just wanted to install hamachi, but after "hamachi start" I get
tap: bad response from tuncfg - 05000013
ioctl(SIOCGIFHWADDR ...) failed with 19 (No such device)


It seems it cannot create the tun device ham0.
The config has DEVICES="c:10:200:rw "
And in the VZ I added with "mknod /dev/net/tun c 10 200" the tun device.
I use the kernel 2.6.24 with the openvz patch 002
The template is a Fedora Core 4 default.
Hamachi works fine on the host.

Does anyone got hamachi to work in a openvz-node?

thx
Richy

Re: hamachi in openvz - tun problem [message #28459 is a reply to message #28453] Wed, 19 March 2008 09:45 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
This is fallout from so-called "netns" infrastructure in
mainline kernels. This kernel bug will be fixed shortly.
[PATCH] fix tun/tap in VE [message #28461 is a reply to message #28459] Wed, 19 March 2008 11:18 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
Try this patch on top of ovz002 or git version.
  • Attachment: tun.patch
    (Size: 1.08KB, Downloaded 426 times)
Re: [PATCH] fix tun/tap in VE [message #28462 is a reply to message #28461] Wed, 19 March 2008 12:27 Go to previous messageGo to next message
strikegun is currently offline  strikegun
Messages: 8
Registered: March 2008
Junior Member
thx I will try it.
I am already compiling the kernel now.
Hope that it works.

thx
SOLVED [message #28468 is a reply to message #28461] Wed, 19 March 2008 14:26 Go to previous message
strikegun is currently offline  strikegun
Messages: 8
Registered: March 2008
Junior Member
Ok, thx the patch worked.
great.


Richy
Previous Topic: Kernel 2.6.24 do not compile "no member named 'sysvsem'"
Next Topic: Vzmigrate bug?
Goto Forum:
  


Current Time: Thu Apr 25 17:04:19 GMT 2024

Total time taken to generate the page: 0.01625 seconds