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

learn more… | top users | synonyms

0
votes
0answers
19 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 ...
0
votes
1answer
57 views

OpenWRT and Current Release Support

I'd like to install OpenWRT on an Asus WL-520GU router I have a couple of Asus WL-520GU modems and Raspberry Pi (model B) boards floating around and I'd like to put some of them to use in some ...
2
votes
0answers
7 views

Does only the current release of OpenWRT receive security updates or do all releases on the Table Of Hardware? [duplicate]

Does this mean that only the current release receives updates (including security updates) and fixes while older/all other versions do not? Quoting from the openwrt website ...
0
votes
2answers
2k views

Wifi on/off button on TP-Link WR841ND

I installed OpenWRT into TP-Link WR841ND. Everything works as expected, but I can't get the wifi on/off switch working. I followed the guide described on the OpenWRT page for this router. Scripts in ...
0
votes
1answer
1k views

OpenWRT configuring access point Archer C7v2

I am trying to configure OpenWRT Barrier Breaker on Archer C7v2 to act as a dumb access point, so the WAN ethernet port will be connected to my network, and anything connected to wifi or the other LAN ...
0
votes
1answer
24 views

Can't find OpenWRT driver for Insignia NS-PU98635 USB-Ethernet Adapter on RPi 1B

I have a Raspberry Pi (1B). It's running OpenWRT (Barrier Breaker - 14.07, r42625). There's an Insignia USB3.0-Gigabit Ethernet adapter (NS-PU98635) plugged in. I can't find the driver for that ...
2
votes
1answer
59 views

How to add marks together in iptables (targets MARK and CONNMARK)

When you want to mark a packet in iptables, you would generally add the following line to your firewall script: iptables -t mangle -A POSTROUTING -p tcp -m multiport --dports 80,443 -j MARK ...
0
votes
0answers
43 views

OpenWRT and ZTE MF667 modem LCP issue

I have a TP-Link MR3040 3G router and a ZTE MF667 3G USB dongle. The router is running Chaos Calmer and I have added usb-modeswitch, comgt, chat, kmod-usb-serial, kmod-usb-serial-option, ...
4
votes
1answer
5k views

How to setup PPPoE with OpenWrt

Probably this is a simple question, but I can't find an answer... I have an ADSL router (Dlink DSL-524T) which runs OpenWrt Backfire 10.03.1. It connects to the internet using PPPoA: this is my ...
0
votes
0answers
33 views

OpenWRT: What devices can support cURL on internal storage?

I'm trying to install cURL on my TP-Link TL-WR740N and there's no sufficient space for it. How can I know which TP-Link router or any other OpenWRT supported device has space for cURL? Edit: Is 8 ...
1
vote
2answers
72 views

How does NAT reflection (NAT loopback) work?

I use the auto generated rules that come from OpenWRT as an example of NAT reflection (NAT loopback). So let's pretend there's a network 192.168.1.0/24 with two hosts (+ router): 192.168.1.100 and ...
0
votes
0answers
12 views

wget --post-data only works from shell, doesn't work from cgi-bin

I have just recompiled my OPENWRT distribution. I took care of including: - wget in the custom configuration of busybox - the rpcd package - uhttpd and uhttpd-mod-ubus I am experiencing a strange ...
1
vote
1answer
1k 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 ...
1
vote
1answer
2k views

Tunnel openwrt requests

I am pretty new to OpenWrt what I want to achieve is the following scenario: I have a socks5 proxy server running on a machine which is at work. From my home I wish to configure my router which is ...
0
votes
0answers
26 views

Building owncloud on openwrt: qt5keychain missing

I'm trying to build owncloud-client on openwrt but I got an issue and I couldn't find a way to solve it: -- Build of crashreporter disabled. -- Found Qt5 core, checking for further dependencies... -- ...
0
votes
0answers
32 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 ...
1
vote
0answers
45 views

Bash scripts not found. Maybe EOL issue? [closed]

I am facing a problem that is driving me crazy. In the past months I have been developing a project based on a Linux distribution (Openwrt) that has been recently updated. My project has a lot of bash ...
1
vote
0answers
11 views

Different partition after upgrade of OPENWRT

I have just updated the firmware of my olinuxino rt5350f to the last release of chaos calmer 15.05.1 (website, image). After having finished the installation via tftp I noticed that the free space is ...
1
vote
3answers
285 views

bash / sh script to replace text between some tags/strings in a text file

I am creating executable which will be executed with /bin/sh or /bin/bash script, I have a file which contains a structure like, there will be only one #start and #end tag in the config file, and I ...
0
votes
0answers
30 views

HPLIP -> HPAIO Error during device I/O

I'm running Chaos Calmer 15.05 (openwrt firmware) in a TPLINK WDR3600 and I'm trying to install SANE + HPLIP in order to get scanner over lan network. I installed sane-libs and sane-daemon + ...
1
vote
1answer
78 views

How can I programmatically modify DNS lookups in real time?

I want to use OpenDNS (parental control) and UnoTelly (geo-restriction circumvention) together. OpenDNS returns an IP to an error page if the site is blocked. So if I get that error IP, then I want ...
0
votes
0answers
105 views

Is there a general USB 3.0 support in OpenWrt?

the only information i found about this topic is outdated since 2011/02: it says there is no support for devices with usb 3.0 "so far"! according to the german wikipedia since version 2.6.30 the ...
1
vote
2answers
514 views

OpenWRT: TL-MR3020 Cannot SSH or TELNET into router flashed with custom OpenWRT bin

I have a TL-MR3020 that I flashed with a custom binary built from OpenWRT source. I was trying to enable WiFi and connect to the internet on the router by editing /etc/config/network and ...
1
vote
1answer
28 views

How to generate SSHFP records with OpenWrt/Dropbear?

How to generate SSHFP records for a Dropbear instance at OpenWrt? I have dropbearconvert and openssh-keygen installed, but nothing works. Always invalid format or similar errors. There are two host ...
1
vote
0answers
69 views

Embed a proxy script in a multiwan aggregation

I currently admin a router running OpenWRT 15.05. The current setup involve 3 wans aggregated with the multiwan package available on the official opkg repos. In those 3 wans, 2 are typical DSL access ...
3
votes
3answers
324 views

Blocking Websites by days and hours using Iptables in OpenWRT

