Writing to a USB share on a thumbdrive causes the router to reboot.
The same error occurred in previous recent builds. No change. Reported (for previous builds) by others, too.
I too am having this issue. Do you know if the developers are aware and if there is a defect associated with it?
I could not find anything in the ticket list relating to this specific issue, although it has been reported in the forums many times. _________________ - a candle loses nothing by lighting another candle
Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Posted: Fri Mar 22, 2024 22:37 Post subject:
sgobiraj wrote:
ArjenR49 wrote:
XR500
Writing to a USB share on a thumbdrive causes the router to reboot.
The same error occurred in previous recent builds. No change. Reported (for previous builds) by others, too.
I too am having this issue. Do you know if the developers are aware and if there is a defect associated with it?
Sorry for not going back and checking, but has anyone provided serial logs and system logs to see what may be possibly causing the reboot?
computerperson wrote:
I could not find anything in the ticket list relating to this specific issue, although it has been reported in the forums many times.
Doesn't need to be a ticket in the system, especially one that will be poorly written and lacking information. Thanks for no links or otherwise helpful information. _________________ "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
For all those having issues with crashing when trying to write to a samba USB device, Maybe you should try mounting with sshfs instead. Not only is is much faster, but it's more true to Linux permissions. I found a wiki on it, but I don't ever remember installing anything within Optware to make it work. It just worked out of the box.
https://wiki.dd-wrt.com/wiki/index.php/Sshfs _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Regarding sshfs, you shouldn't need openssh via Entware:
Yep, the wiki is terribly outdated. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Joined: 05 Oct 2008 Posts: 667 Location: Helsinki, Finland / nr. Alkmaar, Netherlands
Posted: Sat Mar 23, 2024 21:20 Post subject:
Many thanks to lexridge and dale-gribble39 for this very useful hint!
Disabled Samba, instead adopted sshfs (nothing in the GUI to set up) and it works great.
My XR500 already had Entware installed. It is activated in the router's startup script.
On my desktop machine (Linux Mint DE 6) I created a mount point and then just used the command fashioned after the definition from the Wiki in a terminal window:
sshfs <user>@<host name | host ip>:/<directory on router> <local mount point>
e.g.
sshfs root@xr500.arnet:/opt /mnt/optware
The mount point (/mnt/optware) needs to be owned by the desktop user.
Very cool it worked well for you. Not sure if this works for Windows users however. I have been using it for years to connect to my routers USB drives and my Home Assistant (RPi4) shares as well. It's the best option by far that I have found. While Samba is great for Windows users, this is best for Linux users anyway (unless this works for Windows, which I doubt).
Windows still sucks, but is slowly getting better with the adoption of OSS. With that said, I will still never own it. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
I just use FTP since I am not a Linux power user and cannot do a bunch of command line stuff. FTP works great on my Mint Cinnamon machine. It would be nice if the samba issues were fixed though. I believe that several people have already posted logs. _________________ Netgear XR500 - Gateway
R6700 v3 - Station Bridge
(While not directly relating to the main topic, but a few posters raised issues of USB attached to DD-WRT router, so this post provides a different angle).
My limited experience is that a simple USB key may be ok in terms of overall performance. Whether the router is running Stock f/ware, or DD-WRT.
But a bigger device such as SSD with rich media files stored on it but without an inbuilt transcoding capability, or a device doing likewise in front of (i.e. NOT behind) the router, will tax the router's routing performance.
It's why I have a mini PC box sitting between the router and SSD. And the mini PC's sole purpose is simply doing the heavy lifting such as transcoding before the signals arrive at the receiving (end) device, on the other side of the router.