LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-05-2005, 05:12 PM   #1
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Rep: Reputation: 15
Connecting to a Mac


I need to allow my Linux box to communicate with my Mac over a Local Area Network.
That's Gentoo Linux, incidentally, and Mac OS X 10.4.

I don't know where to start, and the Apple help files focus on accessing Windows through SMB. I don't know if I should be able to access Linux in the same way - but if I do try to put in the IP address of the Linux PC with a share name on the Mac, it just loads continuously and eventually gives a data inaccessible error.

Please help if you can.
Thanks.
 
Old 06-05-2005, 05:54 PM   #2
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
I don't use Gentoo but I'm able to share files between my iBook running Tiger and SUSE 9.3 with SMB. With SUSE, I used YaST to set up my SAMBA server. Then I just use the finder in OS X under Go > Connect to Server:

smb://(ip address of your linux box)/user name

That would be the user name with which you set up your Samba server.

Good luck!

Last edited by pilotgi; 06-05-2005 at 05:55 PM.
 
Old 06-07-2005, 05:46 AM   #3
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Original Poster
Rep: Reputation: 15
Thanks for your reply. I just get:
"Could not connect to the server because the name or password is not correct."

I tried fiddling with the firewall, but now the username/password prompt has suddenly stopped appearing. The connections just time out.

Last edited by Baryonic Being; 06-07-2005 at 07:55 AM.
 
Old 06-12-2005, 07:34 AM   #4
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Original Poster
Rep: Reputation: 15
It's working now, but only Mac to Linux. I can't seem to do it the other way around - smbmount times out.
 
Old 06-12-2005, 01:21 PM   #5
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
Did you enable Windows File Sharing on your Mac in the Sharing pane ?

Also, I find that NFS is a MUCH faster way of sharing files than Samba. NFS is, however, complicated to set up on the Mac since it uses an automounter and not the good old regular 'mount host:/share' syntax--you need to add stuff to NetInfo.

Check out NFSManager in Versiontracker to configure it. See if that works.

But if it's too complex or you run into lots of problems just keep using Samba...
 
Old 06-13-2005, 05:42 AM   #6
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
I'm with michaelsanford here. Go with NFS. samba is just painfully slow in comparisson. If you want your mac to be the nfs server just create an /etc/exports file with the directories you want exported. Then you can mount it in linux like you would any other nfs share. Or if your linux box is the server mount the share in OSX using command-K and under Server Address enter nfs://<nfs server name or IP>/exported/dir
 
  


Reply



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
Has anyone tried connecting a realiance lg CDMA phone on a mac os x deetox *BSD 1 04-22-2007 11:07 AM
Mac fans! A few questions about an old Mac... Mega Man X General 11 01-03-2007 09:01 PM
how to use iptables -m mac --mac-source DeployedOne Linux - Security 3 08-06-2004 03:03 AM
Connecting to Mac Shares unclebyron Linux - Networking 4 06-21-2003 01:16 AM
connecting to Linux from Mac darkangel Linux - Networking 3 02-16-2002 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration