hardware

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

LSI / Broadcom MegaRAID Storcli

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

apt install unzip
wget http://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.21.16_StorCLI.zip -qO /tmp/StorCLI.zip
unzip /tmp/StorCLI.zip -d /tmp/
unzip /tmp/versionChangeSet/univ_viva_cli_rel/storcli_All_OS.zip -d /tmp/versionChangeSet/univ_viva_cli_rel/
dpkg -i /tmp/versionChangeSet/univ_viva_cli_rel/storcli_All_OS/Ubuntu/storcli_1.21.06_all.deb
ln -s /opt/MegaRAID/storcli/storcli64 /usr/local/sbin/

or

Build smartmontools

# install software to compile
apt-get update
apt-get install -y subversion build-essential automake

# get smartmontools from repository
svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools smartmontools

# compile
cd smartmontools
./autogen.sh
./configure
make
make install

Links
http://sourceforge.net/apps/trac/smartmontools/wiki/Download

Install Brother MFC-7320 on Ubuntu

Printer
wget https://raw.githubusercontent.com/panticz/installit/master/hardware/install.brother-mfc-7320.printer.sh -O - | sudo bash -

#!/bin/bash

# enable multiverse repository
cat < /etc/apt/sources.list.d/extra-repository.list
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) multiverse
EOF
apt-get update -qq

# install printer driver
apt-get install -y brother-cups-wrapper-laser

# remove multiverse repository
rm /etc/apt/sources.list.d/extra-repository.list
apt-get update -qq

# create printer
lpadmin -p Brother-MFC-7320 -E -v usb://Brother/MFC-7320 -P /usr/share/ppd/Brother/MFC7220.ppd -o PageSize=A4

# FIXME: set resolution to 1200
# -o Resolution=1200x600dp
1

Scanner
!!! First POWER OFF your Brother MFC-7320 !!!
wget http://www.panticz.de/sites/default/files/scripts/install.brother-mfc-7320.scanner.sh -O - | sudo bash -


  

    

    Page not found | panticz.de
    







    









    
          
  
  


  
Page not found
The requested page could not be found.
1

!!! Now you can POWER ON your Brother MFC-7320 again !!!
Go Applications > Graphics > Simple Scan

Fax
not tested yet, see: http://wiki.ubuntuusers.de/Brother/Fax

Links
http://wiki.ubuntuusers.de/Brother/Drucker
http://wiki.ubuntuusers.de/Brother/Scanner
http://wiki.ubuntuusers.de/Brother/Fax
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-7320
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html

IPMI

Install ipmitool (IPMI command line client)
wget https://raw.githubusercontent.com/panticz/installit/master/install.ipmitool.sh -O - | bash -

#!/bin/bash

apt-get install -y ipmitool

cat <<EOF>> /etc/modules
ipmi_devintf
ipmi_msghandler
ipmi_poweroff
ipmi_si
ipmi_watchdog
EOF

Reset IMPI DHCP IP
ipmicfg -dhcp off
ipmicfg -dhcp on
ipmicfg -m

view sensors readings
ipmitool sdr

# howto
ipmitool mc reset cold -I lan -H ${IP} -U ADMIN -P ADMIN
ipmitool power reset -I lan -H ${IP} -U ADMIN -P ADMIN

# power on / off
ipmitool -I lanplus -H SERVER_IP -U ADMIN -P ADMIN power on
ipmitool -I lanplus -H SERVER_IP -U ADMIN -P ADMIN power off
ipmitool -I lanplus -H SERVER_IP -U ADMIN -P ADMIN power reset

# get IPMI IP
IPMI_IP=$(ipmitool lan print | grep "IP Address" | grep -v Source | cut -d":" -f2)

Posts
22 (TCP) SMASH
80 (TCP) HTTP (unsecure Webinterface)
443 (TCP) HTTPS (secure Webinterface)
623 (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

# test
ipmitool -I lanplus -H 192.168.1.100 -U ADMIN -P ADMIN sdr
ipmitool -I lan -H 192.168.1.100 -U ADMIN -P ADMIN sdr

Links
http://www.thomas-krenn.com/de/wiki/Netzwerk_Ports_Supermicro_Remote_Management_%28IPMI,_KVM_over_IP%29_f%C3%BCr_Firewall_Konfiguration - Supermicro IPMI / KVM Ports
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
/etc/init.d/apcupsd start

# get status
apcaccess status

# configure
/etc/init.d/apcupsd stop
apctest

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

# OPTIONAL: configure /etc/apcupsd/apccontrol

# LINKS

Syndicate content