Networking between Ubuntu and MacOS X

Jim Cheetham jim at egressive.com
Sun Apr 3 05:12:59 UTC 2005


Sure :-) "use Samba"

Your OSX machine has this by default - System Preferences | Sharing ; 
enable "Windows Sharing". You can always connnect to a remote share 
without doing this, using the Finder to "Go | Connect to Server".

Your Ubuntu machine will need the "samba" package installed, and 
configured. You can either configure by hand, or install "swat" to get 
an http interface to configuration. You'll need to figure out the 
choice of "workgroup name" at least - Ubuntu seems to default to 
"MSHOME", but I'm not sure how OSX defaults. The two systems should 
probably agree with each other.

I don't think OSX does automatic mounting of samba shares, but you can 
just leave a shortcut in the Dock, and that'll mount automatically when 
you click on it. Passwords would be handled automatically by the 
Keychain.app, so that's no problem.

Mounting from Ubuntu could be automatic by putting options in 
/etc/fstab (look at the man page for mount.cifs too), but that's the 
Unix way - there is probably a better "Ubuntu" way - hopefully someone 
else will follow up this post and tell us :-) because I don't know what 
it is, and don't have a GUI available at the moment.

Have a look at http://samba.org for details of the actual program being 
used, but remember both Apple and Ubuntu have customised their 
versions, especially in the field of configuration :-)

-jim, big user of samba, but not on OSX or Ubuntu yet.

On Apr 3, 2005, at 4:14 PM, Matthew S-H wrote:

> I don't quite understand what you're saying I should do.  Can you 
> please explain?
>
> Thanks
> ~Matt
>
>
> On Apr 2, 2005, at 10:37 PM, Jim Cheetham wrote:
>
>> Samba is the right thing to use (despite it's associations with 
>> windows).
>> The cifs filesystem and unix extensions in the server (not too sure 
>> if the mac supports these fully, but there's no reason why it 
>> wouldn't) can make for a good experience. Automounting requires you 
>> to have either passwordless authentication (not good) or to store the 
>> credentials on the filesystem somewhere.
>>
>> -jim
>>
>> On Apr 3, 2005, at 2:45 PM, Matthew S-H wrote:
>>
>>> I want to mount my Ubuntu hd (formatted as ext3) on my mac, and I 
>>> wanted to mount my Mac hd (formatted as hfs+) on my Ubuntu machine.  
>>> Both should preferably be read-only, and they must auto-mount at 
>>> boot/login time.
>>>
>>> I was wondering what the best way to do this was.
>>>
>>> Oh, and btw:   They are networked by a wireless LAN.  Both are 
>>> definitely connected properly to the LAN, as they can both surf the 
>>> web, and I have the IP addresses for both.
>>>
>>> Thanks for your help :).
>>>
>>> ~Matt
>>>
>>>
>>> -- 
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com
>>> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>> -- 
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list