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

Yamaha RX-V3800 / RX-V3900 AV-Receiver

WebGUI for Yamaha RX-V3900
http://dl.panticz.de/wlyc/wlyc3900.html
https://github.com/panticz/wlyc/blob/master/wlyc3900.html

Install and configure DLNA server for Yamaha RX-V3800

# install MiniDLNA
http://www.panticz.de/Install-MiniDLNA

# configure MiniDLNA for Yamaha PC/MCX player
sed -i 's|#notify_interval=895|notify_interval=86400|g' /etc/minidlna.conf

lyc
http://www.panticz.de/lyc

wlyc
http://www.panticz.de/wlyc

RX-D485 / RX-V485
http://www.panticz.de/yamaha/rx-d485

Spotify Connect with Spotify Free Account
https://de.yamaha.com/de/products/contents/audio_visual/musiccast/update_models.html

wlyc - Yamaha Receiver Webcontrol

GitHub repository
https://github.com/panticz/wlyc

Demo
http://dl.panticz.de/wlyc/wlyc3900.html

[embed_url: https://raw.githubusercontent.com/panticz/wlyc/master/wlyc]

Links
http://your.recier.ip/YamahaRemoteControl/UnitDesc.xml

smartmontools (smartctl)

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.smartmontools.sh]

Show health from all SAS devices

for DISK in $(lsblk -S | grep sas | cut -d" " -f1); do
    smartctl -d scsi -H /dev/${DISK}
done

Check all discs

for SERVER in ceph{1..6}-stage.example.com; do
    for DISK in sd{a..z}; do
        echo ${SERVER} ${DISK}
        #ssh ${SERVER} sudo smartctl --smart=on -t short /dev/${DISK}
        ssh ${SERVER} sudo smartctl --smart=on -t offline /dev/${DISK}
        #ssh ${SERVER} sudo smartctl -a /dev/${DISK} | grep -i failure
    done
    echo
done

Enable SMART on device

sudo smartctl -s on /dev/sdb

Show device SMART Health status

sudo smartctl -H /dev/sda

Show device selftest log

smartctl -l selftest /dev/sdb

Get info from usb data

sudo smartctl -d sat -a /dev/sdb

Test

smartctl -t short /dev/sdb
smartctl -t offline /dev/sdb

Calculate total writen GB from a SSD

echo "Total GB written: $(echo "scale=3; $(sudo /usr/sbin/smartctl -A /dev/sda | grep "Total_LBAs_Written" | awk '{print $10}') * 512 / $((1024*1024*1024))" | bc)"

SAT pass-through Linux UAS blacklisting

lsusb  | grep Seagate
echo "0x0bc2:0xab28:u" | sudo  tee > /sys/module/usb_storage/parameters/quirks
smartctl -a /dev/sdd
smartctl -a -d sat  /dev/sdd

Links
https://www.smartmontools.org/wiki/Supported_USB-Devices

Toshiba Tegra AC100

# https://github.com/nthchild/ubuntu-ac100

https://github.com/solarkennedy/ubuntu-ac100-xenial

HowTo
https://wiki.ubuntu.com/ARM/TEGRA/AC100

install nvflash (broken, download and install manually)
http://developer.download.nvidia.com/assets/mobile/files/tegra-linux-12.alpha.1.0.tar.gz
#wget https://phablet-paz00.googlecode.com/files/nvflash_20110628-2_all.deb -O /tmp/nvflash_20110628-2_all.deb
#sudo dpkg -i /tmp/nvflash_20110628-2_all.deb

wget http://developer.download.nvidia.com/assets/mobile/files/tegra-linux-12.alpha.1.0.tar.gz
tar xf tegra-linux-12.alpha.1.0.tar.gz

/tmp/ldk/bootloader/nvflash --bl sos-uboot-r5-2013-11-10.bin --go

get bootrom

# wget http://cdimage.ubuntu.com/lubuntu/releases/quantal/release/lubuntu-12.10-preinstalled-desktop-armhf+ac100.bootimg -O /tmp/ac100.bootimg
# wget http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+ac100.bootimg -O /tmp/ac100.bootimg
wget http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/pending/trusty-preinstalled-desktop-armhf+ac100.bootimg -O /tmp/ac100.bootimg

flash bootrom

# Connect the USB cable between your AC100 and the host PC
# Press CTRL and ESC keys and power on your AC100 
sudo nvflash --bl /usr/lib/nvflash/fastboot.bin --download 6 /tmp/ac100.bootimg
# poweroff
# poweron

download image

sudo mount /dev/sdb1 /mnt
# wget http://cdimage.ubuntu.com/lubuntu/releases/quantal/release/lubuntu-12.10-preinstalled-desktop-armhf+ac100.tar.gz -P /mnt/
# wget http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+ac100.tar.gz -P /mnt/
wget http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/pending/trusty-preinstalled-desktop-armhf+ac100.tar.gz -O /tmp/trusty-preinstalled-desktop-armhf+ac100.tar.gz
sudo umount /mnt
# OPTIONAL configuration

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/hardware/ac100.postinstall.sh]

LSI / Broadcom MegaRAID Storcli

Get latest driver
https://www.intel.de/content/www/de/de/download/17809/685225/storcli-standalone-utility.html

# install storcli (MegaCli)
# https://www.broadcom.com/products/storage/raid-controllers/megaraid-sas-9361-4i#downloads

apt install -y unzip
wget https://downloadmirror.intel.com/685225/StorCLI_007.1704.0000.0000.zip
unzip /tmp/StorCLI.zip -d /tmp/
unzip /tmp/MR_SAS_Unified_StorCLI_*.zip -d /tmp
unzip /tmp/versionChangeSet/univ_viva_cli_rel/Unified_storcli_all_os.zip -d /tmp/
dpkg -i /tmp/Unified_storcli_all_os/Ubuntu/storcli_*_all.deb
ln -s /opt/MegaRAID/storcli/storcli64 /usr/local/sbin/storcli

or

dpkg -x /tmp/versionChangeSet/univ_viva_cli_rel/storcli_All_OS/Ubuntu/storcli_*_all.deb /tmp/versionChangeSet/univ_viva_cli_rel/storcli_All_OS/Ubuntu/
/tmp/versionChangeSet/univ_viva_cli_rel/storcli_All_OS/Ubuntu/opt/MegaRAID/storcli/storcli
ln -s /tmp/versionChangeSet/univ_viva_cli_rel/storcli_All_OS/Ubuntu/opt/MegaRAID/storcli/storcli /sbin/MegaCli

cp /scripts/MegaCli/MegaCli64  /usr/sbin/
ln -s /usr/sbin/MegaCli64 /usr/sbin/MegaCli
cp /scripts/MegaCli/lib/$(uname -m)/libsysfs.so.2.0.2  /usr/lib64/

Commands
https://downloadmirror.intel.com/27433/eng/storcli_mr7.2_rel-notes.txt

IPMI

ipmitool
www.panticz.de/ipmitool

apt-add-repository universe
ipmi-sensors

# dep: supermicro tool
ipmicfg -dhcp off
ipmicfg -dhcp on
ipmicfg  -m

UID identificator

BMC_IP=10.0.1.123
BMC_USER=ADMIN
BMC_PASS=ADMIN

Posts
http://www.thomas-krenn.com/de/wiki/Netzwerk_Ports_Supermicro_Remote_Management_%28IPMI,_KVM_over_IP%29_f%C3%BCr_Firewall_Konfiguration

22 (TCP) SMASH
80 (TCP) HTTP (unsecure Webinterface)
443 (TCP) HTTPS (secure Webinterface)
623 (TCP/UDP) IPMI
2937 (TCP) KVM console
5900 (TCP) remote console (KVM over IP, on webinterface)
5901 (TCP) Video (remote console)
5120 (TCP) CD (remote console)
5123 (TCP) Floppy (remote console)
8889 (TCP) WS-MAN

Power consumption

sudo apt install -y freeipmi-tools
ipmi-dcmi --get-system-power-statistics

Get seriale console over SSH

ssh ADMIN@192.168.1.2
cd /system1/sol1
start

IPMIView
https://www.supermicro.com/wftp/utility/IPMIView/Linux/

Links
http://buttersideup.com/docs/howto/IPMI_on_Debian.html
https://www.thomas-krenn.com/de/wiki/IPMI_Sensor_Monitoring_Plugin
http://www.thomas-krenn.com/de/wiki/IPMI_Passwort_zur%C3%BCcksetzen
ftp://ftp.supermicro.com/utility/IPMICFG/Linux/

Logitech QuckCam Webcam on OpenWrt

install

opkg install kmod-usb-core kmod-usb2 kmod-video-core kmod-video-gspca-core kmod-video-gspca-zc3xx motion

configure

sed -i 's|output_normal on|output_normal off|g' /etc/motion.conf 
sed -i 's|webcam_localhost on|webcam_localhost off|g' /etc/motion.conf

start

motion

view

http://YOUR_OPENWRT_IP:8081

OPTINAL: anable acces from outside

iptables -A input_wan -p tcp --dport 8081 -j ACCEPT

links
http://eko.one.pl/index.php?p=openwrt-webcam

APC Back-UPS ES 700G under Ubuntu

# install
apt-get install -y apcupsd

# configure
sed -i 's|UPSCABLE smart|UPSCABLE usb|g' /etc/apcupsd/apcupsd.conf
sed -i 's|UPSTYPE apcsmart|UPSTYPE usb|g' /etc/apcupsd/apcupsd.conf
sed -i 's|DEVICE /dev/ttyS0|DEVICE|g' /etc/apcupsd/apcupsd.conf
sed -i 's|ISCONFIGURED=no|ISCONFIGURED=yes|g' /etc/default/apcupsd

# start apcupsd demon
service apcupsd start

# get status
apcaccess

# get run test
apctest

# monitor
tail -f /var/log/apcupsd.events

# OPTIONAL: configure /etc/apcupsd/apccontrol

Links
http://www.apcupsd.com/manual/manual.html
http://www.linuxcertif.com/man/8/apcaccess/

Brother

Webserver admin account

user: admin
pass: access

Brother MFC-7460DN
https://support.brother.com/g/b/producttop.aspx?c=de&lang=de&prod=mfc7460dn_all

Brother MFC-8380DN
http://welcome.solutions.brother.com/BSC/public/eu/de/de/model_top/monolasermfc/mfc8380dn_eu_as.html?reg=eu&c=de&lang=de&prod=mfc8380dn_eu_as

HP (Hewlett Packard)

Printer
https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

# HP LaserJet 1005
sudo apt-get install hplip
sudo hp-setup -i
sudo hp-setup -i --auto ${PRINTER_SERIAL}

Identify device by serial number
http://h20564.www2.hpe.com/hpsc/wc/public/viewDetails?index=0

Update firmware to the printer

# set printer as default printer

lpr –l 3390-92fw_all_20120925.rfu

Downgrade firmware on HP printer
https://kevin.deldycke.com/2020/revert-hp-printer-ban-on-third-party-ink-cartridges

sudo lpr -P HP-ColorLaserJet-MFP-M282-M285 HP_Color_LaserJet_Pro_M282_M285_Multifunction_Printer_series_20200603.rfu

Pagination

  • Previous page
  • 6
  • 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