LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-11-2014, 11:05 PM   #1
virus_s7
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Rep: Reputation: Disabled
Cant share files in SAMBA | VirtualBox


I was setting up a SAMBA server. So I am using virtualbox to do this. For Linux part I am using CentOS6.4 and windows part I am using Windows8. I can ping both of them from each other.

Once I have setup SAMBA I setup the firewall to allow SAMBA and SAMBA Client, but when I go to Windows and try to find share pc in Netwrok section couldnt find my SAMBA Server.

and one quick question, what is the difference between samba and samba4? I was planning to install one rpm called swat but it comes with only samba4, but I have installed samba.Now if I want to install swat do i need to install all samba4 packages and remove samba packs?

Thanks,.
 
Old 02-12-2014, 01:30 AM   #2
pravesh jangra
LQ Newbie
 
Registered: May 2010
Location: Haryana
Distribution: Red hat
Posts: 15
Blog Entries: 1

Rep: Reputation: 0
samba share need to be set allow by SElinux. So make sure your SElinux is disabled/Permissive.
If you want your SElinux on then run chcon -Rt samba_share_t /path_to_the_Folder

There is quite diffrence between samba & samba4( It comes with more features AD, DNS ,Xattr), But Samba4 is not fully available till now on RHEL7. You have to manually compile it.
 
Old 02-13-2014, 10:22 AM   #3
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
You didn't mention it, but you may want to check that your virtualbox machine and your host machine are on the same subnet. This is not the case by default.
 
Old 03-01-2014, 01:04 AM   #4
virus_s7
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dolphin_oracle View Post
You didn't mention it, but you may want to check that your virtualbox machine and your host machine are on the same subnet. This is not the case by default.
Hey I have seen those but they are in the same subnet. still doesnt show anything on the network. ok I have an additional query, on my virtual box machine when I use fake ip for DNS Win8.1 I couldnt ping my Centos but when I removed that I can. Now that option left blank but It requires an IP. so could this play a role into this.

Thanks for helping me.
 
Old 03-01-2014, 01:29 AM   #5
virus_s7
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok I found one interesting thing I think it should help you to find out what exactly I am missing out. I can get into Windows 8 machine from my Centos <in network section it shows win8> but cant find any CentOS in windows 8 network
 
  


Reply

Tags
samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Share Files between Virtualbox and Host(windows xp) praveen.amboji Linux - Newbie 1 12-16-2013 02:15 PM
[SOLVED] How to share files between a Linux host and a Windows machine in VirtualBox? Daedra Slackware 4 08-18-2010 03:19 AM
Cannot see files on a Samba share... DamianW Linux - Newbie 5 03-19-2010 10:40 AM
How to edit files with xemacs over Samba share? Samba problem? rylan76 Linux - Software 1 11-13-2008 01:00 AM
VirtualBox: I want to share files between Fedora 9 host and Windows XP guest. Iltbreg Linux - Networking 5 10-22-2008 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration