Host-Only Samba Install Vista Host Fedora Guest

Discussions about using Linux guests in VirtualBox.
Post Reply
sesproul
Posts: 21
Joined: 10. Oct 2009, 15:53
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Fedora11

Host-Only Samba Install Vista Host Fedora Guest

Post by sesproul »

Hello,

I am working on 3 days setting up SAMBA for my guest fedora 11 VM. this is also the first time I have set up SAMBA on a Linux instance, so I am not sure if even that is working correctly.

I have a few questions. and below is my SAMBA Config file:

1) will the Host be able to see the Guest using Host-only networks.
2) What specificly needs to be done to the SELINUX to allow the windows machine to see the Fedora Share.
3) Is the Samba file correct for what I am trying to accomplish.
4) what logs can I look at to see if anything is wrong on either side of the interface.
5) the Host only network is the 192.168.56.x VBOX is x.x.x.101, Linux is x.x.x.1
6)
As I have never seen a working SAMBA configuration, I do not know what it should behave like when viewed from LINUX or Windows. So I am sort of grasping at straws determining what My next steps should be.

I already reloaded Samba, and the client using YUM and the SMB service is installed, and started in FEDORA.

Code: Select all

[global]

# ----------------------- Network Related Options -------------------------
workgroup = MSHOME
server string = Samba Server Version %v
interfaces = lo eth0
bind interfaces only = true
netbios name = FEDORA
security = share
guest account = nobody

# --------------------------- Logging Options -----------------------------

log file = /var/log/samba/log.%m
max log size = 50


#============================ Share Definitions ==============================

[homes]
comment = Home Directories
browseable = no
read only = no

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

[www]

path = /var/www/html
comment = Guest access share

browseable = yes
read only = yes
guest ok = yes
IFCONFIG

Code: Select all

eth0      Link encap:Ethernet  HWaddr 08:00:27:01:F4:27
          inet addr:192.168.56.1  Bcast:192.168.56.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe01:f427/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:650 errors:0 dropped:0 overruns:0 frame:0
          TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:68207 (66.6 KiB)  TX bytes:143023 (139.6 KiB)

Any help is greatly appreciated in order to get started.

Steve
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: Host-Only Samba Install Vista Host Fedora Guest

Post by sej7278 »

instead of host-only samba, you're better off using shared folders - you need guest additions installed, but its one less network service to run on the host, probably a bit more secure too (no network traffic).
sesproul
Posts: 21
Joined: 10. Oct 2009, 15:53
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Fedora11

Re: Host-Only Samba Install Vista Host Fedora Guest

Post by sesproul »

How do you set these up instead of the SAMBA install?
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: Host-Only Samba Install Vista Host Fedora Guest

Post by sej7278 »

sesproul wrote:How do you set these up instead of the SAMBA install?
RTFM my friend, RTFM.
sesproul
Posts: 21
Joined: 10. Oct 2009, 15:53
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Fedora11

Re: Host-Only Samba Install Vista Host Fedora Guest

Post by sesproul »

Thanks - I'll check it out, Since the SAMBA has since died on this box (VISTA is a real POS)
hamidi
Posts: 10
Joined: 4. Sep 2012, 10:01

Re: Host-Only Samba Install Vista Host Fedora Guest

Post by hamidi »

hi
i've the same problem.
let's concentrate on host-only adapter. assume that i can't use bridge and i've forced to use nat. i've to use host-only for accessing samba shares.
just let me know how is it possible?
thx
OS: ubuntu 10.10
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Host-Only Samba Install Vista Host Fedora Guest

Post by Perryg »

hamidi wrote:hi
i've the same problem.
let's concentrate on host-only adapter. assume that i can't use bridge and i've forced to use nat. i've to use host-only for accessing samba shares.
just let me know how is it possible?
thx
OS: ubuntu 10.10
Short answer is yes. Using the host only adapter you can setup a samba share and access it from the host.
Ubuntu has a nice explanation on how setup samba.
Post Reply