Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a laptop and a raspberry pi connected to a soundsystem via the jack output. I'd like to have the output of the soundcard of my laptop redirected to the raspberry through my local network. I read things about mplayer daemon or icecast protocol but I don't really know how to make it work.

share|improve this question
How did you manage to make Pi's jack work as input? I thought it is output only: raspberrypi.stackexchange.com/questions/1536/… – Bob Jun 22 '13 at 15:35
Yes it's output only. In fact I want to stream the sound through my local network (via ethernet) – Elie Gnrd Jun 22 '13 at 15:50

You can try using pulseaudio sound server daemon in the raspberry pi and configuring pulseaudio client with the internal network ip of the server in the configuration.

For example if you are using Debian and raspbian.

In raspbian:

echo "snd_bcm2835" > /etc/modules /* load the sound module \*/  
apt-get install pulseaudio pulseaudio-module-zeroconf avahi-daemon /* install pulseaudio and avahi */  

in /etc/default/pulseaudio change PULSEAUDIO_SYSTEM_START to 1

Now configure pulseaudio for work over the network, in /etc/pulse/system.pa add these lines. Change to suite your network if needed:

load-module module-native-protocol-tcp auth-ip-acl=;
load-module module-zeroconf-publish

Reboot your raspberry pi

In your Linux desktop will appear as an output device.

You can also use pulseaudio client command for send only some application sound or similar like this:


export PULSE_SINK=tunnel.raspberrypi.local.alsa_output.0.analog-stereo
export PULSE_SOURCE=tunnel.raspberrypi.local.alsa_output.0.analog-stereo.monitor
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.