Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [openwrt]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

OpenWRT: Reset iptables to default settings

I somehow cleared all my iptables rules by accident (details below). In the Web-Access, all settings under "Network->Firewall" are now empty, except for some lines in "Custom Rules" that I had added. ...
0
votes
1answer
3k views

Changing repository in openwrt

I have a router flashed to run openwrt (BARRIER BREAKER (Bleeding Edge, r36234)) But opkg can't find packages. According to the error messages and /etc/opkg.conf it seems to be trying to find them ...
-1
votes
1answer
1k views

OpenWRT via static ethernet address

I can't get my Onion Omega2, which runs OpenWRT, to connect to my ethernet via a static IP address and two DNS addresses. To connect my PC, I have to set the following: IP address: 82.149.xxx.xxx ...
2
votes
1answer
3k views

openwrt no ssh from wan

I would like to have access from wan through ssh to my openwrt router. I did the following: Go to the Network / Firewall / Traffic Rules. Scroll down to the “Open ports on router” section. Enter a ...
1
vote
0answers
157 views

openwrt create ovpn files

i am trying to setup an openvpn server to my openwrt router. i would like to create a single ovpn file for each user, instead of multiple files for each user. in my debian machines i use the Nyr/...
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-...
0
votes
1answer
124 views

Push commands to OpenWRT router via php

I've developed a static webpage hosted via an OpenWRT firmware based router and would like to create a reset button held on that page, the console command is: reboot I'm struggling to work out the ...
2
votes
2answers
2k views

openwrt fails saving changes

What ever combination of "save" "save & apply" OpenWRT does not save any change, I stay at "change counter > 0" stage. Further more, clicking on the counter I see all the changes and when I click ...
1
vote
0answers
426 views

Symmetric NAT implementation with incremental source port? (software/OS or hardware router)

I'm looking for a Symmetric NAT implementation with an incremental source port number. E.g. a client behind the NAT sends a UDP packet to server A using the outbound/source port 1000, and another ...
0
votes
2answers
681 views

/proc/net/netstat not found

