Unable to share folders with Mac mini and Macbook on a home network with ubuntu 8.04
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Unable to share folders with Mac mini and Macbook on a home network with ubuntu 8.04
Thanks in advance for your help. I have now spent two weeks with this and cannot get it done...
SMC Router /modem
Mac mini with External 500 giga HDD
PC Pentium 4 3.0 Ghz with 10 giga HDD ( with Xp Pro), and 2 internal 200 giga HDDs, one External HDD 1 Terabyte. ( all FAT 32).
With XP running on the one Windows box, all I do is right click and set share for folders. Then both my mac automatically see those folders and everything works.
The problem is that I regularly transfer 200+ giga folders between the mac mini´s external driva and the XPs external drive. One of them being Windows, sometimes it works, sometimes it crashes, so having had Linux installed in some older Pentium II about 5 years ago with no problems, I decided to give Ubuntu a try, thinking that it would be more stable.
The XP box is hardly ever used for anything else than for storage.
Problem: There is NO NO way I can get Ubuntu file share to work. This has being going on for 2 whole weeks!!!!!
I have done fresh install a few times and the ONLY thing that works by itself is the internet connection. It automatically connects and I can surf the web and do the updates ( at least 4 times).
I then started reading and studying and editing smb.conf, and usershares and the lot, nothing. I once managed to connect as the user in Ubuntu from my laptop, but did not have permissions to go ay further than share the screen.
Now I have finished with:
Ubuntu 7.10 server
Ubuntu 8.04 build from 2 weeks ago ( I don´t have the number because I am now using Windows sorry)
Ubuntu 8.04 latest build.
I´m sorry to say the next step would be to go for Ubuntu 8.10 and then I would have 3 Ubuntus on my box!!!
I play around every night with conf files, terminal commands, anything remotely similar to my problem I can google I have tried. One day, the SAMBA appeared in my Preferences. Aha I thought, finally. I opened it and worked for a while on right clicking and allowing shares for 7 folders on 3 different HDDs. But where are they on my network??? I cannot access them.
And yes, I have changed the workgroup name, and have ugraded samba and and and and....
All I want is to go to bed and leave Linux Ubuntu connected to my network, or rather having my macs see and work with the Ubuntu box. As it is now, just before I go to bed, I close Ubuntu very very frustrated and launch XP, and voilá my computer appears on my macs and I can see and work the drives?
Why can I not get Ubuntu to do something so simple? I honestly do not know. It must be something stupid of me, because believe me I have spent two weeks and many many hours.
So, can someone please tell me how:
1.- Erase all the different Ubuntu versions I have in my system?
2.- Get me up and running a simple network where everyone can see, read and write everything?
I went through much the same frustrations you've had with my daughter's Mac mini and Debian. I wanted to setup an NFS share, but it seemed that the Mac didn't want to cooperate. So, I setup a samba share and the samba filesystem wasn't able to go deep enough or something like that, to do a user backup for her. So, we switched to using rsync to backup her files. It's a much more efficient usage of network bandwidth, but it's not as easy as just seeing the files on the net, I'll admit. I don't have these problems from the Windows laptop to my Debian machine. I think it's the Mac.
Thanx Quakeboy, it could be the mac. So today I brought home a Windows laptop and plugged it in to the router. Needless to say, it appeared in seconds on both my macs and I was up and sharing.
But the Windows laptop cannot see the Linux folders either!! All the linux box does is update and update and update itself with packages and the lot, and I can surf the web, but something so simple as sharing my folders on the network for everybody without passwords, etc, I can´t do.
Linux has really got complicated instead of simple. I remember 5 years ago I went out, bought a magazine, put the CD in the drive and set up a Pentium II as server for my then 3 windows computers with absolutely no problem whatsover. I was using KDE at the time, not Gnome which I confess I do not understand.
And no, in this country ( Zimbabwe) I cannot go out and buy a magazine. And internet is SLOW, so this Ubuntu thing has taken me 2 weeks. Am I really the only person out there who needs something simple that just works for me?
Anyway, thank you again for the reply. You have been the only one. Tonight I shall try for the last time and if not, back to XP. At least it works for me most of the time.
also had problem with linux share, one change seem to make it work better
I installed samba, system-config-samba, and other defaults that were already installed in ubuntu 8.10. I didn't solve my woes till I did 2 things.
1. was login as root to activate my shares
2. was change from "Security -> authentication mode -> user" as opposed to "share" which I think is the default. I am referring to what is on the gui and not what is in the smb.conf file.
I know its preferable to be more technical and say what the exact wording is, and I know this is ultra insecure, but its just for my internal usage so I wasn't being too careful, so here is an approximate version of the relevant sections of my smb.conf, though, thanks to the gui you should never need to peruse this lvl of detail. Honestly, to me its amazing it works, because reading thru the file I see things that don't make sense and seem very sloppy. So power user beware, I don't usually comment, but I thought to the person who had no idea what to do I could offer a little help. I use a mac as well and I think I haven't had any problem connecting with 10.5. I recently lost a drive on one of my ubuntu boxes so I haven't had time to confirm this or not. (mind you this config is for drives I only want read access to, it is possible to make them writable, I just didn't want that.) This was for 2 shares one was a folder on my desktop and the other was for an external drive on my computer.
Hope it helps.
workgroup = doomnet
server string = Jontopia
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
passdb backend = tdbsam
obey pam restrictions = yes
guest account = shadowwraith
invalid users = root
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
guest ok = yes
username map = /etc/samba/smbusers
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
create mask = 0700