Help - Search - Members - Calendar
Full Version: DSWifi wifi_lib_test
1Emulation.Com > Official Emulator Forums > DSWifi
sgstair
Hiya people,
As you might know, I've recently released a binary of my work in progress library test.. It's nothing special, but it does some useful stuff which is why I released it.
Anyway, I'm interested in some feedback - specificly things that could be improved or that you'd like to see done differently, but any feedback is good smile.gif

For reference:
Binary link: wifi_lib_test.nds (akkit.org) - wifi_lib_test.ds.gba (akkit.org)

Revision history:

Version 0.1 (initial release)
* Included "wardriving" program, capable of collecting data on up to 512 wireless devices (not necessarily all Access Points)

Version 0.1a
* Updated gui on main menu and "wardriving" program
* Added "keyboard test" for a newly designed keyboard module

Version 0.1b
* Increased "wardriving" limit to 4096 devices
* Fixed some really stupid bugs in the keyboard.

Version 0.1c
* Increased compatibility! M3 support added, could fix other platforms.
* minor tweaks

Version 0.2
* Added Ability to connect to Access points
* Added UDP "Experimenter" to send UDP packets.
* More tweaks, bugfixes, etc...
* See www.akkit.org/dswifi/ for PC-Side test app & more info.

Version 0.2a
* Added support for rate-spoofing to increase AP compatibility.
* Fixed crash bug relating to ARP timeout

Version 0.3
* Added "Packet Capture" mode
* Added Connect via WFC data option
* Improved connection ability
* Added DNS test
* Added TCP test
* Improved speed, memory efficiency
* ICMP echoes

More features will be added to this in the near future, of course.

-Stephen
JaJa
As Tssf has said in another post this thing is sensitive.
I picked up 4 access point, 3 of which i didn't know about (all unencrypted too....)
I know this is like a alpha release but i have a couple of suggestions.
1. Instead of hex (?) for signal strength have a percentage or db
2. Lights out on lid close
3. Blinking light, (prehaps faster the closer you get to the selected ap?)
4. Possibility of moving the AP information to the top screen (using select?)
5. A count of WEPon vs. WEPoff AP's. e.g. 26/100 AP's WEPon

Keep up the good work.
This is sure better than MK wardriving (well walking).
I just leave it in my bag scanning for AP's around school.
El_Hobito
It doesnt work withe the m3 (and no doubt the g6 either)
have you set the power control register?
the line
powerON(POWER_ALL);
should do it this is required for the m3/g6 but not for others it seems
nomis
I got this now working on my m3 but I wonder if it can detect Nintendo Wifi connector because it doesnt seems that shows up on the wardriving thing. And is the Keyboard test made for sending textmessage to wirlessdevice cause I can´t get it work. I think you need to fix the keyboard a bit cause you never write the letter you pushing.
co2
It works great with my GBAMP! I don't have an AP myself but I spotted 5 AP's while walking around in my flat. Wow blink.gif Never guessed here would be so many.

Some feedback:

* Wardriving detects WEPon and WEPoff but when an AP has WEPoff it can have WPA. Is is possible to implement something like noSECURITY|WEPon|WPAon?
* Current version has a limit to 4096 WIFI devices. Has anyone actually detected more then 512 devices? tongue.gif

Keep up the good work! I wish I had more spare time.
alexa999
QUOTE (co2 @ Dec 3 2005, 07:38 AM)
It works great with my GBAMP! I don't have an AP myself but I spotted 5 AP's while walking around in my flat. Wow  blink.gif  Never guessed here would be so many.

Some feedback:

* Wardriving detects WEPon and WEPoff but when an AP has WEPoff it can have WPA. Is is possible to implement something like noSECURITY|WEPon|WPAon?
* Current version has a limit to 4096 WIFI devices. Has anyone actually detected more then 512 devices?  tongue.gif 

Keep up the good work! I wish I had more spare time.
*


If you go to like E3 or something you might hit the limit. tongue.gif
Dudu.exe
all versions freeze in Supercard..
LargePig
Dudu.exe,

Apply the loader. Noe of them work for me without the loader but do with it on my supercard SD.

Damned Dlink g604t doesn't work with this OR mkds sad.gif
Stupid Dlink!

Keep up the good work Stephen
JaJa
Largepig: The UK, US and EUR firmware is rubbish.
If you want wifi that badly grab the austrailian ADSL2+ firmware.
It works great!
http://www.expansys.com/forumthread.asp?co...0551&thread=666
mrNinya
Okay, this is probably a very stupid question, but where can I download a.ds.gba version?

Are there any program that can convert it?
All I've found is a program that removes the headerthingamado (or something like that ^^).
LargePig
JaJa:
Yeah, I'd seen the post but am anxious to go for the Australian firmware. I had enough fun getting the bugger to work with Ukonline with the UK firware! Just have to wait i guess.
Skaven
Hi all....new to the forum!!

