DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-11-03 02:09:42

shadow
Member
Registered: 2008-12-24
Posts: 11

DNS-323 with AFP on 10.6.1

Anyone having an issues with AFP on 10.6.1?

I tried connecting via afp, it asked me for my password, and after i selected the volumes to mount, it stayed at the same screen saying Connecting with a spinning wheel.

Not the first time having problem with AFP. Quite frustrated. I need something that will work with my time-machine. Now I am not sure most of the time whether my data is secured with all these inconsistencies and breakdown.

Anyone has any idea why?

Offline

 

#2 2009-11-03 05:06:13

gegtik
Member
Registered: 2009-09-15
Posts: 14

Re: DNS-323 with AFP on 10.6.1

fwiw there's an issue connecting to Samba with snow leopard where your samba password has to be numeric

maybe try changing your access password?

Offline

 

#3 2009-11-03 15:03:19

shadow
Member
Registered: 2008-12-24
Posts: 11

Re: DNS-323 with AFP on 10.6.1

I have no problem connecting through SMB. However I realize some of my files are missing from view.

Offline

 

#4 2009-11-11 07:19:01

shadow
Member
Registered: 2008-12-24
Posts: 11

Re: DNS-323 with AFP on 10.6.1

No SL users has any problem with the AFP of DNS-323?

Offline

 

#5 2009-11-18 15:57:08

ezap
New member
Registered: 2009-11-18
Posts: 3

Re: DNS-323 with AFP on 10.6.1

Cannot reliably connect to DNS323 with Time Machine and SL using AFP here
Time Machine hangs on Making backup disk available

though connecting to AFP shares works as guest using cmd-k works
browsing in Finder then works
cannot get it to authenticate with a username password
tried various combinations of authentication modules in afpd.conf
such as:
"DNS323-afp" -uamlist uams_clrtxt.so
there is a ~/.passwd file, chmod 600 (as per instructions) but can't authenticate
Any suggestion in how to authenticate with passwords would be welcome

Thank you

Offline

 

#6 2009-11-18 19:12:21

Shades
Member
Registered: 2009-02-23
Posts: 14

Re: DNS-323 with AFP on 10.6.1

I'm using AFP from SL without problems. I also managed to setup avahi from the instructions someone posted.

Offline

 

#7 2009-12-04 21:11:29

shadow
Member
Registered: 2008-12-24
Posts: 11

Re: DNS-323 with AFP on 10.6.1

Anyone having permission problem on folders in the DNS-323?
I've yet to solve the AFP problem.
I tried to use the avahi instruction but it jst wont work.
I am now stuck and rendering the whole thing unusable.
Any help would be appreciated.
It just wont go pass the connecting screen.
Any log files I can view to check what's the error?

Offline

 

#8 2009-12-04 22:16:54

shadow
Member
Registered: 2008-12-24
Posts: 11

Re: DNS-323 with AFP on 10.6.1

Finally I found a workaround for this for Snow Leopard.
I read from another thread that it is possible to mount a sub-directory inside the Volume but not the Volume itself.
Hence, I tried it out and found out that it is indeed so.

Here's what I did to make things work again.

1. Create a folder in Volume_1 or /mnt/HD_a2 if you are in ssh
2. Edit /ffp/etc/netatalk/AppleVolumes.default
3. At end of the line, enter /mnt/HD_a2/FolderName Volume_1
4. Connect to server and use the afp://ipaddress
5. Key in the credentials on prompt
6. And you are in!

Took me so many months to get this work. To summarize, if you are following the avahi guide, just direct it to a subfolder within a directory instead of mounting the Volume instead.

Anyway, on another note for folder permissions, stick to just one login (would be good to use the default admin account). If you use another account, somehow the folder permissions will screw up and all your files and folders will go invisible.

Hope it helps someone out there having the same problem.

Offline

 

#9 2009-12-05 22:42:55

shadow
Member
Registered: 2008-12-24
Posts: 11

Re: DNS-323 with AFP on 10.6.1

I've found out the actual cause for this. It's some hidden files that cause the stalling of AFP connection to the volume.
Creating a new folder solve it because those broken hidden files are not inside.

Example of some of those hidden files are .AppleDB .AppleDesktop
Just remove those hidden files and all will be good again.

Offline

 

#10 2009-12-29 06:18:46

macuniverse
New member
Registered: 2009-12-29
Posts: 1

Re: DNS-323 with AFP on 10.6.1

shadow, many thanks :-))

this has saved me growing couple of years older!


shadow wrote:

I've found out the actual cause for this. It's some hidden files that cause the stalling of AFP connection to the volume.
Creating a new folder solve it because those broken hidden files are not inside.

