Need IP Traffic logging to a USB stick

5 posts / 0 new
Last post
MillerTime79
MillerTime79's picture
Need IP Traffic logging to a USB stick

I need to find out how to log daily IP traffic reports to a USB stick for every device connected to my Netgear Nighthawk R7000.  I have about 5 wired connections and about 10 wireless connections.

I'm a NOOB so tinkering with open-source firmware is not my strong suit.  I did manage to install Version 125 Shibby build on my R7000 by watching the video on how to do it, but I'm having a hard time figuring out how to create a shared folder on a USB stick plugged into the router and then have daily IP traffic logs saved to that USB folder.

Do I need to use CIFS to do this?  I tried setting up the CIFS Client but I couldn't get it to work -- I created a username & password and custom folder but it hung up on mounting.  I know the stock Netgear Genie GUI makes it easy to set up a ReadySHARE custom folder on an attached USB stick, but I have no idea how to do this in Tomato.

I also need to be able to remotely access the daily IP logs when I'm away from home.

Can anyone post a step-by-step tutorial on how to do this, or point me to a video or website that explains it in detail?

Mastec
Mastec's picture
I have the Toastman version

I have the Toastman version but they should be the same when it comes to USB. To start I made the directory iptraffic on my USB flash drive. Log into your router and go to USB and NAS/USB Support page. Make sure to check Core USB Support, USB 2.0 Support, USB 1.1 Support, OHCI and UHCI. Go down to USB Storage Support, File Systems Support Automount, Ext2/Ext3, NTFS and FAT and make sure those are checked. Attach your USB stick and click on Save. Your USB stick should appear Attached Devices.

Go to USB and NAS/File Sharing... Set Enable File Sharing to Yes, no authentication. Make sure Auto-share all USB Partitions is set to Read/Write. Click on Save.

Go to Administration/IP Traffic Monitoring. Check Enable. In save history location set to Custom Path then enter the path to your stick. Mine as an example is /tmp/mnt/FLASH_DRIVE/iptraffic/. Then check Save On Shutdown, Create New File (Reset Data) and Create Backups. Click Save.

Your USB stick should start showing IP Traffic.

MillerTime79
MillerTime79's picture
 

 

Mastec said: I have the Toastman version but they should be the same when it comes to USB. To start I made the directory iptraffic on my USB flash drive. Log into your router and go to USB and NAS/USB Support page. Make sure to check Core USB Support, USB 2.0 Support, USB 1.1 Support, OHCI and UHCI. Go down to USB Storage Support, File Systems Support Automount, Ext2/Ext3, NTFS and FAT and make sure those are checked. Attach your USB stick and click on Save. Your USB stick should appear Attached Devices. Go to USB and NAS/File Sharing... Set Enable File Sharing to Yes, no authentication. Make sure Auto-share all USB Partitions is set to Read/Write. Click on Save. Go to Administration/IP Traffic Monitoring. Check Enable. In save history location set to Custom Path then enter the path to your stick. Mine as an example is /tmp/mnt/FLASH_DRIVE/iptraffic/. Then check Save On Shutdown, Create New File (Reset Data) and Create Backups. Click Save. Your USB stick should start showing IP Traffic.

 

 

OK thanks I will try your suggestions.

How do I access the log reports on the USB stick so I can download them to my desktop hard drive?  I assume I will need to type something like this into a browser window, right?

192.168.1.1/tmp/mnt/FLASH_DRIVE/iptraffic/

Mastec
Mastec's picture
You can access the folder in

You can access the folder in Windows Explorer under Network. Most likely it will be called Unknown unless you gave your router a name in Identification. I am not sure about downloading logs though. Sorry

MillerTime79
MillerTime79's picture
 

 

Mastec said: You can access the folder in Windows Explorer under Network. Most likely it will be called Unknown unless you gave your router a name in Identification. I am not sure about downloading logs though. Sorry

 

OK cool it sounds like it will just be another shared network folder in Windows.

I assume the IP logs are written in HTML format?  I'm an Excel geek so eventually I'd like to store all the logged data as spreadsheets so I can look at it graphically to spot trends as to which devices are using the most data over time.