LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-01-2007, 08:43 PM   #1
gerryggg
Member
 
Registered: Mar 2007
Location: Florida
Distribution: Kubuntu, Puppy, Xubuntu
Posts: 52

Rep: Reputation: 15
Debian 4 shared folders problem


I have a rather strange problem trying to configure settings for shared folders under Debian 4.0. I'm admittedly somewhat of a Linux newbie. I have a home network with 4 PCs. One is running Windows XP, one is running Mepis 6.5, one is running Kubuntu 7.04, and this one running Debian 4.0. They are all connected through a Netgear router, the Kubuntu machine wireless. All of the machines show up in the Samba shares window, the Mepis, Debian and XP machines under the windows network name and the Kubuntu machine as a NFS (Ithink) server under an icon titled "Workgroup." I can access the shared directories on all the machines except the Debian machine without a problem. When I access the Debian machine it gives me an empty folder. When I go into the shared folder choice on the system menu on the Debian machine, it asks for the root password, then gives me a window with no choices that doesn't respond to any inputs. I finally end up terminating the window and the next time I log on it asks me for the root password then loads an unresponsive window again. Two questions - why is it doing this? Is there a configuration file I can manually edit to fix it? Any input is appreciated.

If anyone is wondering why I have three different distros on three different computers, as I said, I'm basically a newbie deciding what I like. The Kubuntu machine is primarily a jukebox. I like Mepis, but thought I'd try Debian since that is what both are based on. I switched from the gnome to the kde desktop since I prefer that. I like Debian a lot, but this network problem is frustrating.
 
Old 06-02-2007, 08:43 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
If your Windows XP computer can see it, then it's not nfs--it's using samba. It seems that your Debian machine does have samba installed (you probably told it to install the "file server" suite in the installer). However, the default samba install in Debian doesn't share anything, AFAIK. Maybe it shares users home folders; I don't recall. In any case, you have to configure samba to do what you want.

There are some GUI tools for configuring samba, but I'm not familiar with them. I just manually edit /etc/samba/smb.conf and use the command /etc/init.d/samba restart to restart the samba daemon after making changes to smb.conf. The way Debian works, you have a choice of either manually editing configuration files or using GUI tools. It works the same way in Ubuntu, which is based on Debian.

Because Ubuntu is so similar to Debian, you can just copy bits of smb.conf from your Ubuntu install to the Debian install.

(edit added

Oh, when I was first using Linux I tried using KDE's file server GUI configuration utility, but I quickly gave up on it because I couldn't figure out how to get it to do exactly what I wanted. I decided to just go straight to smb.conf, and to my pleasant surprise found that it was actually easier to manually edit it directly.

Last edited by IsaacKuo; 06-02-2007 at 08:46 AM.
 
Old 06-02-2007, 09:08 PM   #3
gerryggg
Member
 
Registered: Mar 2007
Location: Florida
Distribution: Kubuntu, Puppy, Xubuntu
Posts: 52

Original Poster
Rep: Reputation: 15
Folder's Browseable!

I went into the smb.conf file and found that the folders were set as "browseable = no." I changed it to yes and now the folders are visible on the the Mepis machine and, I imagine, the Kubuntu machine although I haven't checked yet. The machine is visible on the XP machine but since both partitions are set as reiserfs format, it won't read them. That machine is my fiancee's, so she doesn't care if she can access my files. Occassionally I need something off her machine. When I get a bigger hard drive I'll put a Windows readable partition on here, but for now I only have a 3.5 and 2.5g hard drive available. Thanks for the help. I won't even bother with the GUI tools anymore. I always was more of a command line person back when I started in Windows, so I should be right at home in Linux once I learn a little more. Any one have any suggestions on good books on Debian. From what I've seen I think I like it better than Mepis now that I've got it loaded. It was a little trickier to get installed but seems quicker.
 
Old 06-03-2007, 07:52 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
For accessing samba shares, the client computer doesn't need the ability to read whatever file system the server is using. Only the server needs the ability to read/write the file system.

My experience with getting Windows to successfully access my samba shares is that it's not easy, but it's doable. I don't know exactly how, and it will depend on what level of access you want (and what you want to do with multiple users, and so on). I just fiddled with various settings and after hours of frustration would eventually stumble on a combination of settings which would work. So I'm no expert...I just fumbled around until I got something functional.
 
Old 06-04-2007, 08:43 AM   #5
gerryggg
Member
 
Registered: Mar 2007
Location: Florida
Distribution: Kubuntu, Puppy, Xubuntu
Posts: 52

Original Poster
Rep: Reputation: 15
I agree. I've found that, while it is sometimes tricky, it is usually easier to get Linux machines to see and read Windows shared folders than the other way around.
 
  


Reply

Tags
samba windows, shareddirectory



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
Shared Folders dudeman41465 Linux - Software 3 10-10-2005 03:12 AM
Shared Folders problem in VmWare. UTF8? r_vilaboa Linux - Software 1 10-06-2005 05:26 PM
Shared Folders dudeman41465 Linux - Security 1 06-28-2005 06:38 PM
Shared Folders dudeman41465 Linux - Networking 2 06-27-2005 02:29 PM
IMAP Shared Folders DaveG Linux - General 0 12-13-2001 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:15 AM.

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