Nach einem (Neu)Start laufen folgende Dienste (Verbindung selber aufbauen, Kabelmodem, kein DSL):
Code:
PID USER VSZ STAT COMMAND 1 root 1428 S init
2 root 0 SWN [ksoftirqd/0]
3 root 0 SW [watchdog/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
6 root 0 SW< [kthread]
18 root 0 SW< [kblockd/0]
32 root 0 SW [pdflush]
33 root 0 SW [pdflush]
34 root 0 SW< [kswapd0]
35 root 0 SW< [aio/0]
72 root 0 SW [pm_info]
76 root 0 SW< [CPMAC]
80 root 0 SW [mtdblockd]
102 root 0 SW [tffsd_mtd_0]
104 root 1612 S /bin/sh /etc/init.d/rc.S
358 root 0 SW [cleanup_timer_f]
370 root 0 SW [dectuart_route]
378 root 0 SWN [jffs2_gcd_mtd5]
406 root 0 SW< [loop0]
457 root 0 SW< [capi_oslib]
458 root 0 SW< [capi_oslib]
459 root 0 SW [capitransp]
465 root 0 SW [glob_codecs]
468 root 0 SW< [avm_dect_thread]
469 root 0 SW [ksock tcp worke]
470 root 0 SW [ksock tcp serve]
485 root 0 SW< [khubd]
598 root 0 SW< [scsi_eh_0]
599 root 0 SW< [usb-storage]
653 root 9580 R N ctlmgr
659 root 4940 S upnpd
692 nobody 1232 S dnsmasq --pid-file=/var/run/dnsmasq/dnsmasq.pid -p 53
699 root 3644 S multid -t
897 root 9580 S N ctlmgr
899 root 9580 S N ctlmgr
903 root 9580 S N ctlmgr
984 root 3644 S multid -t
1265 root 4940 S upnpd
1266 root 4940 S upnpd
1267 root 4940 S upnpd
1283 root 4776 S mediasrv
1317 root 4776 S mediasrv
1318 root 4776 S mediasrv
1320 root 4776 S mediasrv
1448 root 3112 S hostapd -B /var/tmp/wlan_ath0_topology
1476 root 4032 S dsld -i -n
1483 root 3204 S /bin/configd
1486 root 0 RWN [kdsld_token]
1494 root 5852 S telefon a127.0.0.1
1507 root 5080 S < voipd
1512 root 3252 S pbd
1513 root 3252 S pbd
1517 root 3252 S pbd
1518 root 3252 S pbd
1520 root 1612 S /usr/sbin/inetd
1525 root 3252 S pbd
1536 root 1116 S /bin/run_clock -c /dev/tffs -d
1543 root 1612 S /bin/sh /etc/init.d/rc.S
1545 root 1612 S tee /var/log/mod.log
1547 root 5852 S telefon a127.0.0.1
1548 root 5852 S telefon a127.0.0.1
1549 root 5852 S telefon a127.0.0.1
1560 root 4268 S dect_manager
1612 root 1408 S /sbin/chronyd -f /var/tmp/chrony.conf
1630 root 1620 S crond -b
1635 root 1612 S telnetd -l /sbin/ar7login
1647 root 1420 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz
1685 root 1612 S syslogd -L -O /var/media/ftp/SD1/var/log/syslog -b 99 -s 1000
1711 root 2852 S usermand
1880 root 1768 S /bin/ash /usr/sbin/callmonitor
1885 root 1612 S logger -t callmonitor -p daemon.info
1905 root 1768 S /bin/ash /usr/sbin/callmonitor
1906 root 1768 S /bin/ash /usr/sbin/callmonitor
1907 root 1768 S /bin/ash /usr/sbin/callmonitor
1908 root 1612 S busybox nc 127.0.0.1 1012
1909 root 1768 S /bin/ash /usr/sbin/callmonitor
1925 nobody 1236 S /usr/sbin/portmap
1928 root 0 SW [lockd]
1929 root 0 SW< [rpciod/0]
1930 root 0 SW [nfsd]
1932 root 1392 S /usr/sbin/mountd
1967 root 1428 S dropbear -p 22 -R
2124 root 1508 S dropbear -p 22 -R
2137 root 1444 S -sh
2547 root 1636 S /bin/sh /etc/init.d/rc.swap
2550 root 1444 S -sh
2607 root 1428 R ps
Bei Verbindung mitbenutzen sieht es so aus:
Code:
PID USER VSZ STAT COMMAND
1 root 1428 S init
2 root 0 SWN [ksoftirqd/0]
3 root 0 SW [watchdog/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
6 root 0 SW< [kthread]
18 root 0 SW< [kblockd/0]
32 root 0 SW [pdflush]
33 root 0 SW [pdflush]
34 root 0 SW< [kswapd0]
35 root 0 SW< [aio/0]
72 root 0 SW [pm_info]
76 root 0 SW< [CPMAC]
80 root 0 SW [mtdblockd]
102 root 0 SW [tffsd_mtd_0]
358 root 0 SW [cleanup_timer_f]
370 root 0 SW [dectuart_route]
378 root 0 SWN [jffs2_gcd_mtd5]
406 root 0 SW< [loop0]
457 root 0 SW< [capi_oslib]
458 root 0 SW< [capi_oslib]
459 root 0 SW [capitransp]
465 root 0 SW [glob_codecs]
468 root 0 SW< [avm_dect_thread]
469 root 0 SW [ksock tcp worke]
470 root 0 SW [ksock tcp serve]
485 root 0 SW< [khubd]
603 root 0 SW< [scsi_eh_0]
604 root 0 SW< [usb-storage]
653 root 10244 S N ctlmgr
658 root 4936 S upnpd
907 root 10244 S N ctlmgr
908 root 10244 S N ctlmgr
912 root 10244 S N ctlmgr
1264 root 4936 S upnpd
1265 root 4936 S upnpd
1266 root 4936 S upnpd
1288 root 4776 S mediasrv
1316 root 4776 S mediasrv
1317 root 4776 S mediasrv
1318 root 4776 S mediasrv
1449 root 3112 S hostapd -B /var/tmp/wlan_ath0_topology
1486 root 3204 S /bin/configd
1503 root 5948 S telefon a127.0.0.1
1512 root 3232 S pbd
1513 root 3232 S pbd
1518 root 3232 S pbd
1520 root 1612 S /usr/sbin/inetd
1525 root 3232 S pbd
1526 root 5948 S telefon a127.0.0.1
1527 root 5948 S telefon a127.0.0.1
1528 root 5948 S telefon a127.0.0.1
1535 root 1116 S /bin/run_clock -c /dev/tffs -d
1540 root 4268 S dect_manager
1541 root 5948 S telefon a127.0.0.1
1542 root 5948 S telefon a127.0.0.1
1543 root 5948 S telefon a127.0.0.1
1602 root 1620 S crond -b
1605 root 1612 S telnetd -l /sbin/ar7login
1627 root 1420 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz
1657 root 1428 S /sbin/chronyd -f /var/tmp/chrony.conf
1673 root 1612 S syslogd -L -O /var/media/ftp/SD1/var/log/syslog -b 99 -s 1000
1883 root 1768 S /bin/ash /usr/sbin/callmonitor
1884 root 1612 S logger -t callmonitor -p daemon.info
1907 root 1768 S /bin/ash /usr/sbin/callmonitor
1908 root 1768 S /bin/ash /usr/sbin/callmonitor
1909 root 1768 S /bin/ash /usr/sbin/callmonitor
1910 root 1612 S busybox nc 127.0.0.1 1012
1911 root 1768 S /bin/ash /usr/sbin/callmonitor
1928 nobody 1236 S /usr/sbin/portmap
1931 root 0 SW [lockd]
1932 root 0 SW< [rpciod/0]
1933 root 0 SW [nfsd]
1935 root 1392 S /usr/sbin/mountd
1970 root 1428 S dropbear -p 22 -R
2057 root 1484 S dropbear -p 22 -R
2059 root 1484 R dropbear -p 22 -R
2067 root 1444 S -sh
2073 root 1444 S -sh
2637 root 1428 S init
3028 nobody 1228 S dnsmasq --pid-file=/var/run/dnsmasq/dnsmasq.pid -p 53
3034 root 3648 S multid -t
3046 root 3648 S multid -t
3050 root 3892 S dsld -i -n
3098 root 5084 S < voipd
3100 root 0 Z N [sh]
3102 root 1200 R N /cgi-bin/webcm
3104 root 1428 R ps
Und nun der Test (im Modus 'selber aufbauen'):
Code:
# env - /bin/sh -x /etc/init.d/rc.dnsmasq restart
+ DAEMON=dnsmasq
+ DAEMON_LONG_NAME=dnsmasq
+ DAEMON_USER=nobody
+ DAEMON_GROUP=nobody
+ PID_FILE=/var/run/dnsmasq/dnsmasq.pid
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ [ -n dnsmasq ]
+ [ ! -r /mod/etc/conf/dnsmasq.cfg ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/dnsmasq.cfg
+ [ -r /mod/etc/conf/dnsmasq.cfg ]
+ . /mod/etc/conf/dnsmasq.cfg
+ export DNSMASQ_BOGUSPRIV=yes
+ export DNSMASQ_DHCP=no
+ export DNSMASQ_DHCP_BOOT=no
+ export DNSMASQ_DHCP_BOOTFILE=
+ export DNSMASQ_DHCP_RANGE=192.168.178.201,192.168.178.220,12h
+ export DNSMASQ_DNS_PORT=53
+ export DNSMASQ_DOMAIN=fritz.box
+ export DNSMASQ_ENABLED=yes
+ export DNSMASQ_ETHERS=yes
+ export DNSMASQ_OPTIONS=
+ export DNSMASQ_TFTP=no
+ export DNSMASQ_TFTP_TFTPROOT=
+ pidof -s multid
+ PID_MULTID=984
+ [ ! -z 984 ]
+ xargs -0
+ MULTID=multid -t
+ multid -s
+ stop nomultid
+ echo -n Stopping dnsmasq...
Stopping dnsmasq...+ [ nomultid != nomultid ]
+ cat /var/run/dnsmasq/dnsmasq.pid
+ kill 692
+ exitval=0
+ [ nomultid != nomultid ]
+ rm -f /mod/etc/dnsmasq.conf
+ [ -L /var/flash/multid.leases ]
+ [ 0 -eq 0 ]
+ echo done.
done.
+ sleep 1
+ start nomultid
+ local lease
+ modlib_addgroup nobody
+ local group=nobody
+ shift
+ grep -q ^nobody: /etc/group
+ return 0
+ modlib_adduser nobody -s /bin/false -D -S -H -G nobody -g nobody
+ local user=nobody
+ shift
+ grep -q ^nobody: /etc/passwd
+ return 0
+ mkdir -p /var/run/dnsmasq
+ chown nobody:nobody /var/run/dnsmasq
+ [ -x /tmp/flash/dnsmasq_conf ]
+ /mod/etc/default.dnsmasq/dnsmasq_conf
+ [ -r /tmp/flash/dnsmasq/dnsmasq.extra ]
+ echo -n Starting dnsmasq...
Starting dnsmasq...+ [ nomultid != nomultid ]
+ OPTIONS=--pid-file=/var/run/dnsmasq/dnsmasq.pid
+ [ 53 ]
+ OPTIONS=--pid-file=/var/run/dnsmasq/dnsmasq.pid -p "53"
+ eval dnsmasq --pid-file=/var/run/dnsmasq/dnsmasq.pid -p "53"
+ dnsmasq --pid-file=/var/run/dnsmasq/dnsmasq.pid -p 53
+ exitval=0
+ [ nomultid != nomultid ]
+ [ ! -L /var/flash/multid.leases -a no = yes ]
+ [ -f /var/tmp/multid.leases ]
+ [ -f /var/tmp/dnsmasq.leases ]
+ [ 0 -eq 0 ]
+ echo done.
done.
+ multid -t
+ exit 0
/var/mod/root #
Und ab genau diesem Moment ist das Teil tot.