Example of some of those hidden files are .AppleDB .AppleDesktop
Just remove those hidden files and all will be good again.

Offline

 

#11 2010-09-22 08:15:19

futbol4me
Member
Registered: 2010-09-18
Posts: 11

Re: DNS-323 with AFP on 10.6.1

Help!

I'm on 10.6.4, and no matter what i try... including deleting those files, it just doesnt work and the system just recreates those directories.  I've tried mounting on /mnt/HD_a2 and on /mnt/HD_a2/subfolder, and while AFP will eventually connect, it connects in read only mode and recreates those hidden files.

Any ideas?

Offline

 

#12 2010-09-24 12:25:57

oleaaj
Member
Registered: 2010-09-24
Posts: 7

Re: DNS-323 with AFP on 10.6.1

I have the same problem as futbo4me, with 10.6.4.

I follow the instructions from http://www.noulakaz.net/weblog/2009/11/ … -dns-323/. Before I restart the 323 i am logged in as guest on the afp shares and everything is working great. After the restart there is no guest login, and i get a CNID error and read only when logging in as "nobody". Additionally the share is slow.

Is there a way I can force/reactivate Guest login? Are there any disadvantages to Guest?

I am quite new to linux, so any help would be appreciated.

Thank you in advance

Offline

 

#13 2010-09-24 16:43:34

thebeck
Member
Registered: 2009-11-30
Posts: 54

Re: DNS-323 with AFP on 10.6.1

I am not sure that a guest login will work because the afpd spawns a child process using a true user of the DNS.  So remember to create a separate user through the DNS's admin screens.  This is the user that you will use to connect to the DNS.

Secondly, you cannot delete those hidden files.  they represent the database that afpd maintains (that's why you need db42 with netatalk 2.0.x and db48 with netatalk 2.1.x).  You also need to make sure your cnid server is working correctly.  Take a look at http://dns323.kood.org/forum/viewtopic.php?id=5735.  I have found that afpd.conf must contain the -cnidserver switch.  If you don't have this, it won't work.

Offline

 

#14 2010-09-25 22:26:34

oleaaj
Member
Registered: 2010-09-24
Posts: 7

Re: DNS-323 with AFP on 10.6.1

Thank you for your answer thebeck.

I use db48 and netatalk 2.1.3. The user I use is "nobody". Apparantly this user exists as a default on the dns. Should I use another one? I have followed your instructions in the other post. (copied your scripts, thank you!) But I am still getting the same old CNID error. I will try to reformat and reinstall everything again.

Offline

 

#15 2010-09-26 00:03:12

oleaaj
Member
Registered: 2010-09-24
Posts: 7

Re: DNS-323 with AFP on 10.6.1

Frustrating! Everything reinstalled, this time using the scripts provided by thebeck. And still the same "Something wrong with the volumes CNID DB.

Before I restarted the dns for the first time, everything worked great.
I checked the code in /ffp/var/run/afpd.log. there seems to be a problem at the end, but as I am a linux novice I can make no sense of it.

Any ideas?

Code:
Sep 25 21:47:37.436252 afpd[1827] {server_child.c:387} (I:Default): server_child[1] 1858 exited 1                                                           
Sep 25 21:47:37.438240 afpd[1857] {cnid_dbd.c:84} (E:Default): tsock_getfd: getaddrinfo: CNID server -setuplog:4700 : Name or service not known             
                                                                                                                                                             
Sep 25 21:47:37.441751 afpd[1827] {server_child.c:389} (I:Default): server_child[1] 1859 done                                                               
Sep 25 21:47:37.442643 afpd[1857] {cnid_dbd.c:84} (E:Default): tsock_getfd: getaddrinfo: CNID server -setuplog:4700 : Name or service not known             
                                                                                                                                                             
Sep 25 21:47:39.434009 afpd[1857] {cnid_dbd.c:84} (E:Default): tsock_getfd: getaddrinfo: CNID server -setuplog:4700 : Name or service not known

Offline

 

#16 2010-09-27 15:38:07

futbol4me
Member
Registered: 2010-09-18
Posts: 11

Re: DNS-323 with AFP on 10.6.1

oleaaj-

I had similar problems... but it stemmed from the fact that i was using db42 with netatalk 2.1.3.  when i switched from db42 to db48, all my backend database stuff started working fine (CNID).  Hope that helps.

Offline

 

#17 2010-09-28 19:22:31

oleaaj
Member
Registered: 2010-09-24
Posts: 7

Re: DNS-323 with AFP on 10.6.1

With some help from futbol4me, it works.
The problem was the afpd.conf file.
The -cnidserver command needs to be at the end, or at least not before -setuplog. Dont know why, but it made the difference!

Thank you all for great help!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB