VMware Communities
gndagnor
Contributor
Contributor
Jump to solution

How to share WiFi connection between Mac (host) to XP (guest)?

Hello,

When my Mac is connected to an ethernet cable, I am able to share the connection with my XP VMWare (bootcamp).

Now I'm using WiFi connection and I can't get a connection when using NAT or bridged in VMWare's network settings. Help please?

Reply
0 Kudos
1 Solution

Accepted Solutions
WoodyZ
Immortal
Immortal
Jump to solution

Reboot the Mac and then without starting Fusion run the following command in a Terminal (/Applications/Utilities/Terminal). Just copy and paste the command as is and press Enter.

kextstat | grep vmware; ps -ax | grep vmnet

The output should be similar to the following.

$ kextstat | grep vmware; ps -ax | grep vmnet
327    0 0x34962000 0xd3000    0xd2000    com.vmware.kext.vmx86 (2.0.2) <12 6 5 4 2>
328    0 0x34223000 0xb000     0xa000     com.vmware.kext.vmci (2.0.2) <6 5 4 2>
329    0 0x3422e000 0x6000     0x5000     com.vmware.kext.vmioplug (2.0.2) <41 21 6 5 4>
330    0 0x342ca000 0x9000     0x8000     com.vmware.kext.vmnet (2.0.2) <12 6 5 4 2>
12815 ??         0:00.01 /Library/Application Support/VMware Fusion/vmnet-natd -c /Library/Application Support/VMware Fusion/vmnet8/nat.conf -m /Library/Application Support/VMware Fusion/vmnet8/nat.mac -d /var/run/vmnet-natd-vmnet8.pid vmnet8
12821 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-dhcpd -cf /Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf -lf /var/db/vmware/vmnet-dhcpd-vmnet8.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
12823 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-netifup -d /var/run/vmnet-netif-vmnet8.pid vmnet8 vmnet8
12826 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-netifup -d /var/run/vmnet-netif-vmnet1.pid vmnet1 vmnet1
12829 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-dhcpd -cf /Library/Application Support/VMware Fusion/vmnet1/dhcpd.conf -lf /var/db/vmware/vmnet-dhcpd-vmnet1.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
12831 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-bridge -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 
12904 ttys001    0:00.01 grep vmnet
$ 

What does your's show?

View solution in original post

Reply
0 Kudos
5 Replies
asatoran
Immortal
Immortal
Jump to solution

NAT should work regardless of whether your host is wired or wireless.

Have you rebooted the Mac? (Yes, Macs need to be rebooted every once in awhile, too. Smiley Wink ) Does NAT still work when the host is using a wired connection. (Meaning, you said it worked in the past. Is it still working when you connect a wire, after rebooting your Mac.)

gndagnor
Contributor
Contributor
Jump to solution

I've just tested vmware again with ethernet connected to my macbook, it doesn't work either. Weird, as it works last time when using NAT or bridged. So now I can't get connected at all. I've tried to uninstall and reboot my macbook, that didn't work too. What can I do now?

Connections work when I login directly into bootcamp though.

Reply
0 Kudos
asatoran
Immortal
Immortal
Jump to solution

How did you uninstall? You used the uninstaller from the DMG?

With Fusion installed, you should see several VMWare processes running in Activity Monitor, specifically, vmnet-bridge, vmnet-dhcpd, & vmnet-natd. If those aren't running, normally I'd recommend a reboot and reinstall, if necessary. (For completeness, be sure to reboot after uninstalling, then reinstall.) I'm non a *NIX guy so I don't know the terminal commands to check the daemons from the command line.

WoodyZ
Immortal
Immortal
Jump to solution

Reboot the Mac and then without starting Fusion run the following command in a Terminal (/Applications/Utilities/Terminal). Just copy and paste the command as is and press Enter.

kextstat | grep vmware; ps -ax | grep vmnet

The output should be similar to the following.

$ kextstat | grep vmware; ps -ax | grep vmnet
327    0 0x34962000 0xd3000    0xd2000    com.vmware.kext.vmx86 (2.0.2) <12 6 5 4 2>
328    0 0x34223000 0xb000     0xa000     com.vmware.kext.vmci (2.0.2) <6 5 4 2>
329    0 0x3422e000 0x6000     0x5000     com.vmware.kext.vmioplug (2.0.2) <41 21 6 5 4>
330    0 0x342ca000 0x9000     0x8000     com.vmware.kext.vmnet (2.0.2) <12 6 5 4 2>
12815 ??         0:00.01 /Library/Application Support/VMware Fusion/vmnet-natd -c /Library/Application Support/VMware Fusion/vmnet8/nat.conf -m /Library/Application Support/VMware Fusion/vmnet8/nat.mac -d /var/run/vmnet-natd-vmnet8.pid vmnet8
12821 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-dhcpd -cf /Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf -lf /var/db/vmware/vmnet-dhcpd-vmnet8.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
12823 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-netifup -d /var/run/vmnet-netif-vmnet8.pid vmnet8 vmnet8
12826 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-netifup -d /var/run/vmnet-netif-vmnet1.pid vmnet1 vmnet1
12829 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-dhcpd -cf /Library/Application Support/VMware Fusion/vmnet1/dhcpd.conf -lf /var/db/vmware/vmnet-dhcpd-vmnet1.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
12831 ??         0:00.00 /Library/Application Support/VMware Fusion/vmnet-bridge -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 
12904 ttys001    0:00.01 grep vmnet
$ 

What does your's show?

Reply
0 Kudos
gndagnor
Contributor
Contributor
Jump to solution

Ah! I finally got it. I set the internet protocol tcp/ip to obtain ip address and dns automatically, now NAT works! Thanks for the help everyone!

Reply
0 Kudos