site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
455
Share Topic
Posting?
Post a:
Post a:
Links: ·Forum FAQ ·Attitude Adjustment ·Linux docs ·DistroWatch ·OPLM ·FreeBSD Handbook
AuthorAll Replies


KodiacZiller
Premium
join:2008-09-04
73368
kudos:2

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?


packetpusher
Premium
join:2005-03-22
Oakville, ON

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
Austin, TX

reply to KodiacZiller
Or just NFS-mount the log directory on one system to the other, no need for Samba.



KodiacZiller
Premium
join:2008-09-04
73368
kudos:2

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
kudos:3
Reviews:
·Bell Fibe

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
Premium
join:2008-09-04
73368
kudos:2

I figured it out: I had a simple setting turned off in SWAT that wasn't allowing connections from the router.

Thanks.


Wednesday, 30-May 17:33:57 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics