| 5 Jun 2021 |
Zhaofeng Li | In reply to @elvishjerricco:matrix.org It'd be nice if there was a wireless card intended for DIY'ers who just want to build an access point :P Give me two radios and no bluetooth on one pcie card... I'm actually looking for something more: Give me something that looks like an AP with a nice-looking shell + good antenna, but with aarch64 running a hackable platform like openwrt | 00:50:08 |
hexa | In reply to @elvishjerricco:matrix.org It'd be nice if there was a wireless card intended for DIY'ers who just want to build an access point :P Give me two radios and no bluetooth on one pcie card... There's lots of dualband radios on one card, also without bluetooth (QCA95xx, QCA61xx), but only one band at a time, so you ultimately need two. | 00:50:24 |
hexa | Zhaofeng Li: Unifi 6 LR is armv8 | 00:50:48 |
ElvishJerricco | hexa: Right, I meant one card that could do both at the same time. That'd be neat | 00:50:50 |
Zhaofeng Li | In reply to @hexa:lossy.network Zhaofeng Li: Unifi 6 LR is armv8 Yeah, but too bad the firmware isn't that hackable (I mean you can get root and so stuff, but it's pretty limiting) | 00:51:49 |
Zhaofeng Li | I have two unifi aps at home which work just fine, but I wished I had more control | 00:52:22 |
Zhaofeng Li | In reply to @hexa:lossy.network Zhaofeng Li: Unifi 6 LR is armv8 * Yeah, but too bad the firmware isn't that hackable (I mean you can get root and do stuff, but it's pretty limiting) | 00:52:31 |
hexa | I don't understand the limitations you describe though? | 00:52:39 |
hexa | MediaTek MT7622
512MB DDR3 RAM
64M SPI-NOR Flash (Winbond W25Q512JV)
MediaTek MT7622 802.11bgn 4T4R WMAC
MediaTek MT7915 802.11ax 4T4R
Marvell AQR1112 100/1000/2500 NBase-T PHY
Holtek HT32F52241 LED controller
| 00:53:06 |
Church | hexa I probably need to forward 25 from wg0 to eth0 on my remote as well right? | 00:53:09 |
Zhaofeng Li | Can you install custom firmware on those things? I thought the updates are all signed | 00:53:22 |
hexa | 1. Connect to the booted device at 192.168.1.20 using username/password
"ubnt".
2. Transfer the OpenWrt sysupgrade image to the device using SCP.
3. Check the mtd partition number for bs / kernel0 / kernel1
$ cat /proc/mtd
4. Set the bootselect flag to boot from kernel0
$ dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock6
5. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1
$ dd if=openwrt.bin of=/dev/mtdblock8
$ dd if=openwrt.bin of=/dev/mtdblock9
6. Reboot the device. It should boot into OpenWrt.
| 00:53:47 |
hexa | https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=634c13c186646aff2badb51a43b248825d0fe5a0 | 00:54:28 |
hexa | In reply to @noah:matrix.chatsubo.cafe hexa I probably need to forward 25 from wg0 to eth0 on my remote as well right? No, iptables just needs to mark that traffic, the rest happens with routing based on that fwmark | 00:55:02 |
Zhaofeng Li | In reply to @hexa:lossy.network https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=634c13c186646aff2badb51a43b248825d0fe5a0 Wow nice, I might actually consider it | 00:55:26 |
hexa | Dual A53 (1,36 GHz) | 00:55:50 |
hexa | https://www.mediatek.com/products/homenetworking/mt7622 | 00:56:12 |
Zhaofeng Li | Well, it's an AP so it doesn't matter that much | 00:56:15 |
hexa | yup | 00:56:18 |
Church | Hmm what would be the easiest way for me to see how a packet flows? | 01:00:58 |
hexa | tcpdump to see the packet | 01:01:15 |
hexa | then use ip route get <dest> from <src> | 01:01:27 |
ElvishJerricco | So on a dual band router, does the OS on the router see two different wireless interfaces, one for each band? | 01:28:48 |
hexa | yes | 01:37:50 |
Church | Hmm, is there not a mangle table on nixOS? | 02:43:04 |
Church | Seems to not be there by default at least when I try to insert a rule | 02:43:18 |
hexa | Redacted or Malformed Event | 03:04:03 |
hexa |  Download image.png | 03:05:02 |
hexa | (https://en.wikipedia.org/wiki/Netfilter#/media/File:Netfilter-packet-flow.svg) | 03:05:20 |
hexa | it's not available in all chains | 03:06:00 |