SSID sniffer on linux, in C

Can someone point to source code in c/c++ for an SSID sniffer on linux? I am new to this area, and need to get something running quickly. If not the cource code, let me know the main steps to do this programatically please. Essentially, I am trying to log the ssid of APs as the mobile deivce roams around.

Also, if there is a sniffer for bluetooth information (say MAC address), i want to know that too.

thanks a bunch!

Reply to
driz
Loading thread data ...

How about kismet?

formatting link

Reply to
Roby

"Herbert Grünzig" hath wroth:

The "sometimes" is an important clue. The DWL-700AP has a built in DHCP server. If there is another DHCP server in the system, this MUST be turned off in order for things to work. The default is off, but it's worth checking.

formatting link
Check the log files on both the router and the repeater for clues.

OK. That means you're hearing the DWL-700AP and that the SSID's are correct. You can only view the log pages in the DWL-700AP from a wired connection to the ethernet port. Check the log pages for problems.

The DLink support web site has some information on repeater and range stretcher compatibility. You might want to review all the applicable articles: |

formatting link
there's nothing about repeater compatibility such as what they list with other repeater products.

Also, check that you have the latest firmware.

How to setup repeater mode in the DWL-700AP |

formatting link
My usual pitch line is that repeaters only work with access points and routers that use the same chipsets. The DI-624 uses an Atheros AR5002 while I think (not sure) that the DWL-700AP uses an ADMtek ADM8628. In general, the vendor difference is an invitation for a problem, but I've been suprised by allegedly incompatible chipsets working just fine.

Reply to
driz

Open-source kismet is written in c++ so you're invited to re-use the code subject to the license; but it's not a library. I don't know where you would find the tools to "get something running quickly".

Reply to
Roby

Hmmmm, sounds suspiciously like someone asking the 'net to do their homework.

Reply to
Bill Kearney

"Bill Kearney" hath wroth:

Yep. Checking the posting IP address from the header with RDNS yields Duke University in Durham North Carolina. 152.3.141.163 PTR record: hassam.cs.duke.edu. However, this doesn't sound like homework. I don't think that they offer classes in hacking. Perhaps they do... oh-oh.

Reply to
Jeff Liebermann

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.