OpenSUSE Network :: Access Shared Folder From Guest OS And Vice Versa?
Dec 3, 2010
I'm a Windows person and will soon be tasked with UNIX/LINUX projects. I'm trying to learn as much as possible in a very short period of time. I'm very familiar with VMPlayer and VirtualBox. Recently I installed OpenSUSE 11.3 as a guest OS on VMPlayer (bridged network). The host is WinXP. I have also enabled shared folder to the host @ CRepositoryInstalls. Question - How do I access the shared folder from OpenSUSE (the guest OS) and vice-versa?
The title says it all: I have two folders which I share in Ubuntu (10.10), one of them is "public", so I set it to allow guests to create/move/delete files in the folder. Then there is my mother's PC running Windows XP Professional (also one shared folder with write access). When I was using Windows 7, I could create/delete/edit files on my mother's shared folder but now, using Ubuntu, I can only read from it. Same with the shared folder in Ubuntu, I can only read it from XP but not write to it.
OpenSUSE installed in a Virtualbox Virtual Machine and I want to set a shared folder.
1 - Set up a Virtual Machine and install OpenSUSE 11.2
2 - Create a shared folder on host (HostFolder)
3 - Setup the shared folder in Virtualbox Via the Virtual Machine details or via Devices > Shared Folders...
4 - Install dependencies for running the Virtualbox installer You need to install the right development kernelpackage for your machinetype (use 'zypper search -i kernel' to see what's installed) sudo zypper make gcc kernel-source kernel-hosttype/default-devel
5 - Run the Virtual Machine and go to Devices > Guest Additions This mounts an iso image in your OpenSUSE guest.
6 - Open a root terminal and run
cd /usr/src/linux make oldconfig && make prepare && make scripts && make dep cp ../linux-obj/$HOSTTYPE/default/Module.symvers . make prepare
* A commenter on previously mentioned thread says this step is unnecessary but it doesn't work without on my system. I suggest trying step 7 first and returning to step 6 if that fails. *
7 - Run ./VirtualboxLinux yourhosttype .run from the mounted iso image.
8 - Create shared folder in OpenSUSE (GuestFolder)
9 - Test with sudo mount -t vboxsf HostFolder /home/user/GuestFolder It works? Great! Let's set up the system so it automounts for your regular useraccount instead of root-only access.
10 - Add this line to /etc/fstab HostFolder /home/user/GuestFolder vboxsf defaults,uid=1000,gid=1000 0 0
11 - It works for me but if it still doesn't automount after a reboot; sudo mount -a
Ok this is a really weird issue because of the way it played it out. I have been researching it off and on for weeks now trying to figure it out and have come up with nothing. Basically when I first installed Ubuntu 10.10 (64 bit) I was able to access the shared files on my Windows 7 (64 bit) computer perfectly once I changed the domain name in Samba. However I wasn't able to access my Ubuntu shares from Windows 7. After researching for a while to figure that out, I found this:[URL]... Boom! Instantly I could access my Ubuntu shares without a problem from Windows 7.
However after I did this something happened where I could no longer access Windows 7 files from Ubuntu. Unfortunately I am not sure if the change happened immediately or some time later. When I go Places > Network I see the name of my Ubuntu computer (Living-Room) and my Windows computer (Nick-PC) as well as a folder called "Windows Network." When I open Nick-PC it brings up a dialog box saying a password is required. There are three text entry fields and a couple option:
Username: Nick Domain: NRAU Password: [not filled in] _ Forget password immediately _ Remember password until you logout _ Remember password forever
The password field has to be filled in and I have tried every option. Each time it thinks for a second and then just pops the same dialog box again.
I have an Nvidia GF 9600GT video card, and am running the proprietary drivers. The video card supports both 24-bit and 16-bit colour depth, and works with whichever I set up in xorg.conf as a DefaultDepth value.
However, I would like to switch the bit-depth "on the fly", i.e. without restarting X, just like I'm able to change the screen resolution (e.g. with xrandr). Is this possible? If so, how, and if not, why?
I have Windows and Linux machines on the same subnet. My router configuration correctly tells me both their machine names, and their IP addresses. However, when I try and ping a Linux machine from a Windows machine, or ping a Windows machine from a Linux machine, I need to use IP addresses rather than names. If I'm pinging a Windows machine from a Windows machine, or a Linux machine from a Linux machine, the machine name correctly resolves without any hosts file entries. Why is this?
I would have thought my router (D-Link DIR-655) would act as a DNS server itself. I see it has an option called "Enable DNS Relay", but from what I've read this won't help me. If it's relevant, the DIR-655 is used for internal traffic, with my ISP's Netgear DGN1000 used as a gateway to the Internet. It's on a different subnet though, and all my machines connect to my DIR-655, not the DGN1000. What do I need to do to have host names automatically resolved within my subnet regardless of the operating system that they're running?
I am using mnemosyne [URL]... for my Spanish vocabulary and I would like to add some dictionaries so that I won't have to type it all in myself. There are several English-Spanish dictionaries, but the problem is I would like it German-Spanish or vice versa. Does anybody know where I can find some?
I'm looking for a way to distribute files to customers and vice versa via web. What I'd like to find is a program that allows a user to upload a file to a web server and then email a link to the file to the recipient. It would have to be secure of course.
I had a look through a tutorial video showing how to set up Samba, and the end result was the only shared file/folder showed up on Windows. I want a direct access to all the files and folders like you can do from Windows to Windows, by signing in the user account from another system. And likewise I want access to all Ubuntu files and folders of a user account through Windows.
I have a machine running linux with 3 ethernet interfaces attached.
My route output:
eth0 is attached to a laptop, eth1 is attached to a PC. eth2 is attached to a DSL modem, and the server is successfully acting as my internet gateway. The trouble is, my PC cannot see my laptop and vice versa. E.G. cannot ping, host seems down.
PC1 runs radvd to provide router advertisements to the network and a DHCPv6 server for stateful addresses.Each interface is configured on a separate subnet. PC2 runs a DNS server on eth0. PC2:eth1 is used as an IPv6 client for testing purposes. The connections from PC1 to PC2 are just crossover cables.I've created virtual machines of both PCs and have created 4 virtual adapters on the host machine for each of the local-only interfaces.Now I have this:
I'm developing a C++ application which is run on linux. I need to calculate epoch time for a given date and vice versa. (no of seconds elapsed since 1979-01-01) I used the following two methods.I need to convert the given date to epoch time and again convert that epoch time to the corresponding date.But the following methods doesn't give me the correct answer. Method to calculate the epoch time:
My problem is this. Lets think that the value I get as epoch time for the 2010-01-05:000000 is 1262649600. (lTime value) Then I use the same value (1262649600) as a input to the GetTimeStamp method, I didnt get the dateString as 2010-01-05:000000. The date is changed by one day.
I have just recently setup our network with an Ubuntu server which is being accessed by one Ubuntu workstation with nfs, & one XP workstation with Samba. Following instructions from the web, I set permissions like this:
sudo chmod 777 /media/Data sudo chown -R curley:curley /media/Data The problem is that files created in Samba are locked from nfs & vice/versa. I am assuming I need to add the nfs network share to the Curley group or use something more global than curley to make this work?
Samba is working ok from Ubuntu when browsing through Nautilus, but there is no access to shares when doing things like uploading or downloading files to the web (the "save file" window only shows local folders). So I guess I wouldn't mind just using Samba if I could map a folder in Samba to solve that problem.
1. I need a script(like a scheduled cron job) which should perform Automatic copy (backup) of a directory from ubuntu server to windows and vice versa....
i tried every thing like samba mounting,ftp,etc..with samba its possible to map the network drive of an ubuntu directory in windows..but if the ubuntu server is not available then i cant access the network share..
Exactly this situation is happening for me while backing up tmp directory of ubuntu server ...
so in this case i need a permanent backup of tmp directory of ubuntu server in windows rather than a network share.
2. Also any ideas or scripts regarding automatic ftp (while doing a backup) from ubuntu server to windows... which can easily solve the above issue...
I'd like for the server (10.04) to keep samba passwords and unix passwords "in sync"; i.e. when a user changes his unix password (via passwd), his Samba password is automatically changed to match the unix password. Similarly, when a user changes his samba password (via smbpasswd), then his unix password is changed to match. smb.conf seems to make provision for this; following are the applicable entries from my smb.conf:
I am an heavy user of VNC, i use it to connect to my home computer from university and vice versa using a reverse ssh tunnel. Now, the screen at my university pc is using an higher resolution than the one of my laptop, so I can see only part of the screen. How can I address this? so that I can see full screen? Also, RDP works quicker than VNC, is there any setting I could use to speed up VNC?
I have Ubuntu karmic as my host OS and Ubuntu Server as a guest on Virtualbox. I have set a folder on my host as shared with the guest, but how can i connect to it from the terminal on my guest? I am also using webmin as i was trying to stay away from install a desktop
I am trying to access shared folders in Virtual Box with Host OS being Windows7 and Guest OS is Fedora. Did anyone face a similar problem? I have been going through many solutions but none of them worked out. I am able to keep the required folders in Shared Folders making them Auto-Mount and Permanent. I tried to install Guest Additions from Devices, but I am not sure how to install the Guest-Additions software in Fedora. how to proceed so that I can access files in my shared folder.