LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-18-2006, 11:42 PM   #1
cruiserparts
Member
 
Registered: Jun 2005
Posts: 31

Rep: Reputation: 15
mac osx problems with linux samba after switching network interfaces


I have struggled with this for multiple hours and nothing.

I had the following that worked perfectly.
Linux Server running FC4. IP Address 192.168.0.100
Samba set up and serving shares to the mac perfectly.
Mac Samba Client (in Tiger) is a headache, b/c you have to issue these ridiculous smb://usernamepasswordipaddressgarbage commands in order to get it to connect. All shares load up fine at startup and have worked fine for a year, though. This headache and workaround is well documented on the apple discussion forums
I have the eth0 interface nic configured for all of this (it runs at 100 speeds).

Got a new router that will do Gig speeds and the Tyan board in the linux server has two gigabit nics on the mobo. So I attempt to switch from the setup above (100T) to the Gig interface. The net result is that I can never get the G5 to mount the samba shares. I think the problem might be that the linux samba services are dependant on the interface to the card and on the IP address, or that the Mac believes that the prior samba shares are only accessible through the old 100T interface, or that I simply forgot the stupid smb:// comand line that is necessary to connect. OR that I do not have the correct hosts.conf or samba.conf file set correctly.
What I tried to do is turn on the eth2 (the Gig port), give it the 192.168.0.100 address (essentially just substitute it in for the old one), and turn off the 100 eth0 interface. When I do this on the server I can ping it and I can browse the web with the server. I can also do the same thing, give it a ...120 IPaddress and still can't get samba to work. No matter what I do, I can always go back to the eth0 interface set it up as 192.168.0.100 and my mac will mount the samba shares (at startup or on demand)
I am also confused about hostnames and hosts, but I don't think this is preventing the samba shares.


Any ideas?

jon
 
Old 01-20-2006, 09:17 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Well, since nobody has responded...
I have a Mac, and rest of my home network is mixed Linux/BSD. I never thought I could use Samba for Mac. Appletalk does very nice job. And yes, you can share the very same volume using Samba, Appletalk, NFS etc. concurrently.
 
Old 01-22-2006, 07:41 PM   #3
cruiserparts
Member
 
Registered: Jun 2005
Posts: 31

Original Poster
Rep: Reputation: 15
Hi Emerson,

Thanks for the reply. Yes, my mac loads samba shares from the linux server.

I ended up fixing the problem. The snafu was that the gig port was not a "trusted device" in the SELinux Security Settings - it's some sort of red hat security thing. After fixing it, I got the gig interface to basically substitute for the 100t interface. The network now flies.

The strange thing is that something in my mac settings will only connect to the server using that IP address, though. It seems like the mac has stored some password information somewhere, and I can't seem to find it. Meaning, if i set up the gig port on the linux server to a IP...100 address (which was the old 100T interface) the mac will connect fine (which was the old 100t interface settings). Whenever I set the gig interface to any other IP address, the mac simply never connects.
 
  


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
Mac OSX-Like Linux? Launchpad_72 Linux - Newbie 30 02-12-2018 08:32 AM
Mac Osx Dock On Linux?? dj9928 Linux - Software 9 05-11-2008 04:04 AM
Does Mac OSX have Samba? Linux.tar.gz Other *NIX 10 10-17-2005 02:08 PM
Mixed Linux, WinXP, Mac OSX network regorbro Linux - Networking 2 07-30-2005 12:45 AM
OSX task switching for Linux ? michael_util Linux - Software 5 01-14-2005 03:59 PM

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

All times are GMT -5. The time now is 10:18 PM.

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