WICHTIG: Dies wurde von mir selbst noch nicht getestet
[jffs2]
/bin/syslogd(Chmod rechte 755)
/etc/syslog.conf
/lib/libnsl.so.1 (Ist moeglicher Weise schon im Image vorhanden, via Telnet find / -name libnsl.so.1 )
[squshfs]
/var/
|....|/bin/syslogd(Chmod rechte 755)
|....|/etc/syslog.conf
|....|/lib/libnsl.so.1 (Ist moeglicher Weise schon im Image vorhanden, via Telnet find / -name libnsl.so.1 )
Konfigurations Anleitung:
Kopiere die Angehaengten Datein nach dem entpacken in die richtigen Verzeichnisse
[jffs2]
editiere /etc/services and add the following:
Code: Alles auswählen
syslog 514/udp #syslogd
Code: Alles auswählen
if [ -e /var/etc/.syslogd ] ; then
/bin/syslogd -f /etc/syslog.conf -m 5
fi
Jeweils eine # vor der nicht verwendeten Funktion.
Code: Alles auswählen
*.* /tmp/syslog
Code: Alles auswählen
*.* @192.168.1.145
Code: Alles auswählen
touch /var/etc/.syslogd
/bin/syslogd -f /etc/syslog.conf -m 5
editiere/var/etc/services und fuege folgendes hinzu:
Code: Alles auswählen
syslog 514/udp #syslogd
Code: Alles auswählen
export LD_LIBRARY_PATH=/var/lib
Code: Alles auswählen
if [ -e /var/etc/.syslogd ] ; then
/var/bin/syslogd -f /var/etc/syslog.conf -m 5
fi
Jeweils eine # vor der nicht verwendeten Funktion.
Code: Alles auswählen
*.* /tmp/syslog
Code: Alles auswählen
*.* @192.168.1.145
Bitte nun dies:
Code: Alles auswählen
touch /var/etc/.syslogd
/var/bin/syslogd -f /var/etc/syslog.conf -m 5
Syslog Files: syslog.rar
Original von Nitr8:
Folks,
Most people think the only way to get logging is using a null modem cable. Well you can also log stuff using syslogd either to a file into /tmp or to a syslog server (your windows pc) see image bellow.
The attached file contents should be placed in the following file structure:
[jffs2]
/bin/syslogd(rights 755)
/etc/syslog.conf
/lib/libnsl.so.1
[squashfs]
/var/
|....|/bin/syslogd(rights 755)
|....|/etc/syslog.conf
|....|/lib/libnsl.so.1
Configuration instructions:
Copy the files into the relevant paths and set the correct permissions.
[jffs2]
edit /etc/services and add the following:edit /etc/init.d/start_neutrino and add the folowing:Code: Alles auswählen
syslog 514/udp #syslogd
edit /etc/syslog.conf and set your ip address of the windows box that is going to run the syslog server.Code: Alles auswählen
if [ -e /var/etc/.syslogd ] ; then /bin/syslogd -f /etc/syslog.conf -m 5 fi
Finally do this:Code: Alles auswählen
*.* /tmp/syslog *.* @192.168.1.145
[squshfs]Code: Alles auswählen
touch /var/etc/.syslogd /bin/syslogd -f /etc/syslog.conf -m 5
edit /var/etc/services and add the following:edit /var/etc/profile and add the following:Code: Alles auswählen
syslog 514/udp #syslogd
edit /var/etc/init.d/start_neutrino (var/etc/init.d/start commando users) and add the folowing:Code: Alles auswählen
export LD_LIBRARY_PATH=/var/lib
edit /var/etc/syslog.conf and set your ip address of the windows box that is going to run the syslog server.Code: Alles auswählen
if [ -e /var/etc/.syslogd ] ; then /var/bin/syslogd -f /var/etc/syslog.conf -m 5 fi
Finally do this:Code: Alles auswählen
*.* /tmp/syslog *.* @192.168.1.145
Download Tftpd32 from tftpd32.jounin.net and open it. Click on the Syslog Server tab and view your logsCode: Alles auswählen
touch /var/etc/.syslogd /var/bin/syslogd -f /var/etc/syslog.conf -m 5
hope this helps,
--me