Questions tagged [openwrt]

OpenWRT is a Linux-based firmware program for embedded devices such as residential gateways and routers. It is very modular and feature-rich, but not all chipsets are supported.

openwrt
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Cross-compiled program for openwrt does not work and displays no errors

There is a TVBox powered by openwrt (ARM). After boot it runs vendor's shell with a few buttons. Every button is associated with a buttonN.sh file. I can edit .sh file to execute my command. But I can'...
TJS's user avatar
  • 81
0 votes
0 answers
16 views

How "blobmsg_get_u64" get data from “ubus call” in terminal? [closed]

I call a UBUS interface via "ubus call" in the OpenWRT terminal. The parsing policy of this interface contains the data of the "BLOBMSG_TYPE_INT64", but I found that the function &...
雪之下雪乃's user avatar
-2 votes
0 answers
17 views

ISSUE IN CAPTIVE PORTAL [closed]

i have bought archer 1900 c80 I want it to run a captive portal open wrt has no support in toh tab of hardware for thse device anyon with an idea on how i would run it i have tried none of these ...
richard mwangi's user avatar
0 votes
0 answers
9 views

Unstable read on /dev/rs485 serial port of router

I am having trouble with cat /dev/rs485 on a teltonika router. Sometimes it works, sometimes not. Incomming messages are raw hx data, without \n or \r, emitted by Docklight on PC. I am in half duplex (...
francis's user avatar
0 votes
0 answers
11 views

unstable reading on /dev/ttyS1 openwrt

I am trying to read rs485 messages (raw hex data, no \n \r what ever, 1 message/sec is sent by device). cat /dev/rs485 works on the morning, but not on the afternoon (siesta?). Are shell commands ...
francis's user avatar
-3 votes
0 answers
14 views

Network aggregation, is this possible? [closed]

If I can do the thing in the diagram, 1,Can I have the bandwidth A+B on D? 2, What device and model can be used in C position? 3, Can D successfully obtain an IP address from the operator's DHCP ...
shinypro's user avatar
0 votes
0 answers
20 views

openwrt shell script to read incoming raw hex data on device and process it

-- Hello! I have a device sending periodically 8 bytes in hex, starting with 'AA' ending with 'BB' on rs485 lines (no carriage return, no line feed). I received it on my modem running a Openwrt os. ...
francis's user avatar
0 votes
0 answers
10 views

error with config gcc for setting up atheros csi tool openwrt

I am currently trying to setup openwrt on ubuntu virtual box but there is an error with config the file the gcc, verison is the latest and its installed when i run make menuconfig command this is the ...
sevinc's user avatar
  • 1
0 votes
0 answers
70 views

there is an error with config gcc for setting up atheros csi tool openwrt

I am currently trying to setup openwrt on ubuntu virtual box but there is an error with config the file the gcc, verison is the latest and its installed, when i run make menuconfig command this is the ...
sevinc's user avatar
  • 1
0 votes
0 answers
42 views

Install openclash in openwrt

I am new to openwrt, i try to install openclash in fresh new openwrt with following command: opkg remove dnsmasq && opkg install dnsmasq-full wget https://github.com/vernesong/OpenClash/...
snow8261's user avatar
  • 969
0 votes
0 answers
21 views

Sniff data packages from application to serial port (/dev/ttyACM0)

I am trying to understand how an application is communicating with a Modbus RTU Master through a virtual COM (serial port over USB). The device is a Raspberry Pi 3, but unfortunately it is not running ...
Thas's user avatar
  • 1
-1 votes
0 answers
23 views

openwrt source code edit [closed]

I am building my own handshake replacing WPA. I want to do this for a school project and implement my own security algorithm. I will achieve this by editing the source code of OPENWRT at last. Can ...
umarkaa's user avatar
  • 121
0 votes
0 answers
27 views

Modify and recompile aes.c file in openwrt

I'm trying to modify the AES implementation in the OpenWrt firmware build, specifically the aes.c file located in the directory ./build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.15.134/...
Khan Shahzaib's user avatar
0 votes
1 answer
58 views

Rewriting Python SHA1 Digest code to Bash

On Debian machines I run the following Python code: #!/usr/bin/env python3 text_in = "abcd".encode('utf8') sha1 = hashlib.sha1() sha1.update(text_in) raw_digest = sha1.digest() text_out = ...
Tinware's user avatar
  • 39
0 votes
1 answer
57 views

OpenWrt Luci - importing an external javascript file

I am attempting to extract a variable from my Luci module plugin into its own file so I can reuse it. graph_objects.js: 'use strict'; 'require baseclass'; 'require uci'; const graph_objects = {...}; ...
kbessemer's user avatar
  • 197
0 votes
0 answers
23 views

Paramiko on OpenWRT 22.03

I seem to be having trouble getting Paramiko to run despite all the dependencies I think it needs installed. Whenever I try to import it the following traceback occurs: Python 3.10.9 (main, Sep 11 ...
Cooper's user avatar
  • 137
0 votes
0 answers
130 views

patch: **** can't create temporary file permission denied

I'm trying to build OpenWRT in a docker container. This works fine on windows host platforms and on Linux host platforms but on a MacOS host (after moving the build folder on the host to a case-...
Florian Humblot's user avatar
0 votes
0 answers
16 views

Ran make V=s command to build the toolchain for my Audiocodec Board AC494. Returns error

"make[3]: Entering directory '/home/pulkit/new_sdk/lede/feeds/packages/utils/attr' if [ -f /home/pulkit/new_sdk/lede/staging_dir/target-mipsel_mips32_uClibc-0.9.33.2/pkginfo/attr.default.install....
P.S's user avatar
  • 1
0 votes
0 answers
35 views

Algorithm HmacPBESHA256 not available in Openwrt Embedded Device

I am using a distro based on OpenWRT 21, running on an ARM Cortex A9 with NEON architecture (i.MX6). When I try to run a Java application with a .jar extension, I encounter the following error: ...
OppenheimDS's user avatar
0 votes
1 answer
149 views

How can I link to other package's object files in OpenWRT?

I have a package in OpenWRT which depends on another package. My code needs to link to an object file (.o) created by the other package. What is the general way to accomplish this? My code is in c, ...
Maxthecat's user avatar
  • 1,302
0 votes
0 answers
19 views

linking dmalloc-5.5.2 with opensource application with logging causes the application to crashin OpenWRT 21.02

collectd -C /var/run/collectd.conf configfile: wordexp (/var/run/collectd.conf) failed. Unable to read config file /var/run/collectd.conf. Error: Reading the config file failed! Read the syslog for ...
Kaaviya Ramalingam's user avatar
0 votes
0 answers
40 views

Forward all tcp packet is specific ip subnet to one destination

I want all packet to specific subnet as example 1.1.1.0/24 will redirect to one IP address 1.1.1.1. I have try with squid proxy. acl test dst 1.1.1.0/24 http_access allow test tcp_outgoing_address 1.1....
Anas's user avatar
  • 734
0 votes
0 answers
67 views

Trouble Installing Shapely Library on OpenWRT Linux Without Pip Support

I'm facing difficulties while trying to install the Shapely library on an OpenWRT Linux x86 version where I cannot use pip due to lack of support. The Python version available is 3.9. My objective is ...
marksoe's user avatar
  • 76
0 votes
3 answers
276 views

How can I get a response to an at-command using picocom?

I am using a router with OpenWrt 22.03.5 firmware and an EM7455 modem. I wrote a script using atinout to control the modem, but for some reason atinout (as well as echo+cat and socat) often sends ...
vars-cat's user avatar
0 votes
1 answer
163 views

Segmentation fault in uBus program

I am using the ubus message service provided by OpenWrt. I have written a simple ubus object in C. The object exposes a single method which does not take any parameters, and returns a response of &...
Ozone317's user avatar
0 votes
0 answers
441 views

OpenWrt: LuCI: customize the graphical user interface 'GUI' Menu

I add new user in my openwrt system named 'user' with rpcd config. I would like to keep the whole menu view for the 'root' user and for the user 'user' should not view all the menu, only some menu ...
Anis_Stack's user avatar
  • 3,364
0 votes
0 answers
30 views

Why dropbear start before network in openwrt

ls -l /etc/rc.d got S19dropbear and S20network. if the network does not start, does dropbear have the change of starting fail?
Divlaker's user avatar
  • 419
0 votes
1 answer
225 views

Running 32-bit Programs in CentOS 7 Container on OpenWrt: Troubleshooting Steamcmd Issue

I'm running a CentOS 7 container inside a Docker on OpenWrt with the following kernel version: Linux iStoreOS 5.10.176 #0 SMP Tue Jul 25 05:14:16 2023 x86_64 GNU/Linux. However, no matter what I try, ...
Conc Tsai's user avatar
0 votes
0 answers
361 views

Protonvpn wireguard config does not work on openwrt router 22.03.05

I could successfully install protonvpn openvpn config files and could connect to internet but speed is very low so I tried wireguard but.... I have free proton vpn account - just testing waters ... I ...
Hellov's user avatar
  • 21
0 votes
0 answers
52 views

libtool: Version mismatch error. php8-pecl-zmq package with OpenWrt 22.03

I am currently facing an issue while attempting to transition from OpenWrt 19.07 to OpenWrt 22.03. Specifically, I am trying to build a package named php8-pecl-zmq with OpenWrt 22.03. However, during ...
FLSill's user avatar
  • 1
0 votes
0 answers
86 views

How can I change the backend handler in OpenWrt system?

Lately i am doing a project about OpenWrt.I don't know much about this Linux distrbution and it's web backend handle logic.The question is i can locate the login handler,I really need some help plz. ...
turtle-russ's user avatar
0 votes
0 answers
96 views

Getting symbol not found error after GCC address sanitization enabled

I compiled my binary with -fsanitize=address option in OpenWRT build environment with GCC version 7.5.0 to find the possible memory leaks in the application. There are no issues faced during cross ...
renga_in_stack's user avatar
0 votes
0 answers
30 views

wpa_supplicant and SNMP mib parameter

I have a parameter in wpa_supplicant that i control via SNMP mib. I would like to support real-time changes to this parameter without losing the Wi-Fi link , which means i think without restarting the ...
Z-Buffer's user avatar
-1 votes
1 answer
27 views

Make this line table more simple

im still newbie at bash/ash ,can make this sysinfo more simple # display info machine_model=$(cat /proc/device-tree/model | tr -d "\000") echo " ────────────────────────────────────────...
AjieD's user avatar
  • 1
3 votes
1 answer
341 views

Valgrind memcheck tool showing 0 leaks eventhough there are possible memleaks

I need to investigate memory leaks in my C project. But before that, i just written a sample program and cross compiled to ARM-v8-a 64bit OpenWRT linux platform. With this program, I am trying to ...
renga_in_stack's user avatar
0 votes
0 answers
94 views

Difficulty configuring BATMAN-ADV on Raspberry Pi

I'm trying to create an ad hoc mesh using raspberry pi 3 model b 1.2, OpenWRT and Batman-ADV (Ad hoc because rasp doesn't support 802.11s) Now I'm using only 2 and trying to connect the only on L2 ...
GMendes17_'s user avatar
0 votes
2 answers
108 views

running cross compiled binary on AllWinner device gives not found error

I want to cross compile a C++ application for AllWinner board runing OpenWRT. I've found the toolchain and trying to build Hello world app using CMake as described in CMake docs. So I have allwinner....
borune's user avatar
  • 558
0 votes
0 answers
268 views

How to use openwrt22.03.2 to implement snat with nftables

I want to connect openwrt 22.03.2 to an ubuntu 22.04 via wireguard, and since I need to split the traffic, I use nftables to split the destination address. So I need to run this command below to tag ...
kursk.ye's user avatar
  • 429
0 votes
0 answers
176 views

lighttpd.conf support http/https at the same time

my router's captive portal login page is deployed in 192.168.1.1:6789 and router can setup http or https in web UI. I can't find a way to support both http and https at a same time. This is my ...
Juzzsmee's user avatar
0 votes
1 answer
149 views

php-extension php7-mod-* not load in OpenWrt

I got Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() message in my lighttpd using php file. I already have php7-mod-openssl, but php-cli -m not showing openssl. OpenWrt ...
Juzzsmee's user avatar
1 vote
0 answers
656 views

Got error `undefined reference to `getauxval’` during Rust cross-compile to aarch64 on x86_64

I am trying to build Rust application for two OpenWRT routers. One is on ramips (mipsel) platform and another is on rockchip (aarch64) platform. I completed the cross-compilation for mipsel very well, ...
Janvier P.'s user avatar
1 vote
0 answers
181 views

Error: opcode not supported on this processor: mips1 (mips1)

when I was cross-compiling for mips-openwrt-linux,I encounter an error showing below. It seems that protobuf using an opcode which was not supported by my compiler with mips1 opcode. /tmp/cczgWQVg.s: ...
vudinhlong's user avatar
0 votes
1 answer
111 views

How to get Memory Usage for a PID in a variable using bash

This is what I've been working with but haven't been successful, if [ "$memUsage" -gt "30500" ]; then transUsage=$(pmap 3097 | tail -n 1 | awk '/[0-9]/{print $2}') ...
Saman1154's user avatar
  • 127
0 votes
1 answer
387 views

Luci openWRT UCI firewall rule update without position number

Hey all I have been trying find some code that would allow me to update my firewall rule via the UCI. The way I am currently adding the new rule is like this: uci add firewall rule uci set firewall.@...
StealthRT's user avatar
  • 10.3k
0 votes
1 answer
95 views

register_shutdown_function and ignore_user_abort are not working in PHP 7.4

I have a simple php page that streams ping results. It works fine but when the user closes the connection, the ping command keeps running in the background. I used both ignore_user_abort() and ...
lordkian's user avatar
0 votes
1 answer
547 views

cannot ping each other in same lan on openwrt with virtual port and physical port

my openwrt-x86 has been running for a while inside exsi virtual environment(it's a VM,eth0 eth1 is virtual NIC of exsi),and one day I tried to add a pass through port(eth2 physical) into this openwrt ...
Jason117's user avatar
  • 107
1 vote
1 answer
1k views

1:1 NAT with nftables on OpenWRT 22.03

I am running my OpenWrt Router as an OpenVPN Client in a VPN site-to-site setup. After Upgrading to newest OpenWrt 22.03 I have to migrate my firewall coustom rules to nftables. Can you help me ...
dex.404's user avatar
  • 21
1 vote
2 answers
398 views

I2C (OLED SSD1306) on Orange Pi R1 Plus LTS with OpenWrt

I'm new to OpenWrt but I have about a year of self-project (college final project, to be exact) experience using Linux in Raspberry Pi. Have anyone here used I2C OLED SSD1306 on Orange Pi R1 Plus LTS ...
Iqbal Fauzan's user avatar
1 vote
2 answers
58 views

Regex to extract a config section containing certain key pair value from a config file

The goal is as the title says. It felt simple at first, but I just couldn't do it by myself. Here's an example of the file: config wifi-device 'radio0' option type 'mac80211' option band '2g' config ...
braniac ba's user avatar
0 votes
0 answers
809 views

Port Forwarding on OpenWRT

Tried forwarding HTTP port to my linux desktop running lighttpd but it isn't working. Server is running perfectly, works with nginx also. I can access the page from localhost but not through my public ...
fahimscirex's user avatar

1
2 3 4 5
20