Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openwrt]

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

0
votes
0answers
7 views

Redirect packets destined for certain IP to a different IP on Openwrt router

I am sending http packets from a computer (running Alpine Linux) to the internet via an Openwrt router. I want to setup a rule on the Openwrt router such that all packets destined for say, 159.65.253....
-1
votes
1answer
14 views

uci: Parse error (section of different type overwrites prior section with same name) at line 12, byte 23

BusyBox v1.28.4 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |...
0
votes
0answers
34 views

DNS adblocking ignored on connected clients with Internet access provided over WiFi in 'Client' mode

2019-04-19: I've come to the conclusion this might be some setting or bug in dnsmasq as logs shows config error is REFUSED. I will update this question at sometime in the future after I've analyzed ...
1
vote
0answers
15 views

Defining GPIO for LED board - Meraki MX100

I have a Meraki MX100 that I have installed VyOS on. While otherwise perfectly functional, the one thing that I cannot seem to get working is the LED board on the front panel. I'm no developer which I'...
1
vote
0answers
14 views

JFFS2 and SQUASHFS erasing entire flash chip

I am working on an OpenWRT system for a custom board with a Flash Memory Chip. One problem is that U-Boot only works if the Flash Memory is in 3 Byte Addressing Mode while Linux needs 4 byte ...
1
vote
1answer
108 views

OpenWRT on a router with Broadcom wireless chip

I found a note on openwrt.org / without timestamp / unclear if its very old Wiki entry Broadcom has not released any FOSS drivers. Broadcom doesn’t support open-source much at all. (..) ...
0
votes
1answer
54 views

Asterisks locks ALSA device if chan_alsa is loaded

I am implementing an extension 900 which routes the audio to ALSA device.  I am also using mpd, which plays music through ALSA. Asterisk 15, OpenWrt 18.06 mpd.conf: log_file "syslog" ...
0
votes
1answer
94 views

pgrep returns different results if run from script than if run in terminal

I have written a script to check how many instances of a process are running in an OpenWrt based system. If I run the following in my terminal COUNT_PS=$(echo `ps -w | grep -v grep | grep upmpdcli | ...
1
vote
0answers
23 views

Repeat either of the two “pre-selected” WiFis hotspots [closed]

I have two phones at home, both of which support WiFi by way of Hotspot mode. I want to configure my OpenWrt router to be repeating/sharing either of the two hotspots, whichever is available at the ...
2
votes
0answers
41 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 ...
1
vote
0answers
14 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:...
1
vote
0answers
29 views

IPoA support in OpenWRT

I have a modem on OpenWrt 18.06.1 and I need RFC 1483-2684 Bridged/routed IP over ATM (IPOA) support On the default installed firmware on my modem I can't seem to find this Protocol My ISP is Free ...
0
votes
0answers
89 views

How to build openWRT with specific version?

I want to build openWRT 18.06.1 for my mt76x8 device, and the source code I'm using is from https://github.com/openwrt/openwrt/archive/v18.06.1.tar.gz. When I tried to install kmod-mii package, I got ...
0
votes
0answers
16 views

OpenWRT wifi is not visible unless the WiFi I've connected it to is up and running

I have installed OpenWRT on my router and have managed to connect it to another WiFi (call it 'wifi2') and share that WiFi's internet to the clients of the OpenWRT ('wifi1'). But I notice that unless ...
0
votes
1answer
52 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 ...
0
votes
0answers
133 views

Why does OpenWRT's /dev/root/ turn to read-only mode?

Sometimes my OpenWRT's /dev/root/ will go into read-only mode. The specific phenomenon is that when I try to write to a file, "read-only file system" is displayed. At this point, the mode of /dev/...
0
votes
0answers
60 views

Implementing a quota using iptables in an openwrt system

I would like to explain what I'm currently working on briefly and explain issues I need to address. We have a device (a TP-link Access Point) that we have our custom linux kernel running (which is a ...
1
vote
1answer
37 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 ...
6
votes
0answers
424 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 ...
0
votes
0answers
119 views

Which MAC Address do I use when bridging two physical network interfaces?

This article https://openwrt.org/docs/guide-user/network/wifi/dumbap about creating a bridged access point only is clearly incomplete, but mentions this example: config interface lan option ...
0
votes
0answers
30 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 ...
1
vote
0answers
114 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=/...
0
votes
1answer
199 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 ...
0
votes
1answer
58 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
151 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 ...
1
vote
0answers
271 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 ...
0
votes
1answer
66 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 ...
1
vote
1answer
407 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 ...
2
votes
1answer
286 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?
1
vote
0answers
54 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 ...
2
votes
2answers
695 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 ...
0
votes
1answer
69 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 ...
0
votes
1answer
443 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. ...
0
votes
1answer
171 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 ...
1
vote
3answers
180 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 ...
1
vote
1answer
534 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 ...
0
votes
1answer
116 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 ...
3
votes
1answer
171 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, ...
2
votes
1answer
301 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 ...
2
votes
1answer
606 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
173 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 ...
1
vote
2answers
324 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 ...
0
votes
0answers
88 views

Can bareos be used to backup an NFS share containing backups from an OpenWRT Router?

OpenWRT does two kinds of backups; much like a PC it has a partition layout and a files backup (https://wiki.openwrt.org/doc/howto/generic.backup). OpenWRT also supports NFS and Samba shares; However ...
4
votes
1answer
2k 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 ...
0
votes
0answers
198 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 ...
1
vote
0answers
83 views

Certain ipv6 hosts hang on certain machines on the network

I have this annoying issue where some of the machines on my network will hang when looking up connecting to certain IPv6 addresses, in particular the ones from Google (but I've also seen issues with ...
2
votes
0answers
205 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 ...
0
votes
2answers
898 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 ...