• ComputerKing HTPC

    ComputerKing HTPC

  • Acer Veriton

    Acer Veriton

  • Solar Systems

    Solar Systems

Category Archives: Uncategorized

SmartOS global zone firewall

#!/usr/bin/sh ## fix bash this should be somewhere else but later touch /root/.vimrc ## setup accounting acctadm -e extended -f /var/log/netacct.log net ## setup gw0 if [ `dladm show-vnic | grep gw0 | wc -l` -ne 1 ]; then /usr/sbin/dladm create-vnic -m 2:8:20:bc:d5:5f -l switch0 gw0 /usr/sbin/ipadm create-addr -T static -a gw0/v4 fi ##…Continue Reading

SmartOS Firewall

SmartOS Global Zone This is the /usbkey/config file and is the main networking config it is well commented so should not need explanation here # This file was auto-generated then edited by the King and must be source-able ##### SmartOS netorking is this correct logic? will this work ??? ##### # admin_nic internal ip for…Continue Reading


Not sure why this group of programs is so hard to install but it is even had better luck installing from source code than using prebuilt Debian packages.  Yep you read that right installed from source code very old school stuff argh my history only kept the last 33 commands therfore this page will probably…Continue Reading


Introduction Put something smart about SmartOS here probably mention the ephemeral nature of the OS These need to be done every time i reboot until if i figure out smf and/or Chef vim Makes vim behave a bit more sensibly touch ~/ .vimrc emaiL Add a email alias for me@somewhere.net so i can get email from…Continue Reading

Proxmox PCI/PCIe passthrough

This is how i got PCI/PCIe passthough working in the below example i got a server grade PCIe BluecherryDVR capture card going with Proxmox 2.3. Also my original troubleshooting posts regarding this incredibly useful feature of KVM can be found here this details what you must do to find device settings and types. If i…Continue Reading

Migrate raid 1 to 5

Reshape takes forever and unless the drives are full might not be worth your time madadm root# mdadm –stop /dev/md0 mdadm: stopped /dev/md0 root# mdadm –create /dev/md0 –level=5 –raid-devices=2 /dev/sda1 /dev/sdb1 mdadm: /dev/sda1 appears to contain an ext2fs file system size=1048512K mtime=Fri Dec 18 13:23:04 2009 mdadm: /dev/sda1 appears to be part of a raid…Continue Reading

Gmail relay

Using gmail as a relay apt-get install libsasl2-2 ca-certificates libsasl2-modules Add this to /etc/postfix/main.cf # use gmail as a relay relayhost = [smtp.gmail.com]:587 smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/ssl/certs/Equifax_Secure_CA.pem Add something like this to /etc/postfix/sasl_passwd [smtp.gmail.com]:587 user-name@gmail.com:users-password postmap /etc/postfix/sasl_passwd chown 600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db Relay To get…Continue Reading

Copy PVE to a new drive

Introduction This is two methods to move a complete harddrive to a new bigger harddrive live on a running system with no downtime cool eh? This guide could be applied to moving things to a smaller drive, but will require some additonal trickery mostly lvm stuff, i will add it here when i and if…Continue Reading

Proxmox from debian 6.0.6 non-free with software raid

WORK IN PROGRESS Introduction some stuff here Install Debian Get the non-free CD or as i like to do use my usb stick http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/ Do an install using RAID 1 going to try with one drive in degraded mode I think its best to use entire drive with LVM then edit later create raid md0 for…Continue Reading

replica hublot watches rolex replica watches