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

learn more… | top users | synonyms

1
vote
1answer
1k 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
1answer
2k 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 ...
0
votes
1answer
1k 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
0answers
18 views

Generate openvpn-client keys based on asuswrt ca

Question How can I authenticate a client on my openvpn-server (running asuswrt) with just a certificate? Crosspost from ...
1
vote
1answer
1k 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 which is at work. From my home I wish to configure my router which is ...
0
votes
0answers
28 views

Troubleshooting kernel panic - serial port issues?

I am trying to install OpenWRT in VirtualBox on Linux Mint, however one of the pre-requisites for installation is that a serial port must be enabled. The kernel panic thrown has the error message: ...
1
vote
1answer
98 views

openwrt: can't change dns server setting in order to resolve non FQDN hostnames

ssh'ing to my openwrt (ver. 10.03.1-RC6) shows that there is something wrong with its dns server: root@OpenWrt:~# nslookup starkill Server: 127.0.0.1 Address 1: 127.0.0.1 localhost. nslookup: ...
2
votes
2answers
22 views

How to get IPs via DHCP, through a router from another DHCP server?

ISP -> OpenBSD box -> Wireless router We have an OpenBSD machine that connects directly to the internet, has dhcp/dns cache "server" on it, and forwards the connection to clients via ethernet ...
5
votes
2answers
8k views

How to extend my wireless network with OpenWrt

I have two routers, both running OpenWRT 10.04 The first is a WRT160NL router connected to my ISP. I am using it as an access point with the ESSID of "160AP". It's WEP password is "AAAAA" and it's ...
6
votes
3answers
8k 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 ...
2
votes
1answer
102 views

Connect OpenWrt router to home wifi AND open wifi

I've noticed I'm within comfortable wifi range of a nearby coffee shop's open connection. I have an OpenWRT router that I'm not using, and thought it might be handy to have this connected to my home ...
0
votes
0answers
39 views

compilation of my own package creates failed openwrt

I created my own Makefile monitoring package here the file. include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=monitoring PKG_VERSION:=1.0 PKG_RELEASE:=1 PKG_BUILD_DIR := ...
10
votes
1answer
3k views

