-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Pippo,

the default OpenWrt syslog daemon writes all logs to a ringbuffer in
RAM which gets erased once the power is switched off. So there is no
trace of logins of any kind (unless you freeze the RAM with liquid
nitrogen to -150°C).

However, you can either use a remote syslog server as Ronaldo already
pointed out or you can attach a USB thumb drive to your router and use
it to store logs persitently.

You can also store your logs somewhere on /root or /usr. Those mount
points are mounted on /overlay wich is a persistent overlay
filesystem. But keep in mind, that once /overlay is full, you probably
have to factory reset your device.

You cannot store logs on /tmp or /var, since those mount points are
ramdisks that also get erased once the power is switched off.

http://wiki.openwrt.org/doc/howto/log.essentials#output

Regards,
Jannis

Am 20.08.2015 um 15:50 schrieb Pippo Pappo:
> Ronaldo .. so, basically, (unless some modification are made to the
> tipical configuration of these kind of devices) i have to assume
> that taking a router that is powered off i can't find any trace of
> previous logins (the ones made through the administrative web 
> interface and the ones made through ssh clients to dropbear) nor
> the succesful ones nor the failed ones ... at least the failed ones
> i would think that should be useful to save them somewhere ..
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJV1eX8AAoJEACmLqAIGmX7pCEP/2bWFmAAjCi4kYzs7OOeVX3F
Rmx0xpKs4heXGEQQ1ZYBYcEp93HZJiNd+GZ5FbHliOwjnHIRSQQLnUmbeoBoOdPH
88KGYgeFuAeRBnAEGCYf30nlH/VoSBDA5ze8U/fCvJ4yhbWsADelZagrPDkOj9ZR
wtb7PGv2Uqx74f7U0umiBYQFEI4txf9s/XBuOWTAjUXZRXN2D/PrsQwq61xAmG0k
jrNJYv7Og/2i4BOZakuc/Pf62F7a8TzzWKF5hjGHP1PJTxkEpEEOOOVAVzeootAE
OpLyhAcZFgzxJ2vD8TNnxsb7+Rc38rn2/WY7mM3wZRB4QN6e8D+T37wh/BhnaTHk
OGWmNIMYJ8JzQnZdd7pKbfAOABaYgZoPSCSGmG0yO3tLCh5IMSn27kIVQAQtd3oK
+mgvmSRD1pqBjf6YzG50NFWTPeMQTrP6ORXIg1+wMLwDGSM8NCO4qW0L/Ait/bh5
ulxmn6KLq/nFxZN7YJaNhAZlFJ3w7x5GWnFHq+VSVOKBFrXV5YzsKY+gdIq2omgI
q/oL10WzRt2hZQGsPP12oRdTIzRjbhnLAXknPc3Rw9DbLTsr0nODbQvyCiNoTHll
QKo2mw2bu9pedEmYKNZW6fkKHpPtE+7E6PjRytw2sY02SdBxUGQCm/RKUV7uUoZZ
Yi0ZELR/91skcYJ+OAdN
=T8qS
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to