Questions tagged [openwrt]

A GNU/Linux based firmware program for embedded devices such as residential gateways and routers.

Filter by
Sorted by
Tagged with
2 votes
0 answers
2k views

How to configure redirect on OpenWrt?

Below is uci config and rules that it produces: uci add firewall redirect uci set firewall.@redirect[-1].target=DNAT uci set firewall.@redirect[-1].proto=tcp uci set firewall.@redirect[-1].src=wan ...
Igor Liferenko's user avatar
1 vote
0 answers
322 views

Minidlna not indexing new files

I've installed minidlna on my Turris Omnia router, which runs OpenWrt: # /usr/bin/minidlna -V Version 1.2.1 # uname -a Linux turris 4.4.167-4a7a81f8db0ad743e54c68e1845c60b6-1 #1 SMP Tue Dec 18 11:40:...
craig's user avatar
  • 203
0 votes
1 answer
174 views

No ethernet ip address in my vocore2

I just flashed my vocore2u with openwrt 18.06.1, and plug it with an ethernet cable to access network while setting up wireless access-point for my phone. The AP is working and connected to the ...
artificerpi's user avatar
1 vote
1 answer
666 views

iptables Masquerade leave out some local packet?

In openwrt i have config lan forward to wan with masqenabled. And my lan network is 192.168.100.0/24. when some pc ping with other network ip e.g: 192.168.1.15, tcpdump will get some local packet in ...
jianxi sun's user avatar
6 votes
0 answers
2k views

What is the difference between NFTables and BPFilter? [closed]

I trying to secure my home network with OpenWRT routers. In this context I started to customize my iptables rules to my needs and found some iptables concepts hard to understand. I've discovered ...
BogdanBiv's user avatar
  • 161
0 votes
0 answers
148 views

Can't Flash Image onto Arduino Yun Shield using Uboot or TFTP

Note: This question was originally asked on Arduino Stack exchange, but closed as off-topic because it's an OpenWRT issue. I have a Geeetech Iduino Yun Shield. I accidentally flashed the wrong ...
Agi Hammerthief's user avatar
1 vote
0 answers
417 views

Compiling module on OpenWRT: make can't find build directory

My setup: OpenWRT 18.06.1 Raspberry Pi 2 B Kernel 4.9.120 Attempting to build a very simple hello world kernel module results in the following error: # make make -C /lib/modules/4.9.120/build M=/...
Sergiy Kolodyazhnyy's user avatar
0 votes
2 answers
2k views

Not able to limit concurrent ssh sessions

Currently, I am running into an issue with dropbear. I have set the maximum number of concurrent ssh sessions to 10 but I still able to ssh an 11th sessions. Would you please let me know what I am ...
Karthick's user avatar
0 votes
1 answer
129 views

Linkit mt7688 LEDE firmware creates strange symbols

I have Linkit mt7688 devices and currently using LEDE firmware in them. These strange symbols seems to be created by the system itself. Because after some use of the device or even when first booting ...
Ugur Akgul's user avatar
2 votes
1 answer
156 views

netconsole prefixes every message

I just enabled netconsole on my Ubiquiti wireless LAN access points. They run a custom OpenWRT or LEDE version, based on Linux Kernel 3.3.8. It works, but the message it sends always contains an ...
bot47's user avatar
  • 1,278
1 vote
1 answer
866 views

Mirroring USB HID signals on Open WRT through UART [closed]

The setup: a Linkit Board (Smart 7688 Duo) running OpenWRT and a generic keyboard connected on the USB host. The goal: dumping the signal we get from the /dev/input/event0 and send it through the ...
Diego Dyan's user avatar
2 votes
0 answers
1k views

How to boot OpenWRT on VMware Fusion from .img file?

I have VMware Fusion 10. I have created VM with Other Linux 3.x kernel. I have downloaded OpenWRT OS image openwrt-18.06.1-x86-64-combined-ext4.img My question is how can I boot my OpenWRT OS from ...
Green's user avatar
  • 121
