https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
Friday, February 6, 2015
Wednesday, November 26, 2014
Thursday, November 6, 2014
Saturday, March 1, 2014
Run DOS Programs in Windows XP
DOSBox:
http://www.dosbox.com/
DOSBox Megabuild version supporting printer pass through:
http://home.arcor.de/h-a-l-9000/
Enable lpt1 on Megabuild:
- Start => All Programs => DOSBox-MB6 => Configuration => Edit Configuration
- In [parallel] section:
parallel1=file dev:lpt1
- In [autoexec] section:
mount v v:\
Tuesday, May 21, 2013
Use Knoppix to Wipe a Hard Drive
Wiping the hard drive is a necessity to avoid any chance of having personal data retrieved after you sell or dispose of your hard drive. The following procedures use the Live Linux CD Knoppix to wipe a hard drive.
- Boot into Knoppix.
- Start the "Terminal" window.
- Display a list of hard drivers currently on your system. It should be sdX or hdX where X is a letter.
# sudo sfdisk -l -x - Start the wiping process.
# sudo shred -vfz -n 100 /dev/sdX - Let the program run to completion (can be several hours).
- Knoppix is a Live Linux CD based on Linux GNU/Linux
http://knoppix.net/ - How to Use Knoppix to Wipe a Hard Drive
http://www.ehow.com/how_6246449_use-knoppix-wipe-hard-drive.html - shred - overwrite a file to hide its contents, and optionally delete it
http://linux.die.net/man/1/shred
Tuesday, September 11, 2012
Wake-on-LAN
Wake-on-LAN (WOL) is an Ethernet networking standard that allows a server to be turned on by a network message. You need to send 'magic packets' to wake-on-lan enabled ethernet adapters and motherboards, in order to switch on the called systems. Make sure you connect the NIC (eth0 or eth1) with the motherboard, and enable the WOL function in the BIOS [1].
Enable BIOS to support WOL
Power Management Setup => Wake-Up by PCI Card => Enabled
or
Power => Wake on LAN from S5 => Power on
Enable LAN card to support WOL
Install tool ethtool:
# apt-get install ethtool
Add the following to /etc/network/interfaces:
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.55
netmask 255.255.255.0
gateway 192.168.0.1
post-up /sbin/ethtool -s eth0 wol g
post-down /sbin/ethtool -s eth0 wol g
Send 'magic packet'
Install tool wakonlan:
Wake up PC on the same LAN
# wakeonlan aa:bb:cc:dd:ee:ff
where aa:bb:cc:dd:ee:ff is the MAC of the PC being wake up
Wake up PC over internet
# wakeonlan -i 123.1.2.456 -p 6 aa:bb:cc:dd:ee:ff
Send 'magic packet' using UDP to IP address 123.1.2.456 with port number 6. Make sure the destination router forward the magic packet to PC being wake up.
References:
- HowTo: Wake Up Computers Using Linux Command [ Wake-on-LAN ( WOL ) ]
http://www.cyberciti.biz/tips/linux-send-wake-on-lan-wol-magic-packets.html
Monday, December 19, 2011
Linux Mint 12 - connect to Samba share
Gigolo is a simple frontend to easily connect to remote filesystems. Gigolo can use the following protocols provided by GVfs:
Unix Device (file)
Photos (gphoto2)
Obex (obex)
HTTP (http)
Archive (archive)
Network (network)
WebDAV (secure) (davs)
WebDAV (dav)
Windows Share (smb)
FTP (ftp)
SSH (sftp)

