OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> How To Compile Modules?
VirtusRex
post Jun 29 2007, 05:45 AM
Post #31





Group: Members
Posts: 126
Joined: 26-April 06
Member No.: 9,713



QUOTE(Capn_Fish @ Jun 28 2007, 09:03 PM)
QUOTE(VirtusRex @ Jun 28 2007, 08:58 PM)
Hey capn_fish,

I once updated my firmware on my linksys wcf12 compact flash card. I used the guide found on this page:

http://www.aircrack-ng.org/doku.php?id=pri...b87e59b4b29c33b

Maybe you can do the same with your card.

VirtusRex
*

Did you do it on your Z? If so, what ROM? My issue is that pdaXrom apparently doesn't support flashing cards ATM.
*



No, I did it on my laptop running windows xp using a pcmcia to CF adapter.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 29 2007, 11:17 AM
Post #32





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I now have a 2.6.16 Cxx00 kernel that supports packet injection and the flashing of Wi-Fi cards. I'll get links to info on how to install it as well as the actual files up later.

I assume there's interest?
Go to the top of the page
 
+Quote Post
VirtusRex
post Jun 29 2007, 11:37 AM
Post #33





Group: Members
Posts: 126
Joined: 26-April 06
Member No.: 9,713



Yeah, sounds good.

VirtusRex
Go to the top of the page
 
+Quote Post
VirtusRex
post Jun 29 2007, 11:48 AM
Post #34





Group: Members
Posts: 126
Joined: 26-April 06
Member No.: 9,713



Hey Capn_Fish,

I'm a little confuse about why your kernel needs to support packet injection?
I downloaded pdxaii13 5.4.5 and I've been using it with my C1000. So far I've managed to test packet injection on my home router and it works fine with my DWL-G122 usb wireless key. Does this mean pdaxii13 5.4.5 supports packet injection as well???

VirtusRex
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 29 2007, 02:20 PM
Post #35





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Well, Meanie did tweak it, so I would guess that that is a yes. It wouldn't be strange for him to have added it in.

EDIT: Oh, r198 doesn't support injection out of the box. You need to patch andrecompile the kernel to get such support. I suspect Meanie patched the drivers for ii13, as they are separate from the kernel.

As to why I need packet injection, I just want to get WEP cracking to work. It has eluded me for some time, which irks me.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jun 29 2007, 02:35 PM
Post #36





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Here's the stuff (for Cxx00 r198; may work on other models/pdaXrom versions, but no guarentees). Just remove (or move to a safe place) /lib/modules/2.6.16, and untar the "lib" archive to /. Then, do a

CODE
nandlogical /dev/mtd1 WRITE 0x5a0000 0x160000 uImage


and reboot. You should have working packet injection, as well as support for flashing cards' firmware.

Remove the .txt extention from uImage.txt (so it becomes "uImage")

Sorry, I seem to not have the files other than the hostap-utils for flashing firmware. I'll get it soon (I don't want to retype this post).

EDIT: Added macchanger (only way I found to make my card work was changing its MAC)
EDIT2: I'm almost certain these are the right files (modules and uImage).
Attached File(s)
Attached File  hostaputils.tar.gz ( 201K ) Number of downloads: 34
Attached File  macchanger_1.5.0_armv5tel.ipk ( 78.67K ) Number of downloads: 25
Attached File  uImage.txt ( 1.23MB ) Number of downloads: 26
Attached File  lib.tar.gz ( 2.81MB ) Number of downloads: 34
 
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 1 2007, 07:46 AM
Post #37





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I've almost got a module compiled! It goes for a while, then complains about not being able to execute scrips/basic/fixdep. Is there a way around this?

EDIT: got around that be removing the file and recompiling it. Now it's complaining about scripts/mod/modpost. I removed it and tried to recompile it, but it doesn't work. Any workaround here?

EDIT2: OK the module is compiled! But no matter where I stick it, I can't modprobe it. I've been putting it in /lib/modules/2.6.16/<direcotry>, but it doesn't work. I'm probably missing somethig obvious...

EDIT3: OK, I figured it out...See the new packages thread for details and the module.

A dm9601.o file is created, but I thought it was supposed to be .ko? Or is that not a module?

Thanks.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 1 2007, 06:53 PM
Post #38





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



How do you cross compile with pdaX86? When I try to build stuff, it builds it for x86. The kernel built fine for armv5tel, and I can't find a runsdk.sh equivalent.

If this is really obviously documented somewhere, please let me know.

Thanks.
Go to the top of the page
 
