Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't see host file system from VMware (running XP)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 213
Location: Germany, not far away

PostPosted: Fri Jul 12, 2002 8:14 pm    Post subject: Can't see host file system from VMware (running XP) Reply with quote

I've emerged app-emulation/vmware-workstation-3.1.1.1790 and set it up for host-only access and NAT, and I get two vmnet interfaces when starting VMware:
Code:
vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01 
          inet addr:192.168.19.1  Bcast:192.168.19.255  Mask:255.255.255.0
[...snip...]

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08 
          inet addr:192.168.86.1  Bcast:192.168.86.255  Mask:255.255.255.0
[...snip...]


I've installed Windows XP and the NAT interface via vmnet8 seems to work very well as I have full internet access from my virtual XP box.

However, I can't access the Gentoo host file system from XP although all Samba services seem to be up and running:
Code:
 4117 /opt/vmware/bin/vmnet-bridge -d var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0
 4141 /opt/vmware/bin/vmnet-netifup -d var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1
 4164 /opt/vmware/bin/vmnet-netifup -d var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
 4177 /opt/vmware/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid -m /var/run/vmnet-natd-8.mac -c /etc/vmware/vmnet
 4193 /opt/vmware/bin/vmnet-dhcpd -cf etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf etc/vmware/vmnet1/dhcpd/dhcpd.le
 4203 /opt/vmware/bin/vmnet-dhcpd -cf etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf etc/vmware/vmnet8/dhcpd/dhcpd.le
 4220 /opt/vmware/bin/vmware-nmbd -D -l /dev/null -s etc/vmware/vmnet1/smb/smb.conf -f /var/run/vmware-nmbd-vm
 4230 /opt/vmware/bin/vmware-smbd -D -l /dev/null -s etc/vmware/vmnet1/smb/smb.conf -f /var/run/vmware-smbd-vm


The problem is that XP even can't see the Gentoo box: searching in XP for a computer with name "vmware" (this is how I called the hostname in smb.conf) does not find it, and the Network Neighbourhood only shows the XP box itself.

I have full FTP access from VMware-XP to Gentoo, but this is obviously routed via NAT, isn't it? So, I have a problem with the NetBIOS/SMB protocol.

This worked fine on my Debian system where I had Windows 98 running in VMware, and I had the same VMware configuration (as far as I can remember :wink: ).

Anyone?
_________________
Linux user #216018
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jul 12, 2002 11:47 pm    Post subject: Re: Can't see host file system from VMware (running XP) Reply with quote

maystorm wrote:
The problem is that XP even can't see the Gentoo box: searching in XP for a computer with name "vmware" (this is how I called the hostname in smb.conf) does not find it, and the Network Neighbourhood only shows the XP box itself.

NetBIOS name resolution is a broadcast protocol -- it only works on the local subnet unless you set up something like WINS or Active Directory

maystorm wrote:
I have full FTP access from VMware-XP to Gentoo, but this is obviously routed via NAT, isn't it? So, I have a problem with the NetBIOS/SMB protocol.

correct.

maystorm wrote:
Anyone?

Try accessing the resource via IP address instead of NetBIOS name. So, instead of doing:

Code:
\\myserver\sharename


do

Code:
\\1.2.3.4\sharename


and see if that works. Since FTP is working, your IP layer (NAT, etc.) is working just fine -- don't muck around with that. :)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 213
Location: Germany, not far away

PostPosted: Sat Jul 13, 2002 12:21 am    Post subject: Re: Can't see host file system from VMware (running XP) Reply with quote

klieber wrote:
\\1.2.3.4\sharename

Yep, this did the trick.

Thanx!
_________________
Linux user #216018
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat Jul 13, 2002 12:37 am    Post subject: Reply with quote

OK, then you can put an entry in your XP hosts file and then youi'll be able to access it via:

Code:
\\machinename\sharename


--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jul 13, 2002 12:40 am    Post subject: Reply with quote

As in, add a line that reads:

Code:
1.2.3.4 machinename


...to C:\WINNT\hosts

(I haven't written drive lettering in so long... I feel dirty now! :cry:)
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat Jul 13, 2002 12:44 am    Post subject: Reply with quote

delta407 wrote:
I haven't written drive lettering in so long...

I can tell, because it should be:
Code:
c:\winnt\system32\drivers\etc\hosts

:)

might also be c:\windows since it's a fresh install of XP, as opposed to an upgrade of Win2K.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jul 13, 2002 12:47 am    Post subject: Reply with quote

klieber wrote:
delta407 wrote:
I haven't written drive lettering in so long...

I can tell, because it should be ... :)


Evidently the Force is not Windows XP-compatible. ;)
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat Jul 13, 2002 1:08 am    Post subject: Reply with quote

delta407 wrote:
Evidently the Force is not Windows XP-compatible. ;)


Of course not -- you have to use the Dark Side if you're using WinXP. :lol:

(ok, now tell me you didn't see that one coming...)

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 213
Location: Germany, not far away

PostPosted: Sat Jul 13, 2002 7:02 am    Post subject: Reply with quote

Okay gentlemen, make your choice:

[img:c801991aaf]http://www.elifesize.com/SWAnimator.gif[/img:c801991aaf]

This isn't getting OT, isn't it? :wink: Thank you for all your hints, anyway.
_________________
Linux user #216018
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat Jul 13, 2002 10:30 am    Post subject: Reply with quote

maystorm wrote:
This isn't getting OT, isn't it? :wink:


He's right, you know. Damn -- where are the moderators on this board!?!?! They should be more vigilant about this kind of thing...

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum