NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
horim80
Aug 04, 2011Guide
UDP 514 port open for remote logging on syslogd . HELP!
Hi, I want to remote logging on readynas. So I did below, ReadyNAS-PRO:/# vim /etc/init.d/sysklogd # then I've added below line for receive log from remote device. SYSLOGD="-r -m 0" ...
CharlesLaCour
May 05, 2012Aspirant
The /etc/inittab defined the default init level as 2 and looking into /etc/rc2.d there are 2 scripts called /etc/init.d/readynas_startup and /etc/rc2.d/S02ToggleSwitchProCPUFan.
Looking at the file "/etc/init.d/readynas_startup" around line 375 you have:
The syslogd is not started using the standard /etc/init.d/sysklogd script it calls the daemon directly.
I made the following changes to "/etc/init.d/readynas_startup":
Looking at the file "/etc/init.d/readynas_startup" around line 375 you have:
# RC2
echo -n "Starting system log daemon: syslogd" >$OUT
mknod -m 640 /dev/xconsole p
sync
/sbin/syslogd -m 0 || (echo "...retrying"; sleep 1; /sbin/syslogd -m 0)
echo "." >$OUT
The syslogd is not started using the standard /etc/init.d/sysklogd script it calls the daemon directly.
I made the following changes to "/etc/init.d/readynas_startup":
# RC2
echo -n "Starting system log daemon: syslogd" >$OUT
mknod -m 640 /dev/xconsole p
sync
. /etc/default/syslogd
/sbin/syslogd ${SYSLOGD}-m 0 || (echo "...retrying"; sleep 1; /sbin/syslogd ${SYSLOGD} -m 0)
echo "." >$OUT
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!