Questions tagged [openwrt]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
5k views

U-boot: bad magic number

I'am using Arduino Yun and i want mount rootfs over NFS. I downloaded openwrt sources, build the project and then copied the generated rootfs from build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx ...
2
votes
0answers
624 views

Motion with MJPEG format in OpenWRT?

Right now my router implemented by OpenWRT. The router has motion and webcam for IP cam. But when I activated motion, the following error message appears: [1] [CRT] [VID] mjpegtoyuv420p: Corrupt ...
2
votes
1answer
477 views

Linux stops booting after eth0 link up. How to make it show more log?

I compiled the latest OpenWRT with Linux kernel 4.4.7 and flashed it into a Netgear WNDR3700v2. Here's the boot log from serial port. U-Boot 1.1.4 (Jan 15 2015 - 11:30:07) AP96 (AR7161 rev 2) U-Boot ...
2
votes
0answers
849 views

OpenWRT image for OrangePi [closed]

I need to build the OpenWRT image for OrangePi PC and|or OrangePi Plus board, preferably with working Ethernet and HDMI. I have studied related resources on the internet, like OpenWRT and linux-sunxi ...
2
votes
1answer
1k views

Having chosen the correct package (I believe), I cannot still install it. How to fix it?

Thanks to the command "cpuinfo", I've noticed that the "System type" is MediaTek MT7620, "cpu model" is MIPS 24KEc V5.0, so that I downloaded this package bash_4.3.39-1_ramips_24kec.ipk from ...
2
votes
0answers
571 views

How to make OpenWrt router advertise itself as IPv6 default gateway?

I have an OpenWrt Barrier Breaker router which is configured with a /48 ULA prefix. Connected Windows clients have two established routes to this space: /64 On-Link and /48 via link-local address. ...
2
votes
0answers
876 views

OpenWrt wifi bridge with IPv6

I am running OpenWrt 15.05 on my WDR4300. My ISP is via cable with legacy-IPv4-only. For IPv6 connectivity I use HE.net tunnel to receive a static IPv6 /64 subnet. My office is in a different room ...
2
votes
0answers
136 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 ...
2
votes
1answer
5k 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 ...
2
votes
0answers
2k 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 ...
2
votes
1answer
4k 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
0answers
187 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 ...
2
votes
1answer
427 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.
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
2answers
1k views

Fastest hashing method under OpenWRT?

I frequently verify the file integrity on my OpenWrt router by hashing the files. I didn't want to use sha256sum, so I decided to use the faster md5sum. Is there anything even faster available?
1
vote
2answers
5k views

How can I update my dynamic DNS under OpenWRT?

I have an OpenWrt 10.03, and I need to update my dynamic DNS account (e.g., OpenDNS or DYNDNS) when my IP changes. How can I do this from the terminal?
1
vote
2answers
517 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 ...
1
vote
3answers
544 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
2answers
2k 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. ...
1
vote
2answers
3k 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 ...
1
vote
1answer
448 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
46 views

Besides disk access, is there performance penalties in running a program from USB drive?

I would like to run a nodejs server on an openwrt router. Because node is too big to be installed on my router's flash, I need to run it from a USB drive. I know that reading and writing is slower on ...
1
vote
1answer
2k views

Execute command before bringing interface up on OpenWRT

I'm making a Wireless-to-3g router with openwrt, and its working pretty well. To bring the 3g-wan interface up, I have to first register the USB modem using the command: gcom -d /dev/ttyUSB0 If I ...
1
vote
1answer
1k 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 ...
1
vote
1answer
3k 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
1answer
2k 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 ...
1
vote
2answers
1k 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
1answer
726 views

Samba mount isn't 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] ...
1
vote
1answer
3k views

IPTABLES rule for separating users

I have an OpenWrt 10.03 router [ IP: 192.168.1.1 ], and it has a DHCP server pool: 192.168.1.0/24 - clients are using it through wireless/wired connection. Ok! Here's the catch: I need to separate ...
1
vote
1answer
837 views

OpenWRT on a router with Broadcom wireless chip

I found a note on openwrt.org / without timestamp / unclear if its very old Wiki entry Broadcom has not released any FOSS drivers. Broadcom doesn’t support open-source much at all. (..) ...
1
vote
1answer
931 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 ...
1
vote
1answer
846 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. ...
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 ...
1
vote
1answer
63 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@...
1
vote
3answers
5k views

OpenWRT: how to apply changes of uci system file

I am using UCI command to set timezone: uci set system.@system[0].zonename="America/Los_Angeles" the change reflects immediately after I run: uci commit But the changes are not reflected on system ...
1
vote
1answer
626 views

OpenWrt: do manually configured ip assignments survive a reboot?

As far as I know if I want to make an ip address static, I have to put it into /etc/ethers file. But does it survive a reboot 100% (stored in persistent storage)? I don't want to mess with it and ...
1
vote
1answer
2k views

Is there a general USB 3.0 support in OpenWrt?

the only information i found about this topic is outdated since 2011/02: it says there is no support for devices with usb 3.0 "so far"! according to the german wikipedia since version 2.6.30 the ...
1
vote
2answers
8k views

OpenWRT: TL-MR3020 Cannot SSH or TELNET into router flashed with custom OpenWRT bin

I have a TL-MR3020 that I flashed with a custom binary built from OpenWRT source. I was trying to enable WiFi and connect to the internet on the router by editing /etc/config/network and /etc/config/...
1
vote
1answer
2k views

How do I automatically mount a plain-encrypted USB flash drive to my OpenWRT router?

I just finished encrypting my external hard drive using a key file, and mounting it onto my router. Problem is, every restart i have to manually recreate the mapping and mount it again. OpenWRT's ...
1
vote
1answer
2k views

How can I run sed to replace lines in a file or do similar things in PHP?

I am writing a web frontend for configuring OpenWRT. I'm using PHP to execute commands and all the uci commands are executing without issues. However, OpenVPN configurations cannot be done via UCI and ...
1
vote
1answer
1k views

OpenWrt bricked router is not connected via USB to serial cable

I have a problem in my OpenWRT router when I try to upgrade my router (TP-Link TL-WDR-3600) to openwrt firmware via web ui. Now my router is bricked and I can't connect the router via WebUI (192....
1
vote
1answer
372 views

Incorrect iperf configuration?

I have a laptop (with Ubuntu) and a router (with OpenWrt). When I check the version for both, the laptop says I have version 2.05 for multithreads and the router says I have 2.05 for pthreads. Both ...
1
vote
1answer
1k views

How to get RX and TX bytes querying iptables?

My intention is to monitor traffic from/to wan. To achieve that, i want to calculate outgoing and ingoing bytes/second, with iptables counters as data source. Unluckily, I'm not able to understand ...
1
vote
1answer
2k 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
1k views

Only allow ssh/vpn on OpenWRT

If I don't want to use wireless encryption, but I still want security and I want to use sshuttle (on the clients, see: https://github.com/apenwarr/sshuttle/) for tunneling everything through an SSH ...
1
vote
1answer
5k views

What firmware works with a D-Link DIR-600?

I'm planning on getting a D-Link DIR-600 to be used as a WLAN access point, and for WEP/WPA certificate management. I know it works with DD-WRT, and OpenWRT, but not Tomato. Now, I've been looking ...
1
vote
0answers
70 views

OpenWRT fails to update opkg

I have recently put OpenWRT on a Netgear rooter, which is connected to the modem. Web access through Linux (traceroute) / Firefox works perfectly, although with a few failed connections here and there ...
1
vote
3answers
57 views

Tcp connection packets ignoring network delays, ping shows delays [closed]

I've introduced a 2000ms latency to all network packets using openwrt netem module. # This is run on the terminal of the OpenWRT router tc qdisc add dev wlan1 root netem delay 2000ms I can clearly ...
1
vote
1answer
825 views

How to get all the configuration options with the uci command in OpenWRT

I am configuring a router running OpenWRT, but I am struggling to understand how to use the uci command (Unified Configuration Interface) to inspect an existing configuration file. I would like to ...
1
vote
1answer
125 views

How to boot OpenWRT FROM PXE?

I have downloaded OpenWRT files for PC from OpenWRT site. I have installed DHCP and TFTP (in my LAN) and can boot (other) kernels from them. Now I want to boot these OpenWRT files. I wrote in PXE ...