 KodiacZiller
join:2008-09-04 73368
| Samba Share For Router Logs
I have a WRT54GL router running Tomato firmware. I want to be able to store my bandwidth logs to my local machine.
I am running Gentoo and have already compiled and installed samba and CIFS. I also have SMB4k and SWAT as GUI interfaces. What I want to do is create a CIFS share that allows my router to connect. What is the best and easiest way to do this? |
|
  luminaire Premium join:2005-03-22 Oakville, ON clubs:
| Why not just set up syslog on the gentoo box to accept log messages from the router, and make a central syslog server. Using a SAMBA share for this seems kinda strange when there is a protocol/service specifically designed for this. -- Luminaire My Blog |
|
  Cabal Premium join:2007-01-21 Boston, MA | reply to KodiacZiller Or just NFS-mount the log directory on one system to the other, no need for Samba. |
|
 KodiacZiller
join:2008-09-04 73368 | Well if any of you are familiar with Tomato firmware, it says I have the following options:
RAM NVRAM CIFS JFFS2 Custom Path
What would you guys recommend?
BTW, I think I have NFS disabled in the kernel. |
|
  Brano I hate Vogons Premium,MVM join:2002-06-25 Burlington, ON
·TekSavvy Solutions..
| As already mentioned above, you don't need to mount any file systems.
Just 1) On the router define your Gentoo box as syslog server (somewhere on the log settings page) 2) On Gentoo make sure your syslog (or syslog-ng) is accepting remote logs from your router's IP. |
|
 KodiacZiller
join:2008-09-04 73368 | I figured it out: I had a simple setting turned off in SWAT that wasn't allowing connections from the router.
Thanks. |
|