Skip to content

Instantly share code, notes, and snippets.

@champtar
champtar / gist:76611d614949ba90a3bf6411d3cb7f75
Created August 2, 2019 23:40
Huawei redfish 412 precondition failed
$ curl -u 'Administrator:<redacted>' -k https://192.168.1.2/redfish/v1/Systems/1/Bios/Settings -vvvs | jq .
* Trying 192.168.1.2...
* TCP_NODELAY set
* Connected to 192.168.1.2 (192.168.1.2) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
} [5 bytes data]
@champtar
champtar / Makefile
Created September 17, 2013 21:30
wifidog openwrt makefile
#
# Copyright (C) 2006,2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=wifidog