martes, 22 de junio de 2010

Casa de las tortillas (Cacheiras)

Hay un restaurante mítico en la zona de Cacheiras, que es "La casa de las tortillas", no es que hagan mejores tortillas que en Betanzos, pero bueno, no están mal y se puede comer al aire libre, además tienen empanada de pan de maiz, algo que no se suele ver por aquí.

El caso es que hemos estado el fin de semana por allí y aunque hay muchos sitios en los que se comenta sobre este lugar, videos en youtube e incluso se nombran las distinciones de Armando Blanco, su fundador, no fui capaz de encontrar las coordenadas.

Pues bien, por si alguien más quiere ir ahí os va la ubicación en el maps y las coordenadas (42.82124,-8.54479).

Como anécdota os dejo el croquis que solía usar yo para llegar allí:

martes, 25 de mayo de 2010

new sshxproxy version

I know most people doesn't need this, but sometimes it is quite handy, so today I released a new version of sshxproxy which is a script that stablishes a connection through a proxy so that we can ssh through it (basically it launches a socat which stablishes the connection and then the ssh against the socat). This version has wpad auto proxy detection (or something like it, as I didn't implement a javascript interpreter for this :-)

viernes, 26 de marzo de 2010

El kernel de OpenWRT para la Fonera crece y ya no entra

El caso es que hace ya tiempo en la DudesConf 2 di una charla sobre la liberación de la Fonera en la que comentaba como hacer para poder meter en la fonera un firmware basado en OpenWRT el caso es que al parecer el kernel que la gente de OpenWRT hace para usar en los dispositivos Atheros, como la Fonera, ha crecido y ahora si utilizamos las instrucciones que yo daba en su día nos encontraremos conque una vez colocado el rootfs no nos entra el kernel.

La solución es simple, en lugar de usar la primera linea de "fis create" que indicaba en la charla debemos usar esta corregida en la que se deja menos espacio para el root con lo que queda más espacio para el kernel (lo justo para que entre el actual):


fis create -b 0x80041000 -f 0xA8030000 -l 0x006F0000 -e 0x00000000 rootfs


Espero que eso os ayude.

lunes, 12 de octubre de 2009

Using wifi for the fonera's Internet connection

Having the fonera as a second access point can be a good thing if you have it far away from your main wifi router, but doing that in the standard way fonera allows you means cabling.

However the freewlan.info addons allow you to connect your fonera to the Internet via wifi (sounds ideal to use the fonera as a repeater, doesn't it?). This however seens a bit tricky, so I'm going to write down how I managed to do it, or at least part of it.

The setup is done via Advanced -> Internet Connection, there we must choose WLAN (QRM) as the wanted mode and then fill in the needed data for this connection.

I tried with a WEP connection and had some trouble, the config you type there will be passed to wpa_supplicant and quotes are not allowed, so had to enter the value in hexa instead of using the string mode. After that, things should be working, but I still could not get from the fonera to my router, the problem was that I had set the Authentication Mode as Auto Select, setting it as Open solved the problem.

There seem to be some problems with this fon firmware, probably with the madwifi being too old and buggy and I see things like a reflection of the WPA2 network on another channel and stating it is WEP based, ... So... this kind of works, but I still prefer my own OpenWrt based stable firmwares, the guys at OpenWrt rock ;-)

BTW: as I was playing with the wifi and until I got this setup to "work", the only way to access the fonera was through the ethernet, which I had connected directly to my laptop, at that time the fonera was picking up address 169.254.255.1 and I was accessing it using "ssh -L 8080:localhost:80 root@169.254.255.1" so that I could access the web interface on my laptop at localhost:8080.

miércoles, 7 de octubre de 2009

piping partimage using stdout

I don't use partimage a lot and when I use it I tend to use it via it's text interface, but the other day we wanted to send the output of partimage to another computer through the network, and partimaged was not an option.

After looking around a couple of times the final answer came from a changelog file and we ended up with this magical line that I'm writing here and which works really well.

Linea mágica para mandar la salida de partimage por la red usando la salida estándar:

partimage -f3 -d -V0 -B gui=no save /dev/sda1 stdout | nc -w 60 address port

Edited:
It seems partimage has some kind of problems while doing a restore of a compressed file, so the recipe for that should be something like...

nc -w 60 address port | gunzip | partimage -f3 -B gui=no restore /dev/sda1 stdin

or you can make nc listen as usual.

viernes, 31 de julio de 2009

Blu:Sens K30 how the hell... could I plug it the other way round?

Ok, so I have one of these blu:sens K30 devices around, it is a multimedia HD, not a good one but does its job, specially when you got it as a gift, the thing is that the USB type B connector that it has is so bad that I managed to plug the cable in the connector upside down (yes, I know this is supposed to be imposible on USB, but in this machine it isn't that difficult), which basically means that I connected the GND and 5V to the data lines, which resulted in the usb bus being dead.

After openning the case I followed the data lines of the USB which directly go to a CY7C68300C which in my case is now dead (at least the USB part).

Anyway, the K30 is still working, so if this happened to you also... what you can do now is remove the usb connector and take the sata one from the disk and from the board of the K30 outside, this way if you have an esata port around you'll still be able to use the disk as an external drive, and if you bridge the two sata ports (the one from the disk and the one from the K30 board) together, you'll still have your K30 working. This way, you can fill the disk through the e-sata (or pluging it to a sata to usb converter) and then watch what you put on it when you bridge it to the board :-)

This is what I'm going to do to mine when time permits, I'll post some pictures when I finish this up.

Un resumencillo en castellano... resulta que el conector usb del blu:sens K30 es tan malo que conseguí meterlo del revés (como disculpa decir que lo estaba enchufando a ciegas, como no) y peté la parte usb de un chip, con lo que ahora ya no puedo meter datos en el disco duro, si bien la reproducción funciona perfectamente. La solución sacarle el conector USB y poner el SATA en el exterior :-) Las fotos cuando tenga tiempo para hacerlo, claro.

lunes, 27 de julio de 2009

Eroski Móvil a 10¢/min sin establecimiento

A finales del mes pasado todos los sitios de noticias de telefonía móvil hablaban de esta tarifa de Eroski Móvil, 10¢ a toda España, a cualquier hora del día y sin establecimiento de llamada.

La verdad es que me llamó mucho la atención, yo ahora estoy con Simyo y aunque está bien por esos 10 minutos gratis entre Simyo... la verdad es que como hablo poco por el móvil, esta promo... mola mucho.

El caso es que desde que saliera anunciado en todos lados que el 17 de este mes Eroski Móvil sacaría esta tarifa... nadie ha vuelto a hablar del tema, y ha pasado casi un mes, por lo que podría parecer que Eroski Móvil se había echado atrás. Nada más lejos de la realidad, el caso es que si bien en la web de Eroski Móvil no aparece nada de esta tarifa, si recordamos bien... se ofertaba a los que tuvieran una tarjeta Visa Eroski red, y es en la web de esta donde podemos encontrar la oferta de Eroski Móvil.

Ale ya lo he dicho, pero vamos... cada uno con el operador que quiera ;-)