Author Archives: amento27

slackware64 14.1 – efi partitioning

cgdisk 8200 linux swap 10gb 8300 linux filesystem ef00 efi system 10gb elilo fsck.vfat /dev/sdc (efi system)

Posted in Uncategorized | Tagged , | Leave a comment

slackware64 14.1 – samsung ml-1675 – cups

– download driver from samsung site , unified linux driver – ./install.sh – cd /usr/lib64/cups/filter/ – ln -s rastertospl rastertosplc – add printer from cups thanks http://askubuntu.com/questions/390803/samsung-printer-ml-2545 and also http://www.linuxquestions.org also check usblp module, uncomment /lib/modprobe.d/cups-blacklist-usblp.conf

Posted in Uncategorized | Leave a comment

m4b to mp3

gist.github.com/2267094 ———- mkdir -p mp3s SAVEIFS=$IFS IFS=$(echo -en “\n\b”) for i in `find . -type f -iname “*.m4[ab]” -print`; do echo $i NAME=`echo $i | sed -e ‘s/\.\///’ -e ‘s/\.m4b//g’ ` echo “doing ‘$NAME’” faad –stdio $i | lame –preset … Continue reading

Posted in Uncategorized | Leave a comment

detach a process

I know two ways to do this (probably there are more): Method 1: – start the process from the konsole – put it the background with Ctrl-Z and ‘bg 1’. – tell the shell to detach the process with the … Continue reading

Posted in Uncategorized | Leave a comment

how to mount lvm2 volumes

lvscan #load device module modprobe dm-mod #change the volumes that exist to active vgchange -ay #mount the logical partition mkdir -p /mnt/VolGroup00/LogVol00 mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 http://www.fedoraforum.org/forum/archive/index.php/t-64964.html

Posted in Uncategorized | Leave a comment

Servo motor test with Raspberry Pi

I have an EMAX ES08A servo motor which I could not make it work under Arduino Uno. ( I will test it again with external power). I tried it with Raspberry Pi using Dr.Monks code and it worked. http://www.doctormonk.com/2012/07/raspberry-pi-gpio-driving-servo.html I … Continue reading

Posted in Uncategorized | Leave a comment

mount-the-tmp-partition-with-noexec-and-nosuid-options

On Linux servers (especially web servers) it is recommended to create /tmp as separate partition and mount it with ‘noexec’ and ‘nosuid’ options. ‘noexec’ disables the executable file attribute within an entire filesystem, effectively preventing any files within that filesystem … Continue reading

Posted in Uncategorized | Leave a comment