Multid

From Fritz!Box
Jump to: navigation, search

AVM Wiki >> Shell-Befehle >> multid @ whmf   -   IRC-Chat   -   hu nl it English
Community Modelle Zubehör Environment Konfiguration Shell-Befehle Software Freetz Lexikon Tipps+Tricks Bilder

Startup-Scripts AVM-Befehle BusyBox-Befehle Linux-Befehle Shared Libraries Kernel-Module Listings Todo

Contents

Befehl

Neben ctlmgr ist multid einer der wichtigsten Daemons, der einige Funktionen übernimmt, darunter:

Aufgaben

Aufgerufen von

Kommunikation

Environment

Konfiguration

Tempfiles

Aufruf

# multid -?
usage: multid multid [options]
options:
  -?                 - print this help
  -f                 - run in forground. (NOTSET)
  -s                 - stop daemon. (NOTSET)
  -v                 - verbose. (NOTSET)
  -p STRING          - Pidfile. ("/var/run/multid.pid")
  -M STRING          - memory debug output. (NULL)
  -S STRING          - script to call when onlinestatus changes. ("/bin/onlinechanged")
  -t                 - disable simple NTP client, chronyd running. (NOTSET)
  -i                 - disable IGMP proxy. (NOTSET)
  -U                 - do not start basic upnp-device. (NOTSET)
  -P                 - do not start basic upnp-plugins. (NOTSET)
  -d                 - start without tr069discover. (NOTSET)
  -w INTEGER         - timeout for tr069discover (def. = 15s). (15)
  -D STRING          - switch debug logs on. (NULL)
start server:   multid
stop server :   multid -s

Wenn chronyd in der Firmware vorhanden ist wird multid in rc.net ohne SNTP-Funktion gestartet. Zusätzlich deaktiviert multid diese Funktion auch automatisch wenn /var/run/chronyd.pid existiert.

# uname -a # FBF WLAN 7050 FW-Version 14.03.58
Linux (none) 2.4.17_mvl21-malta-mips_fp_le #667-2 Mon Apr 18 17:12:04 CEST 2005 mips unknown
# /sbin/multid -?
usage: multid multid [options]
options:
  -?                 - print this help
  -f                 - run in forground. (NOTSET)
  -s                 - stop daemon. (NOTSET)
  -v                 - verbose. (NOTSET)
  -p STRING          - Pidfile. ("/var/run/multid.pid")
  -M STRING          - memory debug output. (NULL)
  -S STRING          - script to call when onlinestatus changes. ("/bin/onlinechanged")
  -t                 - disable simple NTP client. (NOTSET)
  -i                 - disable IGMP proxy. (NOTSET)
  -D STRING          - switch debug logs on. (NULL)
start server:   multid
stop server :   multid -s

Message Interface

Mit msgsend können ein paar Befehle an multid gesendet werden. Zwei davon nutzt supportdata.

noinfomsg
delaystart
delaystop
dhcpd_delete
connstatechanged
dnsdump (nach dnsddebug.txt)
neighdump (nach neighdebug.txt)
neightransfer
triggerquery
tr069discover

Beispiel Logs

# /sbin/multid -f
multid: startup (Apr 15 2005 09:52:59)
multid: static routes: 0 deleted (0 failed), 0 added (0 failed)
multid: static routes: 0 deleted (0 failed), 0 added (0 failed)
multid: dnsd: cache maxsize is 16384 bytes
multid: DHCPD on eth0
multid: DHCPD on eth0:0 skipped, is virtual interface
multid: DHCPD on eth1
multid: DHCPD on usbrndis
multid: DHCPD on tiwlan0
multid: DDNS: darkover.dnsalias.net
multid: DDNS: 1 accounts
multid: ONLINE: script /bin/onlinechanged not found.
multid: DDNS: xxx.dnsalias.net: checking ip address
multid: dns: xxx.dnsalias.net: query
multid: ONLINE: now online 84.163.xx.xxx
multid: dns: xxx.dnsalias.net: 84.163.xx.xxx ttl=60 from 192.168.180.1.
multid: DDNS: xxx.dnsalias.net: no update needed
multid: dns: 0.europe.pool.ntp.org: query
multid: dns: 0.europe.pool.ntp.org: 62.94.26.10 ttl=10 from 192.168.180.1.
multid: sending SNTP request to server 0.europe.pool.ntp.org (62.94.26.10)
multid: The NTP time is 3.5.2005  21:58:20.703980 UTC
multid: system time is 0.232240 seconds ahead
multid: adjusting time backward 0.232240 seconds
multid: 1 Packets

Symbole

arpping.c

arpping_abort
arpping_exit
arpping_init
arpping_send_ping

ddns.c (Dynamic DNS-Client)

ddns_add_account
ddns_exit
ddns_init
ddns_start

delaystart.c

delaystart
delaystart_exit
delaystart_sendkill

dhcp.c (DHCP-Server)

dhcp_close_interface
dhcp_interface_exists
dhcp_reopen_interface
dhcpc_add_interface
dhcpd_add_interface
dhcpd_add_static_lease
dhcpd_delete_lease_for_ip
dhcpd_enable_tr111
dhcpd_exit
dhcpd_init
dhcpd_set_callbacks
dhcpd_set_domainname
dhcpd_set_times
dhcpd_start

dnsd.c (DNS-Proxy)

dnsd_add_allowed_v4subnet_for_dynamic
dnsd_add_dhcpstatic_entry
dnsd_add_interface_ipv4
dnsd_add_server
dnsd_add_server_for_domain
dnsd_add_static_entry
dnsd_debugdump
dnsd_del_interface
dnsd_exit
dnsd_filter_add_ptr
dnsd_filter_reset
dnsd_init
dnsd_mark_servers_old
dnsd_remove_old_servers
dnsd_remove_servers
dnsd_remove_static_by_ipaddr
dnsd_remove_static_by_name
dnsd_remove_static_entries
dnsd_set_domain
dnsd_set_notify_v4_cb
dnsd_start
dnsd_trigger_query

mrouter.c (IGMP-Proxy, Multicast-Router)?

mrouter_add_interface
mrouter_delete_interface
mrouter_exit
mrouter_init
mrouter_interface_exists

multid.c (main)

main

neighbour.c (ICMP IPv6 Neighbor Discovery)?

neighbour_active_ethaddr
neighbour_active_v4
neighbour_add_allowed_v4subnet
neighbour_cleanup
neighbour_del_allowed_v4subnet
neighbour_dhcp_bound
neighbour_dhcp_unbound
neighbour_dnsinfo_add_v4
neighbour_dnsinfo_del_v4
neighbour_dumpinfo
neighbour_inactive_ethaddr
neighbour_inactive_v4
neighbour_transfer

online.c (Aufruf von onlinechanged)

online_exit
online_init
online_set_script_cbs
online_start

sntpcli.c (SNTP-Client)

sntpcli_add_ntpserver
sntpcli_exit
sntpcli_init
sntpcli_start_ntpclient
sntpcli_stop_ntpclient

staticroutes.c (Statische Routen)

set_static_routes

tr069disc.c (TR-069-Discovery)

tr069discover_start
tr069discover_stop

todo:

send_snoop_discover_request
snoop_option
sourcefilter_set
tv_add
tv_greater
tv_sub
udp67_closecb
unsigned2igmpfp
upnpdev_start_avmlogd
upnpdev_stop_avmlogd
csum_partial
kdsld_multid_check
kdsld_multid_exit
kdsld_multid_init

Abhängigkeiten

Optionale Module

Siehe auch

NTP: (25)

DNS: (33)

DHCP: (6)