profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/robhanlon22/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

dry-rb/dry-schema 282

Coercion and validation for data structures

robhanlon22/etherpad-lite-heroku 2

I no longer maintain this repo. If you would like to take ownership, please contact me. Thanks.

robhanlon22/di-with-us 1

Generates names for DIY venues using Big Huge Thesaurus

robhanlon22/activerecord_composed_of_enum 0

Provides syntax for composing models of enums.

robhanlon22/advent-of-code 0

advent of code solutions in clojure and sometimes haskell

robhanlon22/alttp_vt_randomizer 0

ALttP VT Randomizer and API

push eventrobhanlon22/openwrt

Russell Senior

commit sha 12eb5b2384a63427c0062856331fda60a1ebb309

ath79: add support for Ubiquiti PowerBeam M (XW) This patch adds support for the Ubiquiti PowerBeam M (XW), e.g. PBE-M5-400, a 802.11n wireless with a feed+dish form factor. This device was previously supported by the ar71xx loco-m-xw firmware. Specifications: - Atheros AR9342 SoC - 64 MB RAM - 8 MB SPI flash - 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in - Power and LAN green LEDs - 4x RSSI LEDs (red, orange, green, green) - UART (115200 8N1) Flashing via stock GUI: - Downgrade to AirOS v5.5.x (latest available is 5.5.10-u2) first (see https://openwrt.org/toh/ubiquiti/powerbeam installation instructions) - Upload the factory image via AirOS web GUI. Flashing via TFTP: - Use a pointy tool (e.g., unbent paperclip) to keep the reset button pressed. - Power on the device (keep reset button pressed). - Keep pressing until LEDs flash alternatively LED1+LED3 => LED2+LED4 => LED1+LED3, etc. - Release reset button. - The device starts a TFTP server at 192.168.1.20. - Set a static IP on the computer (e.g., 192.168.1.21/24). - Upload via tftp the factory image: $ tftp 192.168.1.20 tftp> bin tftp> trace tftp> put openwrt-ath79-generic-xxxxx-ubnt_powerbeam-m-xw-squashfs-factory.bin WARNING: so far, no non-destructive method has been discovered for opening the enclosure to reach the serial console. Internal photos are available here: https://fcc.io/SWX-NBM5HP Signed-off-by: Russell Senior <russell@personaltelco.net>

view details

Diogenes Rengo

commit sha cce2e8db564b6e40fb5c1831678d98232f09f305

ath79: add support for TP-Link TL-WR941HP v1 Specifications: SOC: Qualcomm Atheros TP9343 (750 MHz) Flash: 8 Mb (GigaDevice GD25Q64CSIG) RAM: 64 Mb (Zentel A3R12E40DBF-8E) Serial: yes, 4-pin header Wlan: Qualcomm Atheros TP9343, antenna: MIM0 3x3:3 RP-SMA 3 x 2.4GHz power amp module Skyworks (SiGe) SE2576L Ethernet: Qualcomm Atheros TP9343 Lan speed: 100M ports: 4 Lan speed: 100M ports: 1 Other info: same case, ram and flash that TP-Link TL-WR841HP, different SOC https://forum.openwrt.org/t/adding-device-support-tp-link-wr941hp/ Label MAC addresses based on vendor firmware: LAN *:ee label WAN *:ef label +1 WLAN *:ee label The label MAC address found in "config" partition at 0x8 Flash instruction: Upload the generated factory firmware on web interface. Signed-off-by: Diogenes Rengo <rengocbx250@gmail.com> [remove various whitespace issues, squash commits, use short 0x0] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

view details

Evgeniy Isaev

commit sha 6c148116f778bfd2db88476cee4753b32538eafe

ath79: add support for Xiaomi AIoT Router AC2350 Device specifications * SoC: QCA9563 @ 775MHz (MIPS 74Kc) * RAM: 128MiB DDR2 * Flash: 16MiB SPI-NOR (EN25QH128) * Wireless 2.4GHz (SoC): b/g/n, 3x3 * Wireless 5Ghz (QCA9988): a/n/ac, 4x4 MU-MIMO * IoT Wireless 2.4GHz (QCA6006): currently unusable * Ethernet (AR8327): 3 LAN × 1GbE, 1 WAN × 1GbE * LEDs: Internet (blue/orange), System (blue/orange) * Buttons: Reset * UART: through-hole on PCB ([VCC 3.3v](RX)(GND)(TX) 115200, 8n1) * Power: 12VDC, 1,5A MAC addresses map (like in OEM firmware) art@0x0 88:C3:97:*:57 wan/label art@0x1002 88:C3:97:*:2D lan/wlan2g art@0x5006 88:C3:97:*:2C wlan5g Obtain SSH Access 1. Download and flash the firmware version 1.3.8 (China). 2. Login to the router web interface and get the value of `stok=` from the URL 3. Open a new tab and go to the following URL (replace <STOK> with the stok value gained above; line breaks are only for easier handling, please put together all four lines into a single URL without any spaces): http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev ?bssid=any&user_id=any&ssid=-h%0Anvram%20set%20ssh_en%3D1%0Anvram%20commit %0Ased%20-i%20%27s%2Fchannel%3D.%2A%2Fchannel%3D%5C%5C%22debug%5C%5C%22%2F g%27%20%2Fetc%2Finit.d%2Fdropbear%0A%2Fetc%2Finit.d%2Fdropbear%20start%0A 4. Wait 30-60 seconds (this is the time required to generate keys for the SSH server on the router). Create Full Backup 1. Obtain SSH Access. 2. Create backup of all flash (on router): dd if=/dev/mtd0 of=/tmp/ALL.backup 3. Copy backup to PC (on PC): scp root@192.168.31.1:/tmp/ALL.backup ./ Tip: backup of the original firmware, taken three times, increases the chances of recovery :) Calculate The Password * Locally using shell (replace "12345/E0QM98765" with your router's serial number): On Linux printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \ md5sum - | head -c8 && echo On macOS printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \ md5 | head -c8 * Locally using python script (replace "12345/E0QM98765" with your router's serial number): wget https://raw.githubusercontent.com/eisaev/ax3600-files/master/scripts/calc_passwd.py python3.7 -c 'from calc_passwd import calc_passwd; print(calc_passwd("12345/E0QM98765"))' * Online https://www.oxygen7.cn/miwifi/ Debricking (lite) If you have a healthy bootloader, you can use recovery via TFTP using programs like TinyPXE on Windows or dnsmasq on Linux. To switch the router to TFTP recovery mode, hold down the reset button, connect the power supply, and release the button after about 10 seconds. The router must be connected directly to the PC via the LAN port. Debricking You will need a full dump of your flash, a CH341 programmer, and a clip for in-circuit programming. Install OpenWRT 1. Obtain SSH Access. 2. Create script (on router): echo '#!/bin/sh' > /tmp/flash_fw.sh echo >> /tmp/flash_fw.sh echo '. /bin/boardupgrade.sh' >> /tmp/flash_fw.sh echo >> /tmp/flash_fw.sh echo 'board_prepare_upgrade' >> /tmp/flash_fw.sh echo 'mtd erase rootfs_data' >> /tmp/flash_fw.sh echo 'mtd write /tmp/openwrt.bin firmware' >> /tmp/flash_fw.sh echo 'sleep 3' >> /tmp/flash_fw.sh echo 'reboot' >> /tmp/flash_fw.sh echo >> /tmp/flash_fw.sh chmod +x /tmp/flash_fw.sh 3. Copy `openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin` to the router (on PC): scp openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin \ root@192.168.31.1:/tmp/openwrt.bin 4. Flash OpenWRT (on router): /bin/ash /tmp/flash_fw.sh & 5. SSH connection will be interrupted - this is normal. 6. Wait for the indicator to turn blue. Signed-off-by: Evgeniy Isaev <isaev.evgeniy@gmail.com> [improve commit message formatting slightly] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