0 votes
1 answer
372 views

Does two hardware radios required to re-share WiFi in OpenWRT?

I would like to put some router in my car and make it either automatically connect to one of my home WiFi networks as a client or connect to 4G mobile network otherwise. In each case I want it to ...
Dims's user avatar
  • 3,255
1 vote
1 answer
2k views

luci-app-sqm "404 Not Found" after sysupgrade to 18.06.1

I upgraded to Openwrt 18.06.1, from lede-17.01.4, using "sysupgrade". Now I can't open the SQM page in the LUCI web interface. Why? I backed up and restored my openwrt config, using the web ...
sourcejedi's user avatar
  • 50.3k
3 votes
1 answer
2k views

Linux OpenWRT IPv6 Neighbor discovery

My ip -6 nei commands is showing available neighbors only after pinging them. Is there a way to populate the IPv6 neighbor table once the link is up and not only after traffic is being sent?
Tomer Petel's user avatar
1 vote
0 answers
98 views

Open WRT mini router: mobile modem installation

The GL-AR300M mini router runs a Linux based Open WRT system, making it highly configurable. Recently i have been trying to use the 3G modem Option Globetrotter GI0505 i have with it, but without ...
Россарх's user avatar
2 votes
3 answers
7k views

How to reassign eth0 from lan to wan in OpenWrt?

I have burned OpenWRT onto MR-3020 and got it working. Unfortunately, to operate this device, I was required to connect it physically to the computer by single ethernet port called eth0. After that ...
Dims's user avatar
  • 3,255
0 votes
1 answer
252 views

Simulating bad packet transmission in a OpenWRT Raspberry Pi router

I'm currently trying to simulate bad signal/traffic in a wireless environment by trying to randomly flip bits in a packet. Specifically, I am trying to flip the bits in the data section of a TCP ...
Alan's user avatar
  • 13
1 vote
1 answer
2k views

OpenWRT add permanent virtual interface

I have OpenWRT on my router (Turris Omnia). How can I add permanent virtual if or second IP to eth0 (wan)? If I use ip a a or ifconfig virtual interface will disappear after network restart or reboot. ...
Jiří Oláh's user avatar
0 votes
1 answer
581 views

Hotplug at boot in OpenWRT

I want to run some scripts at boot. I tried a lot of things but couldn't achieve. Here is the OpenWRT boot sequence : https://openwrt.org/docs/techref/preinit_mount After taking a look at this link ...
Ugur Akgul's user avatar
1 vote
3 answers
2k views

Echo Permission Denied (Trying to use echo instead of ls command in shell script)

I am trying to write a script and at some point i needed to list all the things in a directory and grep someting from that directory. I can't do it with ls. ls is not my guy to do it. So i tried to do ...
Ugur Akgul's user avatar
1 vote
1 answer
3k views

OpenWRT making dns changes permanent

I am currently working on a openWRT system. I want to change the dns addresses and add multiple addresses if possible. In order to do that i need to change resolv.conf file but in this case I don't ...
Ugur Akgul's user avatar
0 votes
1 answer
459 views

Broadcom Chipset Router - Reset Base MAC address [OpenWRT]

I have a Dlink DSL-2750U (Hardware version: C1) router. The router seems to have forgotten its MAC address and is showing the base MAC address as 00:10:18:00:00:00 which is the default. I have ...
Sankalp's user avatar
3 votes
1 answer
543 views

Dnsmasq hostnames on a public domain

I have an OpenWRT/LEDE router with Dnsmasq. I currently have a local domain (something.lan) that is appended to DHCP names, so I can access devices on my network just by connecting to, let's say, ...
user avatar
2 votes
1 answer
859 views

Compiled modules support for openWRT

In order to add driver for my wireless adapter, Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter I am building openWRT for my GL.iNet AR150. The ...
Boson Bear's user avatar
3 votes
1 answer
4k views

openwrt - RAM memory allocation

