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!

Labeled device, now lost bash commands, MiniDlna...

mkvf

New Around Here
I labeled my external HDD, so it would be in the same place every time the router rebooted (it was sometimes mounting in sdb1 rather than sda1, screwing up my minidlna server)

Code:
 tune2fs -L AsusHDD /dev/sda1

I've rebooted the router, and the drive is mounted as AsusHDD. I've updated the media server via the router web ui to share (for example) /AsusHDD/TV Series, rather than /sda1/TV Series. Samba sharing seems to have updated automatically to point to the right place.

But, minidlna is not scanning the folder. When I try to use nano to open and check minidlna.conf, it says "nano:not found". The same seems to happen with other commands.

What am I missing?
 
You might need to reinstall Entware/Optware since the location has changed.
 
Thanks. That's helped a bit. I installed entware again, and then installed nano with opkg. It now works as expected. I guess I need now to reinstall everything else.
 
Thanks. That's helped a bit. I installed entware again, and then installed nano with opkg. It now works as expected. I guess I need now to reinstall everything else.

If you've used the setup script, look for an entware.bak (or something similarly named) directory on your USB disk, and swap it with the new entware directory.
 

Similar threads

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