Fork me on GitHub
Nation Pigeon

Viewing Category Linux

goomwwm startup applications and background

24th January 13 | Linux

I’ve been using Goomwwm on and off, but seeing as it’s post-new-yearness I’m going to give it a try full time. To set the background, I decided to use feh. Simply create a .goomwwmrc in your home directory. # Background exec /usr/bin/feh –bg-center /home/osaka/wallpaper.jpg # Sart up applications exec /usr/bin/lxpanel That sets the background to [...]

[ Read More → ]

Connect to Eduroam using wpa_supplicant

24th January 13 | Linux

Less: /etc/wpa_supplicant/wpa_supplicant_edu.conf

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="eduroam"
        key_mgmt=IEEE8021X WPA-NONE WPA-EAP
        eap=PEAP
        identity="abc1@uni.ac.uk"
        password="*****"
        #ca_cert="/location/of/cert" # This might not be required.
        phase2="auth=MSCHAPV2"
        priority=2
        auth_alg=OPEN
}
[ Read More → ]

vnstat: Network Stats

19th August 12 | Linux

To gather network statistics about the amount of data your interface is using, have a look at vnstat

vnstat example

[ Read More → ]

Install Mongo DB on Debian with PHP support

13th August 12 | Linux

Steps to Install MongoDB – This should work with Debian and Ubuntu, with the upstart init system. sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10 && sudo sh -c ‘echo ”deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen” > /etc/apt/sources.list.d/10gen.list’ && sudo apt-get update && sudo apt-get install mongodb-10gen; If all goes well you should have a fully working MongoDB. [...]

[ Read More → ]

Webserver File Permissions

6th August 12 | Linux

From what I have found out, the standard permissions should go along the lines of

  • Directories 755
  • PHP 600
  • Everything Else 644
[ Read More → ]

Making an ISO from CD/DVD on Linux

21st July 12 | Linux

To create an ISO file from a physical DVD/CD/Floppy/USB/Anything. Use the command ‘dd‘ this creates a bit for bit copy of the original file/partition/device. dd takes two parameters these are if – input file and of – output file. In this case the input file will be the CD and the output file will be [...]

[ Read More → ]

Restore GRUB after Windows install

18th July 12 | Linux, Windows

Boot up into a Live Linux Image. Mount your old Linux Install, and use chroot to take control of it. mount /dev/sdc1 /mnt chroot /mnt You will get grub-probe: error: cannot find a device for / (is /dev mounted?). if you don’t mount you devices, before attempting to install GRUB. So mount all devices. mount [...]

[ Read More → ]

Creating Windows 7 bootable USB from Linux

17th July 12 | Linux, Windows

Using GParted, or another tool, format the USB to NTFS and make the partition bootable. As root, mount your Windows ISO. mount /home/osaka/en_windows_7.iso /mnt -o loop Then copy the contents to the USB. cp -rv /mnt/* /media/USB sync # Flush file system buffers Install the Windows boot loader to the USB. ms-sys -7 /dev/sdX You [...]

[ Read More → ]

SSH and tsocks

25th June 12 | Linux

Install tsocks on your client machine. Tsocks is a application which replaces all connect() calls with it’s own, which means you can run any application though the server/proxy even if it dosent have support for proxy/SOCKS. apt-get install tsocks Update /etc/tsocks.conf

[ Read More → ]

Debian Bash Auto Completion

20th June 12 | Linux

Install the bash auto completion package. sudo apt-get install bash-completion Uncomment the following in /etc/bash.bashrc to enable to auto completion. You will need to open a new terminal after doing this. sudo vi /etc/bash.bashrc # enable bash completion in interactive shells if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi [...]

[ Read More → ]

Go Back in Time »

Copyright © 2007 ∞ Nation Pigeon - Designed by Peter Mayanrd
Theme Based on Black-Green - Fork it on GitHub