Posted: Sat Jun 20, 2020 12:58 Post subject: USB HDD - Dlink 882
Been looking for this but cant seem to find any information.
I want to use the USB ports on the Dlink 882 router. I have it flashed with build 43471(19/06/2020). However I am unable to mount the USB HDD. Formatted the disk as ext3 and followed instructions on the website but to no avail.
Joined: 08 May 2018 Posts: 14210 Location: Texas, USA
Posted: Sat Jun 20, 2020 13:43 Post subject:
Via telnet/ssh to the router, you can do lsmod to see what kernel modules are loaded. You can also check in /lib/modules/(kernel version)/ using ls to see if any ext*.ko files exist. If they do not, then ext* filesystem support is not in the firmware for this device. I am willing to bet that it only supports msdos, vfat or fat, and ntfs. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
I sshd into the router and saw that it has ext4.ko files. I guess it has ext4 support. I then formatted my external HDD as ext4 and attached it back to the router. Rebooted but alas the HDD still does not show when I go to services->usb.
Lsmod does not show ext4 in the list. How do I load the module?
I also solved the issue of usb drive not getting mounted on my DIR-882 (r44715) by adding the command insmod xhci-mtk.ko at startup, but i observed that if the router reboots for whatever reason (ex: power outage), sometimes the usb mount is not there anymore. However, if i turn off then on the router with power button, mounting is almost always successful.
Should i add something to startup command (for example sleep command) to be sure that usb is always mounted after reboot ?
Thanks
Last edited by Milax on Sat Dec 19, 2020 14:08; edited 1 time in total
After some testing on my DIR-882 - r44715), it appears that the flash drive sandisk 128MB, ext4 formatted) connected to the front USB port (3.0), stops being mounted after reboot for unknown reason. Rebooting or switching off then on, doesn't help. Sometimes, it strangely appears again with NAS working very well.
Interrestingly, the flash drive (16GB ext 2 formatted) connected to rear port and mounted as jffs works very well with no issues at all.
It seems that the issue is specific to front usb3 port or that ext4 format of flash drives provoques issues with this router/firm.
EDIT: may be a hint: i connected the ext4 flash drive to my windows 10 laptop and launched Minitools wizard, then connected it back to the router and it works again. This is the second time this happens, i don't know if it makes sense, but it worked more than once.