+Quote Post
louigi600
post Jul 2 2007, 12:09 AM
Post #39





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



I've made some notes as a reminder for myself (and for anyone who might find them usefull).
They are avalible on my home page in the "Zaurus" menu on the left and then "Issues" and "Documentation" submenus on the top.

In particular this and also this documents contain some usefull information.
The runsdk.sh should be in the /opt/cross tree somewhere .... I've made a copy of it in /usr/local/bin so that it's in the default path.
Just incase you cannot find it this is what it should be like (this is for the pdaxrom cross sdk current version) :
CODE
#!/bin/bash
. /etc/profile
export PATH=/opt/cross/arm/3.4.6-xscale-softvfp/bin:$PATH
export QTDIR=/opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/qt
export KDEDIR=/opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/qt
export X11INC=/opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/include
export X11LIB=/opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/lib
export PKG_CONFIG_PATH=/opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/lib/pkgconfig
export CROSS_COMPILE=armv5tel-cacko-linux-
export CROSS=$CROSS_COMPILE
export ARCH=arm
echo "Type exit for leave armv5tel-cacko-linux cross environment."
/bin/bash


Hope this helps.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 2 2007, 06:15 PM
Post #40





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



New kernel and modules. Now with IPTables support and probably a bunch of extra junk. Includes the packet injection and firmware flashing (for the flashing, not tested but I' fairly sure I got it in there) support.

DL the junk.tar.gz file to somewhere and untar it. Follow the instrutions in the last post to flash the kernel, then remove your /lib/modules/2.6.16 folder, cd to /, and untar the lib.tar.gz file (which is in the junk.tar.gz file).

This is necessary to use the Firestarter package I just put up in the new packages thread.
Attached File(s)
Attached File  junk.tar.gz ( 4.06MB ) Number of downloads: 26
 
Go to the top of the page
 
+Quote Post
Capn_Fish
post Oct 1 2007, 04:54 PM
Post #41





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



How large is the demand for a fastfpe pdaX latest kernel with packet injection support? Post/PM me away if you want it.
Go to the top of the page
 
+Quote Post
climber
post Feb 12 2008, 03:47 AM
Post #42





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



@Capn Fish

Do you know whether ist works for Meanies pdaXii13v2. There is the kernel 2.4 available.

From where do I execute the command "nandlogical /dev/mtd1 WRITE 0x5a0000 0x160000 uImage" ?


Thanks
climber
SL-C3100 & pdaXii13v2
Go to the top of the page
 
+Quote Post
Capn_Fish
post Feb 12 2008, 04:37 AM
Post #43





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



It probably will not work with pdaX11i3, but you never know. If nothing on the system (besides kernel modules) is kernel-specific, flashing it may be OK.

You can run the Nandlogical command from wherever (the example given was from the directory containing uImage).
Go to the top of the page
 
+Quote Post
climber
post Feb 13 2008, 11:24 PM
Post #44





Group: Members
Posts: 193
Joined: 21-November 05
Member No.: 8,574



Ok, I did a zbackup from my pdaXii13v2. I will try it on pdaXrom_r198 to get it working. These are the steps which I'm
planing to do. Please correct me if I'm wrong

1.) Flash my Zaurus SL-C3100 with pdaXrom_r198

2.) Reboot and do some settings

3.) Booted up off the pdaXrom installer and ran in a shell "nandlogical /dev/mtd1 WRITE 0x5a0000 0x160000 uImage" inside the directory containing
uImage

4.) Install the following apps: apps
a.) hostap-utils_0.4.7-r3_armv5te.ipk
b.) kernel-module-hostap-2.6_2.6.16-r41_akita.ipk
c.) aircrack-ng_0.9.1-r2_armv5te.ipk

???? I'm not sure if I need to install the kernel-module-hostap or if it's included in your file?

5.) Modify the script "airoscript.sh" to my settings as described in the readme.

6.) ?????????


Could this work or do I miss something? On which ROM did you get it successful working (pdaXrom; Angstrom; Cacko)?



Thanks
climber
Go to the top of the page
 
+Quote Post
Capn_Fish
post Feb 14 2008, 04:52 AM
Post #45





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



You can flash the kernel from the normal OS. By installing the HostAP package, you got RID of the patched drivers (assuming it's unpatched) Try:

-Install r198
-flash kernel
-untar modules to /
-reboot
-install aircrack and stuff from my feed

That's what worked for me IIRC. The Aircrack packages on the site are for Angstrom/OZ.
Go to the top of the page
 
+Quote Post

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 01:32 AM