Skip to content

Instantly share code, notes, and snippets.

View cancian's full-sized avatar
🏠
Working from home

André Cancian cancian

🏠
Working from home
View GitHub Profile
@cancian
cancian / gist:6f15784b1c066cade5c5
Created December 23, 2015 08:35 — forked from Ins1ghtLabs/gist:c346f7ed4f257d1b4a2d
OpenWRT RTL8812AU Makefile
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
@cancian
cancian / chromebox.md
Created January 12, 2016 03:47
Hacking an ASUS chromebox

ASUS makes a pretty handy Chromebox, and it's handy not just because it's running ChromeOS, it's handy because of everything you can do to the box itself.

The ASUS Chromebox is easily upgradeable, and capable of running just about any linux distribution.

The model I picked up, the M004U has the following specs:

  • Celeron 2955U (1.4GHz) 64 bit Dual core processor with 2MB L3 Cache
  • 2GB DDR3 1600 RAM with 2 slots
  • 16GB SSD HDD
  • 802.11 b/g/n dual-band wireless, Bluetooth 4.0, and gigabit ethernet
@cancian
cancian / 00-status.md
Created December 16, 2020 09:17 — forked from bantu/00-status.md
Seagate BlackArmor 4XX (e.g. 400, 420, 440) NAS

Device Status

  • A serial cable was soldered onto the board's CN4 connector which can be used for debugging.
  • A USB drive is attached containing a debootstrapped Debian Jessie armel on an ext4 filesystem.
  • The original flash was completely erased.
  • A new version of u-boot provided by Evgeni was installed onto the flash.
  • The new u-boot version is capable of loading files from ext4 filesystems, the old one was not.
  • u-boot loads three files: /boot/uInitrd, /boot/uDtb, /boot/uImage
  • The kernel is provided by the linux-image-kirkwood debian package.