view details

Petr Å tetiar

commit sha bb2a9af6f1f3a03617002d0b9ba361f97d68dc02

ath79: base-files: fix broken network config Fix bash syntax error introduced in commit cce2e8db564b ("ath79: add support for TP-Link TL-WR941HP v1") which resulted in broken default network configuration. In target/linux/ath79/generic/base-files/etc/board.d/02_network line 402: tplink,tl-wr842n-v2)\ ^-- SC1073: Couldn't parse this case item. Fix to allow more checks. References: https://gitlab.com/ynezz/openwrt-device-runtime-testing/-/jobs/1398837698/artifacts/file/cram-result-archer-c7-v5-initramfs.txt Fixes: cce2e8db564b ("ath79: add support for TP-Link TL-WR941HP v1") Signed-off-by: Petr Å tetiar <ynezz@true.cz>

view details

Alexander Couzens

commit sha 8d497b65704f62294a4bbc0e1f5aa4eb1dbf9e24

ramips: add support for minew g1-c The minew g1-c is a smart home gateway / BLE gateway. A Nordic nRF52832 is available via USB UART (cp210x) to support BLE. The LED ring is a ring of 24x ws2812b connect to a generic GPIO (unsupported). There is a small LED which is only visible when the device is open which will be used as LED until the ws2812b is supported. The board has also a micro sdcard/tfcard slot (untested). The Nordic nRF52832 exposes SWD over a 5pin header (GND, VCC, SWD, SWC, RST). The vendor uses an older OpenWrt version, sysupgrade can be used via serial or ssh. CPU: MT7628AN / 580MHz RAM: DDR2 128 MiB RAM Flash: SPI NOR 16 MiB W25Q128 Ethernet: 1x 100 mbit (Port 0) (PoE in) USB: USB hub, 2x external, 1x internal to USB UART Power: via micro usb or PoE 802.11af UART: 3.3V, 115200 8n1 Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

view details

Kevin Darbyshire-Bryant

commit sha e4cfefa9fc3d22da5705b554785ba9c533c373d0

dnsmasq: use local option for local domain parameter '--local' is a synonym for '--server' so let's use '--local' in the resultant config file for uci's 'local' instead of uci's local parameter being turned into '--server'. Slightly less confusion all round. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

view details

Ansuel Smith

commit sha 64ce35bfafb14a0d0e86990037be5c437babead0

scripts: check if dl directory exist in dl_cleanup script Check if the provided dl directory exist and return on error. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

view details

Martin Weinelt

commit sha 398df6275674b637bc950e4f946f84c2bc5e09ff

hostapd: report bssid, ssid and channel over ubus Imports a function from iw to convert frequencies to channel numbers. Co-authored-by: David Bauer <mail@david-bauer.net> Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de> [fix potential out of bounds read] Signed-off-by: David Bauer <mail@david-bauer.net>

view details

Martin Weinelt

commit sha cde154c8712255d13658317b116d4fc341ed89f2

hostapd: remove unused mac_buff allocation Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>

view details

David Bauer

commit sha b0483b19f981bbe024cd447cfe469765f49cc587

hostapd: add HE flag to get_clients Expose the hostapd HE flag via ubus to indicate HE capable devices. Signed-off-by: David Bauer <mail@david-bauer.net>

view details

David Bauer

commit sha 8a3f19023bc379d1ec1fdb0d768b24589f028e2e

ath79: increase WS-AP3610 SPI frequency The M25P80 used on the Siemens WS-AP3610 supports clock speeds up to 54 MHz. Thus, we can safely increase the maximum SPI frequency the flash chip is controlled at to 50 MHz, increasing transfer speed. Signed-off-by: David Bauer <mail@david-bauer.net>

view details

David Bauer

commit sha 5b58545f4470989b0e2243df5007e5fb29a85d21

ath79: increase SPI frequency for OCEDO boards The MX25L12805D used on all ath79 OCEDO boards supports clock speeds up to 50 MHz. Thus, we can increase the maximum SPI frequency the flash chip is controlled at to 50 MHz, increasing transfer speed. Signed-off-by: David Bauer <mail@david-bauer.net>

view details

Alexander Couzens

commit sha 0fac6f5562acca15f62f6484317ba4aca2de34be

ramips: minew g1-c: add the old device name to the supported devices Allow to use the sysupgrade image as factory image without additional force. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

view details

Felix Fietkau

commit sha 64ed3d80567280e5cccb4c4642464223862dabc6

kernel: backport a few upstream flow offloading fixes Signed-off-by: Felix Fietkau <nbd@nbd.name>

view details

Felix Fietkau

commit sha f4e3ff5b075bbab279bd06a7d3e0d9c950ee098c

mediatek: prevent duplicate hardware flow offload entries Signed-off-by: Felix Fietkau <nbd@nbd.name>

view details

Koen Vandeputte

commit sha 918908fe7639fde76c486b9be559992873978656

ath79: add missing MTD_NAND_RB91X symbol Looks like the symbol was forgotten for 5.4 Fixes: 820e660cd7 ("ath79: add NAND driver for MikroTik RB91xG series") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

view details

Adrian Schmutzler

commit sha cce8d16bf18909e1634c0aeac05e40a7be96a519

