[Lugro-mesh] Remote logging Mini-HOWTO

Gustavo Lindberg gus.lindberg en gmail.com
Sab Dic 29 16:15:19 ART 2007


En Debian :

Editar /etc/defaults/syslogd

SYSLOGD="-r"


/etc/init.d/syslogd restart

En la consola de Kamikaze:


uci set system.cfg1.log_ip=192.168.1.xxx   <=== Ip de la Pc que loggea
uci commit && reboot


Para ver los logs:

tail -f /var/log/syslog


En Ubunto seria asi:  http://forum.openwrt.org/viewtopic.php?pid=53279

Dec 29 16:03:05 debian syslogd 1.5.0#1: restart (remote reception).
Dec 29 16:04:31 debian kernel: eth0: link down
Dec 29 16:04:40 debian kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Dec 29 16:05:08 debian kernel: eth0: link down
Dec 29 16:05:10 debian kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Dec 29 16:06:01 192.168.1.113 : configuring  eth0
Dec 29 16:06:01 192.168.1.113 : deleting routers
Dec 29 16:06:01 192.168.1.113 : adding router 192.168.1.254
Dec 29 16:06:01 192.168.1.113 : adding dns 192.168.1.254
Dec 29 16:06:07 192.168.1.113 : Nothing to flush.
Dec 29 16:06:08 192.168.1.113 : ath0
Dec 29 16:06:09 192.168.1.113 : Nothing to flush.
Dec 29 16:06:09 192.168.1.113 : ath1
Dec 29 16:06:10 192.168.1.113 : Nothing to flush.
Dec 29 16:06:11 192.168.1.113 : batman: Starting batman ...
Dec 29 16:06:11 192.168.1.113 batman: Starting batman ...
Dec 29 16:06:14 192.168.1.113 : WARNING: You are using the unstable
batman branch. If you are interested in *using* batman get the latest
stable release !
Dec 29 16:06:14 192.168.1.113 : Using interface ath0 with address
5.253.41.216 and broadcast address 5.255.255.255
Dec 29 16:06:14 192.168.1.113 batmand[1087]: Warning - batgat kernel
modul interface (/dev/batgat) not usable: No such file or directory
This may decrease the performance of batman!
Dec 29 16:06:14 192.168.1.113 : WARNING: You are using the unstable
batman branch. If you are interested in *using* batman get the latest
stable release !
Dec 29 16:06:14 192.168.1.113 : Using interface ath0 with address
5.253.41.216 and broadcast address 5.255.255.255
Dec 29 16:06:14 192.168.1.113 : batman: started
Dec 29 16:06:14 192.168.1.113 batman: started
Dec 29 16:06:16 192.168.1.113 dnsmasq[1122]: started, version 2.40 cachesize 150
Dec 29 16:06:16 192.168.1.113 dnsmasq[1122]: compile time options:
IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N TFTP
Dec 29 16:06:16 192.168.1.113 dnsmasq[1122]: DHCP, IP range
10.41.216.100 -- 10.41.216.120, lease time 12h
Dec 29 16:06:16 192.168.1.113 dnsmasq[1122]: reading /etc/resolv.conf
Dec 29 16:06:16 192.168.1.113 dnsmasq[1122]: using nameserver 192.168.1.254#53
Dec 29 16:06:17 192.168.1.113 dnsmasq[1122]: read /etc/hosts - 1 addresses
Dec 29 16:06:19 192.168.1.113 dnsmasq[1125]: started, version 2.40 cachesize 150
Dec 29 16:06:19 192.168.1.113 dnsmasq[1125]: compile time options:
IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N TFTP
Dec 29 16:06:19 192.168.1.113 dnsmasq[1125]: DHCP, IP range
10.41.216.200 -- 10.41.216.220, lease time 12h
Dec 29 16:06:19 192.168.1.113 dnsmasq[1125]: reading /etc/resolv.conf
Dec 29 16:06:19 192.168.1.113 dnsmasq[1125]: using nameserver 192.168.1.254#53
Dec 29 16:06:19 192.168.1.113 dnsmasq[1125]: read /etc/hosts - 1 addresses
Dec 29 16:06:19 192.168.1.113 crond[1129]: crond 1.7.2 started, log level 8
Dec 29 16:06:21 192.168.1.113 : nodogsplash: Starting nodogsplash ...
Dec 29 16:06:21 192.168.1.113 nodogsplash: Starting nodogsplash ...
Dec 29 16:06:21 192.168.1.113 :  Testing module ipt_mac
Dec 29 16:06:21 192.168.1.113 :   ipt_mac is working
Dec 29 16:06:21 192.168.1.113 :  Testing module ipt_mark
Dec 29 16:06:21 192.168.1.113 :   ipt_mark is working
Dec 29 16:06:21 192.168.1.113 :  Testing module ipt_REDIRECT
Dec 29 16:06:21 192.168.1.113 :   ipt_REDIRECT is working
Dec 29 16:06:21 192.168.1.113 :  Testing module imq
Dec 29 16:06:21 192.168.1.113 :   imq is working
Dec 29 16:06:21 192.168.1.113 :  Testing module ipt_IMQ
Dec 29 16:06:21 192.168.1.113 :   ipt_IMQ is working
Dec 29 16:06:21 192.168.1.113 :  Testing module sch_htb
Dec 29 16:06:22 192.168.1.113 :   Module sch_htb  not working
Dec 29 16:06:22 192.168.1.113 :   Scanning disk for sch_htb module
Dec 29 16:06:22 192.168.1.113 :   sch_htb exists, trying to load
Dec 29 16:06:22 192.168.1.113 :   sch_htb  loaded successfully
Dec 29 16:06:23 192.168.1.113 : nodogsplash: started
Dec 29 16:06:23 192.168.1.113 nodogsplash: started
Dec 29 16:08:09 192.168.1.113 crond[1129]: USER root pid 1359 cmd
/sbin/watchout4node


More information about the Lugro-mesh mailing list