Click to See Complete Forum and Search --> : SuseLinux, Mac OS X and accessing a cd-rw through Samba


SuSeLinuxUser
11-26-2002, 11:48 AM
Hi all.

I was wondering if there is a way for me to run my own Network using SuSE Linux 6.4 and Mac OS X 10.1.5 and Samba and access the cd-rw on my Mac using SuSe Linux and use that burner to burn my cds and save files I have on my SuSe laptop.

oakleys
12-01-2002, 05:21 AM
Not sure about Samba, but nfs might be fairly easy. If you export the directories of your files from the laptop, mounting them in OS X goes like:
mount_nfs <hostIP>:<export> <node>
where your host IP is the address of your laptop on your LAN, the export is (uh) your exported directory, and the "node" is some directory you create on your Mac to "put" the imported files.

I'm not familiar with SuSe, but turning on nfs should be very simple. Assuming you have it running, here's an example:

Let's say your music files are in /home/joe/music, and your files to be backed-up are scattered througout the /home directory. First, you'd put a line in your /etc/exports file:
/home 192.168.1.*(sync,rw,no_root_squash,insecure)
...where you'd be sharing the entire /home directory to any of a possible 256 machines in the specified LAN class. The "insecure" option is required on several versions of Linux when exporting to Macs (it disables forcing the incoming nfs request to originate from ports < 1024).

Now, as long as your /etc/hosts.allow/deny files are sane (allowing access to your LAN), you should be ready to share the directory with your network. Restart nfs (i.e. service nfs restart (in Linux), or reboot).

On the Mac, open a shell and create a new directory--let's say:
/Users/<state your name>/nfs
...where "state your name" is (um) your username. Provided that you're importing from 192.168.1.8, and your username is "joe" type:
mount_nfs 192.168.1.8:/home /Users/joe/nfs

Keep in mind that your CD burning speed can't exceed your LAN's throughput! On a 10/100 network with average IDE drives you can safely push somewhere in the area of 7MB/sec from host to client, but be aware that if you underflow your CD-Writer's write buffer..."you'll be sorry."

Any questions...ask! Good luck.

SuSeLinuxUser
12-01-2002, 05:48 AM
Thanks a lot.