+1-323-999-6135 blog@hegars.com

FiberChannel Rescan

#!/bin/bash SLEEP_INTERVAL=300 echo "Scanning all fibre channel host adapters" for i in `ls /sys/class/fc_host` do echo "Rescanning /sys/class/fc_host/${i}:" echo " Issuing a loop initialization on ${i}:" echo "1" >...

DVB Broadcast script

#!/bin/bash #dvblast -a 2 -f 177500000 -c ch7.cfg -m QAM_64 -b 7 -e #$1 is the adaptor #$2 is the channel case $2 in ch2) freq=226500000 modu=QAM_64 ;; ch7) freq=177500000 modu=QAM_64 ;; ch9) freq=191625000 modu=QAM_64 ;; ch10) freq=219500000 modu=QAM_64 ;; ch28)...

CentOS basic setup

CentOS Install and basic setup   Install from CD   Install Xentools # mkdir /media/cdrom # mount /dev/xvdd /media/cdrom # /media/cdrom/Linux/install.sh # reboot   Set Hostname # vim /etc/sysconfig/network Edit HOSTNAME= to hostname.domain   Enable Network at boot # vi...