Search results

  • 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!

  1. L

    minidlna not working on reboot?

    Really? I'm assuming you're running just a standard minidlna distro on your Rpi? I'm really curious if the differences can be explained purely by .conf file settings, or if the minidlna included in the Merlin firmware is fundamentally different. I just made the leap of faith that it was a...
  2. L

    minidlna not working on reboot?

    obs0lete - I completed my Wiki article on minidlna, it's now available here: https://github.com/RMerl/asuswrt-merlin/wiki/Minidlna:--Common-Issues-&-Solutions Take a look at it if you get a chance, and if willing, implement the solution proposed at the bottom of the article in your config. It...
  3. L

    In Entware, why is rc.unslung called from services-start?

    That's really interesting. All the questions around this issue have always been "why was it done that way in the first place?" So you may have uncovered it. Thinking about it, the only way what you described could happen is if post-mount is called before services-start (certainly the opposite...
  4. L

    fsck in pre-mount w/mixed file system types (EXT2 & FAT32)

    I got around to looking at the built-in disk check utility you mentioned, and determined it's fairly easy add some code to the 'unmount' custom script to do an entware services-stop. With that, I was able to get the built-in health scanner to successfully scan the entware volume. I included...
  5. L

    In Entware, why is rc.unslung called from services-start?

    TLC -I respect your position, and would never consider doing that. I appreciate you being open to the change though. I just posted my first Merlin wiki contribution today, describing a way to run fsck on boot. But in it, I cautioned that the delayed boot could impact certain applications...
  6. L

    minidlna not working on reboot?

    I didn't see this post yesterday, but you make an excellent point. Since obs0lete said he installed minidlna from entware, that installation would have created a startup file under /opt/etc/init.d (named S90minidlna -- I tried it just to verify). That just complicates the original problem...
  7. L

    In Entware, why is rc.unslung called from services-start?

    Hey TLC - Thanks for the exchange. I feel like I'm the new kid poking the old guard. I certainly don't mean to challenge all the great work you've obviously done in this space, and although I've not personally installed AB, it looks like an amazing piece of work. But sometimes a noob can lend...
  8. L

    In Entware, why is rc.unslung called from services-start?

    What made you go away from that? I'm going to take a guess it was wanting to run AB, as it looks like the install script for AB assumes/enforces the use of services-start to kick off rc.unslung. Or was there something else that didn't work right that was fixed by moving it back to services-start?
  9. L

    In Entware, why is rc.unslung called from services-start?

    I don't see the issue here. Post-mount checks for the specific volume being mounted, so it only takes action if the entware volume is involved. But you do point out another benefit of having rc.unslung in post-mount: if you remove/insert that drive while the router is already up, it will...
  10. L

    In Entware, why is rc.unslung called from services-start?

    Aha, I knew there had to be something driving that original design. I guess I should have done a better job looking for that question being previously asked before I posted. Sorry about that. But that being said, I still maintain that for those of us with USB-mounted entware volumes, running...
  11. L

    In Entware, why is rc.unslung called from services-start?

    No, that's not the motivation, although there might be a small savings in not running the extra services-start script, and its time-wasting loop watching for entware to mount. The real motivation is just a more reliable boot sequence.
  12. L

    In Entware, why is rc.unslung called from services-start?

    First, my congratulations on the superb implementation of Entware and integration into AsusWRT-Merlin. With just a few hooks at the firmware level, it truly is magic how well it all works together to greatly extend the functionally of an already fine router. One thing I just can't get my head...
  13. L

    Are unmount, services-stop run at reboot?

    Thanks, John. I suspected that to be the case, similar to I don't see tracks of init-start script either, as it's apparently too early in the boot process. Perhaps that should be included in the Wiki describing those particular custom scripts? I don't mind doing that, just don't want to step...
  14. L

    Are unmount, services-stop run at reboot?

    I'm curious, was this fixed in an official build? I'm on 380.64_1 and no longer see USB storage errors on shutdown, and drives are no longer marked dirty coming back on boot. But I'm also never explicitly seeing services-stop run in the log. I would expect to see the base firmware reporting...
  15. L

    fsck in pre-mount w/mixed file system types (EXT2 & FAT32)

    Honestly, I'm not familiar with the Disk Utility (Linux newbie). I got to looking at a boot-time check from the Wiki that describes the pre-mount script. As for extreme, I'm specifically using the 'auto' option of fsck, which only takes action if the volume is marked dirty. In a normal case...
  16. L

    minidlna not working on reboot?

    Actually, after thinking about it a little more, I'm going to retract part of what I said. I think the failure scenario is correct, but it's not the timeout value. I believe post-conf is a blocking script in that it won't allow another drive to mount until it's completed its work. So it...
  17. L

    fsck in pre-mount w/mixed file system types (EXT2 & FAT32)

    I believe I've solved this. There may well be a better way, but this is what I came up with: #!/bin/sh # pre-mount script (to be installed in /jffs/scripts) # auto-check filesystems during boot # first argument is the filesystem to be mounted (e.g. /dev/sda1) CHKLOG=/var/fsck.log # determine...
  18. L

    minidlna not working on reboot?

    I'll take a stab at it. I bet the 'sleep 60' is simply not long enough. If that's the case, here's what's happening: 1) Minidlna starts up, and reads your .conf file, which tells it to look for the database on '/tmp/mnt/NAS'. Either you have the db folder explicitly located on your NAS...
  19. L

    fsck in pre-mount w/mixed file system types (EXT2 & FAT32)

    I'm thinking this should be a trivial problem, but I've not stumbled on the solution yet. I'm wanting to add an auto-fsck for my flash drives in the pre-mount script (AsusWRT-Merlin 380.64, RT-AC68U). It's easy when all the volumes use the same file system type, but I have a mix of EXT2 and...
  20. L

    RS232 Serial Port from USB

    OK, I believe this is my closure on this issue. Everything seems to be working fine. This is what my init-start script (under /jffs/scripts) looks like:#!/bin/sh # Load the pl2303 module for USB serial port support modprobe usbserial insmod /jffs/modules/pl2303.ko Despite some other threads...
Top