Générateur de Fla$h Swftools

Dans la série je ne sais pas quoi faire le jour de nöel, j’ai testé pour vous swftools.
C’est un outil GPL (opensource) qui permet de faire des fichiers flash en décrivant chaque Keyframe, le logiciel permet de compiler le fichier et de générer l’animation Flash.

Bref c’est un petit utilitaire en mode texte qui peut faire quelques animations sympathiques pour vos cartes de voeux… et donner un peu de vie à un message en  mode texte.
Bonne Année 2010 à tous.
Continue reading

Technical presentations for year 2009

We have uploaded the presentations of year 2009.

April Meeting: high performance web server (Logan)

July Meeting: The Future of Computers in Education (Dr Stefan Brandle) Part 1 Part 2 Part 3

August Meeting: Wireless Security (Logan)

October Meeting: Silent and cheap firewall (Logan)

Novermber Meeting: DTT Receiver (Shaan) — Link not available

December Meeting: Shell Scripting Tips (logan)

Other presentations will be uploaded as soon as possible,

please be patient.

Also, bear in mind that the PDF files contain very basic

information. A lot more is discussed during the meetings.

In other words, attending meetings brings a lot more !

//Logan

C-x-C-c

LUGM meeting 19th December 09

Dear member, please note that this week we shall be having our monthly
meeting on this saturday, the 19th.

My sincere apologies this is quite short notice, i have been busy and
hence was unable to send
a notification earlier.. If there’s less than 5 confirmations by
friday 11AM, the meeting shall be postponed.

Time : 10hr00

location: Linkbynet, 2nd Floor BG court, St jean, Quatres Bornes

Map for your convenience :http://thegodof.net/images/maplugm.png

Agenda : Discussion about paper work

We hope to have your presence on this event.

Until further notice, logan shall be doing this months technical presentation.
(damned he should be given free food for always having a presentation
at any time!)

Please confirm your presence via mailing list [[email protected]] or
post a comment on the blog entry.

Cheers

+selven

Secretary of the LUG

Lugm meeting November 2009

Dear member, please note that this week we shall be having our monthly
meeting on this saturday, the 7th.

Time : 10hr00

location: Linkbynet, 2nd Floor BG court, St jean, Quatres Bornes

Map for your convenience :http://thegodof.net/images/maplugm.png

Agenda : Registration done, now what?

We hope to have your presence on this event.

Until further notice, shaan shall be doing a presentation this week
[unless sometihng comes up]. Please stay tuned for updates.

Please confirm your presence via mailing list [[email protected]] or
post a comment on the blog entry.

Meeting shall be postponed in case there’s less than 5 confirmations.

Cheers

+selven

Secretary of the LUG

Lugm Meeting 3rd October 2009

Please note that the meeting for tommorrow the 26th of september has been postponed to next Saturday the 3rd of October 2009.

Time : 10hr00

location: Linkbynet, 2nd Floor BG court, St jean, Quatres Bornes

Map for your convenience

Agenda is : Registration 🙂 we are finally registerred!

Please note that we might probably hold a small party together to celebrate it :).

We hope to have your presence on this event, you better not miss that out.

Logan will be doing a presentation entitled “A cheap and silent firewall”.

Cheers

+selven

Secretary of the LUG

FreeBSD8.0rc1 “run_interrupt_driven_hooks”

As soon as FreeBSD8.0rc1 came out (some hours after being uploaded) i wanted to try it out on my new work laptop (HP DV6 1160ei), surprised and sad i was to find that the installer itself couldn’t proceed further…i got bumped with this error:

lots of stuffs after the bootloader….
:
:
:
uhub7: 8 ports with 8 removable, self powered
ugen7.2: at usbus7
ugen4.2: at usbus4
ugen5.2: at usbus5
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config

stalls here and freezes forever. Which means your installation cannot proceed further.

Seems the problem is related to the firewire support, this problem has been here since FreeBSD7.2,
it seems to affect mostly gigabyte and asus mainboards (others plz do comfirm??). Seems the systems tries to query for firewire storage devices and then is stucked at that point..

