How to install Windows 7 in a qemu KVM virtual machine and enjoy a fast Windows desktop in a window.

The qemu KVM hypervisor allows a Linux user to install a virtualized operating system that will run very fast indeed once installed. To install the qemu KVM hypervisor; enter this command. sudo apt-get install qemu-kvm qemu-utilssudo apt-get install qemu-kvm qemu-utils Then create a raw disk image to house your Windows operating system. qemu-img create -f … Read more

Twitter blocked in Turkey, but there are solutions to route around this censorship.

As written in this posting: http://www.abovetopsecret.com/forum/thread1003709/pg1. The Turkish government has just banned Twitter access on their Internet. This is another step towards government censorship and control of the Internet. This is not a good move by the Turkish government. This will lead to users with technical knowledge to use TOR to tunnel through the censorship … Read more

How to get the geographical location of an IP address.

How to get the geographical location of an IP address. This simple command will get this for you. [jason@darknet:~] curl ipinfo.io/203.113.124.148 ; echo "" { "ip": "203.113.124.148", "hostname": "No Hostname", "city": "", "region": "", "country": "TH", "loc": "13.7500,100.4667", "org": "AS9737 TOT Public Company Limited" }[jason@darknet:~] curl ipinfo.io/203.113.124.148 ; echo "" { "ip": "203.113.124.148", "hostname": "No … Read more

My useful system information script for any Linux user who wants quick system information.

This is a system information script I am working on. This shows some useful information about your Linux system. #!/bin/bash   echo " My System information script." echo " " echo " "   echo "The computer has: $(awk < /proc/meminfo ‘{ if ($1 == "MemTotal:") { print $2 }}’) Kilobytes of RAM." echo "The … Read more

Some more good themes for the Linux Mint MATE desktop.

Some awesome themes and wallpapers for the Linux Mint MATE desktop Themes http://gnome-look.org/content/show.php/LiNsta+3+%28Linux+is+Not+Vista%29?content=44570 Linux is not Vista. A Windows Vista styled theme for Gnome and MATE. http://gnome-look.org/content/show.php/MacOS-X+Aqua+Theme?content=13548. Mac OSX Aqua theme for MATE. http://gnome-look.org/content/show.php/Murrine+GTK%2B+Cairo+Engine?content=42755. Murrine GTK+ Cairo Engine. http://gnome-look.org/content/show.php/Faenza-Cupertino?content=129008. Faenza-Cupertino icon theme. http://gnome-look.org/content/show.php/OSX-Nostalgie?content=157390. OSX Nostalgia icon theme. http://gnome-look.org/content/show.php/E17gtk?content=163472. E17 GTK. This is a theme for … Read more

Simple MikroTik routing. Some useful links and information.

Simple static routing with a Mikrotik device. These links are useful when you are setting up a Mikrotik device and you need assistance with the complex setup of one of these tiny but powerful devices. http://wiki.mikrotik.com/wiki/Manual:Simple_Static_Routing. Creating a DMZ with a Mikrotik device. http://www.mikrotik.com/testdocs/ros/2.8/appex/dmz.php. Simple firewall script for a Mikrotik router. http://wiki.mikrotik.com/wiki/Basic_universal_firewall_script. Mikrotik Wireless FAQ. … Read more

How to save your iptables firewall rules using the iptables-persistent package for Linux.

The iptables firewall is the built-in firewall for protecting a Linux machine from online threats. But the settings are not save upon a re-boot. This is easily alleviated by installing the iptables-persistent package for Ubuntu. Once this is installed, you will be greeted with a screen that will ask you if you wish to save … Read more

How to use the ping command in a script to get an IP address automatically and ping it.

This command will get the IP address from the interface supplied and then ping it. ping $(ifconfig enp6s1 | awk ‘/inet / { print $2 } ‘ | sed -e s/addr://)ping $(ifconfig enp6s1 | awk ‘/inet / { print $2 } ‘ | sed -e s/addr://) Here is an example. This shows how well this … Read more

Mt Gox source code leaked to the Internet. This is a good example of how not to setup a bitcoin exchange.

This is a screenshot of some leaked source code for a Bitcoin exchange. This source code is intended to access a MySQL database. Here is the full code listing: http://pastebin.com/W8B3CGiN. The bitcoin digital currency was devised to allow payment over the Internet using a digital currency. This breach shows that security is not absolute. But … Read more

Some more beautiful wallpapers for your high-resolution Linux desktop.

http://res1.windows.microsoft.com/resbox/en/windows/main/6c386979-15d5-4878-b7f6-cc15a17f32e2_5.jpg. Crater lake wallpaper. This one is very nice indeed. http://res2.windows.microsoft.com/resbox/en/windows/main/b76ed5b2-26aa-4408-8808-1e9481cd24fd_5.jpg. Full moon over a Greek township. http://res1.windows.microsoft.com/resbox/en/windows/main/5a08e8ef-3098-4209-abbe-991e746adf82_5.jpg. Illuminated Alhambra, Andalusia (Spain). http://res1.windows.microsoft.com/resbox/en/windows/2013-win81ga/4305912a-c44c-499a-b211-1b8dcf2253db_5.jpg. Kuala Lumpur at night. http://res2.windows.microsoft.com/resbox/en/windows/2013-win81ga/8ee15352-2ef5-4c41-bca8-1bd38261bde5_5.jpg. Quiraing, Isle of Skye (Scotland, U.K.). http://res2.windows.microsoft.com/resbox/en/windows/main/8b97cd10-a7f5-46f5-8dc4-727e94ce4aeb_6.jpg. Windmills, Kinderdijk (Netherlands). http://hqdesktop.net/wallpapers/l/1920×1080/17/outer_space_stars_planets_rings_digital_art_1920x1080_16429.jpg. A massive crater on a moon and Saturn in the background. Awesome HD space wallpaper. http://hqscreen.com/wallpapers/l/1920×1080/63/digital_art_outer_space_sea_1920x1080_62719.jpg. … Read more

Useful networking study resources for students.

Some useful networking resources. http://www.routeralley.com/ra/docs/tcp_udp.pdf TCP and UDP reference. http://www.razorpoint.com/PDF/Rz.PortsList.pdf TCP/IP Ports listing. This is very useful for reference. http://www.gasmi.net/tcp.php Another TCP ports listing in HTML. http://www.hardwaresecrets.com/article/431 An introduction to the OSI model and how the TCP/IP  Protocol works. http://www.protocols.com/pbook/tcpip1.htm A definition of common TCP/IP names. Intro to TCP/IP. TCP/IP and subnet masking explained. Kali … Read more

How to list all iptables rules that are set on your Linux system. This is very easy.

The iptables -L or iptables –list commands will list all of the iptables rules that are set on your Linux machine. Below is the abbreviated output of this command on my Fedora Linux system. [root@localhost homer]# iptables –list Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all — anywhere anywhere ctstate RELATED,ESTABLISHED ACCEPT … Read more

Another very useful BIOS simulator. This is for a Phoenix BIOS.

http://www.grs-software.de/sims/bios/phoenix/pages/. This is a BIOS simulator that allows a visitor to practice using a Phoenix BIOS in a web browser. This is a very useful page for playing around with BIOS settings without hurting anything. There is another simulator here: Thinkpad X40 BIOS simulator. This one is also very interesting to play with. More BIOS … Read more

How to find a file with Linux using the command line.

The Linux command line offers useful tools that enable you to find files easily. The find command is one useful example. Here I am using the find command to look for all *.png files in a folder. homer@deusexmachina ~/Documents $ find /usr/share/backgrounds -name "*.png" /usr/share/backgrounds/linuxmint-petra/linux_mint_16.png /usr/share/backgrounds/linuxmint-petra/petra.png /usr/share/backgrounds/warty-final-ubuntu.pnghomer@deusexmachina ~/Documents $ find /usr/share/backgrounds -name "*.png" /usr/share/backgrounds/linuxmint-petra/linux_mint_16.png /usr/share/backgrounds/linuxmint-petra/petra.png … Read more

How I got the ATI graphics working again with the 3.13 kernel on Fedora 20.

I recently updated to the 3.13 kernel on Fedora Core 20 and the 12.1 ATI drivers stopped working. I fixed this by downloading the 14.1 beta drivers which support that kernel. Download this here: http://support.amd.com/en-us/kb-articles/Pages/Latest-LINUX-Beta-Driver.aspx. This works perfectly for those Fedora 20 users like me who are also affected by this update. Just uninstall the … Read more

The new Ubuntu 14.04 Unity desktop. Some cool new features.

The new Ubuntu 14.04 Unity desktop has some cool features. The icons on the sidebar launcher may be re-sized to 16 pixels in size. This allows the launcher bar to take up even less space. And the new 3.13 kernel includes many enhancements over the old 3.12 release. Firefox 25.0 is the standard browser for … Read more

How to use ipgrab to capture TCP packets that are travelling through a network interface.

How to use ipgrab to capture TCP packets. The ipgrab command when run as root is very useful for capturing information about network packets that are traveling through your network interfaces. In this example I am capturing packets from my wlan0 interface. ubuntu ~ $ sudo ipgrab -i eth0 > capture.log ipgrab 0.9.10 Listening on … Read more

How to convert a midi file to Ogg or FLAC with Timidity.

This is how to use Timidity to convert a MIDI file into an Ogg Vorbis audio file. This is very useful for playing them with Banshee or Audacious. [homer@localhost Documents]$ timidity sound009.mid -Ov -o blood009.ogg Playing sound009.mid MIDI file: sound009.mid Format: 1 Tracks: 10 Divisions: 480 Sequence: Seq-1 Track name: Track-5 Track name: Track-7 Track … Read more