A visit in University of Louisville – Speed School

Weeks ago I got an invitation to see a CyberDefence competition in one of the classes in University of Louisville – Speed School (Computer Science department).
To be honest, I really had some tough time trying to find the right building, UofL campus is Huge !!,
I would easily compare it by the size of one of the biggest neighbourhoods in Prishtina.

CyberDefense competition was lots of fun…
I was very excited to see students practising their knowledge in that field…  Just being in an environment where people do stuff that I love and do best was inspiring and very motivational for me at the same time.

CyberDefense competition worked like this:
There were 5 teams made out of students, each trying to protect their virtual servers while the Red team (in another room) which was made out of senior students and professors were trying to hack into their systems… Continue reading “A visit in University of Louisville – Speed School”

/dev/mapper/cryptswap1 is not ready yet or not present

I had this error going for a long time now (usually while my system was loading from a reboot) and my swap space would usually just not work…
I finally had some time to deal with that.
I couldnt even reformat it in gparted or something similar…

This is how I fixed it:

First you turn your swap space off

$ sudo swapoff -a

commented out the existing swap line in /etc/crypttab

comment out the swap line in /etc/fstab

# /dev/mapper/cryptswap1 none swap sw 0 0

reboot your pc/laptop

now you should be working without a swap space, try reformatting your partition in gparted to a linux-swap type (in my case it was /dev/sda3)

after successfully reformatting it, proceed this way: Continue reading “/dev/mapper/cryptswap1 is not ready yet or not present”

Setting up Mozilla Louisville Community

One Month ago, I arrived in Louisville Kentucky with a 1 year student exchange program…
I am enjoying my time here so much. I especially enjoy the fact that there are lots of tech places where I can hang out.. (One of them: LVL1 Hackerspace).

I have also been actively involved with some communities since I came here. I helped the organizing team of louisville.startupweekend.org, I attend LVL1 Hackerspace meetings and I also got involved in KYOSS (Kentucky Open Source Society).

Some 2 weeks ago, I attended the KYOSS monthly meeting which was held at LVL1.
I was really impressed and very happy to see all those passionate wizened faces at LVL1 while thinking of myself, one day, tirelessly doing the same thing…
While everyone introduced themselves, I met a guy there called Alex (Alex Hagerman) who was also a Mozilla contributor, probably the only one in town.
Days before that, I was searching the Internet to see if there was a Mozilla community in Louisville, but couldn’t find anything.
While I was talking with Alex during the meeting, I stated that and suddenly we came up with the idea of starting Mozilla Louisville Community.

I am still a high school student here, it takes me so much effort, dedication and time; but nothing is stronger than my will and passion to contribute to Mozilla. Continue reading “Setting up Mozilla Louisville Community”

Hello world in Arduino

This is the most basic programming that you could do with an arduino uno.
It just endlessly turns the light built in the arduino on and off.

So, after having an arduino uno and a usb cable to connect it to your pc, you would want to have also the arduino software.

Conky configuration

Conky is free software (a desktop widget) which runs in X on Linux and BSD. Originally a fork of Torsmo, Conky’s torsmo-based code is BSD licensed. New code in Conky has been licensed under the GPL 3.0.

Since its inception, Conky has changed significantly from its predecessor, while maintaining simplicity and configurability. Conky can display just about anything, either on your root desktop or in its own window. Not only does Conky have many built-in objects, it can also display just about any piece of information by using scripts and other external programs.

Lately I was configuring/designing/modifying a Conky configuration and I decided to share it with others.

SETUP

Go to github repository and get the Conky config files: https://github.com/altinukshini/conky_blue

Note: If your battery is not showing than you are probabbly using another format exc (BAT1 or BAT2) instead of BAT0 which is the default one.
To fix this issue change line 65 in conkyrc file:

from: ${battery_percent}%
to: ${battery_percent BAT1}%

To call this script in Conky, use the following in your conkyrc:

lua_load ~/.fluxbox/conky/conky_blue/clock_rings.lua
lua_draw_hook_pre clock_rings

Because I have used this conky configuration with fluxbox I have put it under .fluxbox folder on my home directory. Continue reading “Conky configuration”

Copy: Configure IPSEC VPN connection with Racoon, Kannel and RapidSMS in Debian server

This guide will address establishing a remote connection with a mobile operator, create a data collecting RapidSMS application, and everything in between – specifically using the Kannel SMS gateway.

I realize this guide will only cater to a very specific group of technicians seeking to use the following technologies:

-IPSec VPN, as their means of communicating with a mobile operator (SMS Center).

-Kannel, as the SMS Gateway which talks to the SMS Center, relaying messages via HTTP requests.

-RapidSMS, as their choice of data-collection and communication tool.

This guide is aimed at demystifying any confusion that may occur in an otherwise obscure and arcane world of SMS. I will use my very own examples and clarify version numbers to show what works. I am using the Debian 6.0 “Squeeze” release.

VPN

We will begin by establishing a Virtual Private Network as the very first step – without it, no data would be able to get in or out from the SMS Center.

At this point, you should have already made arrangements with at least one mobile operator to establish a VPN with their SMS Center. Additionally, they should have provided you with a list of parameters necessary for the connection, these include authentication methods, source IP addresses, ports, keys, and much more.

This guide will be focusing on establishing an IPSec VPN – solely because of the specific parameters given by my mobile operator.

Below is a copy of the sheet of parameters given to me by the local mobile operator post-agreement, use it to cross-reference with the configurations in the next few steps: Continue reading “Copy: Configure IPSEC VPN connection with Racoon, Kannel and RapidSMS in Debian server”