The easy fix to this is to just go into your BIOS and disable firewire device and install your FreeBSD leisurely….

but but but… poor me, i just got a damned new HP Pavillon DV6 sexy lookin laptop which doesn’t have any advanced BIOS settings to disable firewire .
I definitely couldn’t be vulgar and just open that up and take out the firewire port :p that would be gross… specially since the laptop isn’t my property.

So my my my, i had to find a way out of this, googling around, it seems there’s no fix for that, since most are lucky enough to have disable firewire in their bios itself,
unless i was crazy and maso to dare run winxp or win vista on my laptop [thoughts of which were so disturbing that i dared not use that laptop and was even thinking of returning it back.

since the install iso itself boots a freebsd kernel, i believed for a temporary solution i could disable firewire via device hints in that loader console,
unfortunately, it didn’t seem to work
…. so i did what most people would have done since they have the source and the ability to do anything with it… i played with it :p

i found a solution :p remove firewire support in the iso :p.. all the ways i don’t use that, if ever am gonna use that later on, once i’ve got freeBSD installed, i can think of it later and get it to work later on :p.

So… till i find the bug and correct it in the source itself or till someone else does it, i’ve managed to get the installer to work…

here’s how:

Requirements:

  • Download the dvd iso image of FreeBSD 8.0 Rc1.
  • You need a FreeBSD8.0Rc1 installed somewhere [I installed one on a VM (since i didn’t wanna break existing installation)]

(ps. it can be a minimal installation, since you don’t need desktop or anything in this temporary setup, you just need it to recompile that kernel in the installation cd :p)
10 GB of space minimum

What to do?

  • log in as root (who cares its a vm machine and you are going to break it all the ways)
  • Extract the contents of the iso in a folder somewhere in a directory somewhere in your FreeBSD8.0rc1 [temporary installation] on the vm.

a vm with freebsd for the compilation

(since i had already burnt it on a dvd, i just copied the contents of the dvd in a folder called /usr/disk1)

  • use sysintall to install the release source and the kernel sources. (configure>distributions>src> sys and release).
  • configure your kernel so as you don’t include firewire devices:
  • cd /usr/src/sys/i386/conf (change i386 to your architecture)
  • cp GENERIC SELVENKERNEL
  • nano SELVENKERNEL (or vi or ee or whatever editor you like) (comment out the firewire related modules [among the last lines)
  • make buildkernel KERNCONF=SELVENKERNEL
  • make installkernel KERNCONF=SELVENKERNEL

that’s it, you have already completed most of the work, go to your /usr/disk1 directory [where the dvd iso contents were copied earlier remove the kernel folder in its boot directory and replaced with your new kernel). do like this:

  • rm -rf /usr/disk1/boot/kernel
  • cp -R /boot/kernel /usr/disk1/boot/kernel

great we are almost done… (ps. if you want you can set splash images also :p)

anywayz, you should then use mkisoimages to build your new dvd iso….

  • sh /usr/src/release/i386/mkisoimages.sh -b FreeBSD8 /isowork/myrelease.iso /usr/disk1

where -b FreeBSD8 can be anything you want, /isowork is just a directory i have made to keep the final iso, and /usr/disk1 is the contents which you want to have in your iso :p.

If ever it complains about some rr_moved error or something simmillar, please do delete the directory named rr_moved from your /usr/disk1 directory

  • rm -rf /usr/disk1/rr_moved

so relaunch your mkisoimages if ever it failed with the rr_moved :p.

after its done… you shall have a nice iso in your destination directory /isowork :p (or your directory you chose)

  • you can use cdrecord to burn the iso to a dvd :p

Though, being lazy, i just scp’ed it to my other computers, went to sleep, woke up in the morning and burnt it 🙂

:p I tried to launch the install from that DVD … now it works! yupeee, finally i’ll be able to use that laptop.

Hope this helped out those poor souls out their who wanted to have their Favourite OS on their HP Pavillon DV6 :p

EDIT: Additional stuffs, once installed your new system shall be unbootable, you should boot from the installation dvd, start a shell there, mount the partition and cp -R /mnt2/boot/kernel to your new /boot directory in your harddisk (after mounting it somewhere).

Also, if you are using gnome please add these in /etc/rc.conf

moused_enable=”YES”
hald_enable=”YES”
dbus_enable=”YES”

ps. actually i wanted to try out 8.0 rc1 in the hope that i might catch a bug and hoped to find a fix and hopefully contribute back to the community.. lol .. that one was unexpected!

pps. plz ignore gramatical errors, typed this in nano, and refrain from starting OS flamewars since its tiring to reply to those :p

ppps. To save you the trouble i can upload the iso image, lemme know.

pppps. Am not responsible if you blow up your computer or whatever :p. My sincere apologies in case of errors.

+selven
pcthegreat A_T gmail /  [email protected]

nano configs

Like most of you who don’t like to get into those religious wars about editors of emac vs vi, we tend to prefer to use nano, simple, and light!

The side of peace :).

Screenshot

But after using nano sometimes, you soon begin to miss those features which you used to have in other editors, e.g syntax highlighting or tabspace etc.

No need to worry lil hippie, nano has these abilities 🙂 you don’t need to envy those unsexy editors out there anymore.

Here’s my default nano configuration which you might want to use.

~/.nanorc

set tabsize 4
set autoindent
set nowrap
include “/usr/local/share/nano/c.nanorc”
include “/usr/local/share/nano/perl.nanorc”
include “/usr/local/share/nano/sh.nanorc”
include “/usr/local/share/nano/html.nanorc”
include “/usr/local/share/nano/php.nanorc”
include “/usr/local/share/nano/php2.nanorc”

Since am on FreeBSD the synthax highlighting files are located in /usr/local/share/nano, if you are on linux, you might wanna look in /usr/share/nano/

You  can find more syntax highlighting config files here

This is just a simple configuration which will set your tabspace to 4, allow auto indentation, no line wrapping and some syntax highlight 😀 the only things that a use will ever need out of an editor.

Please don’t rant that nano can’t do magical stuffs :p it is an editor and nothing more [unlike some other things which claims to be editors :p].

+selven

Linux Mint 7 Gloria

20090822-linux-mint

I have been using Linux for ten years now and like most of you I like to try different distributions. A few months ago I discovered Linux Mint while browsing on DistroWatch. I was surprised to see that Linux Mint was really popular (I think it was 4th at that time) and just now it’s the 3rd most popular Linux distribution…

Linux Mint, which is at version 7 now, is based on Ubuntu which itself is built on Debian. So we’re in excellent company here.

These are the things in Linux Mint that I really like:

  • Linux Mint contain codecs for most of the media files (audio / video) found on the Internet out of the box.
  • The user interface is gorgeous and really feels like something that has been designed by someone who really knows about user interaction. For example, Mint has a menu (pictured above) which contains selected applications (favourites) and which is 100% customisable. It’s much better (IMHO) than the default Gnome menu.
  • There is an application which shows all software available in Linux Mint with screenshots. What is great is that this list can be sorted by popularity. It’s a great way to discover open source applications which are used by a lot of people and which you don’t personally know about.
  • Compiz (as well as the proprietary Nvidia driver in my case) is preinstalled and is sensibly configured: not a lot of eye candy but, instead, a pragmatic choice of settings to make Gnome more usable.
  • aptitude! I love anything .deb-based.

I’m really impressed by Linux Mint. This is the only distribution I use at home. At work I use CentOS Linux because, well, it is great for a business environment. But I might replace CentOS on my own computer there with Linux Mint. Just don’t tell anyone.

Grub 2

Dans la série je ne sais pas quoi faire le week-end, j’ai testé pour vous Grub2. Pour ceux qui ne savent pas, c’est le petit soft qui permet de démarrer votre machine, le mystérieux boot loader qui n’a rien d’effrayant. La version 2 permet d’avoir quelques fonctions gadgets histoire d’épater vos amis.

Continue reading