New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jdommer
Old
(Last edited by jdommer; 9th April 2012 at 10:34 PM.)
#1  
Member - OP
Thanks Meter 41
Posts: 58
Join Date: Jan 2012
Location: Chicago

 
DONATE TO ME
Default [Wifi][0.8][WIP][Testers Wanted]WPA Supplicant 0.8.x

So, I've been messing around with the source for a couple weeks and finally managed to make a wpa_supplicant based on the 0.8.x code which compiles, loads, and seems to connect to the internet.

Do I know why? Not really. I was working on it mostly just to get back into practice with code and I had some knowledge of the wpa supplicant from messing with the ad hoc and multicast. (Both of which mods are not applied to this supplicant as I wanted to keep it simple until it built correctly.)

Anyhow, the stupid thing finally loads and appears to work. And hopefully it'll be compatible with HashCode's new kernel when that has wifi in it.

If anyone is willing to download and see what does/does not work, I'd appreciate it.

This is totally a testing version, not general use. I honestly don't even know what the 0.8.x version of the wifi supplicant is supposed to do better than the 0.6.x version. But it's a higher version, so it must be better, no?

So, here's the download (Updated 4:30pm 9-Apr-12 CDT).

New version appears to fix encrypted networks, so all unknown on what works/doesn't.


jd
The Following 3 Users Say Thank You to jdommer For This Useful Post: [ Click to Expand ]
 
jdommer
Old
(Last edited by jdommer; 9th April 2012 at 04:31 PM.)
#2  
Member - OP
Thanks Meter 41
Posts: 58
Join Date: Jan 2012
Location: Chicago

 
DONATE TO ME
To install:
Download the file. I'm assuming you have ADB running and that you you're in the directory you saved the file to. No I'm not going to help with this part.

adb shell cp -a /system/bin/wpa_supplicant /system/bin/wpa_supplicant_06x
adb push wpa_supplicant /system/bin/wpa_supplicant_08x
adb shell chown root.shell /system/bin/wpa_supplicant_08x
adb shell chmod 755 /system/bin/wpa_supplicant_08x

Now shut off the wifi on the kindle

adb shell cp -a /system/bin/wpa_supplicant_08x /system/bin/wpa_supplicant

Now turn on the wifi.

To revert:

Shut off your wifi

adb shell cp -a /system/bin/wpa_supplicant_06x /system/bin/wpa_supplicant

Turn on wifi, or if it will not, then reboot.

jd
The Following 2 Users Say Thank You to jdommer For This Useful Post: [ Click to Expand ]
 
Krunk_Kracker
Old
(Last edited by Krunk_Kracker; 9th April 2012 at 04:37 PM.)
#3  
Krunk_Kracker's Avatar
Senior Member
Thanks Meter 642
Posts: 1,184
Join Date: Sep 2009
Location: Lakeland

 
DONATE TO ME
Flashable zip?

Or push with ADB?

:EDIT:

Disregard this post, I posted before he posted directions in post #2.
+Droid RZR MAXX+
+Nexus 7 - Paranoid Android / Nexus Louder mod+
 
jdommer
Old
#4  
Member - OP
Thanks Meter 41
Posts: 58
Join Date: Jan 2012
Location: Chicago

 
DONATE TO ME
Extra post just in case
 
d33dvb
Old
#5  
Senior Member
Thanks Meter 55
Posts: 293
Join Date: Sep 2007
Can i haz packet injection?
 
jdommer
Old
#6  
Member - OP
Thanks Meter 41
Posts: 58
Join Date: Jan 2012
Location: Chicago

 
DONATE TO ME
Quote:
Originally Posted by Krunk_Kracker View Post
Flashable zip?

Or push with ADB?

:EDIT:

Disregard this post, I posted before he posted directions in post #2.
LOL, I think I was actually writing post 2 as you posted. Since you got in before the second placeholder
The Following User Says Thank You to jdommer For This Useful Post: [ Click to Expand ]
 
jdommer
Old
#7  
Member - OP
Thanks Meter 41
Posts: 58
Join Date: Jan 2012
Location: Chicago

 
DONATE TO ME
There's no new functions in this that aren't in the stock WPA supplicant. I kinda mashed the ti driver against the 0.8.x supplicant code and then snipped off anything that didn't match. That's why I'm not sure what's not going to work.

From all my looking through the WPA supplicant, I haven't seen anyplace where it interacts at the packet level. I believe that's done driver-side. WPA supplicant seems to manage network names and settings only. I had high hopes of finding how the nic decides to roam originally but not even that seems to be accessible.
 
jdommer
Old
#8  
Member - OP
Thanks Meter 41
Posts: 58
Join Date: Jan 2012
Location: Chicago

 
DONATE TO ME
Sorry, but if you downloaded prior to this post, please download again. I found a problem with connecting to encrypted networks. (Had been using work guest network for testing previously.)

Fortunately it was a not difficult change and so I uploaded new version to fix that known issue.

Thanks again to anyone testing.

jd
The Following User Says Thank You to jdommer For This Useful Post: [ Click to Expand ]
 
d33dvb
Old
#9  
Senior Member
Thanks Meter 55
Posts: 293
Join Date: Sep 2007
jd,

I was only trying to encourage thought around the idea of getting monitor mode / injection working on this driver, and since I have no clue how to make it work myself, I figured I would get those working on the wifi to have a look how to recompile the drivers (hopefully) lol.
 
paranoid android85
Old
#10  
paranoid android85's Avatar
Senior Member
Thanks Meter 142
Posts: 1,261
Join Date: Oct 2010
Location: san antonio, tx
can i use root explorer for this?