Pages

Wednesday, January 26, 2011

KDE Meeting this Saturday

KDE LAUNCH FESTIVAL



Fecha y hora: 29 de enero a las 2:00pm (sábado)
Lugar: Fass C/Rodríguez Marín 84
(paralela al Paseo de la Castellana, a la altura del Santiago Bernabéu)
<Metro> Concha Espina
Mapa: http://www.openstreetmap.org/?lat=40.45153&lon=-3.67883&zoom=17&layers=M

Tuesday, January 4, 2011

La vida sin el sol

Ya han pasado unos meses desde que Sun Microsystems fuera comprada por Oracle.

Aunque todavía no se ha visto se ha visto el final del camino, parece
que Oracle esta des-andando el camino que recorrio con mucho trabajo
Sun, estamos viendo el abandono de muchos proyectos de software libre.

¿En serio se estan abandonando los proyectos?

Pues no porque OpenOffice esta saliendo adelante como Libre Office, y
parece que se esta desarrollando porque ya tiene repositorio PPA para
Ubuntu, y la gente esta reportando los bugs a ellos en vez de al de
Oracle.

Aunque quedan otros campos de batalla que tiene que volver a ganar el
terreno perdido por Oracle, entre ellos Solaris (que ya hay un intento
de seguir hacia adelante con OpenIndiana), MySQL que esta comenzando
la labor con el nombre tan castizo como MariaDB.

Quedan dos proyectos libres de la vieja Sun que no sabemos que pasara
con ellos, Java que puede que google lo salve por sus intereses con
Android, y Virtual Box que por lo pronto al dia siguiente que Sun fue
enguillida por Oracle salio una actualización solo para cambiarle el
nombre.

Hp Mini 110 From "Al Campo"

Just bought a Netbook and according to Ubuntu, the mini 110 works fine with Karmic

https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks

So, I made the USB (after 9.04 and 10.10 didn't work) and installed it. Just like the posting says, everything works fine. However, I hate the power button on the Netbook. I did, as the post also states, have a problem with my Broadcom wireless card 4727. Ran a lspci -vnn and got the details.

I tried all of the fixes around and nothing worked. Here's what I ended up doing to make it all work:
first install the header tools etc...
n Ubuntu, you will need headers and tools. Try these commands:
# apt-get install build-essential linux-headers-generic
# apt-get build-dep linux

first remove any broadcom drivers , search in synaptic for broadcom, there should be two entries, remove them

if you don't remove them they will stick a wl.ko file that you don't want in the updates folder...

so, use the driver here hybrid....tar.gz

I did a sudo make clean, sudo make, sudo make install, it will create a wl.ko in your home directory

now, get the modules ready...

sudo modprobe lib80211_crypt_tkip
also
sudo modprobe lib80211
I put that one in just in case
now copy the new wl.ko file to your /lib/modules/..../kernel/net/wireless/ directory
go to that directory and run
sudo depmod -a
also insure that these modules aren't loaded
sudo modprobe -r b43 ssb wl
now reload it
sudo modprobe wl

add your mod to the list

sudo vi /etc/modules

add lines
lib80211_crypt_tkip
lib80211

blacklist the ones that you dont want
in
sudo vi /etc/modprobe.d/blacklist.conf

add lines

#added by john ortega
blacklist ssb
blacklist b43
restart the machine and voila

Saturday, December 4, 2010

Madrid Linux User Group Meetings




Madrid Linux User Group
Meets Every Thursday Evening -21:00hrs
@ Cafe Commercial - 1st Floor,
Glorieta Bilbao, 7, 28004 Madrid

Metro: Bilbao - Linea 1 y 4



Viva la MLUG!

Wednesday, December 1, 2010

Make An Eclipse Project A Java Project

go into the project file and add this line

             <nature>org.eclipse.jdt.core.javanature</nature>

inside of the natures xml.

Fedora 14 killed my ....


... so with an upgrade from 13 to 14 which was actually pretty smooth, I found that a couple of things did not survive the upgrade process, namely, Squeezebox Server and PandoraFMS.

Well Squeezebox Server was all to do with Perl being updated from 5.10 to 5.12 . The solution: an upgrade to the Squeeze Centre nightly builds to get it all working with Perl 5.12. So far so good and no bugs have become apparent.
There was also a new dependency on libssp.so that Perl uses to compile the following modules:

>$ ldd
> /usr/share/squeezeboxserver/CPAN/arch/5.10/x86_64-linux-thread-multi/auto/YAML/Syck/Syck.so
> linux-vdso.so.1 => (0x00007fff341ff000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f4a0e1be000)
> /lib64/ld-linux-x86-64.so.2 (0x0000003d92e00000)
>
> $ ldd
> /usr/share/squeezeboxserver/CPAN/arch/5.12/x86_64-linux-thread-multi/auto/YAML/Syck/Syck.so
> linux-vdso.so.1 => (0x00007fff6375c000)
> libssp.so.0 => /lib64/libssp.so.0 (0x00007fad76cc7000)
> libc.so.6 => /lib64/libc.so.6 (0x00007fad76923000)
> /lib64/ld-linux-x86-64.so.2 (0x0000003d92e00000)

...so after tracking down the library I dropped it into /lib64 and that was that!



Onto PandoraFMS, well not quite a fix that will be suitable for all but I'll outline it anyways.
On startup PandoraFMS borks at Perl module DB::pm which one would assume was more Perl chaos. However, seems not, it's actually Perl not being able to communicate with new version of MySQL server. Seeing as my PandoraFMS implementation is only at the evaluation phase I just dropped back in the pandora_console/install.php file and re-initialised set up of the PandoraFMS databases.
Though, this may not be suitable for a live site at least it's a heads up in the right direction to resolve the problem.

So after all it wasn't Fedora 14 that killed anything and it wasn't entirely all Perls fault either.

Tuesday, November 30, 2010

Madrid Linux User's Group Meeting

Ok, let's meet at 8 p.m. on the 2 (second) floor, Thursday in Café Comercial, Metro Bilbao, Glorieta Bilbao, 7

Monday, November 29, 2010

Quick Reference PDF

While looking for a quickly tutorial on python and glade I found something else that is quite interesting...

I'm putting a link to the quick reference guide that you can put up on the wall.

http://linuxformat.co.uk/blog/wp-content/wallchart.pdf

Saturday, November 27, 2010

Events That We Could Go To

Hey,

I thought I would put down some event websites that I found.

Interesting Ubuntu Sticker

So I went to the UPM polytechnical university today to study in the library, they've got free WIFI there too..

The funny thing is that I saw a sticker on one of the students lockers that said:

Ubuntu, Linux for humans.

Also, there was a lot of IEEE computer society stuff there.

Interesting place!!

Friday, November 26, 2010

Multi Router Looking Glass

Objective: create a web interface for viewing routing tables and other routing commands.

I have chosen John Fraizer's Multi Router Looking Glass (a working example can be seen at RIPE's Routing Information Service page). The latest version of the software can be downloaded at: http://www.op-sec.us/ .
Basically the software consists of a cgi script to place in your apache server cgi-bin and a couple of perl & bash scripts. There is also code to make fastping, an alternative to ping. I just used plain old ping in my setup.

