Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Mellanox: automatic firmware update

Auto / Online firmware update
# Search latest mlxup version
http://www.mellanox.com/page/mlxup_firmware_tool

URL=https://www.mellanox.com/downloads/firmware/mlxup/4.26.0/SFX/linux_x64/mlxup

# Download mlxup
wget ${URL} -qO /tmp/mlxup
chmod +x /tmp/mlxup

# auto flash all Mellanox network cards
/tmp/mlxup -y

Manual firware update

Download firmware
http://www.mellanox.com/supportdownloader/

mst start

# get card description
flint -d /dev/mst/mt4103_pci_cr0 dc | grep Desc

for MST in $(mst status | grep "mst" | cut -d" " -f1); do
    flint -d ${MST} query #| egrep "FW Version|UEFI|PSID"
    echo
done

wget http://www.mellanox.com/downloads/firmware/fw-ConnectX3-rel-2_34_5000-MCX311A-XCA_Ax-FlexBoot-3.4.521.bin.zip -P /tmp
apt-get install -y unzip
unzip /tmp/fw-ConnectX3-rel-*-MCX312A-XCB_A2-A6-FlexBoot-*.bin.zip -d /tmp/

Update firmware

for MST in $(ls /dev/mst/mt*_pci_cr*); do
    echo ${MST}
    flint -y -d ${MST} -i /tmp/fw-ConnectX3Pro-rel-2_42_5000-MCX312B-XCC_Ax-FlexBoot-3.4.752-UEFI-14.11.46.bin b
done

Hot reload firmware (without reboot)
https://docs.mellanox.com/pages/viewpage.action?pageId=25137354

#mlxfwreset -d /dev/mst/mt4117_pciconf0 query
mlxfwreset -d /dev/mst/mt4117_pciconf0 reset

# show firmware version
for MST in $(mst status | grep "mst" | cut -d" " -f1); do     flint -d ${MST} query | egrep "FW Version"; done

Links
http://www.mellanox.com/supportdownloader/
http://www.mellanox.com/page/firmware_table_ConnectX3EN

iLO recovery broken flash

# Install ftp client
sudo apt install -y ftp

# Connect to iLo IP
ftp ILO_IP
# user: root
# pass: flash

# Transfer iLo image in binary mode
bin
put ilo4_262.bin

Links
https://community.hpe.com/t5/BladeSystem-Management-Software/iLO-network-flash-recovery-state/td-p/2322975#.XLyRCt9fi00

iLO - IPMI on HP servers

Download Latest firmware
http://pingtool.org/latest-hp-ilo-firmwares/
https://support.hpe.com/hpesc/public/home/driverHome?sp4ts.oid=1009143853
# download "RECOMMENDED * Online ROM Flash Component for Linux - HPE Integrated Lights-Out"

Extract firmware

chmod +x /tmp/CP0*.scexe 
/tmp/CP0*.scexe  --unpack=/tmp

# flash iLo firmware (local)
yes | ./CP036949.scexe

# ipmitool -I lanplus -H www1-ipmi -U Administrator -P pass1234 hpm upgrade ilo4_261.bin

Flash iLo with SSH (not tested)

https://voice1.me/upgrading-hp-ilo-firmware-without-a-browser/
ssh ${BMC_USER}@${BMC_HOST}
#cd map1/firmware1
load /map1/firmware1 -source http://www.example.com/ilo4_255.bin

hponcfg
http://jon.netdork.net/2013/01/06/updating-ilo-firmware-using-hponcfg-and-xml/

Restart iLo

cd /map1
reset

Reset iLo to factory defaults
https://support.hpe.com/hpsc/doc/public/display?docId=mmr_kc-0115522

Configure iLo from CLI
https://prasadlinuxblog.wordpress.com/2016/11/08/configuring-hp-ilo-through-linux-automatically/

Fix flash error
# downgrade to 2.54
https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/HPE-DL380p-GEN8-iLO4-Self-Test-Error/td-p/6979847#.XLyXyt9fi00
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_3830eb5b87574d6cb463c44994

Intelligent Provisioning for Gen9 Servers (update)
Register your server first!
Login to iLo > Remote Support > Registration
https://support.hpe.com/hpsc/swd/public/detail?sp4ts.oid=1008862660&swItemId=MTX_77b94511492441a08eb272ed27&swEnvOid=4184

Serial console over SSH

ssh -o KexAlgorithms=diffie-hellman-group14-sha1 -oHostKeyAlgorithms=+ssh-dss Administraotr@10.0.1.2

Hardware: HP Microserver - How to fix ILO4 after adding second graphics card
https://lukas.dzunko.sk/index.php/Hardware:_HP_Microserver_-_How_to_fix_ILO4_after_adding_second_graphics_card

Supermicro

Firmware download
https://www.supermicro.com/support/resources/bios_ipmi.php

IPMI Supermicro management

# install
wget -q https://www.supermicro.com/wdl/utility/IPMICFG/IPMICFG_1.35.1_build.230912.zip -P /tmp/
unzip /tmp/IPMICFG_*.zip -d /tmp/
chmod +x /tmp/IPMICFG_*/Linux/64bit/IPMICFG-Linux.x86_64
/tmp/IPMICFG_*/Linux/64bit/IPMICFG-Linux.x86_64 -m
sudo cp /tmp/IPMICFG_*/Linux/64bit/IPMICFG-Linux.x86_64 /usr/local/sbin/ipmicfg

BIOS & IPMI Downloads
https://www.supermicro.com/support/resources/resource_links.cfm
https://www.supermicro.com/support/resources/bios_ipmi.php

sum (Supermicro Update Manager)
https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=SUM

Enable UEFI / PXE boot on Mellanox ConnectX NIC

Install Mellanox CLI tools (MFT)
http://www.mellanox.com/page/management_tools

#URL=https://www.mellanox.com/downloads/MFT/mft-4.15.0-104-x86_64-deb.tgz
URL=https://www.mellanox.com/downloads/MFT/mft-4.16.3-12-x86_64-deb.tgz

# install requirements
apt update
apt install -y gcc make dkms linux-headers-$(uname -r)

# download mft
wget -qO- ${URL} | tar xvz -C /tmp

# install mft
/tmp/mft-*-deb/install.sh

Enable UEFI and PXE boot

mst start
#for MST in $(ls /dev/mst/* | egrep -v '\.1'); do
for MST in $(ls /dev/mst/*); do
    echo ${MST}
    mlxconfig -d ${MST} -y set EXP_ROM_UEFI_x86_ENABLE=1
    mlxconfig -d ${MST} -y set EXP_ROM_PXE_ENABLE=1
    mlxconfig -d ${MST} q | egrep "EXP_ROM"
done

Debug: Show device state

mst status

for MST in $(ls /dev/mst/*); do
    mlxconfig -d ${MST} q
    echo
done

SNMP: Linux software RAID state

Compile snmp-swraid

HP ProLiant Server

Instlal hponcfg

#curl -s https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | sudo  apt-key add -
wget -q https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub -O-| sudo  apt-key add

#sudo add-apt-repository -y 'deb [arch=amd64,i386] http://downloads.linux.hpe.com/SDR/repo/mcp bionic/current non-free'
echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp bionic/current non-free" | sudo tee /etc/apt/sources.list.d/hp-nonfree.list

sudo apt update

# sudo apt-get install amsd
sudo apt-get install -y hponcfg

Configure IPMI / iLo password

cat < pass.xml









EOF

sudo hponcfg -f pass.xml

Format NAND

cat < ResetNAND.xml 







EOF

hponcfg -f ResetNAND.xml

Flash IPMI

cat < /tmp/update_firmware.xml







EOF

MicroServer Gen8
http://www.hardwareluxx.de/community/f101/hp-proliant-g8-g1610t-g2020t-i3-3240-e3-1220lv2-microserver-963207.html#download

HP Tools repository
https://downloads.linux.hpe.com/SDR/project/mcp/

HP Tools (install with pip)
https://pypi.org/project/proliantutils/

iLO (IPMI)
http://www.panticz.de/ilo

RAID (storage)
https://downloads.linux.hpe.com/SDR/project/mcp/
https://wiki.phoenixlzx.com/page/ssacli/
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03493210

Sonoff Basic / ITEAD ESP8266

Flash ESPEasy with a FTDI adapter

pip3 install tasmotizer
chmod 777  /dev/ttyUSB0 
tasmotizer.py
Release 12.5.0
tasmota.bin
Tasmotizue!

Connect to temporary WiFi access point

SSID: ESP_0
pass: configesp

Configure connect to your WiFi access point

http://192.168.4.1/

Commands
# remove serial connector

# on
http://192.168.178.10/tools?cmd=gpio,12,1

# off
http://192.168.178.10/tools?cmd=gpio,12,0

Fix
Hidden rules page
http://192.168.178.10/rules

Debug

screen /dev/ttyUSB0 115200

Integrate to HomeAssistant
https://automation.baldacchino.net/flashing-tasmota-on-a-sonoff-basic-r4-connecting-to-home-assistant/

# configuration.yaml
switch:                         
  - platform: mqtt            
    unique_id: sonoff_poweroutlet
    name : "SonOff"           
    state_topic: "stat/device_name/POWER"
    command_topic: "cmnd/device_name/POWER"
    value_template: "{{ value_json.STATE }}"
    payload_on: "ON"          
    payload_off: "OFF"        
    state_on: "ON"            
    state_off: "OFF"          
    qos: 2

Links
https://rutg3r.com/sonoff-firmware-tutorial-to-esp-easy/
https://wiki.fhem.de/w/index.php?title=Sonoff
https://wiki.fhem.de/wiki/Sonoff#Produkt.C3.BCbersichtsliste_sonoff
https://github.com/espressif/esptool
https://waschto.eu/easyesp
https://www.letscontrolit.com
https://github.com/arendst/Sonoff-MQTT-OTA
https://forum.fhem.de/index.php/topic,55036.90.html
http://captain-slow.dk/2016/05/22/replacing-the-itead-sonoff-firmware/
https://github.com/tasmota/tasmotizer

Sony BRAVIA KDL-55EX725

https://github.com/chr15m/media-remote/blob/master/SNIFF.md

# get commands
curl -H "X-CERS-DEVICE-ID:MediaRemote:XX-XX-XX-XX-XX-XX" sony.fritz.box/cers/api/getRemoteCommandList

curl -H "X-CERS-DEVICE-ID:MediaRemote:XX-XX-XX-XX-XX-XX" --data '<?xml version="1.0"?>



      AAAAAgAAABoAAAB5Aw==


' sony.fritz.box/IRCC

curl -H "X-CERS-DEVICE-ID:MediaRemote:XX-XX-XX-XX-XX-XX" --data '<?xml version="1.0"?>



      AAAAAgAAAJcAAAAoAw==


' sony.fritz.box/IRCC

Brother MFC-1910W

Install printer
[embed_url: https://raw.githubusercontent.com/panticz/installit/master/hardware/install.brother-mfc-1910w.sh]

Check for newer DEB packages
http://support.brother.com/g/b/downloadlist.aspx?c=as_ot&lang=en&prod=mfc1910w_eu_as&os=128

Pagination

  • Previous page
  • 4
  • Next page
hardware
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung