Posted: Fri Jun 12, 2020 20:06 Post subject: Entware problem [SOLVED]
Any ideea why i cant create a specific file? Its about minidlna.conf in /opt/etc.
Long story: i accidentally updated minidlna and the latest version it is bugged on my Wdr3600. I unnistalled minidlna. Installed version that worked. Right at the install procces i get error message of conf file i/o error.
The config file from /opt/etc is missing and i cant create minidlna.conf. Any other file i can create or copy. (using winscp btw). I cannot rename any other file to minidlna.conf. It says error renaming code 1..
Smth is preventing me to create that config file.
Help pls.
Is there a file called minidlna.conf already there?
You can remove it with:
Code:
rm [filename inc extension]
A new one can easily be created by installing "nano" via entware, or by creating it via WinSCP. Nano is a command line text editor. There is a bit of a learning curve to it, ^ means ctrl, etc. If you create a blank file with nano and then paste stuff into it from the WinSCP text editor that may work. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
root@Dorm-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/sda2 on /tmp/mnt/sda2 type ext4 (rw,relatime)
/dev/sda1 on /opt type ext4 (rw,relatime)
/dev/sda1 on /tmp/mnt/sda1 type ext4 (rw,relatime)
/dev/sdb1 on /tmp/mnt/sdb1 type ext4 (rw,relatime)
/dev/sdb1 on /tmp/proftpd/users/joedow/FilmeS type ext4 (rw,relatime)
root@Dorm-wrt:~#
Posted: Sat Jun 13, 2020 11:16 Post subject: Start-up Command
What is in your Start-up Commands window in the DD-WRT GUI? Admin - Commands tab. What is the sleep value currently? _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Posted: Sat Jun 13, 2020 11:56 Post subject: mount issue
It sounds like a mount issue. What about adding the following to the start-up commands, first line after the first sleep 30:
Code:
/opt/etc/init.d/rc.unslung start
Is your Optware drive called Optware and mounted to /opt?
I called mine Optware and it automounts to /opt then. All of the mount points then show up correctly. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
If you can't create that file with vi, you can create a different file but can't rename it to the filename you want, get i/o errors... that certainly looks like an unhealthy filesystem.
On my build those tools are in the path but you can specify it manually.
/sbin/fsck
/bin/umount
You could boot a live USB distribution and try repairing the USB filesystem with fsck from a PC instead of of from dd-wrt.
Reformatting and reinstalling/reconfiguring all entware apps is good too but lots of work.