Just wanted to add that I have just tried the latest version on my Supercard ( latest updates etc) freezes on choice screen.

Hope this helps
Jercos
Heh, this is awsome sgstair! i loaded this on via WMB and took it up to the local Xmas tree farm(a couple of miles) and it picked up over 200 networks!
LargePig
I have a couple of suggestions...

1) Sort the networks in order of signal strength, highest at the top (so i don't have to keep scrolling down while driving)
2) You've probably heard of Airsnort right? That would be stunning functionality to have in a handheld tongue.gif

Probably opening myself up for some abuse with the airsnort suggestion but people should be using WPA by now anyway.
TheChuckster
Any progress on the actually library itself since the 2nd of this month?
sgstair
Yes, the library is being developed and improved alongside the test app. The whole purpose for the test app is to verify the library interface is complete, usable, and that it's behavior is correct.

-Stephen
El_Hobito
QUOTE (sgstair @ Dec 6 2005, 12:26 AM)
Yes, the library is being developed and improved alongside the test app.  The whole purpose for the test app is to verify the library interface is complete, usable, and that it's behavior is correct.

-Stephen
*

if this app could give some more useful info on the signal strength then it could be such an amazing app for testing signal strength. its already pretty good at that mind you!

p.s. thanks you the app since it keeps our curiosity occupied for a while!
sgstair
(Actually, the app is now giving more useful info on the signal strength, see www.akkit.org/dswifi/wifi_lib_test_preview.nds to see what the next version will hold smile.gif )

-Stephen
Darkflame
Just tried it on my GBAMP2 and it works perfectly.
I can detect 6 points withen range!
4 of them unsecure (but sadly MarioKart works on none of them..)

Its weird...Wi-Fi seems much more in use then I imagined.
Makes me wonder if some bright person will one day invent a per-to-per wi-fi ISP system...[/dreams]

