 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

12th January 2012, 07:58 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Unable to share file please help
hello fedora community, decided to switch my work pc here to fedora today from ubuntu. everything is working great so far and I quite enjoy fedora, however i need to simply share my public folder and be able to access it from many windows computers with no accounts or users or anything just wide open. I was able to do this in ubuntu just by installing gnome-user-share and clicking one check box lol. So far I have tried gnome-user-share, samba, system-config-samba, system-config-selinux, and changing firewall settings to allow samba. none of those things seem to be working for me. If I go to a windows machine on the network and run \\shopshare (which is what it is named) it tells me I do not have access/permissions. any help is very greatly appreciated.
|

12th January 2012, 08:03 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Unable to share file please help
Try
Code:
su
setsebool -P use_samba_home_dirs 1
|

12th January 2012, 08:09 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Re: Unable to share file please help
Thanks for the advice leigh123linux, I did run that command just now to be sure but i did already set that option using system-config-selinux. Still isn't working, lol file sharing shouldn't be this hard in 2012.
|

12th January 2012, 08:20 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Unable to share file please help
Post
Code:
systemctl status nmb.service
|

12th January 2012, 08:23 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Re: Unable to share file please help
nmb.service - Samba NMB Daemon
Loaded: loaded (/lib/systemd/system/nmb.service; enabled)
Active: active (running) since Thu, 12 Jan 2012 13:56:15 -0500; 1h 26min ago
Process: 972 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1009 (nmbd)
CGroup: name=systemd:/system/nmb.service
└ 1009 /usr/sbin/nmbd
|

12th January 2012, 08:31 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Unable to share file please help
If I remember right I had to edit /etc/sysconfig/network and give the pc a proper name to get samba working here.
Code:
su -
gedit /etc/sysconfig/network
Code:
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=main_pc.leigh123linux
DOMAINNAME=leigh123linux
NTPSERVERARGS=iburst
Code:
[leigh@main_pc Desktop]$ hostname
main_pc.leigh123linux
|

12th January 2012, 08:34 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Re: Unable to share file please help
mine looks like this.
NETWORKING=yes
HOSTNAME=shopshare
DOMAINNAME=ultima
NTPSERVERARGS=iburst
|

12th January 2012, 08:45 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Unable to share file please help
Quote:
Originally Posted by eightyseven
mine looks like this.
NETWORKING=yes
HOSTNAME=shopshare
DOMAINNAME=ultima
NTPSERVERARGS=iburst
|
Shouldn't it be?
Code:
HOSTNAME=shopshare.ultima
http://www.comptechdoc.org/os/linux/...gbasicnet.html
|

12th January 2012, 08:51 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Re: Unable to share file please help
ok changed it to HOSTNAME=shopshare.ultima and restarted the machine to no avail. still no file sharing.
|

12th January 2012, 10:51 PM
|
|
Registered User
|
|
Join Date: Jan 2011
Posts: 128

|
|
|
Re: Unable to share file please help
Samba is a real pain, I use SSH for file transfer, more secure* and actually works (easy to setup and works, I tried installing Samba to transfer files and never got it working and just used SSH)
* well I see you are in a situation where you want everything open
__________________
I♥SymLinks
Junior SysAdmin and Python Newbie
Fedora 15 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync)
KDE 4.6.5
Laptop: Fedora 13 upgraded to 15 via --distro-sync
Can someone pls help me with The wireless on my laptop?
|

15th January 2012, 05:43 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Re: Unable to share file please help
yeah the setup i had on ubuntu was just gnome-user-share and i just clicked one option and then from windows i could run \\shopshare to access it from any machine on the network which was particularly useful because I run a computer service department and host all of my tools and software from this machine. so everything open is the way i want to go but i have been messing with it for days including a few clean installs and while im in love with the rest of fedora this is killing me i may have to switch back at work and just use fedora at home.
|

19th January 2012, 08:03 PM
|
|
Registered User
|
|
Join Date: Jan 2012
Location: Ohio US
Posts: 7

|
|
|
Re: Unable to share file please help
sorry to bump my own thread here but have been working on this for 2 weeks now and something has to give. from all the reading i have done it seems the reason that i cant get gnome-user-share to work is because of a possible issue with kernel 3.x ?? and samba I have given up on, I have followed every samba guide on the internet it seems and I cannot make this work. I want to simply run \\hostname on windows computers to access the public folder on my fedora 16 box if anyone has any insight on this I would very much appreciate it, i have been pulling out all of the hair i have left lol. thanks in advance for any help.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:09 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|