Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hey there,
I've been trying to find a way to get AFP shares to be properly detected by OSX and Appear under "SHARED" in OSX Leopard's Finder. My DNS-323 shows up under shared but it's the SAMBA share that appears and Finder trys to connect to it via SMB.
It seems the solution is to get my 323 to advertise is AFP share so that Bonjour can pick it up, but so far I've had trouble accomplishing this. I can't for the life of me get my debian etch chroot to work properly (following the instructions on the 323 wiki).
I was wondering if there is an FFP module for avahi or mdns floating around somewhere?
Thanks for your time!
Offline
install optware
http://dns323.kood.org/howto:optware
then install avahi
ipkg install avahi
and when you configure it, post how you did it here!
good luck
Offline
Thank you!!!!!!!!!!!!!!
I finally got it working, and now I get a nice "NAS AFP" link under "Shared" in Finder, which automatically grabs the AFP share and logs in without any delay (unlike samba connections which take near-15 seconds to connect).
I'm so frigging happy right now. This has taken me days.
I'll write up a page on the wiki tomorrow describing the steps to follow to get avahi configured nicely to advertise the AFP and any other services.
Offline
Please do - I've been wondering how to do this for ages.
Offline
OK, I think I got most of it down on "paper". Check out this page and let me know if you have any questions. Perhaps someone could fix the formatting for my scripts, as I couldn't figure out how to make it look right.
http://dns323.kood.org/howto:mac_osx_users
Last edited by trepex (2008-11-11 17:08:02)
Offline
as a note, there's a netatalk fun plug package, you don't have to use the optware package.
Offline
mikeglass wrote:
as a note, there's a netatalk fun plug package, you don't have to use the optware package.
The problem here was getting avahi working. I used the funplug for netatalk because that was easy, but there is no avahi funplug.
Last edited by trepex (2008-11-11 17:07:00)
Offline
hmmm looked at those instructions - a little more complex than I had hoped. If it was type a few commands, set NAS name and then to autostart on boot, maybe I'd go that way. I'll stick to SMB for now.
Thanks though - the more information we all have the better.
Offline
Fair enough. It's actually easier than it seems though
I've actually stopped using AFP for now because with AVAHI enabled, my SMB mounts are working wonderfully in OSX. Before the connection took 15 seconds or so, then if you browsed back to the main share it took another 15 seconds to refresh, etc. With the SMB service properly advertised in mDNS though, Avahi has really solved my problems. Plus Time Machine automatically picks up the correctly advertised SMB share and will back up to it without any hacks.
Offline
Hi,
I've followed the steps outlined on the wiki (http://dns323.kood.org/howto:mac_osx_users) but am finding a slight issue. I created the files afp.service and smb.service as indicated in /opt/etc/avahi/services, so now in my finder under Shared I have 3 entries for my dlink 323.
I have the original 'dlink323' entry which was there before and now the 2 new ones 'dlink323 (Windows)' and 'dlink323 (Mac)'
If I go to to the original 'dlink323' then it's slow just like before -but it still works.
If I go to the (Mac) one, it just gives me connection failed
If I go to the (Windows) one, then it loads quickly -which is why I did all this in the first place.
Why does the afp (?) share 'dlink323 (Mac)' give me a connection failed ... I've gone through and checked the afp.service file and its the same as whats posted on the wiki? Any ideas what has happened?
Also, does anyone know if there any way that I can stop either the dlink broadcasting all 3 shares OR my Mac from showing all 3 shares? That way it will only show the dlink323 (Windows) mount ... which I'll rename to something like 'dlink323 (Mac)'
Cheers,
B
Offline
breasthead wrote:
Hi,
I've followed the steps outlined on the wiki (http://dns323.kood.org/howto:mac_osx_users) but am finding a slight issue. I created the files afp.service and smb.service as indicated in /opt/etc/avahi/services, so now in my finder under Shared I have 3 entries for my dlink 323.
I have the original 'dlink323' entry which was there before and now the 2 new ones 'dlink323 (Windows)' and 'dlink323 (Mac)'
If I go to to the original 'dlink323' then it's slow just like before -but it still works.
If I go to the (Mac) one, it just gives me connection failed
If I go to the (Windows) one, then it loads quickly -which is why I did all this in the first place.
Why does the afp (?) share 'dlink323 (Mac)' give me a connection failed ... I've gone through and checked the afp.service file and its the same as whats posted on the wiki? Any ideas what has happened?
Also, does anyone know if there any way that I can stop either the dlink broadcasting all 3 shares OR my Mac from showing all 3 shares? That way it will only show the dlink323 (Windows) mount ... which I'll rename to something like 'dlink323 (Mac)'
Cheers,
B
You have to setup AFP (http://dns323.kood.org/howto:appletalk) manually before the steps you followed will work. I also ran into this problem but immediately noticed that linux devices aren't AFP-compatible OOB without the right configuration.
Offline
zuluwalker wrote:
You have to setup AFP (http://dns323.kood.org/howto:appletalk) manually
There's a recent blog post on ffp + avahi + netatalk at
http://www.noulakaz.net/weblog/2009/11/ … e-dns-323/
It seems to have all the details.
Offline
Thanks fonz, I've tried it and it works better (and is much cleaner) than the more dated solution presented here. It has even encouraged me to wipe everything and start anew - I'm OC like that lol.
EDIT: I'm going back to the old/dirty optware method - I've had better success with it than with Avinash's method (or with some optware/Avinash mix, just can't be completely sure). And since I'm not well-versed in Linux (just a little experience through Mac OS X's Terminal) so the succeeding issues that I've had isn't that worth it.
EDIT to EDIT: I take it back. Copying and pasting the code directly from Avinash's instructions were the issue as there are some incorrect syntax found in the xml scripts (missing - and some others). I have successfully redone the process with success by comparing scripts made by other people (and in the wiki).
Back to tweaking. :-)
Last edited by zuluwalker (2009-11-15 21:24:23)
Offline
New to this DNS hacking, I installed fun plug, configured SSH and Transmission...
Now I want to make my NAS compatible with my iMac... So I'm researching the Bonjour, AFP and Timemachine installation...
Any pros and cons of installing the Bonjour application available from dlink instead of avahi?
Stef...
Offline
Hi stefcold,
I have been using avahi for about 8 months and it seems to be working well for me. I would strongly suggest using fonz's avahi instead of the Bonjour package from D-Link. See this post for more information: http://forums.dlink.com/index.php?topic=6405.0
Offline
I encounter a problem with the optwate-avahi method. I had it working for quite some time, however by now I cannot connect via afp in the finder.
The password gets accepted, as I would get an error message of I put in a false password, however no connection will happen. Processes seem to be running prior to trying to connect:
1785 messageb /opt/bin/dbus-daemon --system 1791 avahi avahi-daemon: running [NetStore.local] 1795 root /ffp/sbin/afpd 6588 root mt-daapd 6591 root sshd: root@pts/0 6593 root -sh 6595 root ps
the try creates another afpd process:
1785 messageb /opt/bin/dbus-daemon --system 1791 avahi avahi-daemon: running [NetStore.local] 1795 root /ffp/sbin/afpd 6588 root mt-daapd 6591 root sshd: root@pts/0 6593 root -sh 6610 root /ffp/sbin/afpd 6616 root ps
... but not with the user specified?!?
Whereas Samba works fine:
1785 messageb /opt/bin/dbus-daemon --system 1791 avahi avahi-daemon: running [NetStore.local] 1795 root /ffp/sbin/afpd 6588 root mt-daapd 6591 root sshd: root@pts/0 6593 root -sh 6610 root /ffp/sbin/afpd 6619 RCG /usr/sbin/samba/smbd -D
Anyone an idea what's going wrong?
Offline
I would just like to comment and draw some attention to the article that I just wrote about Avahi, Samba and OSX Finder.
If you are experiencing that OSX Finder displays the error "Connection failed", when connecting to an Avahi-advertised Samba-service, please see my article on how to fix this issue.
http://bwyan.dk/?p=1456
Offline