DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: SOLVED: all devices hooked up to my router copied to a CSV log file  (Read 14,189 times)

traupmann

  • The Old Gnarly Oak
  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 5
Basically, all devices hook up to my router, their MAC address, type of device, time
Comma separated values to drop into Excel.
Polling could be done at intervals requested 1 min, 5 min, ??, 1 hr, etc.
Any more would be great.

Great for finding late night intruders
[p]
Fear the Dumb
[/p]

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Hi, traupmann, and welcome to the DonationCoder site.  Regarding your request, what are you expecting to be polled?  Your router?  The network itself?  Keep in mind that most (all?) home-style routers are not designed to be polled for their data.

traupmann

  • The Old Gnarly Oak
  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 5
Precisely.  One would think that the local network could be polled, but I am unaware of the difficulty.  My idea is to have a program that would poll the range of addresses the router addresses locally and see what is connected.  Is this rather variable throughout the router world? 
[p]
Fear the Dumb
[/p]

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
SoftPerfect Network Scanner

C:\> netscan.exe /hide /auto:"c:\desktop\result.csv"

As it says right in the docs ;)

Just add it as a scheduled task to Windows.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
What logging options does you router have? Many can report various events to a syslog server ... So if you syslog DHCP events (assuming your router handles DHCP), that should catch most network visitors.

traupmann

  • The Old Gnarly Oak
  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 5
Well, thank all of you for your insights. 

The router log should be capable of being manipulated into what I am looking for. 

[p]
Fear the Dumb
[/p]

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
traupmann, would you like this thread marked as solved or did you still need further help with your request?

traupmann

  • The Old Gnarly Oak
  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 5
Mark this baby solved, I wish life had this simple of answers in every case!
[p]
Fear the Dumb
[/p]

Original address: https://www.donationcoder.com/forum/index.php?topic=34926.0