Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-12-2005, 02:46 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: White Rock, BC, Canada
Posts: 4
Rep:
|
cannot access my Linux share from Windows
Hi, I would post this under Newbie, but the instructions say put it in the general forum since it involves Windows.
I have just added a Fedora C4 box to my home network and I was impressed how slick it installed and runs! Feeling ambitious I have tried to set up SAMBA and APACHE, they installed fine but I cannot access either. For this thread I will just concentrate on the SAMBA issue.
I followed the instructions in the SAMS book "Red Hat Fedora 4 Linux All in One" to install and configure Samba. As a result I can access the share directories on my Windows machines from the Linux box and the Linux share directory (called exchange)appears in the Network Places list on the Windows machines but when I try to display the contents of the Linux share directory from a windows machine I get the error message:
\\LINUX\exchange is not accessible. You may not have permission to use this resource.
I have redone the configuration several times with no effect. In desperation I tried making the system wide open. I disabled the firewall, set Samba to allow anyone to access the share directory, set the access permissions for the home, user and share directories to 777 and made sure that the share directory is configured within SAMBA. After all this it still does not work. HELP!!!
|
|
|
12-12-2005, 02:51 PM
|
#2
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Rep:
|
What filesystem is the linux share directory? If it is a linux filesystem, then you won't be able to access it.
|
|
|
12-12-2005, 04:04 PM
|
#3
|
LQ Newbie
Registered: Aug 2005
Location: White Rock, BC, Canada
Posts: 4
Original Poster
Rep:
|
access from windows
OK, I installed a new hard drive when I made my linux box and let the Redhat installer make the whole drive a single linux partition. Do I have to reduce the size of this partition and add a FAT32 partition to the drive or is there an easier way to add support for windows file structure? If I have to make a seperate partition for the windows files, should I devide the linux part while I am at it - for instance is there any security benefit to putting the home directory in a seperate partition?
Last edited by va7hg; 12-12-2005 at 04:12 PM.
|
|
|
12-12-2005, 04:46 PM
|
#4
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Rep:
|
The benefit of putting your /home directory in it's own partition is that if something goes horribly wrong and you have to re-install linux, most of your settings will be kept.
If you want windows to be able to see your samba share, it has to be a share of a FAT32 or NTFS, as those are the only 2 filesystems that windows recognizes. FAT32 is preferred, as linux cannot reliably write to NTFS(it's pretty good, but there's a chance of corrupting the partition).
For example. I have an 80 GB drive I use for my Operating systems. I have one 20GB NTFS partition for my XP install, a 5.7gb ext3 partition for my / , a 1gb swap, a 5.8gb ext3 partiton for my /usr directory, and a 41.7gb ext3 partition for my /home directory. I also have an 80gb and a 200gb drive as FAT32 for storage. The main limitation of FAT32 is that you can't have any files that are larger than 4gb. This means that any DVD iso's you might have you can't store them in a FAT32 filesystem.
It all depends on how you want to set it up. I would always suggest that your home directory at least be on it's own partition.
|
|
|
12-12-2005, 05:28 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,798
|
When sharing files over the network the filesystem type does not matter because it is the OS on the server that does the actual read/write process not the client. A FAT32 partition is used for sharing files on a dual boot PC.
Post your smb.conf file. Are you using security = user or security = share? For security = user you will need to add a smbpasswd user for your username. i.e.
smbpasswd -a username (need to be root).
I would enable netbios of tcp/ip in the tcp/ip properties of your ethernet adapter on the windows box. Also check for errors in the smbd and nmbd log files. /var/log/samba. You need to be root to access the logs.
Actually this is a legitimate networking question.
Last edited by michaelk; 12-12-2005 at 05:34 PM.
|
|
|
12-12-2005, 06:25 PM
|
#6
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Rep:
|
Hmm.. interesting, I didn't know that. I'll test it.
|
|
|
12-13-2005, 08:00 AM
|
#7
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
All times are GMT -5. The time now is 02:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|