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

learn more… | top users | synonyms

0
votes
1answer
22 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 ...
0
votes
0answers
35 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, ...
0
votes
0answers
15 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,error message appear : [1] [CRT] [VID] mjpegtoyuv420p: Corrupt image ... continue ...
2
votes
1answer
54 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
30 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
60 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
11 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 ...
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
29 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
10 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 ...
0
votes
0answers
29 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
3answers
258 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 ...
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 ...
3
votes
3answers
307 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 ...
1
vote
0answers
67 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 ...
0
votes
0answers
40 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 ...
0
votes
0answers
97 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
votes
1answer
44 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 ...
0
votes
0answers
51 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 ...
2
votes
1answer
318 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 ...
1
vote
2answers
485 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
166 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. ...
1
vote
1answer
77 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 ...
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 ...
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?
2
votes
1answer
89 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 ...
3
votes
1answer
372 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
1answer
30 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
0answers
108 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
0answers
156 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 ...
1
vote
1answer
323 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
192 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 ...
1
vote
0answers
113 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 ...
0
votes
0answers
65 views

Questions about setting up an OpenWRT Router as a client and ethernet ports

I'm fairly new to Linux and wanted to create a little OpenVPN setup. I have a computer setup with an openVPN server and a (cheap TP-link) router with openWRT and OpenVPN (client). Basically, I want to ...
1
vote
0answers
62 views

Password entry only responds to Ctrl + D, and password cannot be read

I am trying to run build-key-pkcs12 user on my OpenWRT NSLU2, to generate some client keys for the users of my VPN. Everything runs normally until I get to the enter export password part, and the SSH ...
1
vote
0answers
176 views

Using tar to backup and restore a path mounted with overlayfs

I have a system running OpenWRT with Linux 2.6.39.2. In my filesystem, I have symlinks contained in /etc/rc.d on ROM and more symlinks contained in /overlay/etc/rc.d in flash. overlayfs does a union ...
0
votes
1answer
224 views

OpenWrt bricked router is not connected via USB to serial cable

I am a newbie in OpenWrt development. I have a problem in my router when I try to upgrade my router (TP-Link TL-WDR-3600) to openwrt firmware via web ui. Now my router is bricked and I can't ...
1
vote
1answer
96 views

Incorrect iperf configuration?

I have a laptop (with Ubuntu) and a router (with OpenWrt). When I check the version for both, the laptop says I have version 2.05 for multithreads and the router says I have 2.05 for pthreads. Both ...
1
vote
1answer
79 views

pcap file 20 times smaller than ifconfig TX/RX difference for same period

I run tcpdump on a usb modem in network card mode. [ 18.260000] cdc_ncm 1-1.1:1.1 wwan0: register 'cdc_ncm' at usb-ehci-platform-1.1, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64 I run it ...
2
votes
0answers
154 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 ...
0
votes
0answers
172 views

OpenWrt with Nodogsplash

I have a web application in MVC4 for Hot Spot Management system. I using it with OpenWrt and Nodogsplash, Now i need to authenticate the users in to external website. Is there any way to allow to ...
0
votes
1answer
445 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: ...
0
votes
1answer
277 views

i686-cm-linux-gcc: Command not found

While cross compiling OpenWRT, I have I have replaced OpenWRT's toolchain with toolchain i686 architecture. But, I am getting below mentioned error: make[5]: Leaving directory ...
1
vote
2answers
225 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 ...
0
votes
0answers
157 views

Can't ping another router in my network (OpenWrt)

I'm playing around with OpenWrt and followed this tutorial step by step to set up a mesh network: http://wiki.openwrt.org/doc/howto/mesh.80211s Problem: When I got to the end and ran these two ...
0
votes
1answer
237 views

Segmentation Fault when trying to mount ext(2,3,4) fs, from usb (openwrt)

So I have a TL-MR3220v2 router, which has Openwrt installed, this device only has a 4mb flash so I'm trying to get extroot setup on a USB, to increase disk space. My first attempt I tried using a ...
3
votes
2answers
2k views

Do I want a Repeater or a Bridge? (OpenWrt)

I'm setting up a network with openwrt. I have a router that I have set up for wifi which I will use as an access point. I want to add another router to my network so that the two can exchange traffic ...
1
vote
2answers
201 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
240 views

Open Wrt with nodogsplash

I am using OpenWrt in my TP_Link TL-WRD3600 router. I have already set up a hotspot plugin (Nodogsplash) on my router. Now I need to allow access to some website before authentication on the splash ...