forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSP AP Stumbler - Looking for testers

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
AyAn4m1



Joined: 26 Sep 2005
Posts: 15

PostPosted: Mon Oct 31, 2005 2:53 am    Post subject: PSP AP Stumbler - Looking for testers Reply with quote

I've been working on an app that scans for wifi APs, and I'm in need of some outside help. Right now, I'm still trying to figure out the params for sceNetApctlScan(), so I've written an app that dumps the returned data to the screen. If anyone has some time to kill, just fire it up (make sure your Wlan switch is on...) and reply to this thread with the results. The number at the bottom of the screen is just to show you that it's updating every second, so don't bother to include that. If anyone has more complete information about sceNetApctlScan and it's parameters or return values, please PM me. Thanks for your time!

Download 1.0/1.5 eboots here: http://cocot.sytes.net/pspstumbler.rar
Back to top
View user's profile Send private message
MikeDX



Joined: 19 Oct 2005
Posts: 30

PostPosted: Sat Nov 05, 2005 1:22 am    Post subject: Reply with quote

hey

I'm surprised nobody has replied to this, as it seems rather interesting.

I will test it now.
Back to top
View user's profile Send private message
MikeDX



Joined: 19 Oct 2005
Posts: 30

PostPosted: Sat Nov 05, 2005 1:26 am    Post subject: Reply with quote

hmm very strange

just hangs at "loading....."

is it meant to do something? how long does it have to "load" for...?
Back to top
View user's profile Send private message
AyAn4m1



Joined: 26 Sep 2005
Posts: 15

PostPosted: Sat Nov 05, 2005 6:31 am    Post subject: Reply with quote

You should be able to flip the wlan switch on and run it, it should only take a second or so to "load". Make sure that you are using a static IP in your network connection, DHCP doesn't work as of right now.
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Sat Nov 05, 2005 9:07 am    Post subject: Reply with quote

1
0
-1
-1
-2012843800 alternating with -2011952616
-2013003776
-559038737
-559038737
-559038737
-559038737

I sincerely hope that means something to you! ;-)

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
Pit0711



Joined: 24 Mar 2005
Posts: 54
Location: Old Europe -Germany-

PostPosted: Sat Nov 05, 2005 9:20 pm    Post subject: Reply with quote

hangs on load screen....
Back to top
View user's profile Send private message
AyAn4m1



Joined: 26 Sep 2005
Posts: 15

PostPosted: Sun Nov 06, 2005 7:01 am    Post subject: Reply with quote

Jim, thanks for the info, that does help a little. Pit0711, make sure that your connection is set to use a static IP... DHCP doesn't work with the version of libnet I'm using.

EDIT: Jim, just to clarify, how many APs were there when you did the scan, and do you know their SSIDs? Thanks.
Back to top
View user's profile Send private message
curly



Joined: 06 May 2005
Posts: 5

PostPosted: Sun Nov 06, 2005 6:44 pm    Post subject: Reply with quote

Hi,
This is no the subject of your post, but you can know the state of the wlan swith, with the function :
int sceWlanGetSwitchState(void) with LIBS = -lpspwlan
it's return 0 when the swith is off.

bye
Back to top
View user's profile Send private message
AyAn4m1



Joined: 26 Sep 2005
Posts: 15

PostPosted: Mon Nov 07, 2005 12:24 am    Post subject: Reply with quote

curly, this was meant to be a quick test app, but I did add a check for the wlan switch in. You can get the updated version at http://cocot.sytes.net/pspstumbler.rar

Thanks for the tip.
Back to top
View user's profile Send private message
liquid8d



Joined: 30 Jun 2005
Posts: 66

PostPosted: Mon Nov 07, 2005 4:23 am    Post subject: Reply with quote

great.. .been waiting for a stumbler :)

You may want to add an option for connection choosing.. i had to delete both my connections and reset up a new one to get it to work.

Here's what i got:

