LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Search this Thread
Old 10-30-2008, 02:08 PM   #1
smcaro
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Unable to share folders with Mac mini and Macbook on a home network with ubuntu 8.04


Hi,

Thanks in advance for your help. I have now spent two weeks with this and cannot get it done...

My setup:

SMC Router /modem
Mac mini with External 500 giga HDD
Macbook
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?

Thank you...
SMC
 
Old 10-30-2008, 02:16 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
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.
 
Old 10-31-2008, 10:53 AM   #3
smcaro
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Still unable to share!

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.

SMC
 
Old 10-31-2008, 10:59 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
copy your smb.conf file into a message on this thread so we can look at it.

I must say that I have had some funkiness out of SMB in kubuntu myself, but presently it is working fine in 8.04.
 
Old 11-24-2008, 09:34 PM   #5
shadowwraith
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Smile 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.

[global]
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

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

[Videos]
comment = Videos
path = /home/shadowwraith/Desktop/Videos
guest ok = yes

[WD]
path = /media/WD
guest ok = yes

Last edited by shadowwraith; 11-24-2008 at 09:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dual boot mac os x leopard and ubuntu on macbook pro. Polanski Linux - Software 9 11-05-2008 03:09 PM
Access Windows users network home folders from web AwakenLie Linux - Server 5 01-27-2008 11:47 AM
Unable to share Folders on a 2nd Harddrive ManRSA Linux - Server 2 10-03-2006 08:29 AM
Share folders with Windows machines over network furcatus Linux - Networking 2 12-08-2005 11:08 AM
Trying to setup a network share with slackware and a mac GTX440 Linux - Networking 3 10-28-2004 12:31 PM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration