[Solved] : It was a simple problem... It was in promiscuous mode, the problem was that i enable WPA in my router. And i didn't know i had to add the Key to Wireshark. ( But a doubt now is... How to add a wpa key in a libpcap c code? )
Hi guys,
Short History: Im not in a switched network. Im in my wireless network, and there is traffic. And i could sniff it before, but after changing driver even though i downgrade back to the one i was using i can't get it to work anymore. I can put my card in Promiscuous mode with no problem, but it isn't capturing any traffic besides the one destined to me. What to do? (my card is an Atheros AR5007EG > AR2425 )
Long History:
Im a Network Security Enthusiast, and those days i was playing with my recently Ubuntu 9.04/Jaunty system, installed some random madwifi driver and was sniffing my own wireless network traffic for fun.
Then i decide to test some mac changes. And it was bugged, after a mac change it wouldn't connect back. So i researched, it was a drive issue, updated to the last bleeding edge driver (im using Athk5) and then mac change worked with no problem.
BUT... I couldn't sniff my wireless network traffic anymore, even tough my card is set to Promiscuous mode (i can only capture traffic that was indeed for me...)
I then Unloaded all the wireless modules, uninstalled all wireless drivers. And tried to go back to the first driver i was using, but it didn't work. Tried Stable, Bleeding edge drivers of both Madwifi, and their new project Athk5. Didn't work.
So i decided to use the bleeding edge one (the latest Athk5). But how can i make Promiscuous mode work?
Here's the config it shows in ifconfig:
Quote:
wlan0 Link encap:Ethernet HWaddr 88:a7:38:52:5a:48
inet addr:192.168.1.101 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::8aa7:38ff:fe52:5a48/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:9657 errors:0 dropped:0 overruns:0 frame:0
TX packets:9218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6864547 (6.8 MB) TX bytes:1873515 (1.8 MB)
|
Skuro, thanks in advance.