Anyway, fantastic work on this app, cant wait to see where this leads smile.gif
FloFri
I have a suggestion: why not let the user choose an access point and let him try to send a mail if it has acces to the internet smile.gif
So you can combine the wardriving and the keyboard test and the smtp protocol is not too hard to implement. smile.gif
Samor
tried it with Flashme/GBAMP as well, and also having nice results smile.gif
bafio
QUOTE (sgstair @ Dec 6 2005, 01:58 AM)
(Actually, the app is now giving more useful info on the signal strength, [...]


It looks really interesting, but is it supposed to connect to the Ap? I can't enter the WEp key, but I understand this can be because it's a preview!

Anyway, great work! Recognises my AP (not the G access point from upstairs, i guess it's in G mode only) and wep and all!

biggrin.gif

Bafio
El_Hobito
QUOTE (LargePig @ Dec 4 2005, 12:22 AM)
JaJa:
Yeah, I'd seen the post but am anxious to go for the Australian firmware. I had enough fun getting the bugger to work with Ukonline with the UK firware! Just have to wait i guess.
*

i would imagine using the austrailian firmware would be illegal due to the router then operating using austrailian rf frequencies.
kiwibonga
QUOTE (Darkflame @ Dec 6 2005, 03:30 AM)
Makes me wonder if some bright person will one day invent a per-to-per wi-fi ISP system...[/dreams]
*


When that happens, we'll all get cancer because of it! tongue.gif
JaJa
QUOTE (El_Hobito @ Dec 6 2005, 10:23 PM)
QUOTE (LargePig @ Dec 4 2005, 12:22 AM)
JaJa:
Yeah, I'd seen the post but am anxious to go for the Australian firmware. I had enough fun getting the bugger to work with Ukonline with the UK firware! Just have to wait i guess.
*

i would imagine using the austrailian firmware would be illegal due to the router then operating using austrailian rf frequencies.
*



Or not. You see wifi is a standard (802.11) which means it's the same worldwide.
Although i think channel 13 is banned in america, the other 12 channels are the same whether it's US, UK or Austrailian.
Skaven
Got it working on supercard with latest updates etc...
Sometimes it just boots to 2 white screens but will work after a few attempts. Noticed you cant change the WEP key but guess it because of it being a preview... Great app really looking forward to seeing next release..
.t.
I don't know if anyone else has noticed, but on the latest version (downloaded today), the app hangs after a brief period of what seems like WiFi activity. I am using FlashMe v5 and an EZFA flashcart. I cannot connect to my AP (no time before hang), and wardriving doesn't take long to crash either. I don't suppose it is just me - the first version worked just fine. Note that the first version required me to prepend the ndsloader.bin (which I downloaded from the FlashMe site), but the current version, with the loader, hangs on boot with two white screens. Without the loader, I can use it, albeit unstably. The loader I am using is v1.1 (the latest).

EDIT: The same white screens are also true of ndsmall.bin
Lockwood
Today I walked around the school with my nds and the wifi tool (it was -2 celsius my hands were freezing) and I found 31 AP.
And on the highway from the school to my home +50 AP (50km, with 25km wood). naughty.gif

Is it possible to send a message to the acces points?
Jercos
Question:
How do I recive the UDP message?
I tried NC for NT in UDP listen mode but nothing happened...
Anybody else have this working?
infernoDS
Hey! I'm working on an UDP chatserver on winsock to communicate with the UDP experimenter. The only problem is that messages sent from the pc to the ds, that have an odd amount of letters (such as 3, 5, 7, 9 letters), result in an "UDP receive checksum incorrect" message on the ds. Messages with an even amount of numbers (2, 4, 6, 8 letters) do get through blink.gif.
Is it my bad programming or a bug in the experimenter?

Anyway, I'll release the chatprogram/server soon (will be able to act as a remote for winamp!).
bafio
QUOTE (infernoDS @ Dec 21 2005, 06:18 PM)
Hey! I'm working on an UDP chatserver on winsock to communicate with the UDP experimenter. The only problem is that messages sent from the pc to the ds, that have an odd amount of letters (such as 3, 5, 7, 9 letters), result in an "UDP receive checksum incorrect" message on the ds. Messages with an even amount of numbers (2, 4, 6, 8 letters)  do get through  blink.gif.
Is it my bad programming or a bug in the experimenter?

Anyway, I'll release the chatprogram/server soon (will be able to act as a remote for winamp!).
*


Hi, I know there is a problem receiving odd sized packets. My solution was quite simple (I wrote the transfer program for the DS): use even sized packets, adding some padding to the end (at that point having the first two bytes of the packet to indicate the size of the actual data in the packet).

This worked out fine to me. I instead have problems when sending packets from the DS to the server: after a while the DS will simply stop sending them (on both my program and Sgstair's).
Does anybody has the same problem or is it particular to my configuration?
I talk about sending packets for 2/3 minutes, not a few seconds.

Bafio
sgstair
yes, checksum problems with odd-sized packets are a known issue. I'm working on this, next version will have it fixed.

-Stephen
LargePig
Bit the bullet and applied the Australian firmware..... Why do people always make things sound harder than they are? It's just a normal firmware update but the router's IP changes to 10.1.1.1 after the update... big deal!

It's all working fine now. Including the wifi lib test app smile.gif

It was this email from Dlink that made me go ahead with the Aus firmware:

I'm sorry there are no plans of releasing a Nintendo DS compatible firmware in the UK.
Using another country's firmware will indeed void the warranty.
For returns or replacements contact your reseller


I was going to take it back and exchange for a router that works but got lazy.
Zeep
Wow, this is awesome. I turned on my DS and put this into wardriving mode, and left it on in my pocket while I was at school and walking home. By the time I got home, it listed almost 115 netrworks.
Nushio
QUOTE (Zeep @ Jan 23 2006, 11:10 PM)
Wow, this is awesome. I turned on my DS and put this into wardriving mode, and left it on in my pocket while I was at school and walking home. By the time I got home, it listed almost 115 netrworks.
*

Its very sensitive. I can see around 5 networks right now, and my laptop only sees 1.

At home, I can see my neighbor's router, whereas regular laptops cant.
Ratticon
QUOTE (Nushio @ Jan 24 2006, 06:04 PM)
QUOTE (Zeep @ Jan 23 2006, 11:10 PM)
Wow, this is awesome. I turned on my DS and put this into wardriving mode, and left it on in my pocket while I was at school and walking home. By the time I got home, it listed almost 115 netrworks.
*

Its very sensitive. I can see around 5 networks right now, and my laptop only sees 1.

At home, I can see my neighbor's router, whereas regular laptops cant.
*



Here in the UK, a sort of circular drive around the city of Bath got me exactly 200. rad smile.gif

Not sure about the signal detection though, some networks I was miles from at the start of my trip got stuck at 7% signal when there blatantly should have been none happy.gif

Very cool!

Rat
Öhr GmbH
QUOTE (Pepsiman)
I’ve fixed the WEP support in the Wifi driver so that it can authenticate with APs that use Shared Key authentication.

Usage:
iwconfig nds channel <N> essid <ESSID> key <wepkey>

Thanks go to sgstair and the ethereal dev team.

Update: It looks like only 64bit WEP is working.

Update 2: 128bit WEP in the next build.

Pepsiman added WEP 64bit support to his DS Linux project!
http://www.dslinux.org/blogs/pepsiman/


i hope sgstair releases the new wifi lib test soon smile.gif
and after this release WEP 128 bit support.
YAY i love u sgstair!
FloFri
Yes, thats cool, I have tested it, it worked the first time for me (the original lib didnt even work for me, when i disabled WEP).
And as an addition: WEP 128 works now, too (as of 20.02.2006). There was an error in the documentation.
I hope, pepsiman helps you to add these changes into the original library, so I can continue developing with your lib smile.gif
kallelej
Is there any guide to how to know what is what? Primarily what I want to know is how to see which connections are open (that i can connect to) from the wardriving menu. I would approciate any help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.