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

learn more… | top users | synonyms

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
0answers
18 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
20 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 ...
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 ...
1
vote
0answers
40 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
8 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
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 ...
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 ...
1
vote
3answers
159 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
11 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
72 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
76 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
332 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
24 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
53 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
205 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
136 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
30 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
131 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 ...
-1
votes
1answer
39 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
49 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
27 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
4k 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
235 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
472 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
818 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
40 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
74 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 ...
4
votes
1answer
984 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
286 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 ...
0
votes
0answers
91 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
189 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
407 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
265 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
159 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
218 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
99 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 ...
12
votes
1answer
6k views

Linux find WiFi Networks protocol(a/b/g/n) version of all available access points

I do use iwlist wlan0 scanning and it gives me a fair amount of data, but one part is missing. It is protocol version. By protocol I mean (a/b/g/n). It would be very good to have these commands in ...
0
votes
0answers
63 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
1answer
343 views

Why are there two different OpenWRT firmwares for the LinkSys WRT54G3GV2-VF?

The stable version of OpenWRT (10.03.1) does not work on the LinkSys WRT54G3GV2-VF. The WiFi doesn't work, there are various bugs on trac that say it's fixed in trunk. However if you browse the ...
1
vote
0answers
60 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
165 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
211 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 ...
2
votes
7answers
5k views

How to upload tcpdumps in realtime to FTP?

I can do tcpdumps with this command: tcpdump -w `date +%F-%Hh-%Mm-%Ss-%N`.pcap src 10.10.10.10 or dst 10.10.10.10 Q: I have an FTP server with username: FTPUSER and password FTPPASSWORD. How can I ...
0
votes
1answer
196 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 ...