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

learn more… | top users | synonyms

0
votes
0answers
20 views

Compilation of openwrt in ubuntu [on hold]

I was following the tutorial on this Link in the step where I create the menuconfig I type in the command make defconfig It shows the error saying permission denied to delete ./tmp/X file. so I ...
0
votes
0answers
36 views

How to merge two network interface in one?

I have two network interface on my router: wlan0 and wlan1. First for 2.4Ghz and second for 5Ghz. Also i have Coova-chilli with setting HS_LANIF=wlan0. Therefore captive portal (chilli) work for only ...
0
votes
0answers
18 views

Wrong linker used during build [closed]

So I wanted to start messing with my router firmware. Just for fun to see what I could do with it. So I downloaded the source code for my ASUS RT-N66U (v 3.0.0.4.376.1071). I'm using CrunchBang ...
0
votes
2answers
52 views

How to kill a process in shell script which is running through cron?

I have a shell script which runs in cronjob. This shell script has to kill a process which is running and start the new process again. When I run the script manually it works perfectly fine, but when ...
0
votes
1answer
70 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] ...
3
votes
0answers
27 views

Log if no network

I have a router with OpenWRT. I noticed that sometimes (during night time) I have no internet connection. How can I log when this happens?
1
vote
0answers
56 views

How to use a PS gamepad with OpenWRT?

I'm fairly new to OpenWRT and Linux in general so please bare with me. I'm trying to print the button presses from a playstation gamepad to the console on an Arduino Yun which has OpenWRT. I've used ...
0
votes
0answers
89 views

Port forwarding only works for first packet sent

I'm trying to configure port forwarding (80 and 443) on my new router. The router is a Xiaomi Mi Wi-fi, that establishes a PPPOE session with a VDSL2 modem/router (BBox2). The Xiaomi router runs a ...
2
votes
2answers
428 views

Where does make defconfig get its configuration in OpenWrt?

I am compiling an image for wifi devices using OpenWrt. Following the instruction I copy a simple .config file to TOP-DIR. CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y ...
2
votes
2answers
294 views

Disable SSH password authentication on specific interface

I have an OpenWrt router, I want to disable password authentication on SSH, so that one can only authenticate with keys. This is easily achieved by following the guide in the documentation, however, I ...
3
votes
1answer
57 views

ifconfig: bad address '-apbridge'

I need to configure the network interfaces in my OpenWRT-router. hence I need to change some options in the /etc/config/network file. specifically I want to remove the bridge connection. I have tried ...
0
votes
0answers
17 views

how get net switch info in soc?

I have a router device. cpu is mtk7620n. mtk7620n have a switch. How can i get information of the switch . swconfig show nothing. i think the switch have no driver. Anybody give me some ...
1
vote
0answers
65 views

openwrt eth2.1 can not receive packets

I have network configure: config interface 'lan' option ifname 'eth2.1' option type 'bridge' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' ...
1
vote
2answers
126 views

Retrieve value of RTS threshold without iwconfig

Is there a way in OpenWrt to read the current value of the RTS threshold for a specific interface without installing iwconfig? What I'm looking for is the value of RTS thr that can be found in the ...
3
votes
2answers
310 views

Unable to launch the requested CGI program: /www/cgi-bin/first.cgi: Text file busy

I'm trying to make a very simple shell script to run as a CGI on a uhttpd server running on an OpenWRT install. The file is called /www/cgi-bin/first.cgi and looks like... #!/bin/sh echo ...
0
votes
0answers
131 views

Delay in playing(recording?) real time raw audio. [OpenWrt, Debian]

I'm developing OpenWrt device which sends audio data to network but I have issues in the early beginning. I'm trying to find which cause delay in playing (or maybe recording, but more probably ...
4
votes
1answer
110 views

How to measure traffic on OpenWRT 12.04

Since just doing a cronjob every morning, before the router reboots: ifconfig > "`date`.ifconfig.txt" isn't very effective, since after ~4 GByte's the counter in the ifconfig will go to zero. ...
0
votes
1answer
37 views

How to log into network in linux?

I am using a custom version of OpenWRT linux that is used as a dev enviroment for a a graphic library. I am using it as a Virtualbox image. The distro contains a proxy module that needs to access the ...
3
votes
2answers
776 views

Human readable dmesg time stamps on OpenWRT

The output of dmesg shows the number of second+milliseconds since the system start. [ 10.470000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 14.610000] device eth0 entered ...
1
vote
0answers
325 views

OpenWRT configuration when router is in bridged mode

I am planning on putting my Zyxel ADSL modem in bridged mode and use an OpenWRT router instead as the exit point from my local network. So, what protocol must have the Wan interface if the router is ...
1
vote
0answers
691 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: ...
0
votes
1answer
365 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
1answer
267 views

Creating bash app for OpenWrt

I would like to know how to create a script in bash for OpenWrt, but having it installed like an application and with the possibility to include arguments/options when calling the app. As an example: ...
1
vote
1answer
424 views

Imagemagick on open wrt router “UnableToOpenConfigureFile”

I have installed Open Wrt on my TP-Link TL-WR740N/ND v4. Everything works fine but the Imagemagick. I have installed it into ram (no enough space on rom ) with opkg # opkg install imagemagick ...
0
votes
1answer
37 views

Openwrt in industrial solutions. connect fail reasons

all, I have uci wifi setup whitch i know is correct to connect to access point. But it does not associate sometimes. and other Access point does not connect ever it is equivalent, but with different ...
1
vote
1answer
135 views

OpenWrt: prevent that an IP address could be reachable in the network, excluding a few hosts

So there is a network: 192.168.1.0/24. Router is an OpenWrt 12.04 on a WRT160NL. We got a new network printer. But it's www server is reachable to everyone in the network (and thus everyone can ...
1
vote
2answers
208 views

Accent error on OpenWrt 12.09?

[user@localhost ~] ssh -x -a root@192.168.1.1 BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash) ----------------------------------------------------- ATTITUDE ADJUSTMENT (12.09, r36088) ...
1
vote
0answers
392 views

