I tried to post a guide i wrote about setting up UDPBD on a Mini Router but i got an error about it being spam,
@TnA i'll try to send you a message if i can
It would be great if you could try posting it again. The best 'tutorial' I could find is this from a guy on youtube (that i'm unable to link right now because I don't have permission yet).
It's by Alexander López-Parrado
titled "Windows to Linux / OpenWrt File Xfer + More! Free SFTP, SCP and FTP client for Windows"
These files must be placed into router filesystem by using SCP.
udpbd-server.elf -> /bin lib
stdc++.so.6.0.25 -> /lib
Then access remote terminal through SSH and create a symlink named libstdc++.so.6 targetting libstdc++.so.6.0.25, finally server can be ran by issuing command udpbd-server /dev/sda1, where /dev/sda1 represents the USB pendrive/harddisk connected to router.
He doesn't explain anything about what SCP is, but I did find a video of a guy using WinSCP (which I can't link right now). It's something like FTP. I don't know much about using SSH or creating symlinks. But it looks like he's starting the server through an SSH terminal command. I just hope this doesn't have to be done every time because it's very janky.
I tried to post a guide i wrote about setting up UDPBD on a Mini Router but i got an error about it being spam,
@TnA i'll try to send you a message if i can
Sorry, I had the wrong title for that video. Forgot the files were linked in the first post...and I can't edit my former post so...yeah.
I posted the steps I took there on youtube but it got deleted either by youtube or Alexander himself. Wasn't able to get OPL to see my games (the ISOs were in the DVD folder), but I did get the server running and OPL created it's folders on the USB stick connected to the router. Here's the steps I took:
To run the UDPBD server on openWRT: (edited because I'm unable to post links...)
1.I bought the GL.inet MT300N V2 mini router from amazon.
2. Find the correct version of openWRT searching for "MT300N" on openWRT's page called:
"Table of Hardware: Firmware downloads"
3. Followed a tutorial on youtube with the video id of: v=CXHAzuONy-U on how to install openWRT.
4. Install the USB drivers and things including the packages for exfat.
The page is on openWRT's site and is called "Using storage devices"
5. Download the zip file with the lib and udpbd-server.elf which is found in the 1st post of this thread.
6. Extract the zip and in the command prompt use:
CD <path to where you extracted the zip>
mine was just:
CD C:\ROUTER\
for simplicity.
7. Log into openWRT using ssh in the command prompt:
ssh [email protected]
and put in your password.
8. I used winSCP to transfer the lib and .elf files,but on the command prompt it looks like:
scp udpbd-server.elf [email protected]:/bin/
scp libstdc++.so.6.0.25 [email protected]:/lib/
9. Next, create a symlink to that lib file with a shorter name and put it in the /usr/lib/ directory:
ln -s /lib/libstdc++.so.6.0.25 /usr/lib/libstdc++.so.6
I figured this out searching for random linux info mentioning library .so files and it worked lol!
10. Now you can make the server run when the router starts by pasting it's path into the local startup section of openWRT's web interface.
In your browser, login to openWRT by going to
192.168.1.1
Using the menu, go to System > Startup > Local (tab)
Before the 'end' text, hit enter to create a new line.
On that new line, type in:
/bin/udpbd-server.elf /dev/sda
Or you can use whatever your usb drive shows as, mine was /dev/sdb
11.Save and reboot the router and that's it.
This is as far as I got. Problem I have now is that there is no /dev/sda1 or sdb1 and OPL doesn't show any games. It would be great if someone figures this out, but I'm giving up on it for now. It's taken way too much of my time so I just bought a PS2 fat instead.