Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
2 answers
1507 views
Entware Package Manager (ipkg) Installation via .bin file
`The goal is to install [Entware to a Generation-1 WD MyCloud NAS per instructions][1] I was able to login to NAS command line and wget the Entware .bin file: wget https://github.com/WDCommunity/wdpksrc/releases/download/entware-v1.05/WDMyCloud_entware_1.05.bin The instructions indicate: "install it...
`The goal is to install Entware to a Generation-1 WD MyCloud NAS per instructions I was able to login to NAS command line and wget the Entware .bin file: wget https://github.com/WDCommunity/wdpksrc/releases/download/entware-v1.05/WDMyCloud_entware_1.05.bin The instructions indicate: "install it with the WD web interface" however, I have traversed the Web UI and found only the update mechanism was for the firmware: enter image description here What are the BASH commands required to install the.bin to enable ipkg? === I did find this install command in this post : NAS4TB:/opt/bin# cd /root NAS4TB:~# ls WDMyCloud_entware_1.05.bin NAS4TB:~# NAS4TB:~# sudo install ./WDMyCloud_entware_1.05.bin This returned an error: NAS4TB:~# sudo install ./WDMyCloud_entware_1.05.bin install: missing destination file operand after `./WDMyCloud_entware_1.05.bin' Try `install --help' for more information. I am reluctant to execute the install command without a better understanding the install command without guidance from experienced peer.
gatorback (1522 rep)
Aug 8, 2020, 01:50 AM • Last activity: Sep 25, 2022, 11:26 PM
2 votes
0 answers
115 views
sshfs troubleshooting: what would cause openssl to fail?
I believe sshfs requires an sftp server on the remote computer (router): ipkg list_installed | grep -i sftp openssh-sftp-server - 5.9p1-1 - sftp-server only from a FREE version of the SSH protocol suite of network connectivity tools. The goal is to invoke sshfs to mount a remote directory: sshfs use...
I believe sshfs requires an sftp server on the remote computer (router): ipkg list_installed | grep -i sftp openssh-sftp-server - 5.9p1-1 - sftp-server only from a FREE version of the SSH protocol suite of network connectivity tools. The goal is to invoke sshfs to mount a remote directory: sshfs user@mydomain.asuscomm.com:/mnt/CRUZERFIT16/directory/ /home/user/Documents/scpbox/ This sshfs setup was working correctly in May, however, a family member reset the router. sshfs returns an error: remote host has disconnected total 0 Attempt to remote sftp into router returned: /opt/libexec/sftp-server: can't load library 'libcrypto.so.0.9.8' Connection closed ipkg list_installed | grep openssl returned: > openssl - 0.9.8v-2 - Openssl provides the ssl implementation in > libraries libcrypto and libssl, and is needed by many other > applications and librari openssl successfully reinstalled on router: ipkg -force-reinstall install openssl and **am now able to sftp & sshfs** into target router. Not sure why openssl was unavailable before reinstalling. Is there a test command to determine if openssl is available for the sftp server?
gatorback (1522 rep)
Sep 9, 2019, 03:53 AM
0 votes
0 answers
238 views
Starting openssh-sftp-server after installing with ipkg
The end goal is to mount a remote director via sshfs. A [remote host (router)][1] has the following packages installed: user@remothostE8:/tmp/home/root# ipkg list_installed asuslighttpd - 3.1.0.102 - bzip2 - 1.0.6-1 - downloadmaster - 3.1.0.104 - Download tools expat - 2.0.1-1 - XML Parser library i...
The end goal is to mount a remote director via sshfs. A remote host (router) has the following packages installed: user@remothostE8:/tmp/home/root# ipkg list_installed asuslighttpd - 3.1.0.102 - bzip2 - 1.0.6-1 - downloadmaster - 3.1.0.104 - Download tools expat - 2.0.1-1 - XML Parser library ipkg-opt - 0.99.163-10 - The Itsy Package Manager libevent - 2.0.20-1 - libevent to implement an event loop libpar2 - 0.2-6 - A library for performing common tasks related to PAR recovery sets libsigc++ - 2.2.3-1 - libsigc++ implements a typesafe callback system for standard C++. libstdc++ - 6.0.2-6 - Standard C++ library, needed for dynamically linked C++ programs libxml2 - 2.7.8-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project. ncurses - 5.7-3 - NCurses libraries openssh-sftp-server - 5.9p1-1 - sftp-server only from a FREE version of the SSH protocol suite of network connectivity tools. openssl - 0.9.8v-2 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari pcre - 8.31-1 - Perl-compatible regular expression library readline - 6.1-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are spawn-fcgi - 1.6.3-1 - spawn-fcgi is used to spawn fastcgi applications uclibc-opt - 0.9.28-1 - micro C library for embedded Linux systems wxbase - 2.8.12-1 - wxbase is a basic (non-windows) part of wxWidget toolkit zlib - 1.2.5-1 - zlib is a library implementing the 'deflate' compression system. sftp installation: ipkg install openssh-sftp-server No processes are returned: ps | grep -i sftp **How does one start the openssh-sftp-server remotely via CLI (command line)?** I was expecting these processes to be returned: 1866 user 1416 S sh -c /opt/libexec/sftp-server 1867 user 2672 S /opt/libexec/sftp-server The above responses are from the same model router at a different worksite, that meets the sshfs objective
gatorback (1522 rep)
Mar 24, 2019, 11:49 PM • Last activity: Mar 25, 2019, 05:55 PM
1 votes
0 answers
453 views
Error installing ipkg on Synology NAS DS414
I have been trying to install ipkg on a Synology NAS according to the instructions available at [https://github.com/basmussen/ds414-boostrap-dsm5][1] Here's the beginning part of the instructions: wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/syno-mvkw-bootstrap_1.2-7_arm.x...
I have been trying to install ipkg on a Synology NAS according to the instructions available at https://github.com/basmussen/ds414-boostrap-dsm5 Here's the beginning part of the instructions: wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/syno-mvkw-bootstrap_1.2-7_arm.xsh chmod 700 syno-mvkw-bootstrap_1.2-7_arm.xsh sh syno-mvkw-bootstrap_1.2-7_arm.xsh However, once I run the syno-mvkw-bootstrap_1.2-7_arm.xsh, I get Error: CPU not Marvell Kirkwood, probably wrong bootstrap.xsh Here's the screenshot: enter image description here My NAS's info is as below: **Model name:** DS414 **CPU:** MARVELL Armada XP MV78230 **DSM version:** DSM 6.1.5-15254 I am aware that there is no xsh bootstrap for the ds414 but hopefully, there's a workaround.
Aung Myo Linn (111 rep)
Feb 8, 2018, 12:58 PM
20 votes
4 answers
41894 views
How to know disk space occupied by packages in OpenWrt?
I am trying to configure OpenWrt on my device and got out of space. I was downloading some tooling packages. Now how can I determine their weights so that decide what to uninstall? Is it possible to display the size of installed packages with OPKG?
I am trying to configure OpenWrt on my device and got out of space. I was downloading some tooling packages. Now how can I determine their weights so that decide what to uninstall? Is it possible to display the size of installed packages with OPKG?
Suzan Cioc (373 rep)
Sep 23, 2014, 05:00 PM • Last activity: Jan 14, 2018, 03:11 PM
0 votes
1 answers
4333 views
Editing data.tar.gz inside of .ipk file
Is there a simple way to edit the contents of the `data.tar.gz` archive inside of an `.ipk` file??
Is there a simple way to edit the contents of the data.tar.gz archive inside of an .ipk file??
BackDoorNoBaby (141 rep)
Jan 19, 2017, 09:10 PM • Last activity: Jan 23, 2017, 02:23 PM
2 votes
2 answers
7738 views
Segmentation faults during compilation - where to begin?
I have a particular problem I need solved right now, but I'd really like to know a good strategy for approaching this type of problem - segmentation faults when compiling other people's code, so I'm happy for either particular or general type answers. ### The particulars ### I'm trying to install [O...
I have a particular problem I need solved right now, but I'd really like to know a good strategy for approaching this type of problem - segmentation faults when compiling other people's code, so I'm happy for either particular or general type answers. ### The particulars ### I'm trying to install [OpenSSL](http://www.openssl.org/source/) 1.0.1g on a Synology DS412+. The version of [GCC](https://gcc.gnu.org/) I've got (v4.2.1) doesn't have 64bit compiled in, which OpenSSL complains about: $ ./config --prefix=/opt \ --openssldir=/etc/ssl \ --libdir=lib \ shared \ zlib-dynamic $ make snip! cryptlib.c:1: sorry, unimplemented: 64-bit mode not compiled in cryptlib.c: In function 'OPENSSL_ia32cap_loc': cryptlib.c:677: warning: dereferencing type-punned pointer will break strict-ali asing rules make: *** [cryptlib.o] Error 1 *So*, I'm trying to install GCC 4.8.2 (I've tried several versions now) and each time it appears to fail in the [GMP](https://gmplib.org/) portion of the make. It's happened so much I decided to download GMP and try compiling that: $ ./configure --prefix=/opt --build=i386-pc-linux-gnu $ make ./gen-fac 32 0 >fac_table.h || (rm -f fac_table.h; exit 1) /opt/bin/bash: line 1: 20507 Segmentation fault (core dumped) ./gen-fac 32 0 > fac_table.h make: *** [fac_table.h] Error 1 I'm not a C programmer, and this isn't even my code so the likelihood of me whipping out Valgrind to inspect the core is low. I've had this happen plenty of times compiling libraries, and learning C isn't something that's on my priority list. Are there alternatives to...? * learning C * asking on a forum/mailing list The only package manager I have got access to is ipkg, and it provided the GCC that's not up to full muster. Could I set up a VM, build a binary for ipkg and put it on the DS412? Having not done something like that before, I don't know how feasible it is. Any help or insight is much appreciated.
ian (169 rep)
May 15, 2014, 05:56 PM • Last activity: May 16, 2014, 02:09 AM
2 votes
1 answers
2769 views
'ipkg search xxx' always returns no answer
On a Synology NAS (uses a 'home grown' *nix variant (possibly based on Debian?)) I have installed ipkg package manager. When I try a command like ipkg search shred or ipkg search *shred* it returns only the single line: Successfully terminated without any package name. I specifically used shred in m...
On a Synology NAS (uses a 'home grown' *nix variant (possibly based on Debian?)) I have installed ipkg package manager. When I try a command like ipkg search shred or ipkg search *shred* it returns only the single line: Successfully terminated without any package name. I specifically used shred in my example as I know that shred exists for my platform and is part of the coreutils package (and so should return that answer.) What is going wrong? Is this a bug, an error in my syntax or possibly something else? Edit - I found the answer - filename needed to be enclosed in single quotes like ipkg search '*shred*' This returns the correct answer - coretutils. I also found that Pavel is correct, it only returns info on *installed* packages, which is not what I needed. How would I go about finding what pkg to install if I need a given program/util that is part of a larger collection but don't know what package contains it? (is that permitted or should I start another question?)
JoelAZ (147 rep)
May 10, 2014, 07:38 PM • Last activity: May 10, 2014, 10:16 PM
0 votes
2 answers
2795 views
How to install ipkg in CentOS 6.5
I have started using CentOS recently. I have some packages which end with .ipk. I need to install a cross compiler and the steps in the compiler's manual says I should do the following: ipkg install libstdc++6_4.1.2-r10_armv5te.ipk I have tried to install ipkg or opkg, but it didn't work. Can anyone...
I have started using CentOS recently. I have some packages which end with .ipk. I need to install a cross compiler and the steps in the compiler's manual says I should do the following: ipkg install libstdc++6_4.1.2-r10_armv5te.ipk I have tried to install ipkg or opkg, but it didn't work. Can anyone tell how to install any of them or if there is an alternative to install .ipk file?
Alaa (325 rep)
Mar 11, 2014, 08:20 PM • Last activity: Mar 15, 2014, 03:43 PM
Showing page 1 of 9 total questions