Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've had Ubuntu 9.04 running on this computer for a while now. I just installed VMWare Player on my system and now when I try to browse the network in the Ubuntu host all the computers will show up one time only. If I try to browse again, no computers appear and even the workgroup is missing. I have to run:

sudo /etc/init.d/vmware stop
sudo /etc/init.d/samba restart

to get the network visable again. As long as VMWare Player is stopped Samba seems fine. I guess it's got to do with the virtual adaptors that VMWare installs. Is there a way to get them both to work, or did I just miss-configure something?

share|improve this question
    
Are you running an VMs at the time? –  Josh Sep 21 '09 at 23:43
    
No, I only use VMWare occasionally. There are no virtual machines running. –  TonyUser Sep 22 '09 at 22:18
add comment

1 Answer 1

This is probably because of the other networks that exist when VMware is up and running. I suggest you samba to only bind to the interface you want it to, and not to the vmnet interefaces that VMware sets up. To do this, edit your samba configuration in /etc/samba/smb.conf, and look for the lines that look like this:

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

You should probably change the interfaces to just your physical adapter (find it with ifconfig -a):

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
   interfaces = eth0

Don't forget to remove the semi-colon to uncomment the line.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.