Fórumok
Sziasztok.
Ismét problémám van és segítség kellene.
Adott egy Suse9.3 host oprendszer amin fut a vmware és emulálja a winxp-t.Azt szeretném elérni,hogy meg tudjak osztani egy olyan mappát pl.root mappa amit az emulált xp-ből is el tudok érni.Ez azért kellene mert a win-t nem akarom használni netezésre,de ha letöltök valamit azt el tudjam érni könnyedén.Előre is köszi.
Hozzászólások
ha samban meg van osztva a cucc, akkor azt el tudod erni a belso OSbol.
Illetve van valami shared folder, valahogy igy kell elerni: \\.kulsogep\folderneve
(vmware sugoban benne van)
Hogyan tudom megosztania samba-ban(val)?
Noha qemu-s a doksi, a samba beallitasok és az XP-s kalandozasok (kiveve az IP tartomany) ugyanugy ervenyesek:
FAQ
I am using qemu to run Windows 2000 on Linux. I can't access the user mode networking SMB server when my Linux window manager starts qemu, e.g. "qemu -smb share win2k.img". How do I fix this?
Your window manager needs to start it like this:
qemu -smb $HOME/share win2k.img
(assuming that you have created a dir called "share" in your home dir)
More Tips:
* Make sure your LMHOSTS file on Windows has the line:
10.0.2.4 smbserver
* If you can't find smbserver in My Network Places, try searching for it, e.g. (on Windows 2000) Start -> Search -> Files or folders -> Computers, then search for "smbserver". When found, double click "smbserver", right click "qemu" and map it to a drive letter. You will then be able to access the shared drive from My Computer.
* To access the Linux root (/) filesystem from Windows, create a symbolic link inside your "share" dir, e.g. (on Linux):
ln -s / $HOME/share/root
Or just do a '-smb /'
Both methods are potentially insecure. It is not recommended to share one's root filesystem unless there is a really good reason to do so.
* The program "/usr/sbin/smbd" must exist on your Linux system for the -smb feature to work. Install the "Samba" package if you don't have this on your system.
I am using qemu to run Windows 2000 on Linux. After I create a file in the SMB Shared Folder (on Windows), the file attributes keep changing to read-only. How can I stop this from happening?
This can be solved by running your own Samba server (that requires users to login) & starting qemu (on Linux) without the -smb option, e.g. "qemu win2k.img".
Here is a Samba config file (smb.conf) that will share a directory named "share" in the users home diectory to the qemu Windows 2000 session (once the user has logged in to the Samba server via Windows).
[global]
workgroup = WORKGROUP
wins support = yes
encrypt passwords = yes
hosts allow = 10. 127.
[qemu]
path = /home/%U/share
valid users = %U
public = no
writable = yes
printable = no
Tips (for those running their own Samba server):
* You need to add the Linux user (e.g. fred) to the Samba user password database:
smbpasswd -a fred
* Use the same username & password for Linux user, Samba user & Windows 2000 user. If you do this, Windows will not ask you for the username & password when you access the SMB Shared Folder.
* You can find the Samba server (and qemu shared folder) in Windows 2000 by searching for a computer named "10.0.2.2" (as long as the Samba server is on the qemu Linux host), e.g. Start -> Search -> Files or folders -> Computers, then search for "10.0.2.2". Alternatively, if the Linux host has a configured network card, you can search for the IP address of the card. If the Samba server is on a different box, search for the IP address of that box.
I am using qemu to run Windows 2000 on Linux & I have set up the SMB server successfully. How do I map My Documents to the Linux file system?
* Create a dir inside your SMB shared dir (on Linux), e.g.:
mkdir $HOME/share/mydocs
* Map your qemu shared folder (in Windows) to a drive letter (e.g. E:).
* Right click My Documents (in Windows), click Properties, in Target enter "E:\mydocs", click OK.
Kár lenne őt a smb.conf rejtelmeibe bevezetni. A Yast elég jól dolgozik a samba szerver belövése alatt. Így nem tud hibázni :)
VMWare Tools telepit (VM menu), a Virtualis gep beallitasainal megosztod a /-ot es felmappeled (Windows meghajto csatlakoztatasa: \\.host\shared - ha "shared" a megosztas neve)
A shared mappa be van állítva a vmware-ban de a win így sem látja.
VMWare Tools fel van installalva?
Azt honnan tudhatom meg hogy fel van-e?Tudomásom szerint(ami kevés)igen.
Az ora mellett van egy kis VMWare jel. Vagy VM menuben az Install VMWare tools helyett valami mas van...vagy csak raklikkelsz a VM/VMWare Tools-ra es felinstallalod ujra :-)
A VM menüben az "Install VM ware tools" menüpont nem vállaszható opció.
akkor keresd meg a iso fájlt: /opt/vmware/ mappa alatt valahol van egy windows.iso
usr/lib/vmware/isoimages/windows.iso
Itt találtam egy 13,6megás iso-t.
ő az! Tedd be a virtuális CD-ROM-ba, aztán várd az autorunt, vagy indítsd el a setupot. Próbáld meg előbb a repairt.
Ya, honnan tudod, hogy fel van-e téve: Vezérlőpult ->Programok hozzáadása/törlése. Ha igaz itt van olyan hogy VMware Tools.
Másik verzió: Start -> Futtatás -> services.msc, a megjelenő ablakban keress vmi VMware kezdetű szervízt.
VMware Workstation
5.5.1 build-19175
Ez fut jelenleg.
Szvsz jobban jársz ha felhúzol egy sambát. A Süsü linuxon ezt nagyon könnyen be lehet lőni YaST-ból. Nálam se korrekt a linuxos SharedFolders (Gentoo, 2.6.16-gentoo kernel).
Ha kijelölöd a sambát (samba vagy samba-server csomag) akkor elvileg dependelnie kell a Yast2-samba vagy hasonló nevű csomagra. Ha nem keresd meg, és azt is tedd fel. Ezután valahol a Hálózati szolgáltatások között megjelenik a Samba Szerver ikon, ezen akciózva feljön egy roppant intuitiv varázsló, aki megcsinálja neked. Elég a Share (Megosztás) szintre felvinni. Annyit kell majd a virtuális XP-vel csinálni, hogy egy IP-alháló és egy munkacsoport legyen.
Ha kell bővebb segítség írj.
hron kukkac hronszoft pontt dyndns pontt biz
Soxerencsét:
Hron György
:type:
Rajta vagyok.
szvsz shared folder bugos volt nekem (host fs reiser3.6), ha nem latsz konyvtarakat vagy abba a fileokat etc inkabb valtsal vissza sambara v ftpre az a tuti
Igen sajnos, mint fentebb is írtam linux alatt gázos egy picit nagyon.
De a Samba a legjobb. Nem kell hozzá nála semmi hokuszpók. Pontosabban inkább csiribi-csiribá (varázsló) kell neki :D
Fölraktam a win alá a vmware tools-t és az óra mellett meg is jelent az ikon,tehát fut.A háló kártyta NAT-on fut.
De a samba-ból hogyan tudom ezt megcsinálni?
Mire gondolsz? Samba konfigurálását föntebb írtam. Figyelj, ha nagyon nem megy, egy másfél óra mulva otthon leszek írj ide mailt, és segítek:
hron kukkac hronszoft pontt dyndns pontt biz
Hron György
Köszönök minden segítséget.MEGCSINÁLTUK(TAM)!!!
Minden jót és még egyszer köszi.
Szivesen
Gratulálok Csakij Úr! SZ