We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [openwrt]

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

125 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
2k views

OpenVPN and routing problem on OpenWRT

My home topology: router1 (192.168.1.1) - D-Link dsl2540u server with static IP available from Internet (ADSL via ppoe). 4 LAN ports. router2 (192.168.1.2) - D-Link DIR-300 with OpenWRT. Plays role ...
4
votes
1answer
3k 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 ...
4
votes
2answers
2k 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'...
4
votes
1answer
525 views

change ls color on OpenWrt

I am not able to change the color of dir entries for ls command (dark blu is a very annoying color to read) on my OpenWrt device. I've added the line LS_COLORS=$LS_COLORS:'di=0;37:' ; export ...
4
votes
1answer
705 views

Flash OpenWrt Routers from Telnet

I have two routers. One has Chaos Calmer and the other has Attitude Adjustment. When I turn them on and check arp, nothing comes up. When I check route, the hardware address says (incomplete) but the ...
4
votes
0answers
1k views

OpenWRT - route all the traffic through TOR

Passing through all the traffic in the router to TOR sounds like a good idea. But there aren't any good documentations about the implementation of this idea. Could anyone please explain, how can ...
3
votes
0answers
244 views

Map DNS requests coming from specific client MAC with dnsmasq

I'm using dnsmasq on OpenWRT. Is it possible to map certain hostnames for DNS requests coming from a specific client? The ultimate goal in my case is to map certain hostnames to 127.0.0.1 to block ...
3
votes
0answers
1k views

Generate openvpn-client keys based on asuswrt ca

Question How can I authenticate a client on my openvpn-server (running asuswrt) with just a certificate? Crosspost from https://stackoverflow.com/questions/30032124/generate-openvpn-client-keys-...
3
votes
0answers
105 views

Route VPN Connections through VPN

I am currently setting up a wireless router using OpenWRT. The landlord of the dorm I live in requires joining a VPN to access the internet, supporting both PPTP and OpenVPN. I want to support the "...
3
votes
0answers
1k views

How can I properly QoS streaming services on OpenWRT

I'm going to start by explaining my naivete, I'm not sure, if netflix via a web browser uses the same protocol (http?) as netflix via a smart tv, for example. I'm using OpenWRT 14.07 currently, and am ...
3
votes
0answers
54 views

Log if no network

I have a router with OpenWRT. I noticed that sometimes (during night time) I have no internet connection. How can I log when this happens?
3
votes
0answers
3k views

OpenWrt: Find neighbors knowing their MAC address

I have an Open Mesh access point connected to the same router (an Aerohive BR100) than an Axis camera. I would like to automate the discovery of the camera's IP from inside the Open Mesh sensor, ...
2
votes
0answers
69 views

OpenWRT hairpin L2 traffic

I have an OpenWRT Router with embedded switch. I have a KVM machine with macvtap network access. I need guest to host communication. By connecting the host to my Cisco switch hairpin traffic is ...
2
votes
0answers
210 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 ...
2
votes
1answer
401 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
0answers
270 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 ...
2
votes
0answers
2k views

Socat- No buffering

I am using a TP-Link router TL-WR710N with OpenWRT as an IPv4-to-IPv6 translater/gateway with the following socat-command: socat TCP4-LISTEN:80,fork,su=nobody TCP6:[xx:xx:xx::xx]:80 On the IPv4-...
2
votes
0answers
748 views

OpenWRT - Openconnect VPN on isolated SSID

I'm trying to add a third SSID to my OpenWRT router which only connects users to an Openconnect VPN network. The router has two existing SSIDs which connect to the LAN+internet on 2.4 and 5.0 GHz ...
2
votes
0answers
588 views

Motion with MJPEG format in OpenWRT?

Right now my router implemented by OpenWRT. The router has motion and webcam for IP cam. But when I activated motion, the following error message appears: [1] [CRT] [VID] mjpegtoyuv420p: Corrupt ...
2
votes
1answer
458 views

Linux stops booting after eth0 link up. How to make it show more log?

I compiled the latest OpenWRT with Linux kernel 4.4.7 and flashed it into a Netgear WNDR3700v2. Here's the boot log from serial port. U-Boot 1.1.4 (Jan 15 2015 - 11:30:07) AP96 (AR7161 rev 2) U-Boot ...
2
votes
1answer
1k views

Having chosen the correct package (I believe), I cannot still install it. How to fix it?

Thanks to the command "cpuinfo", I've noticed that the "System type" is MediaTek MT7620, "cpu model" is MIPS 24KEc V5.0, so that I downloaded this package bash_4.3.39-1_ramips_24kec.ipk from ...
2
votes
0answers
551 views