Looking for some memory advice on an OpenWRT system. I have a SKW71 module (ar9331 cpu). It has 16Mb flash and 512Mb ddr2 RAM. Images for that system do not exist. Therefore I have installed an ...
Noel's user avatar
  • 131
1 vote
1 answer
6k views

Does openwrt have a dhcp client?

I was surprised that building a default open wrt config created an image without dhclient, After some digging we found odhcpd package for use as the dhcp server but I still can't find any package that ...
YetAnotherRCG's user avatar
0 votes
0 answers
421 views

LEDE cannot create modem interface

System: Onion Omega2s LEDE 17.01 I have connected a Huawei ME90E modem to the USB port of the Omega2s. I have successfully connected the ME906E modem to the Raspberry Pi running Debian, but have ...
aobs's user avatar
  • 191
1 vote
2 answers
2k views

How do I force packet go through specific physical interface knowing destination MAC only?

I'm creating a L3-Switch that modifies packets by redirecting some of them to local app. My goal is to send them further to the same MAC as before. Short "why": zero-conf device to connect with to ...
clockware's user avatar
6 votes
2 answers
8k views

udevadm rule works using "udevadm test" but not with "udevadm trigger"

I have created a simple rule called "99-usb.rules" that simply names a tty port of a specific device KERNEL=="ttyACM*", ATTRS{idVendor}=="2341", NAME="mydevice" This rule works fine when I run a ...
Dark's user avatar
  • 171
0 votes
0 answers
764 views

SSH times-out accessing a machine behind Open WRT from WAN but fine from LAN

I recently reinstalled OpenWRT after I mistook a bug with cookies that caused a logon loop, for a forced entry into my router. Model TP-Link TL-WR841N/ND v8 Firmware Version OpenWrt Chaos ...
Greg's user avatar
  • 115
1 vote
0 answers
541 views

Certain ipv6 hosts hang on certain machines on the network

EDIT: Fixed by switching internet service provider ¯\(°_o)/¯ I have this annoying issue where some of the machines on my network will hang when looking up connecting to certain IPv6 addresses, in ...
unhammer's user avatar
  • 375
2 votes
0 answers
625 views

Cannot set wifi card to use non-HT IBSS modes using iw

I have two embedded systems that will be communicating with each other using Doodle Labs NM-915-1F wifi transceivers. One system is an Axiomtek PICO831 running Arch Linux 4.10.9-1-ARCH, and the other ...
TelluriumCrystal's user avatar
0 votes
2 answers
3k views

Mangle rule for intercept DNS traffic form specific IP and redirect to another DNS server - openwrt

I have media box in my network that hard coded to use specific DNS servers like Google DNS. But I want force this device to use my own DNS servers instead of hard coded DNS. Only way I think this is ...
sameera's user avatar
  • 304
1 vote
1 answer
2k views

How to get the IETF RFC7919 recommended DH parameter file on board of a router (for Nginx)?

According to Mozilla server side TLS should use the pre-defined DH groups ffdhe2048, ffdhe3072 or ffdhe4096 recommended by the IETF in RFC 7919. My router is running Nginx (and Linux), thus ...
Pro Backup's user avatar
  • 4,924
0 votes
1 answer
2k views

OpenWrt can't acces host in Lan

I have managed to configure an old router (linksys WRT160NL) as a wifi client using OpenWrt 17.01.4 to connect my raspberry pi to my network and have internet. The configuration is as follows Main ...
k76u4vkweek547v7's user avatar
1 vote
1 answer
1k views

How to setup 3G modem in OpenWRT?

OpenWrt Chaos Calmer 15.05.1. USB dongle ZTE MF190. I executed some installation commands from this tutorial. Now dmesg | grep usb shows me the following: [ 4.150000] usbcore: registered new ...
beemaster's user avatar
2 votes
1 answer
5k views

iptables OUTPUT DNAT not working

I tried to do something similar to this question https://unix.stackexchange.com/a/85933/20426 So I want to make all out-going traffic to port 44444 redirected to 1.1.1.1:80 iptables -t nat -A ...
est's user avatar
  • 205
