Voxel firmware and Entware problems

2 posts / 0 new
Last post
Chryses
Chryses's picture
Voxel firmware and Entware problems

Hi, I just installed Voxel firmware 1.0.2.59SF

Due to the recent modify the entware now is different, no default path set so (I don't know why Voxel make this decision, certainly he has good reason), so like he suggested, I created /root/.profile and I put

export PATH=/opt/bin:/opt/sbin:$PATH

into it.

Now the opkg update works great, I only have one problem after one or 2 installation I got this error

root@R7800:~$ opkg update
Collected errors:
 * opkg_conf_load: Could not create lock file /opt/var/lock/opkg.lock: Read-only file system.
 
Seems that the partition are full, am I right?
 
Here the mounts:
root@R7800:~$ mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
none on /proc/bus/usb type usbfs (rw,relatime)
ubi0:overlay_volume on /overlay type ubifs (rw,relatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /tmp/mnt/sda1 type ext4 (ro,nodev,relatime,data=writeback)
tmpfs on /hipplay/TMP type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /hipplay/dev type tmpfs (rw,relatime,size=512k,mode=755)
proc on /hipplay/proc type proc (rw,relatime)
tmpfs on /hipplay/etc type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /hipplay/home/0db type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /hipplay/var/lib/sqlite type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /hipplay/tmpHost type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /hipplay/tmp type tmpfs (rw,nosuid,nodev,relatime,size=0k)
tmpfs on /hipplay/home/0external type tmpfs (rw,nosuid,nodev,relatime,size=0k)
/dev/sda1 on /hipplay/home/0external/0698e899-581d-9142-b421-0d7fb6692829 type ext4 (ro,nodev,relatime,data=writeback)
devpts on /hipplay/dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /hipplay/dev/shm type tmpfs (rw,relatime,mode=777)

I don't know if is all normal but I only created a .profile into root dir, I don't have rebooted the router, not yet

Here the df output:

root@R7800:/opt$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
tmpfs                      512         0       512   0% /dev
ubi0:overlay_volume      51032     11076     37316  23% /overlay
overlayfs:/overlay       51032     11076     37316  23% /
/dev/sda1              7709624    159152   7158844   2% /tmp/mnt/sda1
tmpfs                      512         0       512   0% /hipplay/dev
/dev/sda1              7709624    159152   7158844   2% /hipplay/home/0external/0698e899-581d-9142-b421-0d7fb6692829
tmpfs                   241760         0    241760   0% /hipplay/dev/shm

Here the opt folder, if help:

root@R7800:/$ cd opt/
root@R7800:/opt$ ls -lah
drwxr-xr-x    6 root     root         1.2k Jun  1 09:08 .
drwxr-xr-x    1 root     root          816 Sep  2 03:28 ..
lrwxrwxrwx    1 root     root           25 Sep  1 23:11 bin -> /tmp/mnt/sda1/entware/bin
-rw-r--r--    1 root     root          175 Aug 27 19:04 dirlist
lrwxrwxrwx    1 root     root           25 Sep  1 23:11 etc -> /tmp/mnt/sda1/entware/etc
-rw-r--r--    1 root     root          855 Aug 27 19:04 filelist
lrwxrwxrwx    1 root     root           26 Sep  1 23:11 home -> /tmp/mnt/sda1/entware/home
drwxr-xr-x    2 501      20            224 Aug 27 19:04 leafp2p
lrwxrwxrwx    1 root     root           25 Sep  1 23:11 lib -> /tmp/mnt/sda1/entware/lib
drwxr-xr-x    4 501      20            648 Aug 27 19:04 rcagent
drwxr-xr-x    2 501      20            296 Jul 19  2017 remote
lrwxrwxrwx    1 root     root           26 Sep  1 23:11 root -> /tmp/mnt/sda1/entware/root
lrwxrwxrwx    1 root     root           26 Sep  1 23:11 sbin -> /tmp/mnt/sda1/entware/sbin
lrwxrwxrwx    1 root     root           27 Sep  1 23:11 share -> /tmp/mnt/sda1/entware/share
lrwxrwxrwx    1 root     root           25 Sep  1 23:11 tmp -> /tmp/mnt/sda1/entware/tmp
lrwxrwxrwx    1 root     root           25 Sep  1 23:11 usr -> /tmp/mnt/sda1/entware/usr
lrwxrwxrwx    1 root     root           25 Sep  1 23:11 var -> /tmp/mnt/sda1/entware/var
-rw-r--r--    1 root     root           45 Aug 27 19:04 version
drwxr-xr-x    3 501      20            504 Aug 27 19:04 xagent
 
Any idea or help?
 
Thanks in advance
 
J
Chryses
Chryses's picture
I Installed from scratch

I Installed from scratch entware, so I formatted an usb stick into ext4 labeled optware, then I plugged it!

I used the instruction from FAQ_entware_instaliations.txt from the site so at first impression works, but after one day I've a problem the partition is mounted as read only and is strange, no reboot or nothing, nothing that I've commanded!

root@R7800:~$ opkg update
Collected errors:
 * opkg_conf_load: Could not create lock file /opt/var/lock/opkg.lock: Read-only file system.
root@R7800:~$ mount | grep /dev/sda1
/dev/sda1 on /tmp/mnt/sda1 type ext4 (ro,nodev,relatime,data=writeback)
/dev/sda1 on /hipplay/home/0external/93e27297-4fbe-fc4a-935a-8f2e7fc6ac36 type ext4 (ro,nodev,relatime,data=writeback)
 
The second problem is that I'm not able to log in via WinSCP, via putty is ok (I used the alternative method do create a ssh key) seems that the server sftp is not installed, see the winscp log
! 2018-09-05 13:27:04.447 Using username "root".
. 2018-09-05 13:27:04.458 Waiting for the server to continue with the initialization
. 2018-09-05 13:27:04.486 Detected network event
. 2018-09-05 13:27:04.486 Server offered these authentication methods: publickey
. 2018-09-05 13:27:04.486 Offered public key
. 2018-09-05 13:27:04.486 Waiting for the server to continue with the initialization
. 2018-09-05 13:27:04.514 Detected network event
. 2018-09-05 13:27:04.514 Offer of public key accepted
! 2018-09-05 13:27:04.514 Authenticating with public key "Netgear-Jorman"
. 2018-09-05 13:27:04.650 Sent public key signature
. 2018-09-05 13:27:04.650 Waiting for the server to continue with the initialization
. 2018-09-05 13:27:04.680 Detected network event
. 2018-09-05 13:27:04.680 Access granted
. 2018-09-05 13:27:04.680 Opening session as main channel
. 2018-09-05 13:27:04.680 Waiting for the server to continue with the initialization
. 2018-09-05 13:27:04.708 Detected network event
. 2018-09-05 13:27:04.708 Opened main channel
. 2018-09-05 13:27:04.709 Waiting for the server to continue with the initialization
. 2018-09-05 13:27:04.803 Detected network event
. 2018-09-05 13:27:04.803 Started a shell/command
. 2018-09-05 13:27:04.840 --------------------------------------------------------------------------
. 2018-09-05 13:27:04.840 Using SFTP protocol.
. 2018-09-05 13:27:04.841 Doing startup conversation with host.
. 2018-09-05 13:27:04.841 Session upkeep
. 2018-09-05 13:27:04.841 Detected network event
. 2018-09-05 13:27:04.841 Received 3 bytes (1)
. 2018-09-05 13:27:04.841 Received 38 bytes (1)
! 2018-09-05 13:27:04.841 ash: /usr/libexec/sftp-server: not found
. 2018-09-05 13:27:04.841 Server sent command exit status 127
. 2018-09-05 13:27:04.841 Disconnected: All channels closed
* 2018-09-05 13:27:04.879 (EFatal) **Connection has been unexpectedly closed.** Server sent command exit status 127.

Any idea?