treewide: call check-size before append-metadata sysupgrade metadata is not flashed to the device, so check-size should be called _before_ adding metadata to the image. While at it, do some obvious wrapping improvements. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Paul Spooren <mail@aparcar.org>

view details

Stas Fiduchi

commit sha b8168f4716ad64863db8a6a2aba24bbff4664ffe

ramips: add support for D-Link DIR-853-R1 This PR adds support for router D-Link DIR-853-R1 Specifications: SoC: MT7621AT RAM: 128MB Flash: 16MB SPI WiFi: MT7615DN (2.4GHz+5Ghz) with DBDC (This mode allows this single chip act as an 2x2 11n radio and an 2x2 11ac radio at the same time) LAN: 5x1000M LEDs Power Blue+Orange,Wan Blue+Orange,WPS Blue,"2.4G"Blue, "5G" Blue USB Blue Buttons Reset,WPS, Wifi MAC addresses: |Interface | MAC | Factory |Comment |------------|-----------------|-------------|---------------- |WAN sticker |C4:XX:XX:6E:XX:2A| |Sticker |LAN |C4:XX:XX:6E:XX:2B| | |Wifi (5g) |C4:XX:XX:6E:XX:2C|0x4 | |Wifi (2.4g) |C6:XX:XX:7E:XX:2C| | | | | | | |C4:XX:XX:6E:XX:2E|0x8004 0xe000| | |C4:XX:XX:6E:XX:2F|0xe006 | The increment of the 4th byte for the 2.4g address appears to vary. Reported cases: 5g 2.4g increment C4:XX:XX:6E:XX:2C C6:XX:XX:7E:XX:2C 0x10 f4:XX:XX:16:XX:32 f6:XX:XX:36:XX:32 0x20 F4:XX:XX:A6:XX:E3 F6:XX:XX:B6:XX:E3 0x10 Since increment is inconsistent and there is no obvious pattern in swapping bytes, and the 2.4g address has local bit set anyway, it seems safer to use the LAN address with flipped byte here in order to prevent collisions between OpenWrt devices and OEM devices for this interface. This way we at least use an address as base that is definitely owned by the device at hand. Flashing instruction: The Dlink "Emergency Room" Connect your client computer to LAN1 of the device Set your client IP address manually to 192.168.0.101 / 255.255.255.0. Then, power down the router, press and hold the reset button, then re-plug it. Keep the reset button pressed until the internet LED stops flashing Call the recovery page or tftp for the device at http://192.168.0.1 Use the provided emergency web GUI to upload and flash a new firmware to the device. Signed-off-by: Stas Fiduchi <fiduchi@protonmail.com> [commit title/message improvements, use correct label MAC address, calculate MAC addresses based on 0x4, minor DTS style fixes, add uart2 to state_default, remove factory image, add 2.4g MAC address, use partition DTSI, add macaddr comment in DTS] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

view details

Adrian Schmutzler

commit sha 5e8eaac8c3984fa5860e3b5e97504be54c4fea22

ramips: mt7628an: remove redundant console setup for bootargs This is already set in mt7628an.dtsi Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

view details

Daniel Golle

commit sha 315f52e0f3bfa3d65ad14ca21a696c6d31c4edcd

lua: make it easier to detect host-built Lua Install pkg-config file also for host-build, clean up Lua symlinks. Signed-off-by: Daniel Golle <daniel@makrotopia.org>

view details

push time in 9 days

fork robhanlon22/openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins or for reporting issues. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git. All issues should be reported at: https://bugs.openwrt.org

fork in 9 days

issue openedpre-commit/pre-commit

Manually caching a hook repository without a configuration file

Hello! I'm wondering if it's possible to issue a pre-commit command that will clone and cache a particular hook repository and revision. The use case here is that I'm building a generic Docker image to run some tests on CI that doesn't rely on a particular local repository, but will at some point have a repository volume mapped into it to run tests. Thanks.

created time in 10 days

PR opened wfxr/tmux-fzf-url

Note that `bash` >= `4.0` is required in README

macOS ships with bash 3.2 (yikes!) and thus mapfile is not present.

+3 -1

0 comment

1 changed file

pr created time in a month

push eventrobhanlon22/tmux-fzf-url

Rob Hanlon

commit sha b6db3df0fc059353204baaddf5868dc93551d242