I want to block Facebook the whole day with the exception of the night. I want to implement that in my Linux-based router OpenWRT. The archive I need to modify is /etc/firewall.user (or at least ...
2
votes
1answer
3k views

How to detect a working ttyUSB for my usb modem

I working with OpenWRT and need setup USB 3G Modem. When i connect USB modem i see in logs that system create four ttyUSB. Why four? Tue Jul 29 07:45:23 2014 kern.info kernel: [ 580.220000] ...
1
vote
0answers
159 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 ...
0
votes
0answers
42 views

How to tunnel proxies on openwrt

Currently I have setup wifi access point on openwrt. I wonder how do I tunnel proxies and route all traffic through the tunnel. client=>proxy1=>proxy2=>google server I want to create kind of proxy ...
1
vote
0answers
3k views

Installed library packages cannot be found on OpenWRT

I have been compiling / installing custom packages for OpenWRT. I kept running into problems when I was compiling getting errors like: Package x is missing dependencies for the following libraries: ...
1
vote
1answer
172 views

Execute command before bring interface up on OpenWRT

I´m making a Wireless-to-3g router with openwrt, and its working pretty well. However, to bring the 3g-wan interface up, i have to first register the usb modem using the command gcom -d /dev/ttyUSB0. ...
7
votes
3answers
12k views

Configure OpenWRT as repeater

At home I'd like to configure one of my wifi routers to serve as a WI-FI signal extender. Since my main router is OpenWrt-based (Backfire 10.1.3), I'd like to use it for that purpose. I've looked ...
0
votes
0answers
53 views

OpenWRT image for OrangePi

I am looking for help on how to build OpenWRT image for OrangePi PC and|or OrangePi Plus board, preferably with working Ethernet and HDMI. I have studied related resources on the internet, like ...
1
vote
1answer
32 views

About openwrt dnscrypt

I am self hosted a dnscrypt server, using dnscrypt-server-docker (https://github.com/jedisct1/dnscrypt-server-docker) And i test it on my mac os x, it's work fine $ sudo dnscrypt-proxy \ ...
1
vote
5answers
5k views

How to make sense of an iptables chain configuration in OpenWrt

This is about how to make sense of the chains found in the iptables default configuration on a typical home router running OpenWrt (a stripped down Linux for router devices), but which ultimately may ...
2
votes
1answer
332 views

mount overlayFS as Read-Write FS

I want to mount my RO Filesystem using overlayFS - in order to use two layers FS (Lowerdir and Upperdir). I tried the following mounting command - mount -t overlayfs -o lowerdir=/,upperdir=/overlay ...
3
votes
1answer
511 views

Huge packet loss on openwrt

I have a strange issue on mikrotik rb951-2hnd router. I built image a few years ago using revision 39392 and patch firmwared it and everything worked fine. Just a few months ago I decided to update ...
2
votes
1answer
851 views

OpenWRT redirect traffic based on requested domain/port pair

If we would have an OpenWRT router, would we have a solution for redirecting the users traffit to HTTPS if they would request a plain HTTP website based on domain name? Example: If the traffic wants ...
1
vote
0answers
46 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 ...
2
votes
1answer
90 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 ...
5
votes
1answer
1k views

“invalid tar magic” on OpenWRT

I'm trying to install JavaSE on a OpenWrt (Pandorabox) device. When I run tar -xvf ejdk-8u65-linux-arm-sflt.tar.gz I get tar: invalid tar magic. How can I solve this problem?
3
votes
1answer
388 views

How can I install bash package to OpenWrt without access to Internet?

I need to run a script in bash, and the only way to install bash package to OpenWrt that I have found now is "opkg install bash" , but I don't have Internet access for my router, for which I want to ...
1
vote
0answers
109 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. ...
1
vote
2answers
203 views

Pinging between Mesh Network Nodes OpenWrt

I have two mesh nodes that I have configured to be on a mesh created using OpenWrt. I used the tutorial here to set that up. When I ran iw dev $MESH_IFACE station dump, I got the output that I ...
0
votes
1answer
450 views

Install brctl for OpenWrt - which package?

I'm getting an error in OpenWRT Attitude Adjustment that says: -ash: brctl: not found when I run brctl addif br-lan mesh0 I tried: opkg update opkg install brctl But I got this error: ...
1
vote
1answer
335 views

How do I automatically mount a plain-encrypted USB flash drive to my OpenWRT router?

I just finished encrypting my external hard drive using a key file, and mounting it onto my router. Problem is, every restart i have to manually recreate the mapping and mount it again. OpenWRT's ...
1
vote
1answer
197 views

How can I run sed to replace lines in a file or do similar things in PHP?

I am writing a web frontend for configuring OpenWRT. I'm using PHP to execute commands and all the uci commands are executing without issues. However, OpenVPN configurations cannot be done via UCI and ...
3
votes
3answers
5k views

Traffic counter on openwrt?

Are there any (not a resource hog) solutions to have statistics about the traffic on an OpenWrt router? :O e.g.: traffic per IP address, monthly statistics, etc. :O
1
vote
2answers
228 views

iptables -I FORWARD -j DROP does not cut existing connections

I have a router with openwrt. I want to temporarily cut all transit traffic without changing the router's configuration. I do this: iptables -I FORWARD -j DROP New connections cannot be ...
1
vote
0answers
116 views

Sniff on SWITCH(lan) traffic openWRT

Is it possible to sniff (with tcpdump) or mirror LAN traffic that doesn't get routed to WAN using openWRT? Say I have two PCs connected to LAN ports and I want to sniff on traffic one PC is sending ...