Questions tagged [openwrt]

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.

966 questions
0
votes
1 answer

How to change order of package compilation in OpenWRT AA?

I have some custom packages added to OpenWRT AA which is depending on busybox. It is observed that OpenWRT AA builds my custom packages before making base-file packages. So busybox is not available during my custom package build and my image build…
lxusr
  • 987
  • 3
  • 16
  • 28
0
votes
1 answer

Package Makefile error in OpenWRT Attitude adjustment

I am changing the question as I could get over the initial issue. I am having the following define in my package//Makefile PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) define Build/Compile $(MAKE) -s -C…
lxusr
  • 987
  • 3
  • 16
  • 28
0
votes
1 answer

Cross Compilation: How to use same libstdc++ on target as on compiling machine

I am running openwrt on a TP-Link MR3020 and cross compiling for this device on a x86 ubuntu. I am running into problems and the remote debugging doesnt help very much. Maybe the c++ standard libraries from the toolchain that I use to compile with…
tzippy
  • 6,458
  • 30
  • 82
  • 151
0
votes
2 answers

Licensing using openWRT opkg

We are planning to use openWRT "Attitude Adjustment" for out development. We have some software which we need to commercially license ; Is it possible to use opkg to license them commercially ? Is there any document which tells me licensing policies…
lxusr
  • 987
  • 3
  • 16
  • 28
0
votes
1 answer

Adding links to login page of Coova captive portal

I have set up a Coova hotspot with captive portal. Presently, it is configured to internal hotspot and the webpages for captive portal are self-contained in the router. I am able to successfully login, browse and logout of the network. I would like…
user591410
  • 3,051
  • 5
  • 21
  • 30
0
votes
1 answer

Ash pidfile showing wrong process id

I've got a really simple wrapper script to start a ruby program that monitors a network connection. The script's on router - hence we're using ash, not bash. Since we're using monit to monitor the status, I need a PID file. The problem is, the…
simonmorley
  • 2,810
  • 4
  • 30
  • 61
0
votes
1 answer

how to build a full df command in coreutils in openwrt?

I need a full df command in openwrt, and I know it was in coreutils, now I run the make in openwrt to build the coreutils, it seems that it built everything except df, so how could I modify the Makefile to build the df? Many thanks!
Alpha Liu
  • 137
  • 11
0
votes
1 answer

BusyBox - syntax error: unexpected redirection

I'm on OpenWRT (which uses BusyBox). When I run this script: while read oldIP ; do iptables -t nat -D PREROUTING --dst $oldIP -p tcp --dport 443 -j DNAT --to 192.168.2.1:443 done < <(comm -23 <(sort /tmp/currentIPs) <(sort /tmp/newIPs)) I get…
exvance
  • 1,339
  • 4
  • 13
  • 31
0
votes
1 answer

Bourne shell script to check if time was updated from server

I am on a TPLink Router running OpenWRT. When the device starts I want one LED to be on until the system time was updated from the ntp server. This is my approach: #!/bin/sh echo 0 > /sys/class/gpio/export echo out >…
tzippy
  • 6,458
  • 30
  • 82
  • 151
0
votes
2 answers

OpenSSL ERR_GET_LIB numeric values to human understandable clues

I'm porting a project written in C onto an OpenWRT mipsel system. Cross-compiling and library linking is all fine, the project builds and runs on the mipsel system, but there's a runtime problem with OpenSSL. Seems that PKCS12_create fails for some…
Okw
  • 63
  • 6
0
votes
1 answer

Effect of redirects on reboot command

I'm running linux on a mips based system (specifically openwrt on a router). When I run the reboot (as supplied by busybox) i.e. just reboot on it's own, the system reboots, but some of the services (webserver, dhcp/dns, dsl stuff) don't start…
rhlee
  • 3,857
  • 5
  • 33
  • 38
0
votes
1 answer

Linux OpenWRT microphone streaming with commandline

i would like to stream the microphone input of my Linux OpenWRT-device over the network. The soundcard is already working. Is there any simple way to stream the microphone input over the network (without compression is ok ...)?
0
votes
1 answer

mipsel-linux-g++ object not recognized by mipsel-linux-objdump

I'm using the OpenWrt toolchain to build a C++ application, which makes use of a C library but I doubt that's relevant. I have two files file.h (which contains a C++ class along with the implementation) and main.cpp which makes use of that…
farnsworth
  • 349
  • 3
  • 13
0
votes
0 answers

Make V global definition means

Usually I use V=99 when compile my system in order to see the output in verbose mode, my question is related at the 'V' variable, which other type of loggin level can I use with that ? I analyze a Makefile and I would like see what it is doing, but…
pedr0
  • 2,941
  • 6
  • 32
  • 46
-1
votes
1 answer

How to install all iptables related package on OpenWrt with one effective command?

On OpenWrt 10.03.1-RC6 the following command installs iptables stuff: opkg update && grep -e "Package: iptables-mod-" -e "Package: kmod-ipt-" -e "Package: kmod-nf" -e "Package: .*nfnetlink" -e "Package: .*netfilter" -e "Package: .*iptables"…
dash17291
  • 101
  • 3