|
Author |
Message |
ghurty DD-WRT Novice
Joined: 01 Nov 2009 Posts: 42
|
Posted: Mon Jul 04, 2011 20:55 Post subject: Enable logging via command line? |
|
I am trying to enable logging on my dd-wrt, however the save button on the services/services page doesnt work.
Is there a way to do it via command line? |
|
Back to top |
|
|
Sponsor
|
|
|
jumran DD-WRT User
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
|
Posted: Mon Jul 04, 2011 21:40 Post subject: |
|
Try the following. Make a backup of your setting first in case there are any issues.
Code: | nvram set log_enable=1
nvram set log_level=2
nvram set log_dropped=1
nvram set log_rejected=1
nvram set log_accepted=1
nvram commit
reboot |
_________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page] |
|
Back to top |
|
|
ghurty DD-WRT Novice
Joined: 01 Nov 2009 Posts: 42
|
Posted: Mon Jul 04, 2011 21:48 Post subject: |
|
Thank you.
How would I enable remote logging via the command line? |
|
Back to top |
|
|
jumran DD-WRT User
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
|
Posted: Mon Jul 04, 2011 22:20 Post subject: |
|
Try...
Code: |
nvram set syslogd_enable=1
nvram set syslogd_rem_ip=Remote IP Address
nvram commit
reboot |
_________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page] |
|
Back to top |
|
|
barryware DD-WRT Guru
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
|
Posted: Tue Jul 05, 2011 20:21 Post subject: |
|
don't forget the quotes..
nvram set syslogd_enable="1"
nvram set syslogd_rem_ip="Remote IP Address" _________________ [Moderator Deleted] |
|
Back to top |
|
|
Valter DD-WRT Novice
Joined: 01 Feb 2010 Posts: 19
|
Posted: Fri Jul 22, 2011 7:39 Post subject: |
|
barryware wrote: | don't forget the quotes..
nvram set syslogd_enable="1"
nvram set syslogd_rem_ip="Remote IP Address" |
dosnt give matters with quotes or not
i run nvram set jffs_mounted=1
nvram set enable_jffs2=1 .... and its fine |
|
Back to top |
|
|
ATHF DD-WRT Guru
Joined: 14 Dec 2015 Posts: 774 Location: 127.0.0.1
|
Posted: Sat Jun 23, 2018 7:32 Post subject: |
|
I know it's old, but this helped me. Thanks guys! _________________ Tutorial for flashing WRT series
WRT Installation,Upgrade & Basic Setup–Cliff Notes
r52242: WRT3200ACM, WRT1200ACv1 & 1 Velop in bridge mode(IoT subnet), r52242 WRT1900ACv1 AP
Velop:2 WHW0101, RE6500, RE9000(AP)
Spectrum - 1000/50
SysLog Watcher 5, New security Onion box coming soon, Fingboxes, PiHoles, NEMS, Cacti, rpisurv
|
|
Back to top |
|
|
|