What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Tutorial Debian 12 Bookworm + Plex Media Server (Asus RT-AX86S)

If everything's working as expected for you otherwise, that warning can be disregarded. I believe the router doesn't offer pseudo-terminal devices, hence the complaint (should've complained about that at startup too?).
 
5 - prepare Debian's init.d script

By default, all subdirs of /tmp/mnt/ (except the Entware partition) will be bind-mounted on chrooted Debian's /mnt/ (making them visible by Plex Media Server).​
First of all thank you for this guide it was very helpfull and just in time.

But i have a problem with this. Directories are not binding at all.
I used an old TeHashX script and it's working but this one does not. Could you check it?


UPD: Neverind, found a fix, in S99debian i changed "/mnt/*" to "/mnt/sda1/media*".


But this error still happens every time when "debootstrap"
"/opt/sbin/debootstrap: line 467: command: not found"
Debian installs though and seems working fine...

Also, there are two errors after debian installation (at least for me), the one with "Setting locale failed" and the one with "No usable dialog-like program...".
But it can be fixed by:
apt install whiptail apt install locales-all
and restarting debian.
Maybe this information helps someone.

@bbeny123 added this guide to AsusMerlin wiki on github. Thank you again for this guide it was very helpfull.
 
Last edited:
Hello friends of the internet. Though I realize that there are some hardware shortcomings of ARM processors to run Plex (especially if its your gateway), I am curious to try this for myself on my trusty AX88U.

Anyone out there still using this as a solution? I am going to attempt this in the coming week. It seems entware servers are down at the moment, though
 
Tutorial updated with:
  • update procedure
  • /usr/sbin/init check (step 10)

Anyone out there still using this as a solution? I am going to attempt this in the coming week. It seems entware servers are down at the moment, though
I’m still using Plex on my RT-AX86S, and everything works perfectly.
The installation process has likely not changed, so the guide should still be up-to-date.
 
Tutorial updated with:
  • update procedure
  • /usr/sbin/init check (step 10)


I’m still using Plex on my RT-AX86S, and everything works perfectly.
The installation process has likely not changed, so the guide should still be up-to-date.
Hey there. Thanks for your tutorial. I am blown away at how well it works and how much I love plex.

EDIT: Found my issue. Has nothing to do with plex or this tutorial
 
Last edited:
How do you access external drives within the chroot? I tried adding the mount-debian.sh file and my /mnt folder is still empty within the chroot
 
Is anyone using this setup with Plex Remote Access? It works very well within my local LAN. My router's local address is 192.168.2.1 and I've forwarded 32400 to this address. I have disabled Plex relay and have a Plex Pass. I dont fully understand the network topology of how this is configured but it seems to me that the chrooted debian shares my routers address on br0. Can anyone tell me if using this setup is compatible with accessing plex remotely?

EDIT: It seems that my asus firewall isnt allowing traffic on port 32400. If i temporarily disable the firewall, its works. I have checked port forwarding settings in the router and confirmed that they are correct but are not working.

EDIT2: Manually going in and adding an iptables script works. The gui port forwarding isnt working for me. I recently upgraded from an ax88u to a be88u and think i had the same issue on the ax88u. Im curious if any of this customization with bookworm and the plex server caused my issue.
 
Last edited:
How do you access external drives within the chroot? I tried adding the mount-debian.sh file and my /mnt folder is still empty within the chroot
My only advice is to go through the tutorial and make sure that you've followed the instructions. I have two physical drives attached to a usb 3.0 hub running off of an AX-88u and now a BE-88u and am able to see both drives from within chrooted Debian (and also accessible from my plex server)
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top