You are not logged in.

#1 2007-06-08 21:16:49

dante
Member
Registered: 2007-06-08
Posts: 38

[Update 1.5] Shared folders in VirtualBox OSE 1.4

Hi,

are there shared folders included in VirtualBox OSE? The GUI says yes, but I can't connect to my folder from Windows XP guest to Archlinux host. Does anybody had success with it?

Greetings from dante

PS: I'm using the virtualbox-ose-1.4 from [community]

Last edited by dante (2007-09-08 21:01:53)


"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -

Dante Alighieri

Offline

#2 2007-06-08 21:31:11

bier
Member
Registered: 2006-01-22
Posts: 8

Re: [Update 1.5] Shared folders in VirtualBox OSE 1.4

no isent useable.
Same as USB and rdp.

if you need you can have a PKGBUILD for
pkgname=virtualbox-bin
pkgver=1.4.0
pkgrel=1

cheers

Offline

#3 2007-06-09 10:40:24

dante
Member
Registered: 2007-06-08
Posts: 38

Re: [Update 1.5] Shared folders in VirtualBox OSE 1.4

Is there any other possibility to share files between host and guest in the OSE? I think it should be possible over HostOnly network. I tried that, but I couldn't find the Windows network in Arch. Is there a good workaround for this problem?

thanks

dante


"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -

Dante Alighieri

Offline

#4 2007-06-09 13:31:47

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: [Update 1.5] Shared folders in VirtualBox OSE 1.4

I use plain samba for sharing files between the guest and host in virtualbox and it works perfectly...

Sometimes browsing/searching the network from both sides does not work, so you have to specify the name of the remote machine manually. (\\hostname in windows explorer or smb://hostname in konqueror for example)

I dont know how you guys set up your networking, but here is how its done on my machine (mostly taken from here):

1. install uml_utilities and bridge-utils
2. add tun and bridge kernel modules to your /etc/rc.conf
3. add a new udev file /etc/udev/rules.d/00--dev.rules containing:

KERNEL=="tun",          NAME="net/%k" GROUP="virtualbox"

4. add your user to the virtualbox group
5. reboot the machine

now do this (works on my static network, no wireless, no dhcp):

sudo tunctl -t tap0 -u <your user>
sudo /usr/sbin/brctl addbr br0
sudo ifconfig br0 <your machines IP +1> netmask <your netmask> up
sudo ifconfig eth0 <your machines IP> down
sudo ifconfig eth0 <your machines IP> up
sudo route add default gw <your gateway> br0
sudo brctl addif br0 eth0
sudo brctl addif br0 tap0
sudo ifconfig tap0 up
sudo chmod 666 /dev/net/tun

(your machines IP +1 is important, dont use your current ip here! but you can choose any free ip in your network, +1 is just what i do)

then start virtualbox, enter the settings --> network --> adapter 0 and choose tap0 as your interface.

Now you can freely choose an IP from your network in the guest and internet/networking should work without problems...

When you create a network share in windows, it should work flawless...


btw, you can add all those commands above to your /etc/rc.local for example...


want a modular and tweaked KDE for arch? try kdemod

Offline

#5 2007-09-08 20:57:53

dante
Member
Registered: 2007-06-08
Posts: 38

Re: [Update 1.5] Shared folders in VirtualBox OSE 1.4

Good news! Shared folders are working in VirtualBox 1.5 OSE big_smile

greetings from dante


"Lasciate ogni speranza, voi ch' entrate"
- Laßt jede Hoffnung hinter euch, ihr, die ihr eintretet -

Dante Alighieri

Offline

Board footer

Powered by FluxBB