Share the websites folder by default. Add documentation. See below for steps:

Virtualbox Config:

1) Stop Quickstart
2) In VBox Manager: Right-click quickstart -> Settings -> Network
3) Adapter 2 -> Check "Enable Network Adapter" -> Attached to: "Host-only" -> Ok
4) This will add "Host computer" interface eth1 to Quickstart

Quickstart Config:
1) Start quickstart
2) Go to the /home/quickstart/websites folder (NOT! the /home/quickstart/Desktop/websites folder!)
3) Places -> Home Folder
4) Right-click "websites" folder -> properties -> Share tab -> Share this folder
5) Popup: "!Sharing not installed" -> click "Install Service"
6) If you get "install failed", try two things:
1) System -> Administration -> Update Manager -> Check to get updated package list
2) If that doesn't work, reboot to reset network
7) Close windows, "restart session", "close anyways", wait a minute, password quickstart
8) Places -> Home Folder -> websites -> right-click -> properties -> share tab
x share this folder
x allow others to create/delete ...
9) Click "Create Share"! -> Change permissions

Client Config (in QS 1.0, only these steps would be required):

Ubuntu:
1) Places -> Network -> QS091 (wait a minute) -> websites

Windows:
1) Open File Explorer (Start -> Run -> "explorer")
2) My Network Places -> Entire Network -> Ms Windows Network -> Workgroup -> Qs091 -> Websites
3) User/pass = quickstart/quickstart, check remember password and click ok

Comments

Anonymous’s picture

OS X: Finder -> Go -> Network (shift + CMD + k) -> Qs091 -> Websites

Anonymous’s picture

OS X: Sometimes Finder doesn't refresh quickly enough so you can connect manually -- Finder -> Connect To Server (CMD + K) then input the quickstart server address: SMB://QS091

MichaelCole’s picture

sudo apt-get update;
sudo apt-get -y upgrade;
sudo apt-get -y install samba libpam-smbpass

Anonymous’s picture

Yeah, I bricked a second QS instance this week using the GUI package manager :-)

ISTM that it is much safer to run the command line options in #3.

MichaelCole’s picture

Component: Code » Image Build
MichaelCole’s picture

Added to manual config.

Need to add documentation

rootwork’s picture

Component: Image Build » Documentation
Category: feature » support

Are these instructions still valid? I have QS1.0, but:

- It says only the last steps would be needed under 1.0, yet the network server isn't showing up, even after running for awhile. (I tried connecting directly to SMB://QS091 and that didn't work -- I also tried things like SMB://QS1 and SMB://QS10 figuring the name might have changed with the version, but that failed too.)
- If I try to do the "Virtualbox Config" listed at the top anyway, it says the settings listed are invalid and won't let me save.

Would love an update on whether this is supposed to work with 1.0 (in which case I'll try to figure out why it's failing for me) or whether something has changed.

rootwork’s picture

I figured out how to fix the second problem I was facing ("invalid settings detected" error when I tried to edit the Virtualbox config) from this Virtualbox forum comment -- add a host network if none exists.

But the former item -- connecting via Samba and/or seeing the "websites" folder on the host after sharing it on the virtual system -- continues to vex me. Have others got this working?

MichaelCole’s picture

Status: Active » Closed (cannot reproduce)

Hi Rootwork,

Did you try the steps listed in the original issue?

Client Config (in QS 1.0, only these steps would be required):

Ubuntu:
1) Places -> Network -> QS091 (wait a minute) -> websites

Windows:
1) Open File Explorer (Start -> Run -> "explorer")
2) My Network Places -> Entire Network -> Ms Windows Network -> Workgroup -> Qs091 -> Websites
3) User/pass = quickstart/quickstart, check remember password and click ok

rootwork’s picture

I'm on a Mac, but I followed those steps, yes, trying both browsing the network and entering the network address directly.

Can you confirm that "Qs091" is still the right name, even on the new version?

grasmash’s picture

@rootwork

for OSX, try changing your VM's network adapter to bridged mode. Then, depending on your quickstart version number, you can Go -> Connect to Server
smb://qs091
or
smb://qs10

etc.

kruser’s picture

I'm on Windows 7 and I think I tried everything and I still can't get a samba shared folder to show in my Windows Network. When I try accessing \\192.168.1.123 in my network places I get "Windows cannot access \\192.168.1.123 (Unspecified Error)". I can ping the IP, I can access the http://192.168.1.123 in my browser, but I just can't get samba to share a folder. Is there any setting within the Quickstart Virtualbox that would block samba from working?

I'm using Quickstart-2.0-alpha1.ova

Thanks.

kruser’s picture

Guess what? There's a firewall!

Allow Samba through firewall
sudo ufw allow Samba

Problem solved.