Hi to everyone ...
VBOX 3.0.4 on Ubuntu Linux 9.10 AMD64 (Dual Centrino notebook), everything updated.
WinXP 32 guest.
I set up the shared folder, it's listed in the netwok resources/VirtualBox shared folders, but it's inaccessible ...
net view / net use gives server not found.
I reinstalled GuestAddition and nothing ...
So I shared a folder on my host machine with samba, and it's accessible in the Microsoft Network ... but ...
If my PC is disconnected from the physic network (LAN, ADSL) or from the GPRS modem, I have no more the virtual network ... host and guest can't comunicate, no ping, no telnet ...
There's a way to mantain active the network when the cable/modem is disconnected ?
Thanks
[Solved] Shared folders, network res-Win guest-Linux host
-
supervinx
- Posts: 5
- Joined: 11. Apr 2009, 23:08
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Windows, Other Linuxes, OS/2, DOS, Solaris ...
[Solved] Shared folders, network res-Win guest-Linux host
Last edited by supervinx on 6. Sep 2009, 00:11, edited 1 time in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared folders, network resources-Windows guest- Linux host
Sure it is called host-only. You can setup an additional adapter as host-only and be able to communicate with the host<>guest.
-
supervinx
- Posts: 5
- Joined: 11. Apr 2009, 23:08
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Windows, Other Linuxes, OS/2, DOS, Solaris ...
Re: Shared folders, network resources-Windows guest- Linux host
The second part has been resolved ...
I noticed, with ifconfig, that only lo and eth0 were listed as interfaces.
So I issued sudo ifconfig vboxnet0 10.0.0.2 up and now I can see the shared folders I created with samba on Linux host from the WinXP guest.
But I still can't see the shared folders created by Vbox (those listed \\VBOXSVR\name-of-the-share)
This don't seem to be host-related ... the PCLinuxOS guest sees correctly both samba shares and VBox shares.
I noticed that Linux hosts, when connecting to VBox shared folders (as for samba shares) ask for autentication (user and pwd) while the WinXP host fails without asking nothing ...
I noticed, with ifconfig, that only lo and eth0 were listed as interfaces.
So I issued sudo ifconfig vboxnet0 10.0.0.2 up and now I can see the shared folders I created with samba on Linux host from the WinXP guest.
But I still can't see the shared folders created by Vbox (those listed \\VBOXSVR\name-of-the-share)
This don't seem to be host-related ... the PCLinuxOS guest sees correctly both samba shares and VBox shares.
I noticed that Linux hosts, when connecting to VBox shared folders (as for samba shares) ask for autentication (user and pwd) while the WinXP host fails without asking nothing ...
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared folders, network resources-Windows guest- Linux host
These would be setup from the command line in Windows as shown belowBut I still can't see the shared folders created by Vbox (those listed \\VBOXSVR\name-of-the-share)
Code: Select all
net use x: \\vboxsvr\<sharename> -pThe -p makes the mount persistent and you should see them in the file manager after the mount.
-
supervinx
- Posts: 5
- Joined: 11. Apr 2009, 23:08
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Windows, Other Linuxes, OS/2, DOS, Solaris ...
[Solved] Shared folders, network res-Windows guest-Linux hos
I issued the command
net use x: \\vboxsvr\shared (with or without -p)
and from the gui, also, I right-clicked on the \\VBOXSVR\shared item, setting login as another user, inserting the correct usr/pwd.
The command is correctly processed but, when in the explorer I click on the drive, I get
x: refers to a resource not available (I'm translating ... sorry) ... blah, blah, blah
From the cmdline ... dir x: ... cannot find the specified path ... where is the problem ?
BTW, I could easily ignore it ... I can transfer data through an USB device or samba shares ... but for the sake of completessness
** SOLVED **
I removed all the shared folders, restarted vbox and the machine, recreated the shares, all ok !
I thought about complex solution ... not the easy one ...
What happened ?
net use x: \\vboxsvr\shared (with or without -p)
and from the gui, also, I right-clicked on the \\VBOXSVR\shared item, setting login as another user, inserting the correct usr/pwd.
The command is correctly processed but, when in the explorer I click on the drive, I get
x: refers to a resource not available (I'm translating ... sorry) ... blah, blah, blah
From the cmdline ... dir x: ... cannot find the specified path ... where is the problem ?
BTW, I could easily ignore it ... I can transfer data through an USB device or samba shares ... but for the sake of completessness
** SOLVED **
I removed all the shared folders, restarted vbox and the machine, recreated the shares, all ok !
I thought about complex solution ... not the easy one ...
What happened ?