TastyCode devblog
13gru/090

Restarting wifi driver on NIT’s

After using aircrack-ng suite on my N810 (with original wifi drivers) I can't use wifi. I must restart my tablet. I don't like it ;p
Here is a small shell script which reloads wifi kernel module, and initializes it:

#! /bin/sh
rmmod cx3110x
insmod /mnt/initfs/lib/modules/2.6.21-omap1/cx3110x.ko
chroot /mnt/initfs /usr/bin/wlan-cal

You simply put it in any directory, and add "executable" bit by running chmod +x file

(i suggest not putting it on cards, cause' they are formatted with FAT, but in FAT there aren't bits like "executable" ;) )]