Today i got the openwrt Firmware to run on my new xiaomi ax3200 Router, the Problem is that the Default Firmware open a Upload-Channels to “api.wifimi.com” Many online wiki told that its impossible to flash the BR01 Version after Production Date 09.21 To flash you need a Serial UART to USB Adaptor and 4 Pin-Lab Cables connected to the Mainboard from bottom without open the Case!! Remark: Plug Router-Pin-RX to TX at the UART Adapter and Router TX to RX-UART (Crossover!!!) Voltage + is 3,3 Volts!! not 5Volts!! here some Pictures https://github.com/mikeeq/xiaomi_ax3200_openwrt#uart-flash REMARK the Pins from bottom must be seen MIRRORED!!! […]
Category: openwrt
Major Tools for your IT Systems
A must “USE” in these insecure days: nmap Portscan Tool use nmap -PN IP-Address to check failed Firewall Settings! arp-scan Network Scan to find active devices iftop to detect traffic and used Ports on a physical network Interface! ps aux show active processes on a Linux System htop more human friendly Process Monitor iotop human friendly traffic monitor from CPU/RAM to Drives Daily check Error Logs! Use always Firewalls and Disk/File Encryption! Don’t trust Hardware Protection (TPM) Chips most do communicate by clean signals on copper which can be read out by hardware hacking or magnetic fields! NEVER leave Hardware […]
Script DNS Blocker DNSMASQ
If you tested pihole, you perhaps look for a smaller Command Line version? Install dnsmasq by: sudo apt-get install dnsmasq Here DNS Rule Injector Script (copy & paste): blocker.sh # www.linuxonlinehelp.com 2019 # DNS Blocker for Small Linux with dnsmasq # #!/bin/bash # goto tmp (tmpfs) cd /tmp/ # get URL-Blocklists wget -O blocklist.txt https://v.firebog.net/hosts/Kowabit.txt # get Templates #SET Variables txt='blocklist.txt' IP='0.0.0.0' # set to 0.0.0.0 or to a Webserver with "white Page" showing Text "URL-blocked!! #merge URLs and redirect to wanted IP – Rule creation n=1; while read line; do echo 'address=/'$line'/$IP '>> 02-blocked1.conf ; n=$((n+1)); done < $txt […]
Openwrt LEDE ath9k bugs fixed
If you use a TP Link Router like 3600, 4300 or a other brand with ATH9K Chipset you should upgrade to OPENWRT 18.06 with Kernel 4.9 Tested: OpenWrt 18.06.0 r7188-b0b5c64c22 / LuCI openwrt-18.06 branch (git-18.210.69179-6df9a57) – Atheros AR9344 rev 2 cause: more stable less load no ath9k Wifi Lookup on high transfers Same seen on other TP Link Routers like 841 Series, remark last Version 13 not supported Hope that the Freifunk Software will be updated fast! More Information go: https://openwrt.org/
Openwrt dmesg human timestamp
To viel on busybox dmesg with human readable time for debug do: $vi /root/dmesg.sh insert: base=$(cut -d '.' -f1 /proc/uptime); seconds=$(date +%s); dmesg | sed 's/\]//;s/\[//;s/\([^.]\)\.\([^ ]*\)\(.*\)/\1\n\3/' | while read first; do read second; first=`date +"%d/%m/%Y %H:%M:%S" –date="@$(($seconds – $base + $first))"`; printf "[%s] %s\n" "$first" "$second"; done exit 0 run it sh dmesg.sh.. System Echo: … [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered blocking state [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered disabled state [16/03/2018 14:55:18] device wlan1 entered promiscuous mode [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered blocking state [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered forwarding state [16/03/2018 14:55:19] br-lan: port […]
LEDE OPENWRT WIFI USB SETUP
Test Setup Futro S500 with USB Wifi Dongle Realtek RTL8192CU PCI Riser Card with Realtek Gigabit LEDE 17.XX Trunk Kernel 4.14 Download latest Version from openwrt.org select x86/64 extract the compressed image (*ext4*img.gz) and dump it with “dd” to CF-Card 1GB Sample for Clean Setup like TP-Link Router Firmware: You need to install this packages by “opkg update && opkg install package name && reboot”: base-files – 184-r6198-ba5f700 busybox – 1.27.2-3 dnsmasq – 2.79rc1-1 dropbear – 2017.75-5 e2fsprogs – 1.43.7-1 firewall – 2017-11-07-c4309372-2 fstools – 2018-02-11-3d239815-1 fwtool – 1 hostapd – 2017-08-24-c2d4f2eb-6 hostapd-common – 2017-08-24-c2d4f2eb-6 hostapd-utils – 2017-08-24-c2d4f2eb-6 iftop – […]