HaikuArchives / VMwareAddons

VMwareAdd-ons is a set of tools to enhance interaction with Haiku running in VMware
MIT License
7 stars 9 forks source link

Networking dialog on startup #27

Open asmaloney opened 3 years ago

asmaloney commented 3 years ago

Every time I start Haiku, VMWare throws up this dialog:

Screen Shot 2021-06-23 at 10 45 41 AM

Is there any way to silence this?

korli commented 2 years ago

Did you try the following?

"There's a checkbox under menu Fusion -> Preferences -> Network

"Require authentication to enable promiscuous mode"

or ethernet0.noPromisc = "true" in vmx config file

asmaloney commented 2 years ago

Nope! I don't see that preference anywhere - there's no "Network" in my preferences. I'm using VMWare Fusion Version 11.5.7 (17130923) on macOS 10.14.6.

No other OS I've used in Fusion has required it - I don't like my OSes being promiscuous! (j/k - I have no idea what "promiscuous mode" means w.r.t. networking in this context.)

volo-droid commented 2 years ago

@asmaloney here is the setting for the same VMWare/macOS setup:

asmaloney commented 2 years ago

Thanks Volo.

I have VMWare Fusion Version 11.5.7 (17130923), and that section isn't there.

Screen Shot 2021-09-24 at 20 56 37 PM
diversys commented 2 years ago

That tab is only available when you have the professional version of VMware Fusion. It is not available on the free VMware Player.

See https://communities.vmware.com/t5/VMware-Fusion-Discussions/Where-did-the-Network-Settings-Disappear/td-p/2839562

asmaloney commented 2 years ago

I don't have the professional or the free - just the regular 'ol VMware Fusion that I paid for, but the pref doesn't exist there either.

So... back to the original question then :-) Given that this setting is not an option, is there another way to silence this dialog? Does Haiku really need this "promiscuous mode"?

volo-droid commented 2 years ago

For the same configuration, I don't have that popup regardless of the setting in the Network tab. What revision of Haiku are you running?

asmaloney commented 2 years ago

Huh - that's strange.

This is what I have:

Screen Shot 2021-09-26 at 18 25 52 PM
volo-droid commented 2 years ago

Same here. What's the Network config (prefixed with ethernet0.) in your .vmx file? You could try to set the following parameters to the values I have:

ethernet0.connectionType = "nat"
ethernet0.addressType = "generated"
ethernet0.linkStatePropagation.enable = "TRUE"
asmaloney commented 2 years ago

(Wow - sorry for my slow response 😄)

Looks like I have the same thing:

ethernet0.connectionType = "nat"
ethernet0.addressType = "generated"
ethernet0.virtualDev = "e1000"
ethernet0.linkStatePropagation.enable = "TRUE"
ethernet0.present = "TRUE"
volo-droid commented 2 years ago

@asmaloney That's super weird. Can you try adding the line @korli was suggesting above?

ethernet0.noPromisc = "TRUE"

Source: http://sanbarrow.com/vmx/vmx-network-advanced.html

asmaloney commented 2 years ago

Thanks @volo-droid . That does address the symptom.

I'm curious about the real issue - do you know why Haiku requires this "promiscuous" mode? I've never seen it with any other OS I use with Fusion.

volo-droid commented 2 years ago

I'm not sure what causes it, but I believe it's specific to your setup (as I don't ever had that dialog on the very same configuration). When does that popup appear, is it after the system boots to the desktop, or before? Have you installed some launch daemons or some other components from haikuports? Do you still observe the popup if Haiku is booted in the safe mode and/or with disabled user add-ons? (see https://www.haiku-os.org/docs/userguide/en/bootloader.html)