BubbleUPnP Server through Debian Arm

This version is for Arm routers: RT-AC56U, RT-AC68U, RT-AC87U...

A) SERVER SIDE

1a - Install Optware from here

or

1b - Install Entware (recommended) from here

2 - Install Debian from here

3 - Install Minidlna from here

4 - Enter Chrooted Debian

debian enter

5 - Run update to see if some recent packages are available

apt-get update
apt-get upgrade

6 - Install zip package

apt-get install zip net-tools procps iptables

7 - Download and install Oracle Java 7

mkdir -p /usr/lib/jvm/
cd /usr/lib/jvm/
wget -c -O java.tgz http://bit.ly/2xZTeV9
tar xvzf java.tgz
update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/ejre1.7.0_71/bin/java" 1
update-alternatives --set java /usr/lib/jvm/ejre1.7.0_71/bin/java

8 - Download and install BubbleUPnP Server

mkdir -p /etc/bubbleupnp
cd /etc/bubbleupnp
wget http://bubblesoftapps.com/bubbleupnpserver/BubbleUPnPServer-distrib.zip
unzip BubbleUPnPServer-distrib.zip
chmod +x ./launch.sh

9 - Start server

./launch.sh

10 - Wait about a minute to download and start, then exit with CTRL-C

11 - Download startup script and allow wan configuration

wget -c -O /etc/init.d/S99bubbleupnp-debian http://bit.ly/2xZTfsb
chmod 755 /etc/init.d/S99bubbleupnp-debian
sed -i 's/false<\/allowWANConfigurationUI>/true<\/allowWANConfigurationUI>/g' "/etc/bubbleupnp/configuration.xml"

12 - Exit Debian

exit

13 - Stop chrooted services

debian stop

14 - Add BubbleUPnP to chrooted services list

echo "" >>/opt/etc/chroot-services.list
echo "S99bubbleupnp-debian" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

15 - Open default BubbleUPnP ports

nano /jffs/scripts/firewall-start

Paste this lines in terminal

 #!/bin/sh

iptables -I INPUT -p tcp --destination-port 58050 -j ACCEPT
iptables -I INPUT -p tcp --destination-port 58051 -j ACCEPT

Save with CTRL-O / Enter / and exit with CTRL-X

16 - Apply rules

chmod a+rx /jffs/scripts/firewall-start
sh /jffs/scripts/firewall-start

17 - Start services again

debian start

18 - Go to 192.168.1.1:58050 and wait about 30 seconds, default Username Admin & password admin if asked, now press ok on both messages

bubbleupnp1

bubbleupnp2

 19 - On next screen, press Auto-detect or input your ddns address and click Apply, change username & password then press Apply
bubbleupnp3
 20 - On Media Servers tab you should see the list of UPnP Servers available
bubbleupnp4

B) CLIENT SIDE

Download BubbleUPnP app on your android phone

Open app and go to Menu/Settings/Setup network wizard/NEXT/

bubbleupnp-network

Give server a name

In Server address input your external ip or ddns address, like user.asuscomm.com:58050

Then Login and password chosed in server setup

When finished, press NEXT

Now you should see Connection successful

Go to Menu/LIBRARY and should see a list with available servers

bubbleupnp-servers

Choose one server and a RENDERER from top

bubbleupnp-renderers

Go to Menu/Media and play your media files from selected server on selected Renderer

REVIEW (CLICK ON THE STARS TO RATE!)
5
Sending
User Review
5 (3 votes)