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-17 10:05:32

Gary Patterson
Member
Registered: 2007-02-15
Posts: 15

Installing AFP - Fatal Error in Compilation

Hi everyone,

I've been working on getting AFP on my DNS-323, and I've been able to follow most of the instructions so far, even though I'm not at all good with Linux. I'm stuck near the end though. The instruction

Code:

DEB_BUILD_OPTIONS=ssl debuild

ran for quite some time, before ending with the messages

Code:

(snipped out a few hundred lines)
...
dh_buildinfo
dh_strip -pnetatalk  
dh_compress -pnetatalk  
dh_fixperms -pnetatalk  
dh_makeshlibs -pnetatalk  
dh_installdeb -pnetatalk 
dh_perl -pnetatalk 
dh_shlibdeps -pnetatalk    
dpkg-shlibdeps: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dh_gencontrol -pnetatalk -- -Vssl:Recommends=", cracklib-runtime, libpam-cracklib"
dpkg-gencontrol: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums -pnetatalk 
dh_builddeb -pnetatalk 
dpkg-deb: building package `netatalk' in `../netatalk_2.0.3-4_arm.deb'.
 dpkg-genchanges
dpkg-genchanges: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage (debuild emulation): binary and diff upload (original source NOT included)
Now signing changes and any dsc files...
 signfile netatalk_2.0.3-4.dsc Sebastian Rittau <srittau@debian.org>
gpg: keyring `//.gnupg/secring.gpg' created
gpg: skipped "Sebastian Rittau <srittau@debian.org>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1155:
running debsign failed

I looked at the site linked to ( http://ubuntuforums.org/showpost.php?p= … stcount=16 ) and this said there might be a signing error, so I ran the next step.

Code:

sh-3.1# dpkg -i ../netatalk_*.deb
Selecting previously deselected package netatalk.
(Reading database ... 16454 files and directories currently installed.)
Unpacking netatalk (from ../netatalk_2.0.3-4_arm.deb) ...
Setting up netatalk (2.0.3-4) ...
hostname: Unknown host
hostname: Unknown host
Starting AppleTalk services (this will take a while): socket: Address family not supported by protocol
socket: Address family not supported by protocol
atalkd: can't get interfaces, exiting.
Usage: nbprgstr [ -A address ] [-m Mac charset] [ -p port] obj:type@zone
Usage: nbprgstr [ -A address ] [-m Mac charset] [ -p port] obj:type@zone
 atalkd papd afpd cnid_metad.

That doesn't look good!

Can anyone help me here? What've I missed? I'm not a Linux user, so I'd really appreciate any help.

Thanks,
Gary

Offline

 

#2 2007-05-17 12:24:05

Gary Patterson
Member
Registered: 2007-02-15
Posts: 15

Re: Installing AFP - Fatal Error in Compilation

Well, I ploughed on and was able to connect from OS X. Then I tried the acid test of rebooting, and now I can't connect and can't see what's gone wrong.

I can telnet in, then chroot to Debian (I'm learning this stuff as I go!) but when I tried 'afpd' I found it wasn't running. I added the line 'afpd' to my linuxrc file, but I don't know why it doesn't start.

Hmm... Exactly what should I be adding to my linuxrc file? If I manually start afpd I can then access the DNS-323 from OS X, but it's not starting up from my linuxrc file.

Offline

 

#3 2007-05-20 11:18:24

dcrosby
Member
Registered: 2007-03-09
Posts: 25

Re: Installing AFP - Fatal Error in Compilation

Interesting. I have had a problem with things in my linuxrc file not executing on startup, and I don't know why... but afpd is not one of them. I just have a line

Code:

afpd

with nothing else, and it runs fine. Where does it appear in your linuxrc?

Offline

 

#4 2007-05-20 23:19:14

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Installing AFP - Fatal Error in Compilation

I have seen issues with things starting up properly. So I have added a sleep first to let everything calm down before launching the fun_plug stuff. This box has limited resources so I guess issues could occur if you launch to many things at the same time.

Offline

 

#5 2007-05-23 12:22:35

Gary Patterson
Member
Registered: 2007-02-15
Posts: 15

Re: Installing AFP - Fatal Error in Compilation

Interesting... Can you detail how you did that? I'll give it a go.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB