I’m editing the scantofile for my new Brother DCP Scanner. Hard Work searching the information.———-#! /bin/shset +o noclobber## $1 = scanner device# $2 = friendly name## # 100,200,300,400,600#resolution=200device=$1BASE=$HOME/Documents/BrScanmkdir -p $BASEif [ “`which usleep 2>/dev/null `” != ” ];then usleep 1000000else sleep 0.01fioutput_tmp=$BASE/$(date +”%Y-%m-%d_%Hh%M”)echo “scan from $2($device)”scanimage –de…
Read More Editing Brother scantofileBlog
Failed to load modules during boot
Failed to load modules during boot:https://bugzilla.redhat.com/show_bug.cgi?id=1400041systemctl status systemd-modules-load.serviceResolved with: dracut –regenerate-all –force…
Read More Failed to load modules during bootBooting after updating from RHEL 5.8 to 5.9 on Hyper V guest fails with a kernel panic.
CentOS 5.9 upgrade leaves systems unbootable. Boot with a older kernel i.e. 2.6.18.308 and make a new initrd with the following command: mkinitrd /boot/initrd-2.6.18-348.el5.img 2.6.18-348.el5 –preload hv_storvsc –preload hv_vmbus –preload hv_utils -f Ref. https://www.centos.org/modules/newbb/print.php?form=1&topic_id=41048&forum=37&order=ASC&start=0…
Read More Booting after updating from RHEL 5.8 to 5.9 on Hyper V guest fails with a kernel panic.Enable java plugin on Fedora with icedtea
This is one of those “dead easy so why so hard” issues.I use Fedora on my home desktop.Here’s how to enable the java plugin under Fedora using icedtea (openjdk).sudo yum install icedtea-websudo mkdir -p /usr/lib64/firefox/pluginssudo ln -s /usr/lib64/IcedTeaPlugin.so /usr/lib64/firefox/plugins/libjavaplugin.soNow restart and go here to test the java plugin now works.Ref. http://blog.yo61.com/enable-chrome-java-plugin…
Read More Enable java plugin on Fedora with icedteaCloning Disk with Acronis
After Disk Cloning using Acronis True Image partition the UUID on Grub menu and fstab are different from the original.We need to enter in rescue mode and mount the partitions (/dev/sda5 = / & /dev/sda1 = /boot in my case).# Mount root partition:mount /dev/sda5 /mnt # /dev/sda5 is your root partition, e.g. /dev/sda1# If you have a separate boot partition you’ll need to mount it also:mount /dev/sda1 /mnt/boot# Moun…
Read More Cloning Disk with AcronisUpdating XAMPP for Linux
cd /opt/lampp /opt/lampp/lampp stopmv /opt/lampp /opt/lampp.old ./xampp-linux-5.5.19-0-installer.run –mode text #latest xampp version/opt/lampp/lampp stoprsync -av /opt/lampp.old/cgi-bin /opt/lampp/ –deletersync -av /opt/lampp.old/htdocs /opt/lampp/ –deletersync -av /opt/lampp.old/var/mysql /opt/lampp/var/ –deletersync -av /opt/lampp.old/phpmyadmin/config.inc.php /opt/lampp/phpmyadmin/rsync -av /opt/lampp.old/etc/fre…
Read More Updating XAMPP for LinuxHow to make GRE tunnel iptables port redirect on Linux
Load the ip_nat_pptp and ip_conntrack_pptp kernel modulemodprobe ip_nat_pptpmodprobe ip_conntrack_pptpvi /etc/sysconfig/iptables-configIPTABLES_MODULES=”ip_nat_pptp”Ref. http://www.pc-freak.net/blog/how-to-make-gre-tunnel-iptables-port-redirect-on-linux/http://download.parallels.com/doc/pcs/html/Parallels_Cloud_Server_Users_Guide/30254.htm…
Read More How to make GRE tunnel iptables port redirect on LinuxSamba Migration to a New Server
# OLD SERVER mkdir /root/move# Stop samba services service smb stop service nmb stop ckconfig smb off chkconfig nmb off# RHEL/CentOS/Fedora: Default is 500 and upper limit is 65534 (/etc/libuser.conf).# Debian/Ubuntu: Default is 1000 and upper limit is 29999 (/etc/adduser.conf). export UGIDLIMIT=500 awk -v LIMIT=$UGIDLIMIT -F: ‘($3>=LIMIT) && ($3!=65534)’ /etc/passwd > /root/move/passwd.mig awk -v LIMIT…
Read More Samba Migration to a New ServerEnabling PowerBlock on Batocera 41u: Step-by-Step Guide
The PowerBlock is a popular tool for managing safe power on/off operations for a Raspberry Pi. It adds functionality like a reset button and status signals. In this post, we’ll walk you through the steps to configure and enable PowerBlock on Batocera 41u, one of the most popular platforms for retro gaming. Introduction Integrating PowerBlock with Batocera requires specific configurations since Batocera uses its own s…
Read More Enabling PowerBlock on Batocera 41u: Step-by-Step Guide