Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Aug 14, 2018 4:12 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Sun Jul 01, 2007 2:37 am 
Offline
Newbie

Joined: Sun Jul 01, 2007 2:34 am
Posts: 6
I have many files and folders that I am unable to copy over to my Terastation due to file/pathname being too long. It seems that for some reason the Terastation has a 120 character limit or so for the entire pathname+file, which frankly is very limiting. Is there a workaround/update/whatnot for this issue?

Thanks in advance.


Top
   
PostPosted: Sun Jul 01, 2007 5:37 am 
Offline
Newbie

Joined: Sun Jul 01, 2007 2:34 am
Posts: 6
Actually, it appears to be an issue with atalk. I do not seem to have this issue using Samba, which I really would rather not use. Anyone have a fix for afp/atalk?


Top
   
PostPosted: Sun Jul 01, 2007 9:21 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
You can install (extract) the netatalk .deb from my website. My Mac article in the Wiki (see my website/"Links") might also be helpful.


Top
   
PostPosted: Sun Jul 01, 2007 5:12 pm 
Offline
Newbie

Joined: Sun Jul 01, 2007 2:34 am
Posts: 6
I am not sure what steps I am missing in order to get the packages loaded on my terastation. I have flashed to the latest firmware with telnet capabilities, and have installed openssh from itmpi's page. I am not certain of the steps needed to get Debian on my terastation, the steps in the wiki and forum do not seem too clear to me. Do I need to have Debian on my terastation in order to your webinstaller? I try to run the webinstaller without it and get the errors listed below:

Code:
# /usr/local/sbin/webinstaller-kernelinst.sh 
dpkg: unrecognized option `--version'
BusyBox v1.5.0 (2007-04-06 12:26:33 BST) multi-call binary

Usage: dpkg [-ilCPru] [-F option] package_name

Install, remove and manage Debian packages

Options:
        -i              Install the package
        -l              List of installed packages
        -C              Configure an unpackaged package
        -F depends      Ignore dependency problems
        -P              Purge all files of a package
        -r              Remove all but the configuration files for a package
        -u              Unpack a package, but don't configure it

dpkg: unrecognized option `--version'
BusyBox v1.5.0 (2007-04-06 12:26:33 BST) multi-call binary

Usage: dpkg [-ilCPru] [-F option] package_name

Install, remove and manage Debian packages

Options:
        -i              Install the package
        -l              List of installed packages
        -C              Configure an unpackaged package
        -F depends      Ignore dependency problems
        -P              Purge all files of a package
        -r              Remove all but the configuration files for a package
        -u              Unpack a package, but don't configure it


Linkstation 2.6 kernel webinstaller
http://hvkls.dyndns.org/downloads/documentation/README-webinstaller.html

--> Tera with OpenLink
--> Will install into /

Starting downloads (truncation warnings and timouts resulting in error 404 can be ignored safely)...

--> Getting webinstaller... wget: unrecognized option `--dns-cache=off'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.


FATAL: A new version is being uploaded. Try again later.


Top
   
PostPosted: Sun Jul 01, 2007 8:17 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Kernel 2.6 is not required, neither is Debian. Just extract the .deb


Top
   
PostPosted: Sun Jul 01, 2007 9:06 pm 
Offline
Newbie

Joined: Sun Jul 01, 2007 2:34 am
Posts: 6
Ok, I get the following when atalkd tries to start back up:

Code:
/usr/sbin/afpd: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory


I installed the Libraries package from the Buffalo Extra's site and now I get:

Code:
/usr/sbin/afpd: error while loading shared libraries: libslp.so.1: cannot open shared object file: No such file or directory


Top
   
PostPosted: Sun Jul 01, 2007 9:52 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Check out Debian's "libslp1"


Top
   
PostPosted: Sun Jul 01, 2007 10:09 pm 
Offline
Newbie

Joined: Sun Jul 01, 2007 2:34 am
Posts: 6
So I guess noone has a precompiled binary of this? Or can I actually use the packaged one from a pcc debian distro?


Top
   
PostPosted: Sun Jul 01, 2007 10:13 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
You can.


Top
   
PostPosted: Mon Jul 02, 2007 5:34 pm 
Offline
Newbie

Joined: Sun Jul 01, 2007 2:34 am
Posts: 6
Thanks for your help Andre, I have managed to get afpd 2.0.3 running on my TeraStation (which is running stock firmware.)

The steps I took are as follows (I hope I remembered/recorded everything):

Make sure you are root, and that you have installed BusyBox, gnuutils and the Libraries from itmpi's Buffalo Extra's page. I downloaded netatalk from the http://hvkls.dyndns.org/downloads/ page. I also had to download libslp1 from here.

  • /etc/init.d/atalkd stop
  • mkdir /tmp/netatalk
  • dpkg-deb -X netatalk_2.0.3-4_powerpc.deb /tmp/netatalk
  • cp -R /tmp/netatalk /
  • dpkg-deb -X libslp1_1.2.1-6.2
  • cd /etc/netatalk ; ln -s /etc/atalk/AppleVolumes.default AppleVolumes.default
  • cd /etc/rc.d/rc3.d ; rm S90atalkd ; ln -s ../init.d/netatalk S90netatalk
  • cd /etc/rc.d/rc0.d ; rm K35atalkd ; ln -s ../init.d/netatalk K35netatalk
  • cd /etc/rc.d/rc6.d ; rm K35atalk ; ln -s ../init.d/netatalk K35netatalk
  • cd /etc/init.d
  • mv atalk atalk.old
  • ln -s netatalk atalk

Edit afpd.conf to read as follows:

Code:
- -transall -uamlist uams_dhx.so -noddp -nosavepassword


Edit /etc/pam.d/netatalk (not sure if everything is needed, but this seems to work for me):

Code:
#%PAM-1.0
auth       sufficient   pam_ldap.so
auth       required     pam_unix.so
account    sufficient   pam_ldap.so
account    required     pam_unix.so
#password   required    pam_cracklib.so
#password   required    pam_unix.so use_authtok
session    sufficient   pam_ldap.so
session    required     pam_unix.so
#%PAM-1.0

@include common-auth
@include common-account
@include common-session


After doing this, you need to remove the .AppleDB directory from any share. If you do not, you will get an error due to the CNID database being incorrect. After doing all this you can start netatalk (/etc/init.d/netatalk start). Adding and removing AFP shares from the web gui will stop/start netatalk as needed.


Top
   
PostPosted: Wed Oct 27, 2010 7:52 am 
Offline
Total Newbie

Joined: Wed Oct 27, 2010 7:48 am
Posts: 1
Would somebody be able to help me out with this, I have no idea where to even start. I just want to be able to backup files without receiving the error message that the file name is to long.

Thank you,

Joe


Top
   
PostPosted: Sun Dec 28, 2014 11:38 am 
Offline
Total Newbie

Joined: Sun Dec 28, 2014 11:35 am
Posts: 1
Actually when i see pathname being too long then that time i did use long path tool for fix it. i did not found any problem yet to using it. Did you try it yet ?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited