#152044 - yellowstar - Sat Mar 08, 2008 10:38 pm
Does anybody know of any programs that can both capture and save WiFi packets to your card?(WiFi refers to anything visible on the WiFi channels, mainly local wireless packets)
Last edited by yellowstar on Thu Aug 14, 2008 7:34 pm; edited 8 times in total
#152059 - tepples - Sun Mar 09, 2008 4:45 am
Even if such an app did exist, you probably wouldn't be able to use it for everything you were thinking of. Here's why: Most PCs are set up to transmit and receive 802.11b frames at 11 Mbps. But the DS wireless chip won't receive any frames transmitted faster than 2 Mbps. So you'll miss most of the data.
What were you planning to capture?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#152072 - dantheman - Sun Mar 09, 2008 7:15 am
You could try using tcpdump from within DSLinux. I don't think it comes as a standard app, but you can find it at http://dslinux.org/f0rums/viewtopic.php?t=423 and read the discussion in that thread concerning how to save the output to a file.
You'll still have the speed limitations set by the DS wifi of course.
#152087 - yellowstar - Sun Mar 09, 2008 7:35 pm
I want to capture DS Download Play packets, and packets sent after DP.
DSLinux isn't a option since I use DS-X.(Which broke recently...)
Another Question:
Is it possible to capture packets, with the Nintendo WiFi connector?(With the included drivers)(No homebrew drivers...)
#152255 - yellowstar - Wed Mar 12, 2008 9:24 pm
I'm trying to capture WMB packets, with my Nintendo USB WiFi connector, using the official drivers. And the software I'm trying to use is Wireshark. But, it's not working. It captures packets to and from the dongle fine, but Download Play packets, no.
I tried destroying everything in the Capture and Display Filters, but that didn't work. I tried setting the channel to 1, 7, 11/13, the channels that the official games use, but still nothing. And I tried activating promiscuous mode, but still nothing.(But the comms from the dongle concerning WiFi disappear)
And I have the interface set to Ralink, the N dongle.
When I try checking the status of the dongle in Network Connections, it says it's not detecting any WMB packets...
#152270 - yellowstar - Thu Mar 13, 2008 2:33 am
I tried putting the Driver Network Type var into Ad Hoc mode, but still nothing.
I'm thinking the official driver has something to do with it. I'm thinking the official driver ignores packets not addressed to it on purpose.
I guess I have to wait on that WiFi dongle I'm going to get...(This dongle caused major trouble with the homebrew drivers...)
Summary:
You can capture packets from the Nintendo dongle about WiFi. But, it seems you can't capture packets from from Download Play/WMB. The only way you could do that is with the homebrew drivers, and that's not an option for me.(If you would have a DS capture packets and route them to the dongle, it should work. But that's pointless since you could just save those captured packets.)
#152394 - masscat - Fri Mar 14, 2008 10:34 pm
If you are trying to capture wireless packet under Windows then you are probably not going to get much success (see the Wireshark wiki).
Under Linux you can use the Nintendo Wifi adapter for packet capture. It is what I used to look at packets when developing my Linux wmbhost software.
#152422 - yellowstar - Sat Mar 15, 2008 6:20 pm
So even if I'd have a wireless card in my desktop computers with Windows, I couldn't use it for packet captures?! Arrgghh...(I know about that AirPCap adapter)
Another reason to switch to Linux...
EDIT:
Is it possible, still with the official drivers, to make the Nintendo dongle be assigned/joined to the SSID of a Download Play ad, so in theory it would capture packets from it?
#152533 - masscat - Mon Mar 17, 2008 11:18 am
yellowstar wrote: |
Is it possible, still with the official drivers, to make the Nintendo dongle be assigned/joined to the SSID of a Download Play ad, so in theory it would capture packets from it? |
No it is not. Download Play is similar to standard 802.11 networking but different enough for it to be ignored by a PC's normal wireless system.
#158514 - yellowstar - Thu Jun 12, 2008 6:06 pm
I might be getting a new Wifi dongle soon.(Zyxel G-220v2 dongle)
I guess like everything else, packet capture wouldn't work on Windows. I guess it would work on Linux?(There's Linux drivers for it)
Does anybody have any experience with this dongle, with it being connected on a desktop XP and Vista, and DSes and a Vista laptop being connected to it?(Or any experience at all with it?)(Just normal Wifi)
I was going to order Zyxel G-220 today, but then I found that there's problems with Vista compatibility. This model has Vista compatibility.
#158516 - yellowstar - Thu Jun 12, 2008 6:58 pm
Well, googled and went through 8 pages, and didn't find hardly anybody with problems.(Unsolved ones anyway)
The software and driver need to finish downloading.(Driver is small, software is ~7 MB)
I'm going to wait a couple days before ordering.
#158538 - yellowstar - Fri Jun 13, 2008 1:41 am
Packet capture of WMB with USB Wifi adapters on Windows is possible, but...
It's done by capturing raw packets over USB. That page links to the Tools page, which at the bottom has the Windows USBSnoop tool.
Here's the bad part: When I tested it, when I was digging though the usblog file with a hex editor and it's search feature, all I could find was beacons, nothing else... And masscat said the dongle works on Linux, so USB capture should work... Why wouldn't it work?
Another thing:
The captured packets are not saved in libpcap format.(usblog format)
I need to either write my own software to convert the files to .cap files, and then extract the actual Nifi packets out of the raw USB packets, or find software on internet to do likewise.
#159065 - yellowstar - Wed Jun 25, 2008 2:22 am
Is it possible to do WMB packet capture using a router?(So you'd be using a router for capture, instead of like say an internal wireless card)
#159066 - Sektor - Wed Jun 25, 2008 2:36 am
The router would need an ralink chipset and a custom firmware (you'd have to code your own). Best to use a wifi card.
_________________
GTAMP.com/DS
Last edited by Sektor on Wed Jun 25, 2008 3:00 am; edited 1 time in total
#159067 - yellowstar - Wed Jun 25, 2008 2:51 am
Guess I'm back to where I was again... This router, it's a Linksys, so I guess that's out. I didn't want to mess with custom firmware either, due to the warranty-voiding.
#159241 - yellowstar - Fri Jun 27, 2008 11:30 pm
How do I capture packets from a Wii, (or anything other than the computer really)
connected to a Linksys WRT52G2 router, when it is doing WiFi? This is for mainly capturing packets from the DS Demo transfers when the Wii downloads the demo off of Nintendo's servers. The computer is connected to the router via Ethernet. The router uses an external modem for Internet. I tried capturing packets off of the Ethernet NIC, but all I got was traffic between the computer and router, no Wii, or even DS, at all. I tried connecting the computer to the modem directly, but I didn't get anything from DS/Wii. The router has the latest firmware. I checked the web site, and the version is the same as the one I have. There's this "Port Range Forward" feature, but I tried it, with no success. I read the description, and it seems it's made for something else... I can't try this for a long while, but would capturing Wii WiFi packets with a laptop /w WiFi work?
#161805 - yellowstar - Thu Aug 14, 2008 7:30 pm
I tried capturing USB packets via SnoopyPro, /w a Zyxel G-220 in both AP/Station mode, while attempting to capture WMB packets. Beacon capture seems to have worked. But there's only beacons in the capture - no WMB data packets or anything, except for beacons. In station mode I can't clamp the transfer rate down far enough, and in station mode, I can't set the rate manually. However, the rate is set to 2.0 mbps when a DS is doing Wifi, so perhaps it could be done that way. But even at a higher transfer rate, wouldn't non-beacon packets be captured?
#164679 - cboomf_ - Thu Nov 13, 2008 2:33 pm
its a bit hacerish but i use airodump-ng 0.9.4 which uses peek drivers ...
It works on my atheros chipset and some others ...
_________________
M3 Simply - 1GB SanDisk
Flashme'd DS