4 votes
2 answers
8k views

Why does nslookup fail for DNS records set to a private address?

Setup On some networks I'm able to use nslookup to resolve a domain name that is pointed to a private ip address: @work> nslookup my192.ddns.net Server: 10.1.2.3 Address: 10.1.2.3#53 Non-...
cwd's user avatar
  • 45.4k
1 vote
2 answers
4k views

How can I get DNS IP Resolution for an Internet Domain Name pointing to a locally-hosted Web Server from within a LAN (across multiple subnets)?

Cut to the chase: A specific question of mine is this: a client on 10.0.3.X/24 network cannot reach subdomain.site.com. How can I make clients on 10.0.2.X/24 and 10.0.3.X/24 able to resolve 10.0.1.4 ...
Jonathan Komar's user avatar
2 votes
1 answer
6k views

failed to swapon

OpenWrt Barrier Breaker, r44952; mikrotik rb951 2hnd. I tried to make swap, but no success: root@OpenWrt:~# dd if=/dev/zero of=/tmp/swapfile bs=10k count=5 5+0 records in 5+0 records out root@...
metsys's user avatar
  • 21
0 votes
1 answer
654 views

Adding modules to Kernel in LEDE distribution

So I'm trying to add one of the staging drivers, I'm trying to load FBTFT in the kernel. I'm using this fork https://github.com/OnionIoT/source So far things I have done: make menuconfig and ...
utiq's user avatar
  • 101
0 votes
1 answer
2k views

How to redirect outgoing HTTP traffic on one LAN client to another in the same network?

Is it possible to redirect the outgoing HTTP (tcp, port 80) of a client in a lan to another lan client in the same network using OpenWRT Chaos Calmer 15.05? 10.1.1.1 - Router/AP runing OpenWRT ...
dgo.a's user avatar
  • 789
2 votes
1 answer
7k views

Configuring and Mounting Micro SD Card in OpenWRT

The Vocore is a single board computer running OpenWRT. It has very limited internal storage capacity with only ~1MB for storing packages and files. I need additional space for installing Python and ...
www139's user avatar
  • 121
4 votes
2 answers
3k views

Second OpenWRT network isn't getting an IP address

Goal I'd like to have two LANs: lan0 and lan1. lan0 is unencrypted traffic; lan1 will be an always-active VPN. I haven't configured the VPN, so it's currently just a second unencrypted network. I'...
craig's user avatar
  • 203
77 votes
7 answers
245k views

How do I upgrade all of my installed packages in OpenWRT?

I'm just wondering what is the equivalent of apt-get upgrade apt upgrade yum update with OpenWRT or LEDE?
Evan Carroll's user avatar
  • 30.9k
3 votes
0 answers
2k views

Comment character for OpenWRT's UCI system

What is the proper syntax for (single and multi-line) comments in OpenWRT's UCI System? Do they vary by section or setting? For example, /etc/config/fstab: config global option anon_swap '0' ...
craig's user avatar
  • 203
0 votes
1 answer
282 views

RAID drives attached to separate devices

Somehow, the two drives in my RAID 1 configuration have become attached two devices (md0,md127): ~# lsblk -o NAME,SIZE,MOUNTPOINT,STATE,FSTYPE,MODEL,SERIAL,UUID,LABEL NAME SIZE MOUNTPOINT ...
craig's user avatar
  • 203
2 votes
1 answer
757 views

How to delete openwrt ssl cert

I enabled HTTPS on openwrt by following the howto some while ago. Now I get a certificate warning in Firefox because it has expired. How do I delete the old cert?
sourcejedi's user avatar
  • 50.3k
1 vote
1 answer
519 views

Machine hostname differs form Network (DHCP) name

I have a media streamer on which an arch linux is installed (OpenWrt). I configured the hostname of the machine to be Streamer but on my router dashboard, I see on the DCHP clients list that the name ...
yanivps's user avatar
  • 111

1 2
3
4 5
7