I am trying to compile my own Linux for embededd devices, using the OpenWRT distribution. I am trying to get some Multicast information using the /proc/net/netstat interface but it is not found (...
0
votes
1answer
611 views

Missing btusb.ko module when compiling OpenWrt

I wanted to build OpenWrt following this tutorial: https://devzone.nordicsemi.com/blogs/663/6lowpan-for-bluetooth-low-energy-on-openwrt/ However during compilation I get following error: ERROR: ...
3
votes
4answers
7k views

Most effective technique of blocking Youtube on OpenWrt routers?

What is the most effective technique for blocking Youtube on OpenWrt (a Linux-based firmware) based routers?
1
vote
0answers
233 views

OpenWrt Linino - Enable syntax highlighting in nano

I'm running Linino on my Arduino Yun and I'm trying to enable Python syntax highlighting when using nano. I've looked under /usr/share but there's no nano folder there. Ctrl+G from inside nano just ...
2
votes
1answer
2k views

Confused about OpenWRT's Firewall Zone Settings Definition

My router has a public IP and my computer is in my LAN. So naturally I'm going to masquerade outbound(me -> Internet) traffic to make it possible to access the Internet. My settings:(I can't embed ...
0
votes
1answer
538 views

Using router with openwrt as AP to EdgerouterX

I have an old router that I managed to install openwrt on it. My router is EdgerouterX from Ubiquiti. I want to use the openwrt router as an AP connected to the Edgerouter. I need the AP to provide ...
1
vote
0answers
472 views

OpenWRT: How to create interface for pptpd virtual PPP interfaces?

In OpenWrt, I can setup almost any kind of interface in /etc/config/network. But I haven't found a way to create an interface for the PPP "virtual interfaces" created by the pptpd daemon (PPtP Server)....
1
vote
0answers
530 views

OpenWRT failsafe mode is not starting on Netgear WNR1000v2

I just installed Chaos Calmer (trunk) plus the system upgrade on my Netgear WNR1000V2. Every thing went well (LuCi, etc.) up to a point I messed up the FW setting. ouuups ! Now I am trying to accces ...
5
votes
4answers
10k views

dropbear ssh server won't let me connect

I'm trying to gain ssh access to my router. Currently I only have telnet access and I installed dropbear and is running (using opkg on a usb drive connected to the router). From the beginning, what I ...
2
votes
0answers
749 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 ...
1
vote
1answer
545 views

AES encryption for openwrt distribution

I'm using openwrt distribution and I want to encrypt a file using AES. How can I do that quickly and easily, and how can I - or someone else -decrypt it again?
2
votes
2answers
2k views

fatal error: mcrypt.h: No such file or directory

I am trying to cross compile a C code which uses a header file mcrypt.h. I am compiling my code in Ubuntu distribution and my target is an openwrt distribution. I am getting the below error while ...
1
vote
1answer
4k views

U-boot: bad magic number

I'am using Arduino Yun and i want mount rootfs over NFS. I downloaded openwrt sources, build the project and then copied the generated rootfs from build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx ...
0
votes
2answers
2k views

How to convert seconds to hh:mm:ss format from output of another shell script

everyone here is my script /bin/wstalist | grep 'uptime' Which is return value like "uptime": 3456, yes there's a , coming with output. These number are seconds. I want to convert it to hh:mm:ss ...
1
vote
1answer
971 views

Mount read-write HFS+ drive in OpenWRT

I attached an 'old' SSD drive that I removed from my Mac, to my Turris Omnia via one of its two USB 3 ports. While I've been able to mount the device, it's in read-only mode. I can't seem to mount ...
1
vote
1answer
46 views

Besides disk access, is there performance penalties in running a program from USB drive?

I would like to run a nodejs server on an openwrt router. Because node is too big to be installed on my router's flash, I need to run it from a USB drive. I know that reading and writing is slower on ...
0
votes
1answer
2k views

Installing GNU make on OpenWrt

I'm trying to install EasyCwmp on an OpenWrt installation running as a virtual box, make is used in the installation process. but when I type make in the shell, it says /bin/ash: make: not found so ...
0
votes
0answers
816 views

How to read the battery on a Banana Pi R1 router with OpenWRT?

Model: BPI R1 Firmware Version: OpenWrt Chaos Calmer 15.05-rc3 / LuCI Master (git-15.233.47308-791ca8b) Kernel Version: 3.18.19 Other images on this same hardware had various methods to monitor the ...
0
votes
1answer
206 views

Wi-Fi network not showing its security in “iw wlan0 scan”

A network with a key is showing up this way when running iw wlan0 scan on an OpenWRT device: BSS 00:26:50:41:c7:01(on wlan0) TSF: 20161559489 usec (0d, 05:36:01) freq: 2462 beacon interval: 100 ...
1
vote
3answers
4k views

OpenWRT: how to apply changes of uci system file

I am using UCI command to set timezone: uci set system.@system[0].zonename="America/Los_Angeles" the change reflects immediately after I run: uci commit But the changes are not reflected on system ...
1
vote
0answers
428 views

ddwrt to openwrt; blocking a host name or domain based on mac address

I'm a recent convert from ddwrt to openwrt. On ddwrt, I could use the lines below to block the amz address for my firetv. I tried doing this on openwrt, but I can still access the address. insmod ...
1
vote
1answer
2k views

OpenWRT - Can't block DNS port (53) from WAN-LAN direction

I have a TP-Link WDR4300 router with OpenWRT BarrierBreaker (vargalex build ver. 1.1.7). I use due to my Raspberry (SMB, PMA, Plex, etc) DDNS (duckdns.org) to reach my Router outside of my LAN (I've ...
1
vote
1answer
605 views

OpenWrt: do manually configured ip assignments survive a reboot?

As far as I know if I want to make an ip address static, I have to put it into /etc/ethers file. But does it survive a reboot 100% (stored in persistent storage)? I don't want to mess with it and ...
0
votes
1answer
735 views

OPenWRT Load balance 2 DSL routers using a 3rd(4 LAN, 1 WAN port router)?

I would like to install open-WRT on a router MR3420 v 2.3 and want to know if it can act as Load balancer for 2 DSL routers below. but I am not sure if openWRT will solve the following use-case I ...
1
vote
1answer
55 views

starting application in rc.d causes terminal to freeze

I have a application which uses stdin and stdout. I wish this application to start running as soon as possible after all the background daemons are running. I am using openwrt on an embedded system, ...
3
votes
1answer
2k views

OpenWrt (Chaos Calmer 15.05.1): `opkg install <package> -d ram` is failing

When I try to install python-xml using opkg install python-xml -d ram It goes through the following steps: Installing... [WORKS] Downloading... [WORKS] Configuring... [FAILS] The "configuring" step ...
1
vote
0answers
55 views

creating a sysupgrade binary from existing install

Is there a way to create a sysupgrade binary from an existing install of OpenWRT? ... i.e. if I have OpenWRT loaded on a device, and configured in a certain way (packages, software ... etc), can I ...
1
vote
0answers
11 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 https://downloads.openwrt....
0
votes
1answer
1k 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 NS-...
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
10k 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 --set-...
0
votes
1answer
540 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 ...
5
votes
2answers
13k 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 ...
2
votes
1answer
459 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
171 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
2k 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 + ...
4
votes
4answers
9k 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
576 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 ...
2
votes
4answers
6k 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 that'...
1
vote
0answers
273 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 ...
1
vote
1answer
1k 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 ...