Talk:Enable AFP Server

From AwkwardTV
Revision as of 23:21, 13 December 2008 by DKroot (talk | contribs)
Jump to: navigation, search


Does the same technique work for enabling samba? ie SMBSERVER=-YES- ? If so, could someone add this to the wiki? Would really like to be able to access ATV from both Macs and PCs on my network.


Illegal instruction

The problem I encountered with 1.1 is that recovery partition doesn't contain the AppleFileServer binary and the binaries copied over from 10.4 systems (and system updates crash with "Illegal instruction" upon starting :-(

Missing dynamic libraries

after copying the file i got the following error

-bash-2.05b$ sudo /usr/sbin/AppleFileServer
dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
  Referenced from: /usr/sbin/AppleFileServer
  Reason: image not found
Trace/BPT trap
-bash-2.05b$ cd frontrow
-bash-2.05b$ ls	Desktop			Downloads		Movies			Pictures		Sites
Applications		Documents		Library			Music			Public			atvflash
-bash-2.05b$ /System/Library/CoreServices/
-bash: command not found
-bash-2.05b$ mv /System/Library/CoreServices/
-bash-2.05b$ ls
Applications	Desktop		Documents	Downloads	Library		Movies		Music		Pictures	Public		Sites		atvflash
-bash-2.05b$ sudo /usr/sbin/AppleFileServer
dyld: Library not loaded: /System/Library/PrivateFrameworks/ByteRangeLocking.framework/Versions/A/ByteRangeLocking
  Referenced from: /usr/sbin/AppleFileServer
  Reason: image not found
Trace/BPT trap


That means this file does not exist and is missing


DK> I got the same error after copying from Leopard 10.5.5. I tried to copy missing libraries as well:

> scp -r /System/Library/PrivateFrameworks/ByteRangeLocking.framework frontrow@appletv.local:~
> scp -r /System/Library/PrivateFrameworks/MDSChannel.framework frontrow@appletv.local:~
frontrow@AppleTV.local ~> sudo mv ByteRangeLocking.framework /System/Library/PrivateFrameworks/
frontrow@AppleTV.local ~> sudo mv MDSChannel.framework /System/Library/PrivateFrameworks/

It is of no use - I ended up with:

frontrow@AppleTV.local ~> sudo /usr/sbin/AppleFileServer                          
dyld: Symbol not found: _kMDServerPortName
  Referenced from: /System/Library/PrivateFrameworks/MDSChannel.framework/Versions/A/MDSChannel
  Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices

Trace/BPT trap

Has anyone made it work from Leopard binaries? Does it make sense to go back to the Tiger DVD which I have and try Tiger binaries?