I've just update this How-to for the latest build (23838) and I found no errors (even autorunning or libc).
But I found some scripting glitches that could induce people to some "copy-paste-run" mistakes. So, part of the code has been grouped and I hope that will help who had problems.
I order to acomplish it, I suggest clean up a thumbdrive and start over again.
I've just update this How-to for the latest build (23838) and I found no errors (even autorunning or libc).
But I found some scripting glitches that could induce people to some "copy-paste-run" mistakes. So, part of the code has been grouped and I hope that will help who had problems.
I order to acomplish it, I suggest clean up a thumbdrive and start over again.
Thank you guys for your precious feedback!
Marcelo.
Good work sir, I've been using MIniDLNA serving up nearly 6500 video files to devices around my house flawlessly for a couple of weeks now. We very much appreciate your continual efforts. thanks.
Wow, great guide! I've been using this for a few weeks now and it is just great!
One question...after following this guide, I am no longer able to use public/private keys via SSH. I always receive a "server rejected key" error. I have tried generating new private/public keys but to no avail. I can use SSH via password but would rather use keys. The keys work on stock dd-wrt install.
Has anyone come across this or have any ideas on how to address this or what might the problem be?
First of all, thank you for your compliments. I'm sure it is extensible to all folks who contributed for its maturity and that includes you.
"Last" of all, this tutorial does affect Linux/DD-WRT file structure, but it is not harmful.
The following is a tip because I'm not sure it is right and I've never worked with SSH keys nor tested it (please correct me if I'm wrong):
Once DD-WRT SSH files (key pair) are on /tmp/root/.ssh, you should handle them on /tmp/mnt/sda2/root/.ssh, because, according to this tutorial, there are bind commands throughout the script (See step 1.2: "mount -o bind /tmp/mnt/sda2/root /tmp/root"). So, I believe you need to copy your desired files to that directory (sda2).
First of all, thank you for your compliments. I'm sure it is extensible to all folks who contributed for its maturity and that includes you.
"Last" of all, this tutorial does affect Linux/DD-WRT file structure, but it is not harmful.
The following is a tip because I'm not sure it is right and I've never worked with SSH keys nor tested it (please correct me if I'm wrong):
Once DD-WRT SSH files (key pair) are on /tmp/root/.ssh, you should handle them on /tmp/mnt/sda2/root/.ssh, because, according to this tutorial, there are bind commands throughout the script (See step 1.2: "mount -o bind /tmp/mnt/sda2/root /tmp/root"). So, I believe you need to copy your desired files to that directory (sda2).
Marcelo.
Marcelo, thank you for taking the time to reply! I did try to move the .ssh folder to sda2 bur I still receive the same error. It appears as if /tmp/root is mapped to /tmp/mnt/sda2/root because when I delete files from /tmp/root they are alao gone from /tmp/mnt/sda2/root. Not sure what could be preventing the keys from working :/
1. Preserve those files somewhere else;
2. Get SSH disabled;
3. Copy those files to /tmp/root/.ssh;
4. Then, get SSH enabled.
All of that on Startup Command because you can toggle SSHd on/off without rebooting using Webgui, so you might be able to do the same through command line, thus through Startup Command (perhaps, setting NVRAM variables).
1. Preserve those files somewhere else;
2. Get SSH disabled;
3. Copy those files to /tmp/root/.ssh;
4. Then, get SSH enabled.
All of that on Startup Command because you can toggle SSHd on/off without rebooting using Webgui, so you might be able to do the same through command line, thus through Startup Command (perhaps, setting NVRAM variables).
Thanks for your response. I'm not sure what happened but my original reply did not get posted to the forum.
Anyway, to summarize I did try using nvram variables from the link you provided:
nvram set sshd_authorized_keys='my_private_key'
nvram commit
I added these to the Startup Command but it still was not working.
One thing I'm not sure of however, my .ssh folder already exist in /tmp/root...why would I need to move them out of there to place them back in? Sorry, I am fairly new to dd-wrt so forgive my ignorance if I am doing something completely wrong or not understanding your instructions.
I am able to use SSH via password but would rather use the keys method.
I'm afraid to tell I've run out the possibilities, at least for this moment.
But we had the opportunity to discuss this concept: "/tmp/root/.ssh" and "/tmp/sda2/root/.ssh" are bound, and I've misunderstood when I said to copy files between them. Anyway, I meant that any change in one affects the other.
Please continue digging that direction that you may find the answers.
I'm afraid to tell I've run out the possibilities, at least for this moment.
But we had the opportunity to discuss this concept: "/tmp/root/.ssh" and "/tmp/sda2/root/.ssh" are bound, and I've misunderstood when I said to copy files between them. Anyway, I meant that any change in one affects the other.
Please continue digging that direction that you may find the answers.
Thank you! Marcelo.
No problem, thanks for your help! If I do come across anything I'll post it.
I've encountered the same problem after installing the optware. To solve it I copied the public key to file /tmp/root/.ssh/authorized_keys
obs0lete wrote:
msantos2007 wrote:
obs0lete,
I'm afraid to tell I've run out the possibilities, at least for this moment.
But we had the opportunity to discuss this concept: "/tmp/root/.ssh" and "/tmp/sda2/root/.ssh" are bound, and I've misunderstood when I said to copy files between them. Anyway, I meant that any change in one affects the other.
Please continue digging that direction that you may find the answers.
Thank you! Marcelo.
No problem, thanks for your help! If I do come across anything I'll post it.
I've encountered the same problem after installing the optware. To solve it I copied the public key to file /tmp/root/.ssh/authorized_keys
obs0lete wrote:
msantos2007 wrote:
obs0lete,
I'm afraid to tell I've run out the possibilities, at least for this moment.
But we had the opportunity to discuss this concept: "/tmp/root/.ssh" and "/tmp/sda2/root/.ssh" are bound, and I've misunderstood when I said to copy files between them. Anyway, I meant that any change in one affects the other.
Please continue digging that direction that you may find the answers.
Thank you! Marcelo.
No problem, thanks for your help! If I do come across anything I'll post it.
Hi mjohn,
Thanks for the reply! I'm 99% sure I copied the .ssh folder to the /tmp/root folder bit am still having the same issues. I'll double check on that and post back.
Posted: Sat Apr 26, 2014 4:15 Post subject: minidlna subtitles
Hi Marcelo, at first, thanks a lot for this instructions. They are great! I could install all without any problem.
The only one trouble is with minidlna subtitles. Is this version 1.0.25 subtitles capable? Have you tested it?
If not, do you know another dlna server for dd-wrt with subtitles support?