Note that `bash` >= `4.0` is required in README macOS ships with `bash` `3.2` (yikes!) and thus `mapfile` is not present.

view details

push time in a month

fork robhanlon22/tmux-fzf-url

🚀 Quickly open urls on your terminal screen!

fork in a month

issue commentHomebrew/brew

`brew bundle` not installing software

Confirming the same behavior on my machine. My coworker @cyndilopez was also able to repro this.

alephao

comment created time in 2 months

issue closedHomebrew/homebrew-bundle

brew bundle not installing dependencies

Hello, running into an issue with brew bundle today that my coworker @cyndilopez was also able to reproduce. Here's a series of steps to reproduce what we're seeing:

   /tmp                                                                                                                                                                                                                                                                                                       14:39:52
❯ brew install pre-commit
==> Downloading https://ghcr.io/v2/homebrew/core/pre-commit/manifests/2.13.0
…
==> Pouring pre-commit--2.13.0.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/pre-commit/2.13.0: 905 files, 16.9MB

   /tmp                                                                                                                                                                                                                                                                                                 8s   14:40:05
❯ which pre-commit
/usr/local/bin/pre-commit

   /tmp                                                                                                                                                                                                                                                                                                       14:40:07
❯ brew uninstall pre-commit
Uninstalling /usr/local/Cellar/pre-commit/2.13.0... (905 files, 16.9MB)

   /tmp                                                                                                                                                                                                                                                                                                       14:40:14
❯ which pre-commit
pre-commit not found

   /tmp                                                                                                                                                                                                                                                                                                       14:40:19
❯ echo "brew 'pre-commit'" > Brewfile

   /tmp                                                                                                                                                                                                                                                                                                       14:41:04
❯ cat Brewfile
brew 'pre-commit'

   /tmp                                                                                                                                                                                                                                                                                                       14:41:08
❯ brew bundle
Installing pre-commit
Homebrew Bundle complete! 1 Brewfile dependency now installed.

   /tmp                                                                                                                                                                                                                                                                                                 4s   14:41:14
❯ which pre-commit
pre-commit not found

Thanks!

closed time in 2 months

robhanlon22

issue commentHomebrew/homebrew-bundle

brew bundle not installing dependencies

Closing as I found a duplicate over on the main Homebrew repo: https://github.com/Homebrew/brew/issues/11817

robhanlon22

comment created time in 2 months

issue openedHomebrew/homebrew-bundle

brew bundle not installing dependencies

Hello, running into an issue with brew bundle today that my coworker @cyndilopez was also able to reproduce. Here's a series of steps to reproduce what we're seeing:

   /tmp                                                                                                                                                                                                                                                                                                       14:39:52
❯ brew install pre-commit
==> Downloading https://ghcr.io/v2/homebrew/core/pre-commit/manifests/2.13.0
…
==> Pouring pre-commit--2.13.0.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/pre-commit/2.13.0: 905 files, 16.9MB

   /tmp                                                                                                                                                                                                                                                                                                 8s   14:40:05
❯ which pre-commit
/usr/local/bin/pre-commit

   /tmp                                                                                                                                                                                                                                                                                                       14:40:07
❯ brew uninstall pre-commit
Uninstalling /usr/local/Cellar/pre-commit/2.13.0... (905 files, 16.9MB)

   /tmp                                                                                                                                                                                                                                                                                                       14:40:14
❯ which pre-commit
pre-commit not found

   /tmp                                                                                                                                                                                                                                                                                                       14:40:19
❯ echo "brew 'pre-commit'" > Brewfile

   /tmp                                                                                                                                                                                                                                                                                                       14:41:04
❯ cat Brewfile
brew 'pre-commit'

   /tmp                                                                                                                                                                                                                                                                                                       14:41:08
❯ brew bundle
Installing pre-commit
Homebrew Bundle complete! 1 Brewfile dependency now installed.

   /tmp                                                                                                                                                                                                                                                                                                 4s   14:41:14
❯ which pre-commit
pre-commit not found

Thanks!

created time in 2 months

pull request commentopenwrt/openwrt

ipq40xx: Add support for TP-Link Deco M5 EU v3.0

@gustavargas did you have to make any modifications to get it working on your US/3.0?

GoliathLabs

comment created time in 2 months

delete branch robhanlon22/snoowrap

delete branch : custom-logger

delete time in 2 months

delete branch robhanlon22/clj-test-containers

delete branch : copy-file

delete time in 2 months