I don't have access to a serial interface on the 7270 while booting. I was wondering how/where can I start syslogd asap. I would like see what exactly my problem is when booting with ntfs.
There is no helper function to activate it earlier. If you want to start logging before the Freetz start scripts are run you have to put it in rc.S by your self.
Greets Oliver
No, no, your English is fine. I've also understood quite good.Ist mein Englisch so schlecht? :gruebel:
Nope the box reboots after about a minute, in any case there's not enough time to log in and capture the complete log before it reboots.Der multid setzt das Netzwerk. Wenn wirklich übers Netzwerk geloggt werden soll, dann geht das erst danach. Kommt die Box denn hoch? Dann könntest du ja nach /var loggen und das ginge ab dem Punkt wo das in der rc.S gemountet wird.
fritzbox@new-york:~/freetz/freetz-1.1_2183/build/modified/filesystem$ diff -Naur etc/init.d/rc.S.orig etc/init.d/rc.S
--- etc/init.d/rc.S.orig 2008-05-08 22:34:11.000000000 +0200
+++ etc/init.d/rc.S 2008-05-08 22:35:15.000000000 +0200
@@ -1197,27 +1197,6 @@
fi
modprobe dect_io
sleep 2
-##########################################################################################
-## USB-Target-Funktion und Host Controller wg DECT nach CAPI starten
-##########################################################################################
-#! /bin/sh
-#########################
-#### USB-Host Config ####
-#########################
-## Taken from usb.pandu script:
-## Store 'clean' environment for later use (skipping IFS)
-set | grep -v "IFS="|grep "^[A-Z]"|sed "s/\(.*\)/export \1/" > /var/env.cache
-usb_mount() {
-mount -t usbfs usbfs /proc/bus/usb
-}
-/etc/hotplug/aura start
-if modprobe usbcore; then
-usb_mount
-/etc/init.d/rc.usbhost start
-fi
-###########################
-#### USB-Client Config ####
-###########################
#########################################################################
## Set hostname
#########################################################################
@@ -1247,6 +1226,28 @@
##########################################################################################
modprobe kdsldmod
/etc/init.d/rc.net
+/etc/init.d/rc.syslogd start
+##########################################################################################
+## USB-Target-Funktion und Host Controller wg DECT nach CAPI starten
+##########################################################################################
+#! /bin/sh
+#########################
+#### USB-Host Config ####
+#########################
+## Taken from usb.pandu script:
+## Store 'clean' environment for later use (skipping IFS)
+set | grep -v "IFS="|grep "^[A-Z]"|sed "s/\(.*\)/export \1/" > /var/env.cache
+usb_mount() {
+mount -t usbfs usbfs /proc/bus/usb
+}
+/etc/hotplug/aura start
+if modprobe usbcore; then
+usb_mount
+/etc/init.d/rc.usbhost start
+fi
+###########################
+#### USB-Client Config ####
+###########################
#########################################################################
## VoIP ( drivers etc. )
#########################################################################
fritzbox@new-york:~/freetz/freetz-1.1_2183$ svn diff make/syslogd-cgi/syslogd-cgi.mk
Index: make/syslogd-cgi/syslogd-cgi.mk
===================================================================
--- make/syslogd-cgi/syslogd-cgi.mk (revision 2183)
+++ make/syslogd-cgi/syslogd-cgi.mk (working copy)
@@ -1,5 +1,4 @@
$(call PKG_INIT_BIN,0.2.3)
-$(PKG)_STARTLEVEL=08
$(PKG_UNPACKED)