Talk:Llink:synology

From Lundman Wiki

Installation pre-requisites

When I ran llink on my CS-406 I did have some optware installed already; the bootstrap and toolchain from NSLU2-linux,org and the SSODS3 packages (which include the ELDK). Perhaps it influenced the successful installation? Maybe more things are needed apart from the telnet/SSH-patch currently listed?
/ dc11ab 00:09, 5 January 2008 (JST)

UPDATE: Not needed. All is well. / dc11ab 18:36, 19 June 2008 (JST)

Slimserver/SqueezeCenter hickup's

On a Synology NAS with SSODS Slimserver installation there are unhandled http header requests from cookies seen in the llink log: I have not idea if this something worth looking into or not.

[request] is listening
[request] New request from 192.168.1.2:64543
[request] >> 'GET / HTTP/1.1'
[request] clearnode
keepalive
[request] GET for '/' ('')
[request] >> 'Host: 192.168.1.5:8888'
[request] >> 'User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4'
[request] >> 'Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
[request] >> 'Accept-Language: en-US,en;q=0.9,sv;q=0.9,ja;q=0.8,fr;q=0.8,de;q=0.7,es;q=0.6,it;q=0.6,nl;q=0.5,nb;q=0.4,da;q=0.4,fi;q=0.3,pt;q=0.3,zh-Hans;q=0.2,zh-Hant;q=0.1,ko;q=0.1'
[request] Unhandled HTTP header 'Accept-Language:' with 'en-US,en;q=0.9,sv;q=0.9,ja;q=0.8,fr;q=0.8,de;q=0.7,es;q=0.6,it;q=0.6,nl;q=0.5,nb;q=0.4,da;q=0.4,fi;q=0.3,pt;q=0.3,zh-Hans;q=0.2,zh-Hant;q=0.1,ko;q=0.1'
[request] >> 'Accept-Encoding: gzip,deflate'
[request] Unhandled HTTP header 'Accept-Encoding:' with 'gzip,deflate'
[request] >> 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7'
[request] Unhandled HTTP header 'Accept-Charset:' with 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
[request] >> 'Keep-Alive: 300'
[request] Unhandled HTTP header 'Keep-Alive:' with '300'
[request] >> 'Connection: keep-alive'
[request] connection type: 1
[request] >> 'Cookie: SqueezeCenter-player=00%3A04%3A20%3A06%3Af8%3Ae5; SqueezeCenter-expandPlayerControl=true; SqueezeCenter-expanded-MY_MUSIC=0; SqueezeCenter-expanded-RADIO=0; SqueezeCenter-expanded-MUSIC_SERVICES=0; SqueezeCenter-expanded-FAVORITES=0; SqueezeCenter-expanded-PLUGINS=0'
[request] Unhandled HTTP header 'Cookie:' with 'SqueezeCenter-player=00%3A04%3A20%3A06%3Af8%3Ae5; SqueezeCenter-expandPlayerControl=true; SqueezeCenter-expanded-MY_MUSIC=0; SqueezeCenter-expanded-RADIO=0; SqueezeCenter-expanded-MUSIC_SERVICES=0; SqueezeCenter-expanded-FAVORITES=0; SqueezeCenter-expanded-PLUGINS=0'
[request] >> ''
[request] actioning request for /
[request] disabling socket input for duration of process
[request] tmpname '/tmp/.llink.G69xU6'
[request] tmpfile closed
[request] reopening tmpfile
[request] actioning request for /
[request] disabling socket input for duration of process
[request] sending file
[request] sending reply code 200:OK

Found the following ports used by the SqueezeCenter7

  • 3483 UDP/TCP (used by Squeezbox player for streaming traffic??))
  • 9000 TCP (Server web interface)
  • 9090 TCP (CLI)

I guess the ports have nothing to do with it., but I'm stuck at this,.
/ dc11ab 00:11, 5 January 2008 (JST)

Autostart

After some more Googling and poking in the Synology forum and wiki, I might have found a way? Copy the start file to the autostart directory with prefix of the startup shellscript, "S99":

vi /usr/syno/etc/rc.d/S99llink.sh

Set the PATH and LD_LIBRARY_PATH to the llink directory.: PATH=/volume1/path/to/llink-X.Y/llink/src/ LD_LIBRARY_PATH=/volume1/llink-X.Y/llink/src/

Then export them: export PATH export LD_LIBRARY_PATH


With this fixed, the Synology NAS should start llink upon reboot.


UPDATE: This is alread fixed with a startup script called from the /etc/rc.local file. I see that Synology has introduced new firmware as of June 2008 which might require some changes. Yet to be seen. So far, all is well.

/ dc11ab 18:38, 19 June 2008 (JST)

Cross-compiling for the ppc and Marvell-based cpu's of Synology NAS on Intel Macbook

My intention is to set up an environment with toolchain to compile for the Synologies on my Intel based Macbook. I'm Googling as fast as time allows to figure out how to do it. Any hints are appreciated!

/ dc11ab 09:00, 6 January 2008 (JST)


UPDATE: Cross-compiling wasn't as easy as I thought. Well, I didn't actually thought it was going to be easy, but as for me this project is on ice. Hopefully someone else can pick it up.

/ dc11ab 18:41, 19 June 2008 (JST)

Conversation

Woah, I need to set wiki to tell me whenever there is posts in Discussions.. Any of the stuff in here still need my attention?


Not really. Some matters are already dealt with. As for the SSODS part, it didn't really do anything to the system, someone else should report a real problem first. All is well (I suppose ;-) /dc11ab 18:42, 19 June 2008 (JST)