Apparently you (the original poster) are trying to use it through Samba, which I haven't got working.
However I wanted to use some more direct mechanism that wasn't limited by Windows conventions, and got some connection with FTP from the Finder: Command-K and use "ftp://192.168.1.1/" will mount the drive. The problem is that in my case it disconnects after a while.
I also tried NFS, and got it working only unreliably, with disconnections after a while like with FTP. Apart from that, you have to mount it from the shell with a rather ugly command.
Just now I got AFP working through netatalk, which is why I'm writing this reply.
The problem I had was that it did not accept my login.
In the log files I've seen that Netatalk (afpd) was refusing to let the root user to login, so I created a new user, set the password, and with those it works.
I'm using Oleg's firmware, version 1.9.2.7-8 (the current one as I write this), and installed the package netatalk.
I'm afraid this is not easy to do, so perhaps it's not what you want, but if it works I think it's the best way to connect from MacOS X.
What I did was to set things up as specified in this thread:
http://wl500g.info/showthread.php?t=10307
Once you can install things in /opt (your USB hard disk) with ipkg, you can install netatalk.
There is more information about this here:
http://wl500g.info/showthread.php?t=...light=netatalk
http://netatalk.sourceforge.net/2.0/...default.5.html
I removed avahi as it did not work anyway and it caused some conflicts because it needs the library libssp.so.0, which AFAIK can only be installed with the package buildroot that conflicts with other packages I wanted.
I guess that it would work after solving the main issue as explained below.
Apparently Netatalk only supports plain text passwords, and Leopard requires encrypted passwords:
http://www.blackmac.de/archives/58-M...OS-X-10.5.html
As noted there, the way to make Leopard accept plain text passwords is:
I would really prefer if this was not necessary. You might want to try first without it, and if it works please tell us here.Code:defaults write com.apple.AppleShareClient afp_cleartext_allow -bool true
I just tried to set it back to disallow plain text passwords with:
and it seems to work fine. So if you try to follow this, please try first without setting this property and tell me if it worked.Code:defaults write com.apple.AppleShareClient afp_cleartext_allow -bool false
The final thing I had to do was to create the new user that could log in through AFP.
For that I installed the package adduser, but since /home is read-only anyway, it could be enough to add a line to /etc/passwd like:
and then set the password with "passwd normaluser" from root. The user name "normaluser" is of course arbitrary: you can use other name and it would work the same.Code:normaluser:x:1000:1000:Linux User,,,:/home/normaluser:/bin/sh
If you want the volume to mount a specific directory of your hard disk instead of the home directory of the user (which I think would not work at all as the directory does not exist), replace the last line (the tilde) of the file /opt/etc/netatalk/AppleVolumes.default with:
You can put any volume name you want instead of "Disco".Code:#~ /tmp/harddisk "Disco"
Now, I can mount my USB disk at /tmp/harddisk by hitting Command-K in the Finder, using "afp://192.168.1.1/" as the server address, and logging in as "normaluser".


Reply With Quote


Thanks a lot!