Linux find WiFi Networks protocol(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 ...
0
votes
0answers
55 views

Creating an open wifi acess point for April Fool's Day which I want the client can only visit the login/splash page, but not working

I bought a Hiwifi J2 (Chinese) router, and sysupgraded to OpenWrt (not official version, but a patched version based on OpenWrt Barrier Breaker: https://github.com/rssnsj/openwrt-hc5761). Then ...
3
votes
2answers
611 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 ...
0
votes
0answers
53 views

access to local web site from internet using hostname

I've got a server on my LAN which hosts a website. I've also got a router with openWRT serving as gate between the internet (with public IP 1.2.3.4) and LAN and a registered hostname say "myhost.com". ...
2
votes
0answers
20 views

Screens die even though process is still running

I have a problem with running an irssi in a screen session on a tomato usb router setup. Screen reports session as dead, even though the process is still running (both for screen and irssi) Screen ...
1
vote
4answers
3k 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 ...
0
votes
1answer
274 views

OpenWRT configuring access point Archer C7v2

I am trying to configure OpenWRT Barrier Breaker on Archer C7v2 to act as a dumb access point, so the WAN ethernet port will be connected to my network, and anything connected to wifi or the other LAN ...
1
vote
0answers
87 views

OpenWRT on embedded device as firewall

I have the following setup in my network: My internet comes in through an ATT Uverse modem/router. The router is in bridge mode because that ATT Uverse modem/router connects to a second higher ...
0
votes
0answers
46 views

Corrupted Packets in IFB on OpenWRT

I'm trying to do ingress shaping on OpenWRT barrier breaker.. I have each port on a separate VLAN and I have two of the VLANs bridged. I've setup a transparent firewall between those VLANs ...
1
vote
3answers
436 views

Date in milliseconds on OpenWRT on Arduino YUN

I am using OpenWRT on the Arduino YUN and I am trying to get the exact date in milliseconds (DD/MM/YYYY h:min:sec:ms) by getting the time by an timeserver. Unfortunately date +%N just returns %N, but ...
1
vote
1answer
781 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 ...
1
vote
0answers
24 views

Route VPN Connections through VPN

I am currently setting up a wireless router using OpenWRT. The place I live in requires joining a VPN to access the internet, supporting both PPTP and OpenVPN. I want to support the "freifunk" ...
0
votes
0answers
99 views

How to enable javascript in elinks?

I'm running openwrt on my router and I want elinks to be able to run javascript. Is it possible? the only openwrt text web browser is elinks so I got no other choice. This is the script I'm planning ...
3
votes
1answer
203 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 ...
1
vote
0answers
148 views

openwrt: dns resolving error from wifi connected devices

I am not sure what have I messed up, but I cannot resolve other pc's in my local network from the wifi-connected devices (laptops and cell phones). I have a separate tower-pc that acts as a dns and ...
1
vote
0answers
50 views

Gargoyle repeater bridge channel hopping

I have the Linux-based Gargoyle firmware running on an old TP-Link router, serving as a Repeater bridge to extend the range of a WIFI access point. Do I need to lock the original access point to a ...
1
vote
0answers
81 views

OpenWRT missing OD (octal dump)

I have a bash function using od command. Now I'm trying to run in on OpenWRT and see that in has not od. Also can't find it using install from opkg, because I can't find it. Is there a possibility to ...
1
vote
0answers
345 views

Cannot add startup service to openWRT from init.d

I have openWrt installed on a TP-Link TL-WA901N/ND v3. I don't have luci package installed because I don't have enough space, so I can only do thing via cli. What I'm trying to achieve is to create a ...
3
votes
0answers
587 views

OpenVPN and routing problem on OpenWRT

My home topology: router1 (192.168.1.1) - D-Link dsl2540u server with static IP available from Internet (ADSL via ppoe). 4 LAN ports. router2 (192.168.1.2) - D-Link DIR-300 with OpenWRT. Plays ...
2
votes
2answers
3k views

How to know disk space occupied by packages in OpenWrt?

I am trying to configure OpenWrt on my device and got out of space. I was downloading some tooling packages. Now how can I determine their weights so that decide what to uninstall? Is it possible to ...
3
votes
0answers
248 views

How can I properly QoS streaming services on OpenWRT

I'm going to start by explaining my naivete, I'm not sure, if netflix via a web browser uses the same protocol (http?) as netflix via a smart tv, for example. I'm using OpenWRT 14.07 currently, and am ...
0
votes
1answer
236 views

Mount JFFS2 FS in openwrt

I'm trying to mount 1[MB] of flash as JFFS2 FS in openwrt environment, using 128[MB] NAND flash (4 bit ECC). I'm using the following sequence - flash_eraseall -j dev/mtd6 mount -t jffs2 -o noatime ...
1
vote
0answers
159 views

Static IPv4 & IPv6 configuration on openwrt linux

The /etc/config/network file has the ipv6 and ipv4 entry for an eth0 interface. Executing ifconfig eth0 shows both ipv4 and ipv6 address of that interface as per configuration. Performing ifconfig ...
3
votes
0answers
150 views

OpenWRT - route all the traffic through TOR

Passing through all the traffic in the router to TOR sounds like a good idea. But there aren't any good documentations about the implementation of this idea. Could anyone please explain, how can ...
2
votes
1answer
317 views

OpenWRT redirect traffic based on requested domain/port pair

If we would have an OpenWRT router, would we have a solution for redirecting the users traffit to HTTPS if they would request a plain HTTP website based on domain name? Example: If the traffic wants ...
2
votes
1answer
115 views

How to flash a router from FreeWRT to OpenWrt?

How can I change the firmware on a router from FreeWRT to OpenWrt? The router is a Linksys WRT54GL, so it should have enough memory for OpenWrt and I have SSH connection as root to the system.
0
votes
1answer
379 views

Send email on SSH connection OpenWrt

Is there a way to send an email when anyone connects via SSH (or LuCI for that matter)? I'm setting up my router to log to a flash drive so I guess I could grep the logs or possibly look at ...
0
votes
0answers
124 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 ...
1
vote
2answers
7k 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 ...
3
votes
0answers
38 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
223 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
278 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 ...
3
votes
2answers
3k 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
2k 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 ...
1
vote
0answers
136 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' ...
2
votes
2answers
526 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
1k 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
276 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 ...