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.
Questions tagged [openwrt]
966 questions
-1
votes
0 answers
Stubby(v0.2.6)DNS resolvers are changed again and again even if the round_robin_upstreams equal to 0
As per the document,
round_robin_upstreams: Round-robin queries across all the configured upstream servers. Without this option, Stubby will use each upstream
server sequentially until it becomes unavailable and then move on to
use the next.
But…

VMS
- 137
- 2
- 8
-1
votes
1 answer
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 " ──────────────────────────────────────────────────"
printf " ====D-Net Gateway Link…

AjieD
- 1
-1
votes
1 answer
Openwrt repos miss libsmpp library
RUTOS SDK (teltonika) requires the download of libsmpp34 from openwrt repositories, but none of them contain it.
Should I get it elsewhere ?
Traces below:
wget --tries=5 --timeout=20 --no-check-certificate --output-document=-…

clouvis
- 567
- 1
- 6
- 18
-1
votes
1 answer
How to create an attachable CLI (terminal) for daemon?
Problem
I would like to program an attachable command line interface for my daemon.
I developped a daemon running 24/7 on Linux Openwrt:
#!/bin/sh /etc/rc.common
START=98
USE_PROCD=1
PROCD_DEBUG=1
start_service() {
procd_open_instance
…

Damezumari
- 17
- 6
-1
votes
1 answer
How to disable or remove ethernet in openwrt?
I'm using vocore2, and present the boot time of my vocore2 running OpenWrt 19.07.3 is 30seconds, I want to decrease it by 10 seconds, while going through dmesg log I found starting ethernet takes around 7sec, so disabling ethernet will decrease…

subbu Subhash
- 11
- 5
-1
votes
1 answer
OpenWrt + CoovaChilli. TUN device does not come up
Am running OpenWrt 19.07.7 on a glinet mini router.
I have used opkg update and opkg install coova-chilli to get coova chilli running
Here is output of…

Ashe Mukisa
- 1
- 3
-1
votes
1 answer
Why doesn't my process start at boot? (OpenWrt)
I defined the following script (it's called pcap):
#!/bin/sh /etc/rc.common
# Example script
# Copyright (C) 2007 OpenWrt.org
START=10
STOP=15
start() {
echo start
./delete_pcap
# commands to launch application
} …

TryToLearn
- 29
- 1
- 6
-1
votes
1 answer
FFmpeg problems with playing a stream
I want to play a stream over network. While my server works I can't get it working receiving audio on client. It's router with openwrt installed and usb soundcard.
When i run
ffmpeg -i "udp://@:5555" -f alsa hw:0 i get a following error
[NULL @…

Sink
- 91
- 1
- 2
- 9
-1
votes
2 answers
autostart my helloworld application in openwrt
I have created a simple HelloWorld application.
I want to autostart my application in OpenWRT(19.07.1) just after boot up.
The application should be started automatically after the shell prompt comes.
My helloworld application is in /usr/bin
I want…

AAKARSH JAIN
- 1
- 4
-1
votes
2 answers
Assistance with BASH script for OpenWRT firewall to execute a command if ping response / latency is high
Looking for some greatly appreciated help writing a bash script on OpenWRT. I want the script to check ping response times for an OpenVPN connection and if the response time in ms goes over a certain threshold to then perform an action such as…

stavster
- 1
- 1
-1
votes
1 answer
Run Python program on bootup/reboot, on separate partition in OpenWrt Linux
On OpenWrt Linux, I put a startup script in the /etc/init.d folder, and enabled it. The script is fine, and looks as follows:
#!/bin/sh /etc/rc.common
# Automatically place an "S91canpy" symlink in /etc/rc.d/ once we enable it
# This means it will…

Sean McCarthy
- 4,838
- 8
- 39
- 61
-1
votes
1 answer
Openwrt changing ip segment
I've bought a wrt3200 and I've put openwrt on it.
The wrt gets an ip (wan port, xx.xx.1.x) from the dhcp of the isp router.
The setup: inet---isp_router--wrt---client.
isp_router: dhcp enable, no bridge mode possible.
Wrt: dhcp enable, brigde…

Eric
- 59
- 1
- 8
-1
votes
1 answer
If wifi ap isn't associated with any device and send mulitcast packt to air, is it successful? if not successful, what should I do?should I
If wifi ap isn't associated with any device and send mulitcast packt to air, is it successful? if it's not successful, what should I do on openwrt?

alexbank
- 1
-1
votes
1 answer
How to read a GPIO value from UBoot built by OpenWRT
I'm trying to implement a recovery mode on a board powered by OpenWRT.
I have a button connected to some GPIO: GPIO_PL4.
I cast the gpio name to a number representation using the next expression:
(position of letter in alphabet - 1) * 32 + pin…

sergs
- 123
- 1
- 12
-1
votes
2 answers
Cannot compile package Helloworld on C++ for OpenWrt
I'm trying to compile simple helloworld program for OpenWrt (using build system, branch 17.01.6). I used two tutorials: helloworld tutorial on official site and by Eric Bishop, part 2 for C++.
But during compiling helloworld-package I got error:…

MZhidenko
- 1
- 2