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
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: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Regarding sshfs, you shouldn't need openssh via Entware:
Yep, the wiki is terribly outdated. _________________ - Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Joined: 05 Oct 2008 Posts: 793 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: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
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. _________________ Linksys MX4300 802.11s Primary
Linksys MX4300 802.11s Secondary 1
Linksys MX4300 802.11s Secondary 2
(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.