Places to donate to
May 5, 2018 — 11:40

Author: silver  Category: other  Comments: 0

[Here are some worthy organisations to donate money to:

[ Organization: ] [ Donate link: ] Origin: Currency, Payment method(s)
Debian debian.org/donations US €+$ PayPal
BitsOfFreedom bof.nl/doneren NL € CreditCard iDEAL PayPal
Archive.org archive.org/donate US $ CreditCard PayPal
LetsEncrypt letsencrypt.org/donate US $ PayPal
OSTIF ostif.org/donate-to-ostif US $ Patreon PayPal
LinuxMint linuxmint.com/donors.php FR €+$ PayPal
Pi-hole pi-hole.net/donate US $, CreditCard PayPal
Veracrypt veracrypt.fr/en/Donation.html FR €+$ PayPal
Mozilla donate.mozilla.org US €+$ CreditCard PayPal
VideoLAN videolan.org/contribute.html FR €+$ PayPal
SLPro slproweb.com/products US $ PayPal
Wikipedia wikimediafoundation.org US €+$ CreditCard iDEAL PayPal
HP ProLiant
December 9, 2016 — 21:54

Author: silver  Category: linux other  Comments: 0

Boot:

  • BIOS: F10
  • HP SSA Smart Storage Administrator / ACU Array Configuration Utility: F5
  • ORCA / Options ROM for Configuring Arrays: Press any key…, F8
  • HP IP: F10
  • Boot Menu: F11

Install HP software:

Repository:

wget http://downloads.linux.hp.com/add_repo.sh
sh add_repo.sh spp -d redhat -r 6.7 -n
sh add_repo.sh spp -d redhat -r 6.7
sh add_repo.sh spp -d redhat -r 5.10 -n
sh add_repo.sh spp -d redhat -r 5.10
sed -i 's/gpgcheck=0/gpgcheck=1/' /etc/yum.repos.d/HP-spp.repo
rpm --import http://downloads.linux.hp.com/SDR/hpPublicKey1024.pub
rpm --import http://downloads.linux.hp.com/SDR/hpPublicKey2048.pub
rpm --import http://downloads.linux.hp.com/SDR/hpPublicKey2048_key1.pub
for i in $( rpm -qa gpg-pubkey* ); do rpm -qi $i |grep -B 8 Hewlett; done
yum install hpacucli
yum install hponcfg

HP Server Management Application and Agents Command Line Interface

# hpasmcli -s "clear iml"

HP Lights-Out Online Configuration Utility for Linux

hponcfg -f Clear_EventLog.xml -i

Clear_EventLog.xml:

<RIBCL VERSION="2.0">
 <LOGIN USER_LOGIN="Administrator" PASSWORD="xxx">
 <RIB_INFO MODE="write">
 <CLEAR_EVENTLOG/>
 </RIB_INFO>
 </LOGIN>
</RIBCL>

Clear_IML.xml:

<RIBCL VERSION="2.0">
  <LOGIN USER_LOGIN="Administrator" PASSWORD="xxx">
  <SERVER_INFO MODE="write">
    <CLEAR_IML/>
  </SERVER_INFO>
  </LOGIN>
</RIBCL>

Administrator_reset_pw.xml:

<ribcl VERSION="2.0">
 <login USER_LOGIN="Administrator" PASSWORD="boguspassword">
  <user_INFO MODE="write">
   <mod_USER USER_LOGIN="Administrator">
    <password value="NewPass123"/>
   </mod_USER>
  </user_INFO>
 </login>
</ribcl>
SPF, DKIM and DMARC
November 26, 2016 — 23:39

Author: silver  Category: other  Comments: 0

Prevent email-spoofing, phishing and spam by setting these DNS TXT Records.

Send Policy Framework (SPF):

domain.com. IN TXT "v=spf1 a mx include:domain.com ~all"

DomainKeys Identified Mail (DKIM):

Generate public/private key with opendkim-tools.

$ opendkim-genkey --bits=2048 --domain=domain.com --verbose

Use the private key for your mailserver, eg postfix.
Use public key for the TXT record (“1234+ABc/dEF"):

_domainkey.domain.com. IN TXT "o=-"
default._domainkey.domain.com. IN TXT "v=DKIM1; g=*; k=rsa; p=1234+ABc/dEF;"

Domain-based Message Authentication, Reporting and Conformance (DMARC):

_dmarc.domain.com IN TXT "v=DMARC1; p=reject; rua=mailto:[email protected]; ruf=mailto:[email protected]"

Testing:

Wipe SSD/HDD
March 19, 2012 — 12:27

Author: silver  Category: linux other windows  Comments: 0

Linux:

First check the drive (see if erase operations are supported):

# hdparm -I /dev/X 
# hdparm --user-master u --security-set-pass Password /dev/X
# time hdparm --user-master u --security-erase Password /dev/X

or (if supported):

# time hdparm --user-master u --security-erase-enhanched Passwrd /dev/X

Works also for HDD’s.

More info:
https://ata.wiki.kernel.org/articles/a/t/a/ATA_Secure_Erase_936d.html
https://www.thomas-krenn.com/en/wiki/SSD_Secure_Erase

Alternatively boot into Parted Magic and use GUI.

Windows/DOS:

http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml

Enable AHCI on ASUS P5 EPU/SE
March 13, 2012 — 21:27

Author: silver  Category: other windows  Comments: 0

Enable AHCI on a ASUS P5 EPU/SE motherboard

Modified BIOS ROM: http://www.bios-mods.com/forum/Thread-AHCI-enable-on-ASUS-P5K-SE-EPU-and-option-ROM-update

(or crossflash never P5K ROM instead)

Windows XP: http://forums.pcper.com/showthread.php?t=444831

Windows 7: http://www.windows7news.com/2010/05/25/how-to-enable-ahci-in-windows-7/