DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-05-19 18:02:22

drick1
Member
Registered: 2009-05-19
Posts: 36

343 + 1.03.b66fw syslog question

with the addition of a syslog to the 1.03.b66 beta code, can someone explain the difference between the ffp syslog, and the dlink syslog?


DNS-343 v1.03 + ffp 0.5 (3 units)
8x750GB + 4x2TB Seagate HDD's / RAID5 / EXT3
DNS-323 v1.8b + ffp 0.5 (1 unit)
2x750GB Seagate HDD's / RAID1 / EXT3

Offline

 

#2 2009-05-19 19:39:49

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: 343 + 1.03.b66fw syslog question

to get started, try to find out the versions:

Code:

/ffp/sbin/syslogd -v
/whereever/the/firmware/syslogd/is/syslogd -v

Offline

 

#3 2009-05-19 19:47:51

drick1
Member
Registered: 2009-05-19
Posts: 36

Re: 343 + 1.03.b66fw syslog question

the first command doesn't work

root@DNS323:~# /ffp/sbin/syslogd -v
/ffp/sbin/syslogd: invalid option -- v
BusyBox v1.12.1 (2008-09-29 20:38:04 CEST) multi-call binary

Usage: syslogd [OPTION]...

System logging utility.
Note that this version of syslogd ignores /etc/syslog.conf.

Options:
        -n              Run in foreground
        -O FILE         Log to given file (default=/var/log/messages)
        -l n            Set local log level
        -S              Smaller logging output
        -s SIZE         Max size (KB) before rotate (default=200KB, 0=off)
        -b NUM          Number of rotated logs to keep (default=1, max=99, 0=purge)
        -R HOST[:PORT]  Log to IP or hostname on PORT (default PORT=514/UDP)
        -L              Log locally and via network (default is network only if -R)
        -C[size(KiB)]   Log to shared mem buffer (read it using logread)

---

any suggestions as to where to look for the stock dlink syslog?

root@DNS323:~# which syslogd
/ffp/sbin/syslogd


DNS-343 v1.03 + ffp 0.5 (3 units)
8x750GB + 4x2TB Seagate HDD's / RAID5 / EXT3
DNS-323 v1.8b + ffp 0.5 (1 unit)
2x750GB Seagate HDD's / RAID1 / EXT3

Offline

 

#4 2009-05-19 21:13:27

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: 343 + 1.03.b66fw syslog question

drick1 wrote:

the first command doesn't work

root@DNS323:~# /ffp/sbin/syslogd -v
/ffp/sbin/syslogd: invalid option -- v
BusyBox v1.12.1 (2008-09-29 20:38:04 CEST) multi-call binary

...

any suggestions as to where to look for the stock dlink syslog?

Well, the first command succeeded in that it tells you that /ffp/sbin/syslogd is the busybox version of syslogd from busybox 1.12.1.

Now, to search for the other syslogd, you can use "find", e.g:

Code:

find /usr /sys -name syslogd

Offline

 

#5 2009-05-19 21:49:52

drick1
Member
Registered: 2009-05-19
Posts: 36

Re: 343 + 1.03.b66fw syslog question

no results

~ # find /usr /sys -name syslogd
~ #


DNS-343 v1.03 + ffp 0.5 (3 units)
8x750GB + 4x2TB Seagate HDD's / RAID5 / EXT3
DNS-323 v1.8b + ffp 0.5 (1 unit)
2x750GB Seagate HDD's / RAID1 / EXT3

Offline

 

#6 2009-05-19 21:53:04

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: 343 + 1.03.b66fw syslog question

where else could it be? maybe it's an addon package?

Code:

find /  -xdev -name syslogd

Offline

 

#7 2009-05-19 22:04:04

drick1
Member
Registered: 2009-05-19
Posts: 36

Re: 343 + 1.03.b66fw syslog question

i'm thinking dlink hid it somewhere in the new beta code, hence the reason for my questions.

~ # find /  -xdev -name syslogd
~ #


DNS-343 v1.03 + ffp 0.5 (3 units)
8x750GB + 4x2TB Seagate HDD's / RAID5 / EXT3
DNS-323 v1.8b + ffp 0.5 (1 unit)
2x750GB Seagate HDD's / RAID1 / EXT3

Offline

 

#8 2009-05-19 22:12:25

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: 343 + 1.03.b66fw syslog question

no idea where it is, then.

Offline

 

#9 2009-05-21 03:40:46

drick1
Member
Registered: 2009-05-19
Posts: 36

Re: 343 + 1.03.b66fw syslog question

so i guess that answers my question, i still need the ffp syslog then!! smile


DNS-343 v1.03 + ffp 0.5 (3 units)
8x750GB + 4x2TB Seagate HDD's / RAID5 / EXT3
DNS-323 v1.8b + ffp 0.5 (1 unit)
2x750GB Seagate HDD's / RAID1 / EXT3

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB