Differences
This shows you the differences between the selected revision and the current version of the page.
howto:mac_osx_users 2009/04/03 15:59 | howto:mac_osx_users 2017/09/06 18:38 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Mac OSX ====== | ====== Mac OSX ====== | ||
This page is intended to offer some guidance to Mac users. The DNS-323 natively supports SAMBA (Windows) shares and so technically this means it supports Mac users, but there are a few things that you can do to make your lives a little easier! | This page is intended to offer some guidance to Mac users. The DNS-323 natively supports SAMBA (Windows) shares and so technically this means it supports Mac users, but there are a few things that you can do to make your lives a little easier! | ||
+ | |||
+ | NOTE: There have been a lot of complaints about SMB access since Snow Leopard. There seems to be some confusion about TCP ports for SMB file shares, but if you're explicit when you try to connect that may solve your problem. From the Finder, CMD+K pops up the 'Connect to Server' dialogue where you can enter the share name, or IP address of the server. For the DNS-323, using SMB from a Snow Leopard Mac, use something like "[[smb://192.168.99.99:139]]", or "[[smb://mydns323:139]]". | ||
===== SAMBA vs. AFP ===== | ===== SAMBA vs. AFP ===== | ||
Line 53: | Line 55: | ||
The additional benefit of modifying SAMBA this way rather than installing the Fonz Fun-plug is that the Linux system has not been modified and you do not run the risk of damaging your file system when restarting the DNS-323 because you are not running Linux from the hard disk which prevents proper unmounting of the drive. | The additional benefit of modifying SAMBA this way rather than installing the Fonz Fun-plug is that the Linux system has not been modified and you do not run the risk of damaging your file system when restarting the DNS-323 because you are not running Linux from the hard disk which prevents proper unmounting of the drive. | ||
+ | |||
Line 59: | Line 62: | ||
* Install FFP 0.5. Basically, download fun_plug and fun_plug.tgz from the following site and copy them to "Volume_1" of the DNS-323, then reboot. FFP 0.5 installs itself and you can telnet in. | * Install FFP 0.5. Basically, download fun_plug and fun_plug.tgz from the following site and copy them to "Volume_1" of the DNS-323, then reboot. FFP 0.5 installs itself and you can telnet in. | ||
- | * Here are the instructions for installing FFP and configuring SSH (http://wiki.dns323.info/howto:ffp) | + | * Here are the instructions for installing FFP and configuring SSH (http://dns323.kood.org/howto:ffp) |
- | * Install optware, following these instructions: (http://wiki.dns323.info/howto:optware) | + | * Install optware, following these instructions: (http://dns323.kood.org/howto:optware) |
* The optware startup script specified on the optware how-to page works, you just need to comment out the lines that echo details to the log. They really serve no purpose. If you want them, just specify the LOGFILE variable at the top of the script. You can't skip this step... it ties /opt to your ipkg opt directory. | * The optware startup script specified on the optware how-to page works, you just need to comment out the lines that echo details to the log. They really serve no purpose. If you want them, just specify the LOGFILE variable at the top of the script. You can't skip this step... it ties /opt to your ipkg opt directory. | ||
* Be sure to add the path directive from the script to the /ffp/etc/profile file, since we installed FFP 0.5. If you don't, you'll have to manually locate "ipkg" as well as all of the other binaries that you install under /mnt/HD_a2/opt/. | * Be sure to add the path directive from the script to the /ffp/etc/profile file, since we installed FFP 0.5. If you don't, you'll have to manually locate "ipkg" as well as all of the other binaries that you install under /mnt/HD_a2/opt/. | ||
Line 113: | Line 116: | ||
* If you can't see the processes, try executing "/opt/etc/init,d.S20dbus start", and "avahi-daemon" manually to see if there are some errors. | * If you can't see the processes, try executing "/opt/etc/init,d.S20dbus start", and "avahi-daemon" manually to see if there are some errors. | ||
* So, if everything worked, now when you open Finder in OSX, you should see a line under "Shared" for each service that you created. If you click on the AFP service, it will try to connect via AFP and you can choose "connect as" to specify a user/pass combo. If you click on the SAMBA service, it should immediately connect via SAMBA and/or let you click "connect as" to specify your Network Access credentials. The key here is that the delay is gone, because the SMB and AFP services are explicitly defined :) | * So, if everything worked, now when you open Finder in OSX, you should see a line under "Shared" for each service that you created. If you click on the AFP service, it will try to connect via AFP and you can choose "connect as" to specify a user/pass combo. If you click on the SAMBA service, it should immediately connect via SAMBA and/or let you click "connect as" to specify your Network Access credentials. The key here is that the delay is gone, because the SMB and AFP services are explicitly defined :) | ||
- | * Email me know if you have any problems! (trepex at gmail dot com) | ||
- | |||
===== Time Machine backups to SMB shares (no hacks required!) ===== | ===== Time Machine backups to SMB shares (no hacks required!) ===== | ||
Although Time Machine doesn't have any interest in using one of your AFP shares for a backup drive, it **will** automatically let you choose to use one of your SAMBA mounts, **once you've installed and configured Avahi/Bonjour**. | Although Time Machine doesn't have any interest in using one of your AFP shares for a backup drive, it **will** automatically let you choose to use one of your SAMBA mounts, **once you've installed and configured Avahi/Bonjour**. | ||
- | Basically, if your Avahi-advertise SAMBA mount is now appearing in Finder, under "Shared", you'll also be able to just pop open Time Machine and choose that share for the backups (no hacks, no tricking it into thinking it's supported when it's not, or any of the other issues you run into for the netatalk AFP shares. | + | Basically, if your Avahi-advertised SAMBA mount is now appearing in Finder, under "Shared", you'll also be able to just pop open Time Machine and choose that share for the backups (no hacks, no tricking it into thinking it's supported when it's not, or any of the other issues you run into for the netatalk AFP shares. |
Comment: I haven't got it working with my MacBook. | Comment: I haven't got it working with my MacBook. | ||
+ | |||
+ | ********** ADDED 7/11/2009 ******************** | ||
+ | Comment: It's working great on mine. You need to create the sparse bundle image on your Mac first and then move it over to the share. There are plenty of resources out there to get this done: | ||
+ | http://www.horto.ca/?p=12 This page will get you doing the backups OK. In order to make life easy on you, put the sparsebundle in the root of the volume. | ||
+ | |||
+ | In order for you to make your backups visible when booting up from the MacOSX DVD to do a bare-metal restore, you must install and configure AFP, which is done from the How-To:AppleTalk on this page. You don't need to configure "atalkd" which is the AppleTalk protocol, you DO need "afpd" which is the AFP daemon. You will also need to edit the AppleVolumes.default file to add the root of your volume from the DNS-323. | ||
+ | |||
+ | Once you have AFP working you can then boot up from the MacOSX DVD and connect to your network (I plug my MacBook into my wired network because a wireless restore is too slow.) and then optionally configure your jumbo frames if you have them "ifconfig en0 mtu 9000" and then run the command to mount your AFP TimeMachine volume: | ||
+ | |||
+ | <code>mkdir /Volumes/TimeMachine | ||
+ | mount -t afp afp://ftpuser:password@ipaddressofdns-323/Sharename /Volumes/TimeMachine | ||
+ | </code> | ||
+ | |||
+ | Once you do this you go into "Utilities > Restore System from Backup" and the TimeMachine backup is available as a restore source. Note: The MacOSX Install DVD DOES NOT have the smb library installed, therefore it is not possible to connect to an smb share... | ||
+ | |||
+ | I was able to successfully restore to an external USB drive and boot from it by holding down the option key. From there I was able to launch iTunes, iPhoto and check my files and folders to give me a degree of confidence that this was indeed a good restore. Only negative is that when you backup again, after doing a restore, Time Machine wants to do a full backup again which takes hours... |