VMware

This Question is Answered

1 2 3 4 5 Previous Next 62 Replies Last post: Jan 6, 2009 12:40 PM by fuzZzball   Go to original post
Click to view mrvanes's profile Novice 10 posts since
May 30, 2007
This patch stopped working for me on 2.6.24.
I am not 100% sure if 2.6.24 alone is to blame, because I had to switch wireless driver from ipw3945 to iwl3945 (built-in) in the process.

vmnet builds correctly with any-any-116, and after applying the patch. vmnet-bridge is up for the wireless interface, but dmesg never shows eth1 going into promisc mode, although it perfectly can do promisc when I ask it to do so (ifconfig eth1 promisc). Putting eth1 in promisc by hand doesn't help.

Re: No Internet on VMWare WS w/ Linux 2.6.22 kernel

46. Mar 1, 2008 10:12 AM in response to: mrvanes
Click to view Unail's profile Novice 6 posts since
Feb 19, 2008
Hi. I have found the solution to wireless bridge problem here: http://liken.otsoa.net/blog/
Click to view mrvanes's profile Novice 10 posts since
May 30, 2007
Checked and confirmed to work (with out-of-kernel ipw3945). THX al lot!

Patch for Kernel 2.6.24

49. Mar 16, 2008 12:29 PM in response to: clawhead
Click to view Hauke-m's profile Novice 12 posts since
Jun 13, 2007
The new version of VMware Player 2.0.3 supports the kernel 2.6.24, but it doesn't include the wireless LAN bridged support. So I applied the patch to this version and it works for now. You can download the patched vmnet.tar here: http://www.hauke-m.de/fileadmin/vmware/6.0.3/vmnet.tar

If you don't want to upgrade your hohle VMware Player or Workstation then you can use these packages to get it compile with kernel 2.6.24, if you have VMware Player 2.0.3 you don't need them.The other packages for VMware, which I havened changed can be found also here: http://www.hauke-m.de/fileadmin/vmware/6.0.3/vmmon.tar and here http://www.hauke-m.de/fileadmin/vmware/6.0.3/vmblock.tar

Re: Patch for Kernel 2.6.24

50. Mar 16, 2008 11:58 AM in response to: Hauke-m
Click to view mrvanes's profile Novice 10 posts since
May 30, 2007
I had to patch vmmon.tar with 2.6.24 patch as well. That patch yields 2 hunks that fail, but vmmon compiles without errors and vmplayer 2.0.3 runs like a charm, including wireless bridge.

Re: Patch for Kernel 2.6.24

51. Mar 18, 2008 3:01 AM in response to: Hauke-m
Click to view 2hansen's profile Novice 9 posts since
Sep 20, 2007

Is it possible to use this patch for the 2.6.22 kernel? I am using Ubuntu 7.10 and have so far been able to acces my host's wireless LAN from my guest (Windows Vista Enterprise 32-bit). However after upgrading to Workstation 6.0.3 the network is unaccessible - both with http://www.hauke-m.de/fileadmin/vmware/6.0.3/vmnet.tar and the "old" patched vmnet.tar (which worked with 6.0.2)...

Is a special 2.6.22 and 6.0.3 patch needed?

Thanks...

B:)

Re: Patch for Kernel 2.6.24

52. Mar 19, 2008 4:29 AM in response to: 2hansen
Click to view Lxxa's profile Novice 2 posts since
Mar 19, 2008

The same at me. Kernel version: 2.6.22 VMware: 6.0.3

Wired adatpter network bridge is working, wireless not.

btw I'm using Lenovo X60s, I tried both with 602 and 603 patch (just replace the vmnet.tar) but guest OS has "limited or no connectivity"

Any idea?

Thanks

Re: Patch for Kernel 2.6.24

53. Mar 19, 2008 11:59 AM in response to: Lxxa
Click to view Hauke-m's profile Novice 12 posts since
Jun 13, 2007
I had the same problem with my notebook, but I have solve it.
I have tested the modules with kernel 2.6.24 on a x86_64 system and with kernel 2.6.22 on a i386 system and both are working in bridged modus with a wireless LAN device

Now VMware has support for Ubuntu 7.10, so there is a pre-compiled kernel module. In the installation process ( vmware-config.pl ) it searches at first for a binary modules to install and with version 2.0.3 (Player) 6.0.3 (Workstation) it finds some for Ubuntu 7.10 so it takes them and don't compile them out of the sources. These modules ware build out of the default sources, so the wireless problem still exist.

You have to rename the UtsRelease property in the properties file in the folder for the kernel module the system wants to take to something not matching your installed kernel, so vmware can't find the binary and builds a new one. For Ubuntu 7.10 with x86_64generic kernel the property file is at /usr/lib/vmware/modules/binary/bld-2.6.22-14-x86_64generic-Ubuntu7.10/properties and the UtsRelease property can be renamed to 2.6.22-10-generic or something else.
Now you can run vmware-config.pl and it will build the kernel module with the wireless LAN patch if you have placed the right vmnet.tar at /usr/lib/vmware/modules/sources/

Re: Patch for Kernel 2.6.24

54. Mar 19, 2008 2:26 PM in response to: Hauke-m
Click to view Lxxa's profile Novice 2 posts since
Mar 19, 2008
Works great now! Thank You!

Re: Patch for Kernel 2.6.24

55. Mar 20, 2008 4:09 AM in response to: Hauke-m
Click to view 2hansen's profile Novice 9 posts since
Sep 20, 2007
Excellent, thanks a lot!!

Re: No Internet on VMWare WS w/ Linux 2.6.22 kernel

56. Mar 20, 2008 7:53 PM in response to: lbalogh
Click to view jimbo45's profile Hot Shot 300 posts since
May 26, 2006
I'm using SUSE 10.3 x_64 bit Host and Windows XP guest and now it works perfectly both for Wired (eth0) and Wireless (wlan0) .

Thanks

blackdog:~ # uname -r
2.6.22.17-0.1-default
blackdog:~ #


Cheers

-J

Re: Patch for Kernel 2.6.24

58. Mar 28, 2008 3:09 PM in response to: Hauke-m
Click to view Chronniff's profile Lurker 2 posts since
Mar 28, 2008
Hauke, Thanks for the tip, I knew the config wasn't compiling a new module with the patch, and I knew that was the problem.....what I couldn't figure out is why or how to make it do that....and you have given me glory....much thanks

Re: Patch for Kernel 2.6.24

59. Apr 13, 2008 7:36 PM in response to: Hauke-m
Click to view LinuxFreakus's profile Lurker 2 posts since
Jan 13, 2007

Oh my goodness, I just spent probably 5 or 6 hours souring these forums and google and was about to give up when I noticed a link to this thread from another thread...

I knew the bridge mode must work contrary to many posts I found which flatly stated that bridge to wireless is not supported at all, this was all working fine for me when I used a windows host machine... but I got tired of windows hogging so many resources when I never used it for anything, I do all my work in VMs. So now I have a slim and trim linux setup and thanks to this patch, the wireless bridge WORKS!!!! yes!!!

Incidentally, you can almost get a working alternative by using host only with ip masquerade, but it just isn't elegant to have to add routes to all other machines on the lan in order to reach each of the VMs through the host IP address. (yes, the nat interface might have been simpler, but my VPN stuff wouldn't work with it)

Thanks a bunch!

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Incoming Links

Communities