Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


View Poll Results: Was this post helpful for you?
Not helpful 3 60.00%
Some help 0 0%
Helpful 0 0%
Very helpful 2 40.00%
Voters: 5. You may not vote on this poll

Closed Thread
  Search this Thread
Old 08-15-2005, 03:29 PM   #1
Registered: Aug 2003
Location: Weatherford, OK
Distribution: openSUSE 10.1
Posts: 95

Rep: Reputation: 15
Lightbulb File sharing Ubuntu with OS X (success story)

This post is for those of you who are looking to connect an OS X box to your Ubuntu box set up as a file server or just share files between the two. I figured I would share my success story because there is bound to be someone else out there that would like this information. This process is rather easy and takes just a little time to get up and going. It took me about 20-25 minutes to complete.

First, make sure you have samba installed on your Ubuntu system. Then, locate a directory you would like to be the share point for the OS X box to access.
1. Right-click the directory
2. Click on "Share folder"
3. Enter your password
4. Select "SMB" (if not already) in the drop-down list box labeled, "Share with:"
5. Give a name in the text box labeled, "Name:"
6. Add comments about this share point (optional)
7. Click on the check box labeled, "Read only" if you want this folder to be read only to those who may access the folder. Otherwise, leave it unchecked so that users may write files to the directory for sharing.
8. Click on the check box labeled, "Allow browsing folder" so that the users may look inside (unless you do not want them to)
9. Click OK

Note that in the file sharing dialog above there was a button labeled something like, "Windows sharing information." Explore these options to share files with Windows boxes.

Now, we move along to the OS X box.

First, we will set up file sharing and then we will connect to Ubuntu.
1. Go to the System Preferences (usually, Apple->System Preferences...)
2. Click on the Sharing folder in the Internet & Network section
3. Check the box next to Personal File Sharing and Personal File Sharing will turn on. This may take a few seconds.
4. Go back to the main System Preferences screen (usually by clicking on the "Show All" button in the upper left corner of the window.)
5. Click on the Network icon (it should be close to the Sharing Folder)
6. Make sure "Network Status" is selected in the drop-down list box next to "Show:" at the top of the window.
7. Verify that you are connected to the same network as the Ubuntu box and have a valid IP address (usually indicated by a green light to the left of the adapter)
8. Close out of System Preferences

Now, go to the desktop and we are ready to connect to Ubuntu.

1. Click on the "Go" menu in the menu bar (if it doesn't appear, click on the desktop in empty space and it should appear.)
2. Click on "Connect to Server..."
3. In the "Server Address:" text box, type the connection string in this format: "smb://<Ubuntu box hostname>/<path to share directory>" (without quotes)****
**** <Ubuntu box hostname> should be the host name for your Ubuntu box (UBUNTU by default) and <path to share directory> should be the path to the share directory on the Ubuntu box as you would navigate to it from the root or "/" directory.

Example Server Address: smb://UBUNTU/home/sharefolder

Once you have the proper server address typed in, you can click the button with the "+" symbol on it to save the address for later use. Then, you are ready to connect. Click on the button labeled, "Connect" and OS X will attempt the connection. If everything is configured properly, you should get a window asking for "SMB/CIFS Filesystem Authentication." If you require network users to access the Ubuntu box, this is where you type in the username and password. I do not require this, since I am the only one accessing the file server. If you do not require username and password, make both of those text boxes blank. Then, click OK and OS X will mount the network volume.

Now, you can share files between your Ubuntu box and your OS X box. I hope this is of some use to someone. Feel free to add your own comments to this post. Thanks!
Old 09-15-2005, 06:10 PM   #2
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Rep: Reputation: 16
Thanks for sharing that, it will come in handy when I need to share my samba shares with OS X.
Old 10-30-2005, 04:42 PM   #3
LQ Newbie
Registered: Oct 2005
Location: Council Bluffs, IA
Posts: 2

Rep: Reputation: 0
I can not get this to work. I do everything this tutorial says and still won't work. When I try to connect form my mac, I get an error message saying, "The operation cannot be completed because one or more required items cannot be found." Everything up to logging into my Ubuntu box works great....but I try to connect and get to the authentication screen it talks about, I type in my root login and password into the correct boxes and get that above error message. Please help!
Old 10-30-2005, 07:39 PM   #4
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Rep: Reputation: 16

I just got an iBook; I'll be following the guide and seeing any snags in the next few days. Maybe I'll come across something similar
Old 10-31-2005, 11:31 AM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
I'm closing this. Not because there's anything wrong with it (there isn't), but because it fits much better as a Tutorial or as a Linux Wiki entry. Could I ask you to submit it to one or the other please. Thanks.

Closed Thread

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
Success story: Dual boot using two hard drives on a Asus P4P800-E Deluxe (Ubuntu/XP) Fisslefink Linux - Software 3 08-19-2005 05:37 AM
My success story. HolyLiaison Member Success Stories 1 02-08-2004 04:57 PM
Success Story! Xshare Member Success Stories 3 01-25-2004 08:05 PM
CS like success story PingouinShark Linux - Games 2 10-08-2003 05:17 PM
success story plus a question drfrankie Linux - Software 0 06-14-2003 03:54 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration