Before anyone gets bent out of shape saying you’re not supposed to do that and the like: I am currently working with a router with very limited disk space running OpenWRT. I need to install a few programs. Looks like there is plenty of space under /tmp, but nowhere else due to how the file system is partitioned. Looking to
Tag: openwrt
How to solve pthread_create error (11) resource temporarily unavailable?
I’m building a project in c language (using openwrt as OS) to upload files to FTP server. and i’m using MQTT for the incoming data. So for each topic i subscribe to, i save this data and then upload it to the FTP server and to keep things going smoothly, each time i need to upload a file i just
How to parse a particular MAC address from DHCP lease file in Openwrt?
I am trying to write a script to parse some of devices from DHCP lease file in Openwrt with corresponding addresses . I am maintain a list with some vendor MAC address . When i connect a device to the router , i want to fetch the IP address ,MAC address and Name of that device using the vendor MAC
How to speed up python scripts on OpenWrt (embedded Linux) (missing pyc)
On OpenWrt it is possible to run Python code (mini Python to be exact) but even a simple “Hello World” Python script takes 6-8 seconds to run. From my investigations it seams that all Python modules are kept in py source code, and are compiles in memory on each run. Due to being some 20 or more modules and that
Using shared memory and how to correctly unallocate a space with IPC_RMID
I have 2 applications running on my linux box, a server and a client. My server and client examples I am working with is from Dave Marshalls examples. Everything works well, but when I try this in my background process and I want to extend my original segment (perhaps due to an application upgrade in the future) I either have
File Encryption/Decryption with AES using Linux
I’m using the OpenWrt Linux distribution and I want to encrypt a file using AES. How can I do that quickly and easily, and how can I—or someone else—decrypt it again? Answer The quickest and easiest way is to use openssl util (provided by openssl-util package). For example, to encrypt a file, issue the following command: To decrypt:
Curl returned ststus 6 (DNS name bad address error)
I am unable to resolve host names when one(3g-cell) of my two interfaces is turned on. One interface is WAN(Ethernet), while the other is 3g-Cell. When WAN is turned off, I tried to do manual curl request and I was able to do it using 3g-cell interface, but was unable to do that using hostname. (same happened with the ping
ELF file exists in /usr/bin but turns out “-ash: file: not found”
i’m trying to install some new software package under openwrt using opkg,and the installation has been successful,and we can see the binary file really exists in the /usr/bin,and i have trird the lld check but turns out the same . as below: thanks. Answer As mentioned by @nos in the comments on the question this can happen if binary is
Openwrt linux devices list
I want to transfer some serial data as explained here:http://www.cse.dmu.ac.uk/~sexton/ENGD2003/openwrt/arduino%20teensy%20openwrt.html on an openwrt router. However, I directly connected to the serial port of the router as opposed to usb(in the guide) so now I don’t know which of the following is the device: Which one of the following is the serial port of the router? When I connect the device