Why is wifi Internet not working with VMWare 6.x and Linux kernel 2.6.22?
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why is wifi Internet not working with VMWare 6.x and Linux kernel 2.6.22?
Several people on the VMWare forums have reported that they can't establish a wireless Internet connection via a Windows guest using VMWare WorkStation 6.x running on a Linux kernel 2.6.22. We're able to connect wirelessly to a LAN, but not to the Internet. Wired ethernet connections under the same configuration seem to work fine.
Does anyone have insight into this? Is there a kernel change that would affect bridge networking with a virtual machine when the host machine is connected wirelessly to the Internet?
I'd really like to get to the bottom of this, as it has kept me stuck at an older kernel for several months now. Normally that wouldn't be a problem, but there are several new kernel features that I'd really like to benefit from and can't.
Correct me if I am wrong, but it sounds like you can connect to the local network with the guest using your wireless connection, but you can not reach the internet. If you have the guest use your NIC on the LAN, then both LAN and internet work. What about NAT, does it work both ways with NAT instead of bridging. I am currently running VMware workstation 6 on my laptop (SuSe), and I have never had any issues with my XP, Vista, or Sun10 guest connecting on either my eth0 or wlan1, but with more information I may have some ideas.
Correct me if I am wrong, but it sounds like you can connect to the local network with the guest using your LAN but not with the wireless connection, but you can not reach the internet. What about NAT, does it work with NAT. I am currently running VMware workstation 6 on my laptop (SuSe), and I have never had any issues with my XP, Vista, or Sun10 guest connecting on either my eth0 or wlan1, but with more information I may have some ideas.
I'm using bridged networking. Yes, I can connect to the local network but can't reach the Internet. I tried NAT but got the same results.
Everything works fine as long as I stick with Linux kernel 2.6.20 or older.
I am currently running VMware workstation 6 on my laptop (SuSe), and I have never had any issues with my XP, Vista, or Sun10 guest connecting on either my eth0 or wlan1, but with more information I may have some ideas.
From what I can tell, yes it sounds like it is the version of VMware is not compatible with your kernel. I am using the kernel version 2.6.18.2-34. I suggest to try using VMware workstation, or you may need to wait until a newer version of vmware-server is out. If not, then I guess that you may have to down-grade your kernel. Also you can try vmware-player, but you will not be able to create any new VM's with player.
From what I can tell, yes it sounds like it is the version of VMware is not compatible with your kernel. I am using the kernel version 2.6.18.2-34. I suggest to try using VMware workstation, or you may need to wait until a newer version of vmware-server is out. If not, then I guess that you may have to down-grade your kernel. Also you can try vmware-player, but you will not be able to create any new VM's with player.
Thank you for the information. I had suspected you were using a kernel prior to 2.6.22.
I'm already using Workstation for Linux 6.0 (and I've also tried 6.01). You are perhaps correct that there's an incompatibility with more recent Linux kernels, at least as far as wireless networking is concerned. So for now I'm using kernel 2.6.20, which works fine. I had wanted to use kernel 2.6.22, as it supports SLUB memory allocation but, since I need VMware more than I need the latest-and-greatest memory allocation algorithm, I'll wait for that.
Following on funderburg's work, Hauke-m has posted on the VMware forum a pre-patched vmnet.tar for VMware (Linux) 6.0.1. You can find the link in this thread, post no. 24: http://communities.vmware.com/message/761031#761031
He has also posted a link to a patch that permits wired as well as wireless bridged networking.
Following on funderburg's work, Hauke-m has posted on the VMware forum a pre-patched vmnet.tar for VMware (Linux) 6.0.1. You can find the link in this thread, post no. 24: http://communities.vmware.com/message/761031#761031
He has also posted a link to a patch that permits wired as well as wireless bridged networking.
This is much more elegant solution I think. More of a razor blade solution instead of my sledgehammer solution.
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"
Hello,
someone can tell me how to apply this patch ? should I replace bridge.c's code by this code ? or make a new file in the vmnet-only folder, tar it, and rerun the vmware-config.pl ??
please tell me faster, this problm block me to make many test on my laptop
Hello,
someone can tell me how to apply this patch ? should I replace bridge.c's code by this code ? or make a new file in the vmnet-only folder, tar it, and rerun the vmware-config.pl ??
please tell me faster, this problm block me to make many test on my laptop
thanks
Bearing in mind that this patch is now a year old, *wasn't the ideal solution*, the kernel has moved on a lot, and vmware has probably been updated by now, I'd rather not give you the exact command in case it doesn't work. If you feel brave run "man patch" to learn how to apply source patches.
Otherwise, yes, you're "correcting" the existing bridge.c. Just remove any matching lines with a "-" and add the lines that have a "+". Then rebuild the tar file and re-run vmware-config.pl
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.