How to make OpenWrt router advertise itself as IPv6 default gateway?

I have an OpenWrt Barrier Breaker router which is configured with a /48 ULA prefix. Connected Windows clients have two established routes to this space: /64 On-Link and /48 via link-local address. ...
2
votes
0answers
840 views

OpenWrt wifi bridge with IPv6

I am running OpenWrt 15.05 on my WDR4300. My ISP is via cable with legacy-IPv4-only. For IPv6 connectivity I use HE.net tunnel to receive a static IPv6 /64 subnet. My office is in a different room ...
2
votes
0answers
135 views

Screens die even though process is still running

I have a problem with running an irssi in a screen session on a tomato usb router setup. Screen reports session as dead, even though the process is still running (both for screen and irssi) Screen ...
2
votes
1answer
5k views

Cannot add startup service to openWRT from init.d

I have openWrt installed on a TP-Link TL-WA901N/ND v3. I don't have luci package installed because I don't have enough space, so I can only do thing via cli. What I'm trying to achieve is to create a ...
2
votes
0answers
2k views

OpenWRT configuration when router is in bridged mode

I am planning on putting my Zyxel ADSL modem in bridged mode and use an OpenWRT router instead as the exit point from my local network. So, what protocol must have the Wan interface if the router is ...
2
votes
1answer
4k views

openwrt firewall - block a set of ip addresses from internet access

I'm running OpenWRT Attitude Adjustment r33556 / LuCI Trunk (trunk+svn9325) on my WNDR3800. I would like to configure my firewall to: Only allow a specific range of IP addresses to access internet, ...
2
votes
0answers
187 views

How to find out logical interface name of tap0?

Well, the question is given. I have tap0 interface connecting to a server which provides IPv6 addresses. I would like to set my RDNSS settings in radvd config and I need the logical interface name of ...
2
votes
1answer
381 views

How to flash a router from FreeWRT to OpenWrt?

How can I change the firmware on a router from FreeWRT to OpenWrt? The router is a Linksys WRT54GL, so it should have enough memory for OpenWrt and I have SSH connection as root to the system.
1
vote
0answers
88 views

OpenWRT BusyBox init does not create /etc/init.d/rcS

I'm building an OpenWRT image (Chaos Calmer) that needs BusyBox to be configured to use init. So, in the busybox configuration, I enter the Init Utilities menu, then enable init, as well as support ...
1
vote
1answer
49 views

How to boot OpenWRT FROM PXE?

I have downloaded OpenWRT files for PC from OpenWRT site. I have installed DHCP and TFTP (in my LAN) and can boot (other) kernels from them. Now I want to boot these OpenWRT files. I wrote in PXE ...
1
vote
0answers
65 views

Load rootfs from fit image and signature verification

I am new to fit image and secure boot. I created fit image using mkimage command and added kernel dtb and rootfs into it. Goals: Need to boot up from fit image kernel rootfs and dtb. I am able ...
1
vote
1answer
60 views

Truncated Syslog on OpenWrt

I configured OpenWrt to send syslog to a remote system. This has been working nicely for a long time, however I was missing logs from nginx. nginx on OpenWrt does not support logging to syslog, so ...
1
vote
0answers
45 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
37 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
0answers
43 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
44 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 ...
1
vote
1answer
95 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 ...
1
vote
0answers
149 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=/...
1
vote
0answers
365 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 ...
1
vote
0answers
74 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 ...
1
vote
2answers
515 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 ...
1
vote
0answers
112 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 ...
1
vote
1answer
1k 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 ...
1
vote
0answers
714 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' ...
1
vote
1answer
239 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 ...
1
vote
0answers
159 views

URL filtering with input MAC addresses

I need to implement URL filtering mechanism on OpenWrt. I have a list of URLs and a list of MAC addresses, and these MAC addresses shouldn't have access to given URLs. URLs should be inaccessible in ...
1
vote
0answers
634 views

Openwrt Force DNS

I am working with some content filtering using openDNS. I am trying to get openwrt to redirect traffic for certain clients, based on MAC addresses, to openDNS servers. Here is my setup: openwrt ...
1
vote
2answers
2k views

Slow wireless speed between Ubuntu and OpenWRT

I have TpLink WA901 ND access point with OpenWRT installed, which supports up to 450 Mbps. Unfortunately, from my Ubuntu notebook I see only Bit Rate=52 Mb/s according to iwconfig even within few ...
1
vote
1answer
800 views

TP-LINK Archer C20i router installing OpenWRT went wrong

I recently bought TP-LINK Archer C20i router and attempted to install OpenWRT. Now when I connect my router to the laptop it is not getting connected. The lights on the router are blinking (turn on ...