OpenWrt: Find neighbors knowing their MAC address

I have an Open Mesh access point connected to the same router (an Aerohive BR100) than an Axis camera. I would like to automate the discovery of the camera's IP from inside the Open Mesh sensor, ...
1
vote
2answers
867 views

How to make OpenWrt Makefile compile faster?

I have recorded that it took 50 minutes for an initial compilation of the OpenWrt firmware image, assuming all the necessary packages have been installed via sudo apt-get install. My BuildRoot Root ...
0
votes
0answers
76 views

Flashing AP121U without LAN cable

Is it possible to flash an AP121U without LAN cable? Openwrt needs to be reïnstalled on it.
2
votes
0answers
587 views

openwrt firewall - block a set of ip addresses from internet access

I'm running OpenWRT Attitude Adjustment r33556 / LuCI Trunk (trunk+svn9325) on my WNDR3800. I would like to configure my firewall to: Only allow a specific range of IP addresses to access internet, ...
2
votes
1answer
475 views

Port Forwarding using iptables on Open-Mesh

A quick overview for those who are unfamiliar with Open-Mesh: The system uses small wireless access points that automagically build their own mesh network. As long as one of the access points is ...
2
votes
0answers
1k 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
1answer
650 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 witch is at work. From my home I wish to configure my router who is ...
1
vote
1answer
605 views

TP-Link TL-WR1043ND as dumb access point

I followed these instructions on how to set up my TP-Link TL-WR1043ND as a dumb AP: Flashed brand new Attitude Adjustment 12.09-rc1 Logged into LuCI, set up a password Disabled and stopped firewall ...
2
votes
0answers
94 views

How to find out logical interface name of tap0?

Well, the question is given. I have tap0 interface connecting to a server which provides IPv6 addresses. I would like to set my RDNSS settings in radvd config and I need the logical interface name of ...
1
vote
0answers
204 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 ...
3
votes
1answer
2k views

The n mode on “iwlist wlan0 scan”

I know how to determine if scanned AP uses B or G mode, but how to know (using "iwlist wlan0 scan") it uses N protocol ? if I use "iw dev wlan0 scan" and see if the cell has a "HT capabilities" block. ...
8
votes
1answer
2k views

Linux find Wifi Networks trotocol(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 ...
2
votes
1answer
254 views

How to apply new wireless settings on an OpenWRT router without rebooting it?

After I manually edit the: vi /etc/config/wireless file, what should I do to apply the modifications? Until this day I rebooted the router, but aren't there any better solutions? (and no, www is ...
3
votes
1answer
507 views

Need to improve urlencode function

I need a way to URL encode strings with a shell script on a OpenWRT device running old version of busybox. Right now I ended up with the following code: urlencode() { echo "$@" | awk -v ORS="" '{ ...
3
votes
1answer
6k 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 ...
3
votes
1answer
110 views

DMA errors on OpenWrt router

I have a WRT160NL router with OpenWrt Backfire (10.03.1, r29592), and there is a 3,5" WD Green 1,5TB HDD attached to it. In the recent time if I read the logs on it with "logread" I can see these ...
0
votes
3answers
2k views

How to make sense of an iptables chain configuration

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
801 views

Allow IP packet forwarding from LAN to modem via router

In short: I'd like to be able to telnet to my modem from my PC via my router. There is a simple home router on 192.168.33.1. It is running OpenWrt. It has the following interfaces defined: br-lan ...
5
votes
1answer
4k views

Have someone ever audited the default OpenWrt firewall rules?

I have an Openwrt 10.03.1 installed from: openwrt-ar71xx-wrt160nl-squashfs-factory.bin (firewall only customized with this: sed 's/REJECT/DROP/g' /etc/config/firewall) - so besides this, IT'S A ...
1
vote
1answer
897 views

How to unlock read-only filesystem on OpenWRT router linux distribution?

I have installed minimal OpenWRT firmware on Linksys router. When I try to modify some of the files withing /etc/ directory for example firewall.user file by using command vi firewall.user it opens ...
1
vote
2answers
481 views

I don't know how to connect preconfigured OpenWRT router to my home network

What I need to do is to connect preconfigured OpenWRT router to another network through WAN cable connection. My router assign the IP address to new router but even if I use this address it still ...
1
vote
0answers
242 views

Is openwrt difficult to use for a novice? [closed]

Background I am very interested in openwrt, I like that it's open source and gives you complete, granular control over your router. I'm going to use my router for a home network (with a nas, htpc ...
1
vote
1answer
435 views

Samba mount isnt mounting when switching to wireless

I have a notebook with Scientific Linux 6.1. I have a wireless router with OpenWrt 10.03 - Wrt160NL. I have a HDD on the router that I share via samba: cat /etc/samba/smb.conf.template [global] ...