Martin - SNBuser
Regular Contributor
Hi all,
I've got the ASUS RT-AC87U router installed with Merlin-FW and entware (for installing packages with "opkg install"). My problems:
1) Very often the USB3-stick I've inserted in either of the USB2/3-ports get automatically disconnected (unmounted). If I try to reboot, it normally isn't enough. I have to physically turn off the router and wait maybe 10-30 seconds and start up again. Then it finds the USB-drive and mounts it correctly. This is a problem - I don't know the solution. Anyone have any experience?
2) Yesterday I installed some new packages with "opkg install" (entware). I think 2 times in the middle of the process, the USB-stick was unmounted automatically. So I had to restart/turn off and turn on. Eventually, now I have no space left:
/dev/root 43.9M 43.9M 0 100% /
devtmpfs 124.7M 0 124.7M 0% /dev
tmpfs 124.8M 5.9M 119.0M 5% /tmp
/dev/mtdblock4 62.8M 2.0M 60.7M 3% /jffs
/dev/sda1 117.6G 163.9M 111.5G 0% /tmp/mnt/Router_ext2
How do I clean up the small flash drive disk and put as much as possible on the >100 GB USB flash drive?
(I would like to avoid a hard reset and to re-install everything, I hope there are some temporary files somewhere I just need to delete)... Example (I believe lack of space causes the "Input/output error"-message:
wrt54g@router:/tmp/home/root# opkg install gcc libcc boost
Installing gcc (5.3.0-3) to root...
Downloading http://pkg.entware.net/binaries/armv7/gcc_5.3.0-3_armv7soft.ipk.
Installing binutils (2.25-1) to root...
Downloading http://pkg.entware.net/binaries/armv7/binutils_2.25-1_armv7soft.ipk.
Unknown package 'libcc'.
Installing boost (1_60_0-2) to root...
Downloading http://pkg.entware.net/binaries/armv7/boost_1_60_0-2_armv7soft.ipk.
/opt/tmp/opkg-VRDGUf/boost_1_60_0-2_armv7soft.ipk: Input/output error
Collected errors:
* wfopen: //opt/lib/opkg/info/binutils.control: Input/output error.
* wfopen: /opt/bin/addr2line: Input/output error.
* wfopen: /opt/bin/as: Input/output error.
* wfopen: /opt/bin/c++filt: Input/output error.
* wfopen: /opt/bin/elfedit: Input/output error.
* wfopen: /opt/bin/gprof: Input/output error.
* wfopen: /opt/bin/ld: Input/output error.
* wfopen: /opt/bin/ld.bfd: Input/output error.
* wfopen: /opt/bin/nm: Input/output error.
* wfopen: /opt/bin/objcopy: Input/output error.
* wfopen: /opt/bin/ranlib: Input/output error.
* wfopen: /opt/bin/readelf: Input/output error.
* wfopen: /opt/bin/size: Input/output error.
* wfopen: /opt/bin/strings: Input/output error.
* wfopen: /opt/bin/strip: Input/output error.
* set_flags_from_control: Failed to open //opt/lib/opkg/info/binutils.control: No such file or directory.
* pkg_write_filelist: Failed to open //opt/lib/opkg/info/binutils.list: No such file or directory.
* opkg_install_pkg: Failed to extract data files for binutils. Package debris may remain!
* opkg_install_cmd: Cannot install package gcc.
* opkg_install_cmd: Cannot install package libcc.
* opkg_download: Failed to download http://pkg.entware.net/binaries/armv7/boost_1_60_0-2_armv7soft.ipk, wget returned 1.
* opkg_install_pkg: Failed to download boost. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package boost.
* opkg_prep_intercepts: Failed to make temp dir /opt/tmp/opkg-VRDGUf/opkg-intercept-R8nivN: Input/output error.
* opkg_conf_write_status_files: Can't open status file //opt/lib/opkg/status: No such file or directory.
* opkg_conf_write_status_files: Can't open status file /opt/tmp//opt/lib/opkg/status: Input/output error.
* rm_r: Failed to read dir /opt/tmp/opkg-VRDGUf: Input/output error.
wrt54g@router:/tmp/home/root# opkg list
-sh: opkg: not found
wrt54g@router:/tmp/home/root#
wrt54g@router:/tmp/home/root# reboot
wrt54g@router:/tmp/home/root# Connection to router closed by remote host.
Connection to router closed.
martin@HPdesk:~$ ssh wrt54g@router
wrt54g@router's password:
ASUSWRT-Merlin RT-AC87U 380.59-0 Tue May 10 15:46:11 UTC 2016
wrt54g@router:/tmp/home/root# opkg install gcc libcc boost
-sh: opkg: not found
In the end you see that the USB drive got automatically unmounted. After reboot, it is still unmounted. When I try to use "opkg install" it says opkg is not found (because soft reboot is not enought, need to be unplugged for 10-30 seconds)...
Please help with suggestions/advice,
thanks.
Br,
M
I've got the ASUS RT-AC87U router installed with Merlin-FW and entware (for installing packages with "opkg install"). My problems:
1) Very often the USB3-stick I've inserted in either of the USB2/3-ports get automatically disconnected (unmounted). If I try to reboot, it normally isn't enough. I have to physically turn off the router and wait maybe 10-30 seconds and start up again. Then it finds the USB-drive and mounts it correctly. This is a problem - I don't know the solution. Anyone have any experience?
2) Yesterday I installed some new packages with "opkg install" (entware). I think 2 times in the middle of the process, the USB-stick was unmounted automatically. So I had to restart/turn off and turn on. Eventually, now I have no space left:
/dev/root 43.9M 43.9M 0 100% /
devtmpfs 124.7M 0 124.7M 0% /dev
tmpfs 124.8M 5.9M 119.0M 5% /tmp
/dev/mtdblock4 62.8M 2.0M 60.7M 3% /jffs
/dev/sda1 117.6G 163.9M 111.5G 0% /tmp/mnt/Router_ext2
How do I clean up the small flash drive disk and put as much as possible on the >100 GB USB flash drive?
(I would like to avoid a hard reset and to re-install everything, I hope there are some temporary files somewhere I just need to delete)... Example (I believe lack of space causes the "Input/output error"-message:
wrt54g@router:/tmp/home/root# opkg install gcc libcc boost
Installing gcc (5.3.0-3) to root...
Downloading http://pkg.entware.net/binaries/armv7/gcc_5.3.0-3_armv7soft.ipk.
Installing binutils (2.25-1) to root...
Downloading http://pkg.entware.net/binaries/armv7/binutils_2.25-1_armv7soft.ipk.
Unknown package 'libcc'.
Installing boost (1_60_0-2) to root...
Downloading http://pkg.entware.net/binaries/armv7/boost_1_60_0-2_armv7soft.ipk.
/opt/tmp/opkg-VRDGUf/boost_1_60_0-2_armv7soft.ipk: Input/output error
Collected errors:
* wfopen: //opt/lib/opkg/info/binutils.control: Input/output error.
* wfopen: /opt/bin/addr2line: Input/output error.
* wfopen: /opt/bin/as: Input/output error.
* wfopen: /opt/bin/c++filt: Input/output error.
* wfopen: /opt/bin/elfedit: Input/output error.
* wfopen: /opt/bin/gprof: Input/output error.
* wfopen: /opt/bin/ld: Input/output error.
* wfopen: /opt/bin/ld.bfd: Input/output error.
* wfopen: /opt/bin/nm: Input/output error.
* wfopen: /opt/bin/objcopy: Input/output error.
* wfopen: /opt/bin/ranlib: Input/output error.
* wfopen: /opt/bin/readelf: Input/output error.
* wfopen: /opt/bin/size: Input/output error.
* wfopen: /opt/bin/strings: Input/output error.
* wfopen: /opt/bin/strip: Input/output error.
* set_flags_from_control: Failed to open //opt/lib/opkg/info/binutils.control: No such file or directory.
* pkg_write_filelist: Failed to open //opt/lib/opkg/info/binutils.list: No such file or directory.
* opkg_install_pkg: Failed to extract data files for binutils. Package debris may remain!
* opkg_install_cmd: Cannot install package gcc.
* opkg_install_cmd: Cannot install package libcc.
* opkg_download: Failed to download http://pkg.entware.net/binaries/armv7/boost_1_60_0-2_armv7soft.ipk, wget returned 1.
* opkg_install_pkg: Failed to download boost. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package boost.
* opkg_prep_intercepts: Failed to make temp dir /opt/tmp/opkg-VRDGUf/opkg-intercept-R8nivN: Input/output error.
* opkg_conf_write_status_files: Can't open status file //opt/lib/opkg/status: No such file or directory.
* opkg_conf_write_status_files: Can't open status file /opt/tmp//opt/lib/opkg/status: Input/output error.
* rm_r: Failed to read dir /opt/tmp/opkg-VRDGUf: Input/output error.
wrt54g@router:/tmp/home/root# opkg list
-sh: opkg: not found
wrt54g@router:/tmp/home/root#
wrt54g@router:/tmp/home/root# reboot
wrt54g@router:/tmp/home/root# Connection to router closed by remote host.
Connection to router closed.
martin@HPdesk:~$ ssh wrt54g@router
wrt54g@router's password:
ASUSWRT-Merlin RT-AC87U 380.59-0 Tue May 10 15:46:11 UTC 2016
wrt54g@router:/tmp/home/root# opkg install gcc libcc boost
-sh: opkg: not found
In the end you see that the USB drive got automatically unmounted. After reboot, it is still unmounted. When I try to use "opkg install" it says opkg is not found (because soft reboot is not enought, need to be unplugged for 10-30 seconds)...
Please help with suggestions/advice,
thanks.
Br,
M