OpenWRT is a Linux-based firmware program for embedded devices such as residential gateways and routers. It is very modular and feature-rich, but not all chipsets are supported.
Questions tagged [openwrt]
966 questions
32
votes
1 answer
openwrt buildroot build_dir and staging_dir
I am confused about build_dir and staging_dir in openwrt buildroot.
What are they used for?
There are feeds in openwrt. I would imagine to build an image. You will select the packages you want in menuconfig and use make to build it.
The packages…

dudeking
- 764
- 1
- 9
- 12
21
votes
5 answers
How do I revert back to an OpenWrt router configuration?
I recently ported Luci to an OpenWrt router. I was just exploring the thing. I disabled the DHCP server on LAN and enabled as DHCP client. I saved and applied the configuration to the router. Now after a restart I am not able to connect the router…

Surjya Narayana Padhi
- 7,741
- 25
- 81
- 130
20
votes
1 answer
Enter Hypervisor Mode on ARMv7 through Kernel Module
I am working on a project where I have a router with ARMv7 processor (Cortex A15) and OpenWRT OS. I have a shell on the router and can load kernel modules with insmod.
My goal is to write a kernel module in C which changes the HVBAR register and…

Coder
- 201
- 2
- 3
17
votes
3 answers
File Encryption/Decryption with AES using Linux
I'm using the OpenWrt Linux 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?

Ahmed202
- 737
- 3
- 7
- 12
16
votes
6 answers
Java on OpenWrt/DD-WRT
I have an existing solution written in Java which I would love to run on OpenWrt routers. Will OpenWrt even run Java without installing a lot of dependencies? Anyone ever tried this?

Hannes de Jager
- 2,903
- 6
- 37
- 57
15
votes
3 answers
Package is missing dependencies for libraries - OpenWRT
I am trying to compile OpenWRT with a custom package I have made inside it. Here is the OpenWRT Makefile for my package:
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE…

TomSelleck
- 6,706
- 22
- 82
- 151
14
votes
3 answers
How to auto start an application in openwrt?
I have created a shell with necessary functions such as
start()
stop()
restart()
But my file is not getting started at boot time.
I have used update-rc.d command in "ubuntu" to add this file to the list of autostart applications. And it…

runner
- 591
- 2
- 7
- 20
13
votes
3 answers
How to reset luci password from ssh
I have forgotten my luci password, but can get in via ssh. How do I reset the luci password from the console? I see that in /etc/config/luci there is this:
config extern 'flash_keep'
...
option passwd '/etc/passwd'
...
So is it done with…

rainkinz
- 10,082
- 5
- 45
- 73
11
votes
4 answers
Can I trigger a mobile client to automatically launch a web browser when connecting to wifi?
Assume that you have complete programmatic control over a wireless router (running say OpenWrt or DD-WRT - linux). The router is configured to broadcast an ssid, and the network is wide open.
A mobile user (iPhone/Android/BB) walks up.
1) on iPhone,…

Rob
- 111
- 1
- 1
- 4
11
votes
2 answers
OpenWRT git clone fatal: Unable to find remote helper for 'http'
I'm trying to install LINC-Switch to OpenWRT and stuck on following problem:
git clone https://github.com/FlowForwarding/LINC-Switch.git
and get an error:
git fatal: Unable to find remote helper for 'https'
According to this link I've compiled git…

Yasha Bubnov
- 886
- 1
- 9
- 8
9
votes
1 answer
ELF file exists in /usr/bin but turns out "-ash: file: not found"
i'm trying to install some new software package under openwrt using opkg,and the installation has been successful,and we can see the binary file really exists in the /usr/bin,and i have trird the lld check but turns out the same . as…

coder
- 163
- 2
- 3
- 12
8
votes
2 answers
Automaticly upload to FTPS
How can I upload a file on an OpenWRT router to a place using FTPES?
I googled curl, because it's small enough to install:
opkg update
opkg install curl
and can handle FTPES connections:
http://curl.haxx.se/docs/comparison-table.html
Ok. But heres…

LanceBaynes
- 1,393
- 6
- 16
- 23
8
votes
4 answers
how to know the memory footprint of my binary executable
I wonder if there is a way to know the memory footprint of my binary executable coded in C language.
informations about binary executable : compiled with toolchain of OpenWrt branch (Attitude Adjustment) and its architecture is x86

Anis_Stack
- 3,306
- 4
- 30
- 53
8
votes
4 answers
OpenWRT - package missing dependencies when recompiling
If anybody can help me with this I would really appreciate it because it's driving me insane.
When I compile an OpenWRT image from scratch including my packages, usually, everything works fine.
Otherwise, when I then try to recompile, I keep…

TomSelleck
- 6,706
- 22
- 82
- 151
8
votes
2 answers
How to know the gcc version used to build the linux?
I use OpenWRT. it's a linux distribution for embedded systems
I want to know the gcc version used to compile the linux
I made some researchs in the net but without results.
I tried to execute these commands for some existing binary in the linux…

MOHAMED
- 41,599
- 58
- 163
- 268