Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vmware Share
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Maximus2000
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 127
Location: USA

PostPosted: Mon Mar 28, 2005 9:30 pm    Post subject: Vmware Share Reply with quote

Ok,

I have Windows XP loaded as my guest OS. I am trying to share files between the two. I am using bridge networking so my guest OS gets it's own IP. However, whenever I go to My Network Places => vmware shares=> \\.host\shared floder\ I see nothing and cannot write to it. Here is my smb.conf under /etc/vmware/vmnet1/smb/smb.conf

;
; Configuration file for Samba operating on vmnet1.
;
; This file was automatically generated by the VMware configuration program.
; If you modify it, it will be backed up the next time you run the
; configuration program.
;

; Global settings
[global]
;
; Identity
;

; Allow several Samba servers on different subnet without conflicts
socket address = 192.168.148.1
interfaces = 192.168.148.0/255.255.252.0
bind interfaces only = yes

; Workgroup the host belongs to
workgroup = WORKGROUP

; SMB name of the host (the hostname by default)
; netbios name =

; Description of the host
server string = VMware host

;
; Access
;

; Allow connections from
; Beware: if we use this directive, smbd will try to do a reverse resolution
; of the guest IP. If the host is disconnected from the network and uses
; named, that reverse resolution will take a long time, and the smb client
; (the guest) will give up waiting for a smb reply before the reverse
; resolution timeout occurs :(
; Because it doesn't add any real security, we don't use this --hpreg
; hosts allow = 192.168.148.0/255.255.252.0

; Authentication scheme
security = user
encrypt passwords = yes

;
; Options
;

; Automatically load the printer list (from /etc/printcap by default)
load printers = yes

; Gives better performance
socket options = TCP_NODELAY

;
; Files and directories
;

; Debug log for _both_ daemons
; log file = /etc/vmware/vmnet1/smb/var/log.smb
; log level = 1
; Max log size in KB
; max log size = 50

; Locks
lock directory = /etc/vmware/vmnet1/smb/var/locks

; SMB passwords
smb passwd file = /etc/vmware/vmnet1/smb/private/smbpasswd

; VMware extension to use codepages in a different directory
code page directory = /opt/vmware/lib/smb/codepages

;
; Name browsing
;

; Allow the host to participate in master browser elections
local master = yes

; Force a local browser election upon startup
; We need that otherwise it takes a long time before the windows network is
; browsable
preferred master = yes

; Do not try to resolve SMB names via DNS
dns proxy = no

;
; Shared resources
;

; Home directories
[homes]
comment = Home directories
browseable = no
writable = yes

; Printers
[printers]
comment = All printers
path = /var/lpd
browseable = no
guest ok = no
writable = no
printable = yes

[HostFS]
comment = VMware host filesystem
path = /
public = no
writeable = yes
printable = no

Any help would be great.
_________________
Thanks
Maximus
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Tue Mar 29, 2005 1:19 pm    Post subject: Reply with quote

My smb.cnf looks just like yours, so I think that your setup is ok.

Have you chosen certain folders for sharing between your host and the windows xp guest? This is done by first selecting your XP-virtual machine and then choosing the VM menu at the top of the vmware window. From the menu, select 'Settings (Ctrl D) and in the new window, choose the 'Options' tab. There you will see the 'Shared folders' options, and a windows allowing you to add shared folders from your host system that your guest system may use. Make sure that the foldrs you select have status 'Enabled' so they are activated by vmware/samba. Here's a screenshot (33K) for more info.
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
dewke
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 77
Location: The sunshine state

PostPosted: Tue Mar 29, 2005 9:29 pm    Post subject: Reply with quote

Maximus,

I have a similar config (linux host and win2k guest). What I did to have the shares visible is to enable a 2nd interface under vmware that is host only.
_________________
Oderint dum metuant
-Caligula
Back to top
View user's profile Send private message
evil_device
n00b
n00b


Joined: 29 Mar 2005
Posts: 11

PostPosted: Mon Apr 04, 2005 11:57 am    Post subject: VMware gentoo 2005.0 AMD Reply with quote

I have problems with installing WMware on my Gentoo 2005.0 AMD version.

If I run vmware-config.pl I get errors that I don't understand:

Code:
slettebak vmware # vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

The correct version of one or more libraries needed to run VMware Workstation
may be missing.  This is the output of ldd /usr/bin/vmware:
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib32/libm.so.6 (0x55585000)
        libdl.so.2 => /lib32/libdl.so.2 (0x555a8000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0x555ac000)
        libX11.so.6 => not found
        libXtst.so.6 => not found
        libXext.so.6 => not found
        libXt.so.6 => not found
        libXpm.so.4 => not found
        libICE.so.6 => not found
        libSM.so.6 => not found
        libc.so.6 => /lib32/libc.so.6 (0x555ff000)
        /lib/ld-linux.so.2 (0x55555000)

This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Workstation.

Hit enter to continue.

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.11-gentoo-r3/build/include] /usr/src/linux/include

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r3'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config1/vmmon-only/linux/hostif.c:68:
/tmp/vmware-config1/vmmon-only/./include/pgtbl.h: In function `PgtblVa2PTELocked ':
/tmp/vmware-config1/vmmon-only/./include/pgtbl.h:81: error: structure has no mem ber named `pud'
/tmp/vmware-config1/vmmon-only/linux/hostif.c: In function `MapCrossPage':
/tmp/vmware-config1/vmmon-only/linux/hostif.c:566: error: `PAGE_KERNEL_EXECUTABL E' undeclared (first use in this function)
/tmp/vmware-config1/vmmon-only/linux/hostif.c:566: error: (Each undeclared ident ifier is reported only once
/tmp/vmware-config1/vmmon-only/linux/hostif.c:566: error: for each function it a ppears in.)
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/hostif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r3'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

_________________
"Computer science is no more about computers than astronomy is about telescopes." Quote: Edsger Dijkstra
Back to top
View user's profile Send private message
evil_device
n00b
n00b


Joined: 29 Mar 2005
Posts: 11

PostPosted: Mon Apr 04, 2005 3:27 pm    Post subject: Reply with quote

It is solved, I just did emerge vmware-workstation and succeed!!:D
_________________
"Computer science is no more about computers than astronomy is about telescopes." Quote: Edsger Dijkstra
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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