Still drunk, today: Jimmy Van M

I’m still drunk, however today Jimmy Van M is in … yes, in Mérida :)
Obviously I’ll there! see you guys

Paul Van Dyk

Yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeey

See you tomorrow (I Hope)

/away Get Drunk

Cry baby cry

I confess, yesterday I was very depressed while writing the About page, like today … who cares?, anyway, I’m back, the old blog died (stupids users ;-P)
Now I’m using WP, woooooooh it’s a new world for me (serious), by the way, somebody know how fix/change/patch that rss feed “cut” the entries? also don’t show the pics, argh!
Well, I have a new cellphone, it’s a Black Berry Pearl 8130 from Verizon Wireless, some day I’ll explain how to set this device for Iusacell and 3G.
Why not today? because today I’m still sad, because today Paul Van Dyk is in Mérida, because today all have a strange taste of Tequila (iugh!) and because I’m working now :)

Patch a Broadcom Wireless mini PCI Card to use with aircrack

Stardust is my laptop, it’s a MSI Wind Wind U100, the notebook has a Realtek RTL8187SE Wireless card, well, realtek under linux really sucks.

I configured using ndiswrapper, and did “works” … with a lot of problems, errors and so much pain *snif, tired and angry I changed the damned wireless card, now Stardust have a new device

02:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

Using the new driver for Broadcom: b43 and using wicd surfing in a wirless networks it so pretty nice like kiss at same time two drunken dancers (trust in me)

The problem, yes, always there is a problem, it’s my cellphone, like as told them I destroyed it and now it’s a hard puzzle in somewhere in Mérida, I used my cellphone to connect me using a BAM Internet service, then I’m fucked.

Fortunately my neighbors did not break his routers, and I detected many networks near of me
Sure, with WEP protection, sure too aircrack will solve all my problems, I don’t will explain how to use aircrack, there are a lot of information in the net, just how to patch the kernel to use your wireless card with aircrack and compile it with the debian way, the debian way … hahaha I like it!

First need the kernel source, there are two ways, directly of the official site or … yes, the debian way with apt.
that means you can go to http://kernel.org/and get the source or use: apt-cache search linux-source to choose one, after using apt-get install linux-source-X.X.XX to install it.

Once downloaded and uncompressed the kernel source, (I assume we are into /usr/src/linux-XXX) need get the patch: http://patches.aircrack-ng.org/ choose your card model, in this example I use b43-injection-2.6.26-wl.patch:

Obviously it’s my example, the final path: linux-source-2.6.26 must be different

stardust:~# cd /usr/src/linux-source-2.6.26
stardust:~# wget http://patches.aircrack-ng.org/b43-injection-2.6.26-wl.patch
stardust:~# patch -p1 < b43-injection-2.6.26-wl.patch

And done, our kernel source are patched, now need compile.

Compile the Kernel Source, the Debian Way

/me laughs while caresses her black cat, muahaha muahaha

Almost all my nerds friends are afraid to “El Coco”, unfaithful girlfriends and to compile the kernel. Well the first two things they have no solution but compile the kernel it’s easy, you only need know your hardware.
First we need some tools:

stardust:~# apt-get install kernel-package dpkg-dev debianutils binutils libncurses5-dev

We can configure the kernel using the actual .config file (I recommended it) :

stardust:~# cp /boot/config-2.6.2 .config

The are several way to do it, but my favorite is:

stardust:~# make menuconfig

In this step you can configure, play, test, crash, broke your kernel, when you finished, exit and save it.
Now, make the image:

stardust:~# make-kpkg --initrd --revision 01 --append_to_version -lab kernel-image

–initrd option, yes make a initrd, –revision: set the number of revision that the package will have to control future compilations, –apend_to_version: set the extraversion in the name of image.
While you kernel is compiling, I recommended you go for a couple of beers, watch a movie, play Xbox or take a nap, yes … this will take a long time.

When it finished just install your kernel image:

stardust:~# dpkg -i ../linux-image-2.6.26lab_01_i386.deb

And … that’s all! reboot and choose your new kernel, then activate your card as monitor mode:

stardust:~# ifconfig wlan0 down
stardust:~# iwconfig wlan0 mode monitor
stardust:~# ifconfig wlan0 up

At this point, just have fun with aircrack, I did and my result is:

aircrack

Happy hacking!

Hacking CDMA LG Cellphone MX-8500

My old phone was a LG MX8500 commonly called LG Chocolate, the device has the file transfer by bluetooth locked by default, you can only synchronize a handsfree, also can’t use a mp3 like ringtone, unless you buy it at the 3G Service.

As always, the “oficial” software to synchronize calendar and contacts is not available for Linux, maybe works with wine, but it would be not fun

To play with the phone, need the data cable, once connected:

stardust:~# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 1004:6000 LG Electronics, Inc. VX4400/VX6000 Cellphone
Bus 001 Device 001: ID 0000:0000
stardust:~#

You see the 1004 is the Vendor ID, and the 6000 is the Product ID, now need install BitPim as simple like:

stardust:~# apt-get install bitpim

Wee need create the group called bitpim and add our user:
stardust:~# addgroup bitpim

stardust:~# adduser billy bitpim

Obviously replace billy with your user, now need add a udev rule, create a file called 60-cell.rules, under /etc/udev/rules.d/ with the content:

stardust:~# cat /etc/udev/rules.d/60-cell.rules
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="cell_rules_end"
# LG Phone
SYSFS{idVendor}=="1004", SYSFS{idProduct}=="6000", GROUP="bitpim", MODE="0666"
LABEL="cell_rules_end"
stardust:~#

Note the group and the Vendor and Product ID, disconnect your phone and restart udev:

stardust:~# /etc/init.d/udev restart
* Stopping the hotplug events dispatcher udevd                          [ OK ]
* Starting the hotplug events dispatcher udevd                          [ OK ]
stardust:~#

Connect your phone and launch bitpim, bitpim should detect your phone, now you can synchronize your calendar, contacts etc.
To use mp3 like ringtones, you need put it directly into the phone file system, in the bitpim menu, locate View submenu and enable “View FileSystem” , now you can explore directly your phone data.

If you want use the phone as modem, I wrote a howto in ¿Cómo Carajos? wiki.

And that’s all

NOTE: My new cell phone, LG MX8550 came unlocked, file transfers with bluetooth, mp3 ringtones all works fine without problems. Just use BitPim to synchronize contacts.

NOTE 2:
Last week I destroyed my new cell phone. (don’t ask ….)

NOTE 3: This mini howto is also available in spanish at ¿Cómo Carajos? wiki. (soon)