I would like to send my Linksys router logs to a Linux box. Has anyone ever
done this ? I heard you could write a simple script to capture UDP messages.
If the Linksys router has the ability to send syslog messages, you can
setup your Linux box to grab'm. I use RedHat and you will need to
change how you start your syslog daemon:
syslog -r ( me thinks ) which will let the log updates come in from
outside the box. man syslogd will give you more information. Please
remember to allow UDP port 514 for your firewall software...
tod
Daniel wrote:
> Hi
>
> I would like to send my Linksys router logs to a Linux box. Has anyone ever
> done this ? I heard you could write a simple script to capture UDP messages.
>
> Thanks!
> Daniel
>
>
Daniel <daniel@aura-apps.net.nospam> wrote:
> I would like to send my Linksys router logs to a Linux box. Has anyone ever
> done this ? I heard you could write a simple script to capture UDP messages.
I used lynx to browse to my router. The problem is the login.
Christopher Kurtis Koeber <c_koeber@myrealbox.com> wrote:
> Damm, so anyone near your house can change your settings. You should
> consider more security.
On the cable modem?
I suppose they could reboot it, but there aren't any changeable settings
that I am aware of.
That would also require that they breach my high level of wireless
security.
---
Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5
On Thu, 30 Sep 2004 22:36:36 +0200, "Daniel"
<daniel@aura-apps.net.nospam> wrote:
>I would like to send my Linksys router logs to a Linux box. Has anyone ever
>done this ? I heard you could write a simple script to capture UDP messages.
Any particular Linksys router?
My BEFW11S4 belches SNMP traps on events which Linksys camoflages as
"Log viewer". Linksys has a log viewer program on their web pile, but
it has a few bugs. It's also crude and ugly. I've been using
"Logviewer 2.0" from:
http://www.logviewer.de.vu/ However, that's for Windoze.
For Linux, any kind of SNMP trap viewer will work. Net-SNMP has a
trap receiver program included.
If you want to write your own, open a named pipe that accepts data on
port 162/udp and capture the output. No big deal. The only problem
is that that data in not in human readable form and you'll need to
format the output.
--
Jeff Liebermann jeffl@comix.santa-cruz.ca.us
150 Felker St #D http://www.LearnByDestroying.com Santa Cruz CA 95060 AE6KS 831-336-2558
I've added syslog udp 514 to services
then I restarted syslogd with the -r option
however I'm not seeing anything new in /var/log
How do I configure syslog.conf to specify where the router logs should go?
Thanks
Daniel
"OldGuy" <todh@yesterdayspc.com> wrote in message
news:ca2dnes8OaUhHcHcRVn-iw@speakeasy.net...
> If the Linksys router has the ability to send syslog messages, you can
> setup your Linux box to grab'm. I use RedHat and you will need to
> change how you start your syslog daemon:
>
> syslog -r ( me thinks ) which will let the log updates come in from
> outside the box. man syslogd will give you more information. Please
> remember to allow UDP port 514 for your firewall software...
>
> tod
>
> Daniel wrote:
> > Hi
> >
> > I would like to send my Linksys router logs to a Linux box. Has anyone
ever
> > done this ? I heard you could write a simple script to capture UDP
messages.
> >
> > Thanks!
> > Daniel
> >
> >
>
syslog udp to services? Should already be there. If you meant you
opened a port in the firewall, then it should be working. See if stuff
is coming out of the Linksys: Try dumping whatever on the eth
connection and watch for the Linksys IP sending stuff..
tcpdump -i eth0
Depending on your distro, you may have to change the syntax of some or
all of the following. If you are running X, create a terminal window
then size it about 1/2 the total screen, then view your messages file in
real time:
tail -f -n20 /var/log/messages
Open your browser and size it for the other 1/2 screen, navigate to the
router and do something to make it write to the sys log... restart it?
I have been playing with a Proxim AP-4000 and it seems to log stuff
just fine. I did have to go in and tell it what I wanted logged and
where ( what box/IP ).
have fun!
Daniel wrote:
> I've added syslog udp 514 to services
> then I restarted syslogd with the -r option
> however I'm not seeing anything new in /var/log
> How do I configure syslog.conf to specify where the router logs should go?
>
> Thanks
> Daniel
>
> "OldGuy" <todh@yesterdayspc.com> wrote in message
> news:ca2dnes8OaUhHcHcRVn-iw@speakeasy.net...
>
>>If the Linksys router has the ability to send syslog messages, you can
>>setup your Linux box to grab'm. I use RedHat and you will need to
>>change how you start your syslog daemon:
>>
>>syslog -r ( me thinks ) which will let the log updates come in from
>>outside the box. man syslogd will give you more information. Please
>>remember to allow UDP port 514 for your firewall software...
>>
>>tod
>>
>>Daniel wrote:
>>
>>>Hi
>>>
>>>I would like to send my Linksys router logs to a Linux box. Has anyone
>
> ever
>
>>>done this ? I heard you could write a simple script to capture UDP
>
> messages.
>
>>>Thanks!
>>>Daniel
>>>
>>>
>>
>
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.