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
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, ...
4
votes
2answers
2k views

Second OpenWRT network isn't getting an IP address

Goal I'd like to have two LANs: lan0 and lan1. lan0 is unencrypted traffic; lan1 will be an always-active VPN. I haven't configured the VPN, so it's currently just a second unencrypted network. I'...
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
9 views

BIRD not started at bootup on openwrt

faced the an issue while trying to run bird on openwrt. The init script works perfectly but is not working on reboot (even after adding boot function on the script)..Any ideas ??
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 ...
0
votes
1answer
1k views

i686-cm-linux-gcc: Command not found

While cross compiling OpenWRT, I have I have replaced OpenWRT's toolchain with toolchain i686 architecture. But, I am getting below mentioned error: make[5]: Leaving directory `/home/hclintel/pankaj/...
1
vote
2answers
1k 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) ...
0
votes
0answers
10 views

Create a UCI configuration file with all default options

Many aspects of OpenWRT are controlled by the configuration files in the /etc/config directory. It appears that some options are not well documented. For example, the minidlna service has a ...
0
votes
0answers
22 views

RAID device won't mount in OpenWRT

I'm trying to get my RAID 1 device to work after I upgraded my router's OS (based on OpenWRT). The RAID device is listed as /dev/md0: # lsblk -o NAME,SIZE,MOUNTPOINT,STATE,FSTYPE,MODEL,SERIAL,UUID,...
1
vote
1answer
32 views

/usr/local/bin for OpenWrt

I’m attempting to add support for using Sublime Text and TextMate with files on the router: https://packagecontrol.io/packages/RemoteSubl. Essentially, the script needs to be added to the /usr/local/...
0
votes
1answer
1k views

Can't find OpenWRT driver for Insignia NS-PU98635 USB-Ethernet Adapter on RPi 1B

I have a Raspberry Pi (1B). It's running OpenWRT (Barrier Breaker - 14.07, r42625). There's an Insignia USB3.0-Gigabit Ethernet adapter (NS-PU98635) plugged in. I can't find the driver for that NS-...
4
votes
1answer
3k views

udevadm rule works using “udevadm test” but not with “udevadm trigger”

I have created a simple rule called "99-usb.rules" that simply names a tty port of a specific device KERNEL=="ttyACM*", ATTRS{idVendor}=="2341", NAME="mydevice" This rule works fine when I run a ...
1
vote
1answer
966 views

Mount read-write HFS+ drive in OpenWRT

I attached an 'old' SSD drive that I removed from my Mac, to my Turris Omnia via one of its two USB 3 ports. While I've been able to mount the device, it's in read-only mode. I can't seem to mount ...
0
votes
1answer
2k views

HPLIP -> HPAIO Error during device I/O

I'm running Chaos Calmer 15.05 (openwrt firmware) in a TPLINK WDR3600 and I'm trying to install SANE + HPLIP in order to get scanner over lan network. I installed sane-libs and sane-daemon + ...
1
vote
3answers
36 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 ...
2
votes
1answer
1k views

Configuring and Mounting Micro SD Card in OpenWRT

The Vocore is a single board computer running OpenWRT. It has very limited internal storage capacity with only ~1MB for storing packages and files. I need additional space for installing Python and ...
0
votes
1answer
2k 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
2answers
2k views

Slow wireless speed between Ubuntu and OpenWRT

I have TpLink WA901 ND access point with OpenWRT installed, which supports up to 450 Mbps. Unfortunately, from my Ubuntu notebook I see only Bit Rate=52 Mb/s according to iwconfig even within few ...
0
votes
1answer
2k views

Install brctl for OpenWrt - which package?

I'm getting an error in OpenWRT Attitude Adjustment that says: -ash: brctl: not found when I run brctl addif br-lan mesh0 I tried: opkg update opkg install brctl But I got this error: Unknown ...
0
votes
0answers
5 views

Uhttpd requests stucks my device

I have a Web Server running on a devices under uhttpd. I have N devices ( N could be 25 ) that send request to the main devices. Everything works correctly when the main devices is running, but during ...
5
votes
1answer
2k 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 role ...
0
votes
1answer
87 views

No Link on WAN Port for TP-Link Archer C7 AC1750 v4 Running OpenWRT 18.06.4

Looking to upgrade from a working Linksys router running OpenWRT Kamikaze, I selected the TP-Link Archer C7 based on happy Reddit reviews of OpenWRT running smoothly on it. It seemed lucky to get the ...
1
vote
1answer
135 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
48 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 ...
1
vote
0answers
83 views

OpenWRT BusyBox init does not create /etc/init.d/rcS

I'm building an OpenWRT image (Chaos Calmer) that needs BusyBox to be configured to use init. So, in the busybox configuration, I enter the Init Utilities menu, then enable init, as well as support ...
1
vote
3answers
4k 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 ...
0
votes
1answer
2k views

Segmentation Fault when trying to mount ext(2,3,4) fs, from usb (openwrt)

So I have a TL-MR3220v2 router, which has Openwrt installed, this device only has a 4mb flash so I'm trying to get extroot setup on a USB, to increase disk space. My first attempt I tried using a ...
0
votes
0answers
20 views

ipv6 in qmi cellular proto openwrt

i want get ipv6 in qmi cellular protocol in openwrt my gsm modem is EC-25 and i check this that gsm modem show my isp ipv6 but qmi proto not set this ip for wwan0 how i can config this proto for ...
1
vote
1answer
4k 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 ...
1
vote
2answers
1k views

Pinging between Mesh Network Nodes OpenWrt

I have two mesh nodes that I have configured to be on a mesh created using OpenWrt. I used the tutorial here to set that up. When I ran iw dev $MESH_IFACE station dump, I got the output that I ...
0
votes
1answer
58 views

How to share an IPv6 connection to the whole LAN?

My ISP still doesn't support IPv6, and I currently use OpenVpn or OpenConnect VPN to get IPv6 connection. Now that there are a Ubuntu server running VPN client, and a OpenWRT router. Is it possible ...
4
votes
1answer
523 views

change ls color on OpenWrt

I am not able to change the color of dir entries for ls command (dark blu is a very annoying color to read) on my OpenWrt device. I've added the line LS_COLORS=$LS_COLORS:'di=0;37:' ; export ...
4
votes
4answers
9k views

bash / sh script to replace text between some tags/strings in a text file

I am creating executable which will be executed with /bin/sh or /bin/bash script, I have a file which contains a structure like, there will be only one #start and #end tag in the config file, and I ...
5
votes
4answers
10k views

dropbear ssh server won't let me connect

I'm trying to gain ssh access to my router. Currently I only have telnet access and I installed dropbear and is running (using opkg on a usb drive connected to the router). From the beginning, what I ...
26
votes
2answers
49k views

How do I upgrade all of my installed packages in LEDE?

I'm just wondering what is the equivalent of apt-get upgrade apt upgrade yum update with OpenWRT or LEDE?
1
vote
0answers
60 views

Load rootfs from fit image and signature verification

I am new to fit image and secure boot. I created fit image using mkimage command and added kernel dtb and rootfs into it. Goals: Need to boot up from fit image kernel rootfs and dtb. I am able ...
0
votes
0answers
28 views

Issue to see quick testing web server online, how to fix?

1-sudo apt install nginx 2-sudo chown user /var/www/html 3-sudo geany /var/www/html/index.html (put hello world!) 4-/etc/nginx/sites-enabled/default change : server { listen 81 default_server; ...
1
vote
1answer
81 views

Custom Firmware Boot Issue For Linksys EA6350

I am trying to connect a custom device to this Linksys router. This device has a firmware file which I copy and paste into the /lib/firmware folder. The issue I am facing is, on bootup if the device ...
1
vote
1answer
58 views

Truncated Syslog on OpenWrt

I configured OpenWrt to send syslog to a remote system. This has been working nicely for a long time, however I was missing logs from nginx. nginx on OpenWrt does not support logging to syslog, so ...
0
votes
0answers
30 views

aa command in openwrt

I used to send AT command at openwrt in the old version, for example, using the command aa / dev / ttyusb3 at+csq with aa command But I do not know the name of the package Is this package ...
4
votes
6answers
6k 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 ...
2
votes
1answer
3k views

openwrt no ssh from wan

I would like to have access from wan through ssh to my openwrt router. I did the following: Go to the Network / Firewall / Traffic Rules. Scroll down to the “Open ports on router” section. Enter a ...
2
votes
0answers
67 views

OpenWRT hairpin L2 traffic

I have an OpenWRT Router with embedded switch. I have a KVM machine with macvtap network access. I need guest to host communication. By connecting the host to my Cisco switch hairpin traffic is ...
0
votes
1answer
135 views

OpenWrt UEFI boot extremely slow?

I tried to install a thrid-party OpenWrt image to a computer. After writing the image file to SSD and start booting, the kernel message prints at a really slow pace, although some of the timestamp ...
0
votes
1answer
166 views

Automatically reconnect OpenWRT to wifi

I have a wifi router set as repeater (GL-AR300M-Lite) for my smartphone hotspot. The hotspot settings (SSID + WPA password) are saved in by the router, however it does not connect automatically to it. ...
1
vote
2answers
161 views

Set the password for the first build of openwrt

I want to build an openwrt source and set everything up through the menuconfig section But there are no settings to set the password Which part should I change or which section should I add? I am ...
0
votes
0answers
22 views

How to access the list of saved networks in OpenWRT

I have a portable router (made by GL.iNet) with OpenWrt 18.06.1 which comes with a custom web GUI, but also makes the default OpenWrt Web GUI = LuCI accessible. I can switch networks in the custom Web ...
0
votes
0answers
31 views

multicast configuration

I have a multicast application running on the router with openwrt. The application is sending data to 224.0.0.7. How should the network be configured so that multiple clients connected to this router ...
0
votes
0answers
50 views

TCP performance for OpenVPN vs delay

I have got some issue in TCP performance depended on delay. My lab schema: CPE --- (p1) Router (p2) --- Server The CPE connects to the Server by OpenVPN using TCP. I know about TCP-over-TCP but ...
0
votes
0answers
18 views

Redirect packets destined for certain IP to a different IP on Openwrt router

I am sending http packets from a computer (running Alpine Linux) to the internet via an Openwrt router. I want to setup a rule on the Openwrt router such that all packets destined for say, 159.65.253....