Talk:RPi

From Bjoern Hassler's website
Jump to: navigation, search

1 Net_ratelimit[edit]

Error in

cat /var/log/messages | grep net_ratelimit

Solution:

vm.min_free_kbytes = 32768 in /etc/sysctl.conf
smsc95xx.turbo_mode=N in /boot/cmdline.txt

2 Mopidy[edit]

Mopidy can connect to your media library that sits on a network drive somewhere, and also to spotify. The RPi running mopidy then plays back music through it's audio out. Mopidy is controlled through a mopidy client, e.g. running on the same RPi (such as a text-based client ncmpcpp) or through another device on your network (e.g. using MPDroid on your phone). Several of those clients can connect at the same time, so you could collaboratively make playlists on your local network.

http://docs.mopidy.com/en/latest/installation/raspberrypi/ http://raspberry-at-home.com/mopidy-spotify-client/

 sudo apt-get update
 sudo apt-get install mopidy
 sudo apt-get install mopidy-spotify
 sudo apt-get install ncmpcpp
 sudo emacs ~/.config/mopidy/mopidy.conf
 mopidy config
 mopidy local scan
 mopidy
 ncmpcpp

There was a problem with the port:

 sudo netstat sudo netstat -npl | grep :6600

Starting mopidy at boot