View Single Post
Old 09-29-2007, 02:22 PM   #8
funderburg
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
I may know how to fix this. Well, I fixed it for me anyway. Note: I never use wired connections so I'm not sure what this'll do beyond wireless.

I'm currently using wireless in bridged mode with VMware Workstation 6.0.1 build-55017 on Kubuntu Gutsy with kernel 2.6.22-12-generic.

First go the directory your vmware modules source directory. Mine's at /opt/vmware/lib/vmware/modules/source. Untar the vmnet.tar file.

Then go into the newly unpacked vmnet-only directory and apply this patch:

Code:
--- bridge.c.broken     2007-08-22 03:29:43.000000000 +0100
+++ bridge.c    2007-09-29 20:11:44.000000000 +0100
@@ -32,9 +32,7 @@
 #include <linux/tcp.h>
 #include <net/tcp.h>
 
-#ifdef CONFIG_NET_RADIO
-#   include <linux/wireless.h>
-#endif
+#include <linux/wireless.h>
 #include "vmnetInt.h"
 #include "compat_spinlock.h"
 #include "compat_netdevice.h"
@@ -765,11 +763,11 @@
 VNetBridgeIsDeviceWireless(struct net_device *dev) //IN: sock
 {
 #if !defined(CONFIG_NET_RADIO)
-   return FALSE;
+   return dev->wireless_handlers != NULL;
 #elif WIRELESS_EXT > 19
    return dev->wireless_handlers != NULL;
 #elif WIRELESS_EXT > 12
-   return dev->wireless_handlers != NULL || dev->get_wireless_stats != NULL;
+   return dev->wireless_handlers != NULL;
 #else
    return dev->get_wireless_stats != NULL;
 #endif
Then retar all that back into the vmnet.tar file and rerun vmware-config.pl

You'll know if it worked when you see something this in your /var/log/messages: "bridge-eth1: is a Wireless Adapter"