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 2007-05-31 09:27:39

fifel
New member
Registered: 2007-05-31
Posts: 4

System crash, on restart apple shares not mounting in OSX

Hi,

my chroot etch with afp and atalkd had been running fine, then suddenly there was a totally non-responsive crash.  No SSH, telnet, ping, web.

After a hard powerdown and restart my appleshares aren't mountable in OSX.

atalkd refuses to operate with the following errors:
>socket: Address family not supported by protocol
>socket: Address family not supported by protocol
>atalkd: can't get interfaces, exiting.

Which implies that appletalk isn't supported by the kernel.

afpd seems to be working, when I afp://user:pass@192.168.1.3/ in OSX I get a correct list of mountable volumes, but then receive a spinner logo and nothing until a failure.

tail /var/log/syslog shows:
May 31 16:17:36 dlink-ECE353 afpd[3912]: uam: "No User Authent" available
May 31 16:17:36 dlink-ECE353 afpd[3912]: Finished parsing Config File
May 31 16:18:09 dlink-ECE353 afpd[3913]: ASIP session:12000(5) from 192.168.1.2:59982(7)
May 31 16:18:09 dlink-ECE353 afpd[3912]: server_child[1] 3913 done
May 31 16:18:09 dlink-ECE353 afpd[3914]: ASIP session:12000(5) from 192.168.1.2:59983(7)
May 31 16:18:09 dlink-ECE353 afpd[3914]: login noauth
May 31 16:18:09 dlink-ECE353 afpd[3914]: login nobody (uid 65534, gid 65534) AFP3.1
May 31 16:18:09 dlink-ECE353 afpd[3914]: Warning: No CNID scheme for volume /home/sam/. Using default.
May 31 16:18:09 dlink-ECE353 afpd[3914]: Setting uid/gid to 1000/1000
May 31 16:18:09 dlink-ECE353 afpd[3914]: CNID DB initialized using Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)

which is correct uid/gid when set by afpd

when I kill the afpd process I get
May 31 16:28:27 dlink-ECE353 afpd[3914]: 0.11KB read, 0.41KB written
May 31 16:28:27 dlink-ECE353 afpd[3914]: Connection terminated
May 31 16:28:27 dlink-ECE353 afpd[3912]: shutting down on signal 15

Anyone got any ideas on how to restore the function of my netatalk installation?

thanks.

Offline

 

#2 2007-05-31 11:53:03

fifel
New member
Registered: 2007-05-31
Posts: 4

Re: System crash, on restart apple shares not mounting in OSX

http://dev.skcserver.de/dns323/modules_ … pletalk.ko 's kernel module isn't loaded, and doesn't seem to operate with my kernel

Any help on installing a kernel module for appletalk?

Offline

 

#3 2007-05-31 16:03:01

fifel
New member
Registered: 2007-05-31
Posts: 4

Re: System crash, on restart apple shares not mounting in OSX

More and more interesting.

setting up in AppleVolumes.config "root" / as a share allowed mounting.
Attempting to copy a file into a directory under /home/foo resulted in failure due to permissions.

Working this over with changed permissions through the "root" share on / through macintosh to "User: rw" "Group: rw" "Other: r" allowed writing.
In chroot debian (etch) this was equivalent to: drwxrwsr-x on the directory and -rw-rw-r-- on files.

After repairing permissions, I deleted :2eDS_Store, ".AppleDesktop" and its contents and ".AppleDouble" and its contents.

Mounting then succeeded.

Anyone want to give me the goss of why this was the problem?

many thanks.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB