Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm a Mac user who was recently given a PC, which I plan to basically use as a headless server and Folding@Home client (as opposed to having the PowerMac continue to do double duty as both a desktop and a server). One of its server tasks I want it to perform is network storage for the two Macs' automated backups. Unfortunately, the Macs see that the PC has available NFS shares but won't let me mount them using the Finder's connect to server. I get an error message saying that the username and password was incorrect, even though it never asks me for a username or password.
PC server: Ubuntu Server 6.06 (kernel version 2.6.15-25-server), wired connection to the router
PowerMac G4: Mac OS X 10.3.9, wired connection to the router
PowerBook G4: Mac OS X 10.3.9, wireless connection to the router
I have full control of all of the computers involved.
Although I have used Apple's File Sharing (AFP), I have zero experience with NFS. Although I am not afraid of the Terminal, I have limited experience with actual Linux (as opposed to the Unixy side of OS X) and Ubuntu Server (as opposed to Ubuntu Desktop) has no GUI.
Then you probably do not know that NFS is using UID's for authentication (i.e. not usernames). Meaning your Mac user with UID 501 has no rights in server unless there is an user with matching UID.
Also make sure the computer names you are using are solvable via hosts file (unless you run your own DNS). You may want to restrict NFS access to a certain IP range if you are using DHCP.
You were correct about that. By using the usermod command and restarting the server, I changed the UID on the server to match the UID on the client which is 502 (501 is the admin account, which I separated from my everyday user for security reasons). However, I still get the same error message as before.
Last edited by macskeeball; 07-29-2006 at 02:26 AM..
Well, it certainly is possible. My iMac connects fine. I'd say start simple, make a directory (/opt/shared for instance), chown it to your user and export it without sophisticated options. And try another tutorial, here's a good one: http://linux.2038bug.com/rute-home.html
I'm having the exact same problem as you when trying to connect to Ubuntu 6.10 Server using NFS through the Connect To Server dialogue from 10.3.9. Did you ever find a solution? At the moment I'm under the belief it may be a port issue. Apparently, connecting through OS X over a privileged port (i.e. less than 1024) may be problematic - see this wiki. I came across your thread whilst trying to find a way to make OS X connect over an unprivileged port.
Please, if you've fixed this please tell me how! :-)
Just a heads up, I added the insecure option to my /etc/exports file on my Gentoo-based NFS server and OSX Leopard connected fine from the Go -> Connect to Server option in Finder using the URI nfs://server/share
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.