-->
42

Tag Archives: a1200

Porting nmap to Motorola a1200i (EZX)

0
Filed under Uncategorized
Tagged as , , ,

The story (can skip :p):

Almost a month ago a disturbing idea came to my mind: to have some of the good and obscure tools from BackTrack Linux on my Motorola a1200i cellphone. As most of you might have come to imagine, I was inspired by NeoPwn project. Lucky me, this cellphone’s software stack  is based on a GNU/Linux distribution, sitting there waiting to be turned into a powerfull hacking tool by some mad guy XD.

It runs Montavista Linux Consumer Electronics Edition 3.1, but heavily cut down and hacked by Motorola (some propertary modules, a custom implementation of selinux, their own implementation of 3GPP, kernel-based forced DNS resolution through GPRS device, etc) as far as I’ve been able to investigate (more info at OpenEZX). Certainly is not the best scenario to start working. Well, despite most out there try to start from scratch with a new, free, and more updated base system, I want to work in the very same original environment for two good reazons: 1) It is the only cellphone I have and I need it to work properly, and 2) I like the default apps and its graphical interface (yes, I care a shit it’s not free enough, I’m not RMS’s bitch :p).

Zaurus usblan en Ubuntu

0
Filed under Uncategorized
Tagged as , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Bueno, esta guía la escribo para todos aquellos, que como yo, no han podido conectar sus PDA mediante red Ethernet sobre USB en las últimas versiones de Ubuntu. Siguiendo estos simples pasos, en ceca de cinco minutos tendrán sus dispositivos conectados perfectamente.

Esto va servirles tanto para conectar una PDA como los celulares Motorola de plataforma EZX mediante usblan -y no sé si algún otro dispositivo-.

1. Obtenemos las fuentes de nuestro kernel.

cd /usr/src/
apt-get source linux-image-`uname -r`-generic

2. ESTE PASO ES MUY IMPORTANTE
Obtenemos la configuración del kernel que tenemos corriendo.

cd /usr/src/linux-2.6.24
cp /boot/config-2.6.24-16-generic ./.config
make oldconfig

3. Abrimos con nuestro editor de texto favorito el archivo .config, y ubicamos el string que dice:

CONFIG_USB_NET_ZAURUS is not set

Y Lo cambiamos por este otro string:

CONFIG_USB_NET_ZAURUS=m

4. Compilamos el módulo:

make drivers/net/usb/zaurus.ko

5. Lo copiamos a una ubicación más conveniente:

cp drivers/net/usb/zaurus.ko /lib/modules/2.6.24-16-generic/kernel/drivers/net/usb/

6. Finalmente verificamos las dependencias de los módulos:

depmod -a

Eso es todo. Ahora cuando conecten sus dispositivos por usb el módulo debería ser cargado automáticamente y todo debería andar de maravillas  8-)