CPAN Perl Module: First thing we need is the Perl "Network::Telent::Cisco" module to allow the main script to communicate via telnet to our network equipment. SSH is available via the "Network::SSH::Perl" module, however I will not cover this here.

Access your CPAN shell:

$ perl -MCPAN -e shell
cpan>


Note: If this is the first time you have run this command you will have to configure CPAN.

Now install "Network::Telnet::Cisco" module.

cpan> install Net::Telnet::Cisco



With this done all we need is a little file keeping to get our program into place. From our downloaded and extracted tar.gz folder issue the following commands:

cp index.cgi /usr/local/www/apache22/cgi-bin/
chmod +x /usr/local/www/apache22/cgi-bin/index.cgi
cp fping1 ztr ztraceroute /usr/local/bin
chmod +x /usr/local/bin/fping1 /usr/local/bin/ztr /usr/local/bin/ztraceroute
cp mrlg.conf.sample /etc/mrlg.conf


Note: These are for FreeBSD, your directory structure may vary.
Now, we need to edit fping1, ztr & ztraceroute to make sure all paths within these files are correct for your system. For FreeBSD I had to edit paths to bash & traceroute, also exchange fastping for ping and its's correct path.

mrlg.conf set up:
To get anything out of your index.cgi, ie. MRLG, you need to config /etc/mrlg.conf.
First, we have to tell MRLG the host details we will be running MRLG on.

## Set the URL for the location of the looking-glass....
$::url="http://10.1.1.3/cgi-bin/index.cgi";


Secondly, we can amend a router to the details of one of our local routers.


$::Routers{'Folkestone-AS2'} = {
comment => 'Cisco 2600 Series',
server => '10.1.1.2',
use_port => '23',
login_pass => 'cisco',
full_tables => '1',
cisco => '1',
debug => "0",
};



That is all we need to get an interface into our routers as demonstrated below.



The conf file has lots of settings not discussed here but which can be very useful so I would advise this be your first point of call if you decide to install MRLG.
Phil

Madrid Linux User's Group's Last Meeting

We had a good meeting yesterday. Tied up some loose ends and now we can start trying to get more people together.