Questions tagged [openwrt]
A GNU/Linux based firmware program for embedded devices such as residential gateways and routers.
345
questions
1
vote
1
answer
17
views
Building Kernel - Invalid Symbol Value
I'm building a customized OpenWRT image for a Teltonika RUT241 Modem/Router. My build is based off the 'SDK' from the manufacturer with a few extra addons.
When I build it on my local development PC (...
0
votes
1
answer
25
views
change default name for eMMC to other than mmcblkX
With previous platform the boot device was mtdX, and there could be only one sd-card, always appearing in the system as mmcblk0.
New system has internal eMMC, which is mmcblkX, as well as may have sd-...
0
votes
0
answers
53
views
How to improve performance of unicast to broadcast UDP packet transformation on OpenWrt?
Background
We have some devices sending unicast UDP packets which we want to receive on multiple computers by transforming those packets to broadcast. We can't make any changes to the devices sending ...
1
vote
1
answer
131
views
OpenWRT wpa_supplicant does not support the network block?
When I run the following conf (all boiler plate),
eapol_version=1
ap_scan=0
fast_reauth=1
network={
ca_cert="/etc/config/auth/CA_XXXX.pem"
client_cert="/etc/config/auth/...
1
vote
1
answer
179
views
Prevent port scanning on OpenWRT
Imagine you need to have open ports on your Internet router but you don't want them to be easily discovered or enumerated.
How can you prevent hackers/companies from scanning your open ports?
3
votes
1
answer
63
views
Which is My Static IPv6 Interface Identifier?
I've been accustomed to IPv4 for so long and I'm really unfamiliar with IPv6.
I recently wanted to add a firewall rule to my OpenWRT router to allow inbound IPv6 connection to a certain port of my ...
0
votes
0
answers
23
views
OpenWRT - RTSP doesn’t work on 802.11b (no video stream, but audio works)
I have an issue with configuring OpenWRT on MT7628 chip from Mediatek.
OpenWRT version: 19.07.3
Expected behavior: OpenWRT creates a local Wi-Fi network (no connection to the global internet). Two ...
0
votes
0
answers
31
views
Carrier sensing and backoff function in mac802.11
I have a Wi-Fi access point device with Linux-based firmware ( Netgear WAX220 running OpenWrt 23.05.0 with MT7615 Driver).
For research purposes, I am trying to change the backoff function in my ...
1
vote
1
answer
1k
views
sing-box tun interface openwrt problem
I recently installed Sing-Box on my OpenWrt router for network management purposes.
However, I'm encountering an issue where Sing-Box is not permitted to create a TUN (network tunnel) interface. This ...
0
votes
0
answers
168
views
OpenWRT: routing LAN client with static IP to custom VPN interface
On an OpenWRT router (OpenWrt 22.03.5) I've created a custom interface to connect with my WireGuard external server (WG0).
It seems to work fine according to regular handshakes.
There is a device ...
0
votes
1
answer
620
views
How to force update NTP date/time on a router?
The log of an Asus router with Padavan firmware (might be similar to OpenWrt) showed:
Dec 4 16:06:20 NTP Client: Synchronizing time to 0.nl.pool.ntp.org.
Oct 24 18:18:18 NTP Client: System time ...
0
votes
1
answer
142
views
How can I get my 10g ports to work on my Qhora q301w?
I just flashed My 10g ports seem to be permanently DOWN, I can't even set them UP manually when they're plugged in,
ip link set 10g-2 up
Immediately after ip link still shows down. This is what dmesg ...
0
votes
1
answer
205
views
Loading the contents of the /opt/etc/profile file after reboot
I have a ZyXEL NAS326 network drive that runs BusyBox v1.19.4 with an additional OpenWrt repository. After each restart, the system does not see the path to the OpenWrt binary and does not remember ...
0
votes
0
answers
79
views
How do I get per-port traffic statistics when using DSA?
I have an embedded device running OpenWRT. I have recently started testing with the newer (23.05-rc3) builds that use the DSA (distributed switch architecture) feature in Linux. One of the issues I am ...
0
votes
1
answer
81
views
Intel wireless network card cannot be properly initialized
I want to enable wireless on my openwrt but it doesn't work.
Besides, the wireless could be enabled through iw phy phy0 add interfacecommand manually.
So, it seems there's something wrong in my kernel ...
0
votes
0
answers
303
views
OpenWRT: Create Standalone (i.e. not connected to Internet) Network Using Raspberry Pi Zero W
Trying to configure OpenWRT as a standalone wireless network (i.e. not connected to the Internet) on Raspberry Pi Zero W to make a portable network for some smart plugs that connect via WPS. Will do ...
0
votes
0
answers
486
views
Mwan3 replacement on debian
I have just moved from openwrt to debian 11 on my x86 system for network management because i need some debian's stuffs. I cannot find out a replacement for mwan3 in load balancing my pppoes. Can ...
4
votes
1
answer
2k
views
How to forward internet connection in QEMU?
Following the description on how to start an OpenWrt VM with QEMU, I downloaded the MIPS kernel and started it with this command:
qemu-system-mips -kernel openwrt-22.03.3-malta-be-vmlinux-initramfs....
0
votes
1
answer
179
views
Is DD-WRT wasting NVRAM space?
Please explain how I am misunderstanding these two commands:
root@DD-WRT:/tmp/var/log# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 &...
0
votes
0
answers
198
views
Alternative to LibreCMC/OpenWRT that is easier to upgrade?
I use LibreCMC (based on OpenWRT) for my wifi router, and I really hate it. Every time I upgrade, everything breaks, and I have to manually log in and fix everything, by hand, and remember what I did ...
0
votes
0
answers
426
views
router command to change bandwidth limit for a MAC address
I use DD-WRT to limit WAN bandwidth to one MAC address using DD-WRT's web interface.
The key entry in the web interface (in "NAT/QoS" tab's "QOS" tab) is "MAC priority",
...
1
vote
0
answers
50
views
CollectD data duplication ploblem
I have 4 servers running collectd:
PVE (Proxmox VE) and AP1 (Zyxel AP with OpenWRT) servers running collectd writing to ROUTER, and router takes it's own metrics plus acts as a collectd proxy and ...
0
votes
1
answer
89
views
How to add time in my script
I have 3 scripts to build OpenWrt but I can't set it up to have time at the end.
Here's what the script gives and the script.
openwrt-snapshot-r22256+29-14334c222e-ipq806x-generic-linksys_ea8500-...
1
vote
0
answers
329
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.@...
0
votes
0
answers
100
views
Complete Isolate vulnerable WiFi clients from rest of LAN but allow internet access (OpenWRT)
We have 2 vulnerable WiFi devices (End of Life / Support). The connect 2 times per day via ssh or vpn to a service on the internet and perform some tasks.
Until now these devices are in the 192.168.1....
4
votes
2
answers
789
views
How to expose a server with dynamic IPv6 address through OpenWrt firewall?
I want to make a web server running on my LAN available to the internet. My router runs OpenWrt 22.03 with firewall4.
With IPv4, I would give the server a stable RFC 1918 address, then enable port ...
1
vote
1
answer
832
views
Problem IPV6 DNSMASQ with only DHCP/DNS servers (OpenWRT)
I've set up DHCP ... and so far so good. The problem is when I try to connect a device. I did a test with Linux and each time it only sets me 1 DNS (i have set two dns server in DHCP server).
It also ...
2
votes
2
answers
612
views
How to add CIDRs from files to set in best way?
So I have several files which contain CIDR entries (such as 1.1.1.0/24). The task is to add entries from these files to one NFTables set using a bash script. In doing so, I am limited to OpenWRT ...
1
vote
0
answers
201
views
What is a OpenWRT "Linux kernel with minimal file system"?
I'm trying to install OpenWRT onto my home router (Mercury MAC1200R V2). The OpenWRT device page has no factory image, but a kernel image is provided that seems useful for a factory install:
Linux ...
0
votes
0
answers
203
views
How to connect two local networks?
I have a my home local network 192.168.1.0/24 (further - LAN), and an OpenWRT router at 192.168.1.1. And i have homeserver at 192.168.1.5 with multipass (with qemu backend) and virtual machines in 10....
2
votes
0
answers
1k
views
Disable forwarding or caching AAAA lookups by dnsmasq
Does dnsmasq running as a DNS cache on OpenWrt router have any features to disable forwarding and caching AAAA lookups? My network is not IPv6 capable and I do not want the cache getting bloated with ...
1
vote
0
answers
791
views
lan1: Link is Down from time to time in OpenWrt
I have two identical Redmi AC2100 routers with OpenWrt on them. Devices is configured as "dumb" access points, connected to network with LAN interface.
One device is having the following ...
0
votes
1
answer
266
views
Is there any reason not to use a separate VAP for each client with OpenWrt?
Is there any reason not to do this if I want to have a separate PSK for each client and can't use a RADIUS server for that? Other than maybe the slight performance decrease that is intrinsic to VAP ...
0
votes
0
answers
15
views
Install Gnu/Linux on Ubiquiti Radio Device
good time
Can I install Linux on UBNT Radio ? (for example : Nano Station, Nano Bridge, AirGride)
Is there anyway to install Linux on this device ?
Linux OS or at least frimware(linux Base that could ...
0
votes
1
answer
854
views
How do I utilize entire OpenWRT SD Card for the installation?
I am trying to increase the size of my openwrt installation to take advantage of the entire SD card for more packages, but I am unsure where to start. I have tried following some other online guides ...
0
votes
1
answer
2k
views
How to specify gateway address for static IP in OpenWRT /etc/config/network
I see the following example for static IP config:
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'...
0
votes
1
answer
1k
views
alias in ash - limitation, syntax issue?
I'm running OpenWRT in a NAS (WD-MBL) and putting together a set of aliases to make maintenance easier via the command line.
These work as expected:
alias shutdown='sync && wait && ...
6
votes
1
answer
19k
views
OpenWrt: How to use wifi as WAN connection?
Situation:
My internet provide only provides wifi / WLAN in my home. I don't have a wired connection to the outside world.
Goal
I'd like to create a LAN in my home that uses the provided wifi ...
1
vote
1
answer
4k
views
OpenWrt: Concept of Interfaces, Devices and Wireless
Can someone explain the concept of the terms interface, device and wireless in OpenWrt?
What is their purpose?
What is their relation?
How do they play together
Why are some devices greyed out?
The ...
0
votes
1
answer
2k
views
OpenWrt: Can' connect to wifi [duplicate]
I have an ASUS RT-N56U router with OpenWrt 21.02.3 installed (fresh install).
I ultimately want to set it up as wifi repeater, but I'm already struggling with setting it up as simple wifi access point ...
1
vote
0
answers
311
views
ARP Entry OPENWRT Not Permanent
I am a bit of a networking noob right now. I am currently trying to get WOL(WOW) working using ARP Entries. Wake on Lan will always work with the configuration i am using right now, sending a magic ...
0
votes
2
answers
818
views
How to receive a file from router to pc
Here what I try to do; from my router ([email protected]). I want to SCP a file on my PC and copy it to my router.
So, if I'm already in ssh remote: root@openwrt: SCP root@mypc?
What is my PC, home/...
0
votes
0
answers
808
views
changing the password of root remote host with no interaction
How could I change the password for a root account on remote server without a need to enter the password each time?
Localhost is a MacOS computer and I have sshpass installed, remote host in an ...
0
votes
0
answers
372
views
SSH connects to the wrong host (IPv6)
TL;DR:
I have two hosts, opi and bpi.
When I do ssh bpi, I get connected to opi. I have traced the problem down to ssh opi connecting by IPv4, but ssh bpi using (a wrong) IPv6 address. I see my ...
1
vote
1
answer
213
views
How to pass multiple instances of the same option to a kernel module via `/etc/module.d/<module>` config file?
I'm configuring an external USB-to-SATA adapter in OpenWRT (Linux 4.14.221). The hub works only if I bind the device to the usb-storage module (preventing it to bind to usb-storage-uas).
To do that I ...
2
votes
1
answer
14k
views
How to resolve error about patching, hunk failed
I try to add a patch about last kernel and don't know why is not working.. idea?
thanks
openwrtt$ patch -p1 < kernel.patch
patching file include/kernel-version.mk
Hunk #1 FAILED at 7.
1 out of 1 ...
0
votes
0
answers
854
views
Why is my openWRT routing not working as expected
I hope I am just missing something simple here. I have a OpenWRT router with a Wireguard VPN running, everything routing through the VPN, which is all working fine. I have put a route in place so that ...
0
votes
1
answer
134
views
'sendmail' doesn't reliably send notification to be triggered by 'logread' output
I am trying to monitor the logs on my OPENWRT router and send an email when the PPPTD service writes to the log:
Mon Nov 29 09:10:31 2021 daemon.info pptpd[5832]: CTRL: Client x.x.x.x control ...
0
votes
0
answers
158
views
wsl ubuntu windows terminal git
I use windows 10 and I just installed the wsl terminal, I used ubuntu distro before. And I use openwrt firmware on my router, I make my own compilation build, usually everything works perfectly but I ...
0
votes
0
answers
535
views
Luci fails to start, openwrt_s905x3_k5.4.158_2021.11.12.1717
Fresh install of OpenWRT 21.02.1 on an X96 Air Android TV box. OpenWRT running on USB stick. Accessing the web interface gives a Bad Gateway error.
Running /www/cgi-bin-luci over ssh results in the ...