Networking between Ubuntu and MacOS X
Asko Kauppi
asko.kauppi at sci.fi
Mon Apr 4 05:52:26 UTC 2005
I've had Samba working (from Ubuntu, reading OS X share) for quite some
time, via WLAN, so would gladly give any hints and debugging tips if
this issue is still open.
There used to be a nasty bug in Ubuntu's samba package that I mentioned
on the list way back. It required sudo for writing to the mounts
(awful!) but since this is fixed in Hoary, and the issue was about
read-only anyhow, here goes.
My Ubuntu client setup (in /etc/fstab) is:
//192.168.1.2/asko /Users/asko smbfs
rw,user,noauto,port=139,username=asko
By adding ",password=...yourpw..." you get automatic entry.
After each Ubuntu update (concerning samba) I need to do this:
asko at amilo:~ $ sudo chmod +s /usr/bin/smbmnt
Hope this helps.
-ak
3.4.2005 kello 08:12, Jim Cheetham kirjoitti:
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
>
>
> --
> 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