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.

Filter by
Sorted by
Tagged with
1
vote
1answer
773 views

luci-app-sqm “404 Not Found” after sysupgrade to 18.06.1

I upgraded to Openwrt 18.06.1, from lede-17.01.4, using "sysupgrade". Now I can't open the SQM page in the LUCI web interface. Why? I backed up and restored my openwrt config, using the web ...
3
votes
1answer
406 views

Linux OpenWRT IPv6 Neighbor discovery

My ip -6 nei commands is showing available neighbors only after pinging them. Is there a way to populate the IPv6 neighbor table once the link is up and not only after traffic is being sent?
2
votes
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 ...
2
votes
2answers
1k views

How to reassign eth0 from lan to wan in OpenWrt?

I have burned OpenWRT onto MR-3020 and got it working. Unfortunately, to operate this device, I was required to connect it physically to the computer by single ethernet port called eth0. After that ...
0
votes
1answer
90 views

Simulating bad packet transmission in a OpenWRT Raspberry Pi router

I'm currently trying to simulate bad signal/traffic in a wireless environment by trying to randomly flip bits in a packet. Specifically, I am trying to flip the bits in the data section of a TCP ...
1
vote
1answer
692 views

OpenWRT add permanent virtual interface

I have OpenWRT on my router (Turris Omnia). How can I add permanent virtual if or second IP to eth0 (wan)? If I use ip a a or ifconfig virtual interface will disappear after network restart or reboot. ...
0
votes
1answer
257 views

Hotplug at boot in OpenWRT

I want to run some scripts at boot. I tried a lot of things but couldn't achieve. Here is the OpenWRT boot sequence : https://openwrt.org/docs/techref/preinit_mount After taking a look at this link ...
1
vote
3answers
324 views

Echo Permission Denied (Trying to use echo instead of ls command in shell script)

I am trying to write a script and at some point i needed to list all the things in a directory and grep someting from that directory. I can't do it with ls. ls is not my guy to do it. So i tried to do ...
1
vote
1answer
1k views

OpenWRT making dns changes permanent

I am currently working on a openWRT system. I want to change the dns addresses and add multiple addresses if possible. In order to do that i need to change resolv.conf file but in this case I don't ...
0
votes
1answer
154 views

Broadcom Chipset Router - Reset Base MAC address [OpenWRT]

I have a Dlink DSL-2750U (Hardware version: C1) router. The router seems to have forgotten its MAC address and is showing the base MAC address as 00:10:18:00:00:00 which is the default. I have ...
3
votes
1answer
213 views

Dnsmasq hostnames on a public domain

I have an OpenWRT/LEDE router with Dnsmasq. I currently have a local domain (something.lan) that is appended to DHCP names, so I can access devices on my network just by connecting to, let's say, ...
2
votes
1answer
400 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
1answer
1k views

openwrt - RAM memory allocation

Looking for some memory advice on an OpenWRT system. I have a SKW71 module (ar9331 cpu). It has 16Mb flash and 512Mb ddr2 RAM. Images for that system do not exist. Therefore I have installed an ...
0
votes
1answer
2k views

Does openwrt have a dhcp client?

I was surprised that building a default open wrt config created an image without dhclient, After some digging we found odhcpd package for use as the dhcp server but I still can't find any package that ...
0
votes
0answers
235 views

LEDE cannot create modem interface

System: Onion Omega2s LEDE 17.01 I have connected a Huawei ME90E modem to the USB port of the Omega2s. I have successfully connected the ME906E modem to the Raspberry Pi running Debian, but have ...
1
vote
2answers
511 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 ...
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 ...
0
votes
0answers
263 views

SSH times-out accessing a machine behind Open WRT from WAN but fine from LAN

I recently reinstalled OpenWRT after I mistook a bug with cookies that caused a logon loop, for a forced entry into my router. Model TP-Link TL-WR841N/ND v8 Firmware Version OpenWrt Chaos ...
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 ...
2
votes
0answers
269 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 ...
0
votes
2answers
1k views

Mangle rule for intercept DNS traffic form specific IP and redirect to another DNS server - openwrt

I have media box in my network that hard coded to use specific DNS servers like Google DNS. But I want force this device to use my own DNS servers instead of hard coded DNS. Only way I think this is ...
0
votes
1answer
393 views

How to get the IETF RFC7919 recommended DH parameter file on board of a router (for Nginx)?

According to Mozilla server side TLS should use the pre-defined DH groups ffdhe2048, ffdhe3072 or ffdhe4096 recommended by the IETF in RFC 7919. My router is running Nginx (and Linux), thus ...
0
votes
1answer
656 views

OpenWrt can't acces host in Lan

I have managed to configure an old router (linksys WRT160NL) as a wifi client using OpenWrt 17.01.4 to connect my raspberry pi to my network and have internet. The configuration is as follows Main ...
1
vote
1answer
813 views

How to setup 3G modem in OpenWRT?

OpenWrt Chaos Calmer 15.05.1. USB dongle ZTE MF190. I executed some installation commands from this tutorial. Now dmesg | grep usb shows me the following: [ 4.150000] usbcore: registered new ...
1
vote
1answer
1k views

iptables OUTPUT DNAT not working

I tried to do something similar to this question https://unix.stackexchange.com/a/85933/20426 So I want to make all out-going traffic to port 44444 redirected to 1.1.1.1:80 iptables -t nat -A ...
1
vote
2answers
2k views

Why does nslookup fail for DNS records set to a private address?

Setup On some networks I'm able to use nslookup to resolve a domain name that is pointed to a private ip address: @work> nslookup my192.ddns.net Server: 10.1.2.3 Address: 10.1.2.3#53 Non-...
1
vote
2answers
2k views

How can I get DNS IP Resolution for an Internet Domain Name pointing to a locally-hosted Web Server from within a LAN (across multiple subnets)?

Cut to the chase: A specific question of mine is this: a client on 10.0.3.X/24 network cannot reach subdomain.site.com. How can I make clients on 10.0.2.X/24 and 10.0.3.X/24 able to resolve 10.0.1.4 ...
2
votes
1answer
3k views

failed to swapon

OpenWrt Barrier Breaker, r44952; mikrotik rb951 2hnd. I tried to make swap, but no success: root@OpenWrt:~# dd if=/dev/zero of=/tmp/swapfile bs=10k count=5 5+0 records in 5+0 records out root@...
0
votes
1answer
527 views

Adding modules to Kernel in LEDE distribution

So I'm trying to add one of the staging drivers, I'm trying to load FBTFT in the kernel. I'm using this fork https://github.com/OnionIoT/source So far things I have done: make menuconfig and ...
0
votes
1answer
764 views

How to redirect outgoing HTTP traffic on one LAN client to another in the same network?

Is it possible to redirect the outgoing HTTP (tcp, port 80) of a client in a lan to another lan client in the same network using OpenWRT Chaos Calmer 15.05? 10.1.1.1 - Router/AP runing OpenWRT ...
2
votes
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 ...
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'...
26
votes
2answers
49k views

How do I upgrade all of my installed packages in LEDE?

I'm just wondering what is the equivalent of apt-get upgrade apt upgrade yum update with OpenWRT or LEDE?
1
vote
0answers
712 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' ...
0
votes
1answer
147 views

RAID drives attached to separate devices

Somehow, the two drives in my RAID 1 configuration have become attached two devices (md0,md127): ~# lsblk -o NAME,SIZE,MOUNTPOINT,STATE,FSTYPE,MODEL,SERIAL,UUID,LABEL NAME SIZE MOUNTPOINT ...
1
vote
1answer
412 views

How to delete openwrt ssl cert

I enabled HTTPS on openwrt by following the howto some while ago. Now I get a certificate warning in Firefox because it has expired. How do I delete the old cert?
1
vote
1answer
237 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
1answer
61 views

iptables not blocking, bridged router

Iptables is not blocking connections to devices connected to a bridged router. I have inserted the rules at the top of the rules list with: iptables -I INPUT -d 216.58.201.46 -j DROP Result: root@...
2
votes
1answer
4k views

logread in OPENWRT

Hi I want to read all the requests for network that are connected to my OPENWRT installed router now I am getting all the logs of the system with the help of logread -e ': query' The following in ...
0
votes
1answer
445 views

Log ipaddress, mac address, siteurl, port using proxy in OPENWRT

Hi I have setup the OpenWrt (Chaos Calmer) in my router, now I want to log the ipaddress, mac address, requested site url and port using a proxy. Which proxy server is best to achieve the above ...
3
votes
0answers
243 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 ...
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
3answers
3k views

wrt (openwrt / lede) initramfs

Do you know what initramfs-kernel mean? I know squashfs-factory/squashfs-sysupgrade. How can I do it or what is it? which is better? I just don't understand what the initramfs-kernel mean. I have ...
1
vote
0answers
631 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
459 views

Why can I login remote host without password or private key?

I am using Openwrt here, I find that I can login remote host without a password or private key. I added a SSH-Keys (public key) in System->Administration tab, this public key is a key pair with the ...
2
votes
1answer
1k views

What type of traffic applies to “INPUT” for a “wan” zone?

I have two zones: lan (type: bridge) and wan. I set the firewall to forward from lan to wan. lan zone: INPUT:ACCEPT, OUTPUT:ACCEPT wan zone: INPUT:REJECT, OUTPUT:ACCEPT Would INPUT for wan apply ...
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
798 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 ...
1
vote
1answer
364 views

Cross-compiling package that uses a cross-compiled library

I'm trying to write an OpenWRT package that uses a dynamically linked library that I cross-compile too. As far as I can tell compiling the library into a .so file works fine. After compiling find . -...
1
vote
2answers
1k views

Change kernel command line parameters for the next boot on OpenWRT

I'm looking for a way to edit Kernel Command Line Parameters from User Space, without the need to stop at U-Boot and modify the values manually. I want to change Kernel Parameters for the next boot. ...