• ComputerKing HTPC

    ComputerKing HTPC

  • Acer Veriton

    Acer Veriton

  • Solar Systems

    Solar Systems

Author Archives: c0mputerking

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 from Debian 7.0.0

WORK IN PROGRESS Introduction These are my instructions on how to install Proxmox 3.x using the Debian 7.x/Weezy non-free install CD.  I will be covering a software RAID 1 and a software RAID 5 install so may be some optional instructions for each Install Debian Get the non-free firmware version of the Debian Squeeze 7.x…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

Backup Restore or Clone LIVE

Backup/Restore/Clone a partition LIVE using LVM Snapshots and rsync Formulated this hack to fix the disk errors on my /var partition normally you could do this with any partition and could be preformed live too. However considering i have to do fsck on /var the machine must be shutdown -h now first then you have…Continue Reading

replica hublot watches rolex replica watches