Integers Returned:
1
0
-1
-1
-2012843800 | -2011952744 (alternating)
-2013003776
-559038737
-559038737
-559038737
-559038737

Just one access point, SSID is 'waccessTH'


LiQuiD8d
Back to top
View user's profile Send private message AIM Address
AyAn4m1



Joined: 26 Sep 2005
Posts: 15

PostPosted: Mon Nov 07, 2005 5:54 am    Post subject: Reply with quote

liquid, in the actual app there will be connection management and all sorts of extra user-friendly stuff like that. For right now it's a proof-of-concept. I think I have a decent idea of what these values mean... the -559038737 values are an error code (0xDEADBEEF, anyone?) that can be discarded. The first number is the # of APs detected, and then five values are repeated for each AP found. I think that the alternating numbers are signal strength and name, although I have yet to nail that one down. I think that the -2013003776 has something to do with encryption, although again I have yet to prove this. The others are booleans that determine whether or not certain features are supported, like DHCP... I'd like to get a test with two access points to confirm my theory about the first value, and then try to get the AP name. The more test results I get, the easier this will be. Thanks for your efforts!
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Mon Nov 07, 2005 7:39 am    Post subject: Reply with quote

2 access points egannet and mew-egan. I control the first one, the other is someone else in my street.

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
dats_it



Joined: 07 Nov 2005
Posts: 1

PostPosted: Mon Nov 07, 2005 6:11 pm    Post subject: Reply with quote

hmmm... interesting results...
i got:

1
0
-1
-1
-2011953128 / -2012843800
-2013003776
-559038737
-559038737
-559038737
-559038737

i ran it a few times to see if it changes when i moved around and it did but not as drastically as i might have thought.

i'm interested in just finding out how to retrieve the signal strength. any help please? im desperate...
Back to top
View user's profile Send private message
curly



Joined: 06 May 2005
Posts: 5

PostPosted: Wed Nov 09, 2005 5:32 pm    Post subject: Reply with quote

I ve the same problem, it's only display loading,

I am sure that i' ve a fix ip.
I use a 1.5 firmware on a Japan PSP(1000K)
I use a LiveBox (Wanadoo, France) for wifi & ADSL

Bye
Back to top
View user's profile Send private message
Zenurb



Joined: 30 Sep 2005
Posts: 106
Location: United Kingdom

PostPosted: Thu Nov 10, 2005 11:29 am    Post subject: Reply with quote

Integers Returned:

1
0
-1
-1
-2013199488 / -2012843800
-2013003776
-559038737
-559038737
-559038737
-559038737
_________________
Proud Dvorak User
US 1.5 PSP (Original)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
HaQue



Joined: 25 Nov 2005
Posts: 91
Location: Adelaide, Australia

PostPosted: Sat Dec 03, 2005 11:37 pm    Post subject: also Reply with quote

Hi,
Im also working on an app that will do the same types of things as kismet/netstumbler.

Funnily enough, I reffered to it as PSPstumbler, so looks like I need to choose a new name.

I don't even have my PSP yet, so cant test your app to post the results. I will in a few weeks.

Have you/ are you hosting the sourcecode anywhere? I wouldn't mind taking a look if thats ok.

I am researching the wireless chipset to see how much we can do with it. Im hoping we can do something like "iwpriv" with it, and I'm even hoping for monitor mode.

HaQue
_________________
www.smartwave-wireless.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
openfly



Joined: 13 May 2005
Posts: 6

PostPosted: Thu Dec 15, 2005 6:55 am    Post subject: RFMon Reply with quote

Have you produced an RFMon style interface to the wlan controller?
I assume you are using sce ap scan API.
In which case not what I would like to see.

does anyone know of a method to issue direct commands to the wireless chipset?
or dump the wireless into monitor mode and do a raw capture?
or change wireless power output?

thoughts? comments?

*edited as I solve my own problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group