Posted: Fri Oct 13, 2017 16:56 Post subject: Belkin F7D4302 - Read-only file system
Hello. I have recently installed DD-WRT v3.0-r30631 mega on a Belkin F7D4302 v1 and am now trying to install YAMon.
I have enabled USB access and SSH access which I can logon to no problems and see the files on the USB stick. But it won't let me copy files from the USB to the /opt directory and just says "Read-only file system", how can I enable write access please? I am logged in as root and chmod doesn't do anything either.
Thanks.
PS. Apologies if this post is in the wrong place, this forum is a bit of a monster!
Posted: Fri Oct 13, 2017 17:28 Post subject: Re: Belkin F7D4302 - Read-only file system
andrew77 wrote:
I have enabled USB access and SSH access which I can logon to no problems and see the files on the USB stick. But it won't let me copy files from the USB to the /opt directory and just says "Read-only file system"
I presume you selected R/W and /opt as the mount point? Samba or FTP? Does the status show its mounted? I recall that you may have to enable CIFS/Samba under Services or Admin. Post a (resized) screenshot of your USB settings. _________________ #NAT/SFE/CTF: limited speed w/ DD#Repeater issues#DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo#
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
Posted: Fri Oct 13, 2017 19:52 Post subject: Re: Belkin F7D4302 - Read-only file system
jwh7 wrote:
I presume you selected R/W and /opt as the mount point? Samba or FTP? Does the status show its mounted? I recall that you may have to enable CIFS/Samba under Services or Admin. Post a (resized) screenshot of your USB settings.
I'm not sure why it's being scaled down even more but here it is anyway, you can click on it to see it better. However, the issue is that I can't get write access on the router itself, I have no problems accessing the USB stick and the router folders from SSH.
Posted: Fri Oct 13, 2017 20:28 Post subject: Re: Belkin F7D4302 - Read-only file system
andrew77 wrote:
I'm not sure why it's being scaled down even more but here it is anyway, you can click on it to see it better. However, the issue is that I can't get write access on the router itself, I have no problems accessing the USB stick and the router folders from SSH.
Ok so /mnt works fine; what is the output of `mount`? Try to remount it R/W. Anyone else seen this? I've not used /opt nor yamon. _________________ #NAT/SFE/CTF: limited speed w/ DD#Repeater issues#DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo#
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
Posted: Fri Oct 13, 2017 20:37 Post subject: Re: Belkin F7D4302 - Read-only file system
jwh7 wrote:
andrew77 wrote:
I'm not sure why it's being scaled down even more but here it is anyway, you can click on it to see it better. However, the issue is that I can't get write access on the router itself, I have no problems accessing the USB stick and the router folders from SSH.
Ok so /mnt works fine; what is the output of `mount`? Try to remount it R/W. Anyone else seen this? I've not used /opt nor yamon.
root@DD-WRT:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512K)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda on /tmp/mnt/discsda type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
How can I remount the filesystem I'm already in, and have nowhere else to move to? I'll copy in my exact errors too -
root@DD-WRT:/tmp/mnt/discsda# cp install.sh /opt
root@DD-WRT:/tmp/mnt/discsda# ls /opt
lib
root@DD-WRT:/tmp/mnt/discsda# cat install.sh > /opt/install.sh
-sh: can't create /opt/install.sh: Read-only file system
You can save a lot of grief if you simply change the volume name on your usb stick to opt. DD-WRT will auto mount the volume named opt to /opt. _________________ Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php