If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:libmib.so
BoxMatrix >> Shell-Commands >> libmib.so | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Command: | libmib.so - type Link, Lib | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Shared-Libraries - Origin: Realtek | ||||||
Path: | Release: /lib Lab+Rel: /lib | ||||||
Properties: | Size: 181k - 243k, Link - Firmware: 7.62 - 7.90 | ||||||
Function: | API to the Realtek XML-MIB storing residential gateway configuration. |
Goto: System - RTL-Research - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
Do not confuse this with the MIB used for SNMP and OMCI.
libmib.so is the API to the proprietary Realtek XML-MIB storing residential gateway configuration.
It is used for the RTL86 DSL and the RTL96 Fiber chipsets.
On the RTL86 chipset the MIB is the curretly applied and running system configuration in memory, including status info of all
affected system parts. It could be compared to the UI-Modules of FRITZ!OS, containing all live info for the Webinterface.
Most of the MIB system is unused in conjunction with FRITZ!OS. More details in the libmib.so article.
libmib is used by the MIB administration tools loadconfig, saveconfig, flash and mib,
and by the daemons boa (webserver), configd (todo), mpoad (mpoa) and spppd (ppp).
System
To know about the system it is running on libmib checks for the presence of these objects:
/dev/mtd%d /proc/mtd /sys/class/mtd /sys/class/mtd/mtd%d/name /tmp/config.xml /tmp/config.bin /tmp/config_hs.xml /tmp/config_hs.bin /tmp/ppp_syslog /tmp/ppp_debug_log /bin/adslctrl /bin/ifconfig /bin/brctl /bin/mpoad /bin/mpoactl /bin/udhcpd /bin/udhcpc /bin/boa /bin/snmpd /bin/route /bin/iptables /bin/ebtables /bin/zebra /bin/ripd /bin/routed /bin/igmpproxy /bin/ecmh /bin/tc /var/run/routed.pid /var/run/igmp_pid /var/run/ecmh.pid /proc/sys/net/ipv4/ip_dynaddr /proc/sys/net/ipv4/ip_forward /proc/net/atm/pvc /proc/sys/net/ipv4/conf/default/force_igmp_version /tmp/serv_fifo /var/run/udhcpc.pid /var/udhcpc/router /etc/scripts/udhcpc.sh /var/udhcpc/udhcpc /var/udhcpd/udhcpd.conf /var/udhcpd/udhcpd.leases /var/run/udhcpd.pid /var/run/dhcrelay.pid /tmp/IPoAHalfBridge /tmp/MERgw /var/run/minidlna.pid /tmp /bin/sh /var/resolv.conf /var/dnsmasq.conf /var/resolv_backup.conf /var/resolv.manual.conf /var/resolv.auto.conf /var/udhcpc/resolv.conf /var/resolv6.conf /etc/ppp/resolv.conf /var/tmp/hosts /proc/net/route /bin/ip
unfinished, to be continued...
RTL-Research
Note that research on the RTL86 chipset and its Linux and drivers is very difficult and the results are highly unfinished.
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.30 source files:
$ strings /lib/libmib.so | grep -e '\.c$' -e '\.cpp$' utility.c
Dependencies
Daily updated index of all dependencies of this library. Last update: 2024-11-14 07:43 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Depends on | lib | libc.so | 2 | 7.30 - 7.90 | Standard C library | Linux |
Depends on | lib | libgcc_s.so | 1 | 7.62 - 7.90 | GCC low-level runtime library | Linux |
Required by | cmd | ShowStatus | 1 | 7.62 - 7.90 | RTL86 diagnosis daemon to periodically display the DSL Operational Status. | RTL86 |
Required by | cmd | boa | 1 | 7.30 | Single tasking HTTP only webserver. | RTL86 |
Required by | cmd | checkomci | 1 | 7.62 - 7.90 | TODO | RTL96 |
Required by | cmd | configd (avmcmd) | 2 | 7.30 - 7.90 | Configuration server for online media services and lted | AVM |
Required by | cmd | consoleset | 1 | 7.62 - 7.90 | TODO | RTL96 |
Required by | cmd | ethctl | 1 | 7.62 - 7.90 | Broadcom / Realtek Ethernet Configuration Utility. | Broadcom |
Required by | cmd | flash (chipcmd) | 1 | 7.30 | Gets or sets values in the RTL86 persistent system configuration MIB. | RTL86 |
Required by | cmd | initRGapi | 1 | 7.62 - 7.90 | TODO | RTL96 |
Required by | cmd | loadconfig | 1 | 7.30 | Loads the RTL86 system configuration MIB from a file. | RTL86 |
Required by | cmd | mib | 2 | 7.30 - 7.90 | Gets or sets values in the currently running RTL86 system configuration MIB. | RTL86 |
Required by | cmd | mpctl | 1 | 7.62 - 7.90 | TODO | RTL96 |
Required by | cmd | mpoad | 1 | 7.30 | RTL86 Multi-Protocol Over ATM (MPOA) client daemon. | RTL86 |
Required by | cmd | qc | 1 | 7.62 - 7.90 | RTL86 diagnosis tool shwoing DSL status, sync speed and CRC errors. | RTL86 |
Required by | cmd | saveconfig | 1 | 7.30 | Saves the RTL86 system configuration MIB to a file. | RTL86 |
Required by | cmd | spppd | 1 | 7.30 | Point-to-Point Protocol (PPP) server daemon. | RTL86 |
Required by | cmd | startup | 1 | 7.62 - 7.90 | TODO | RTL86 |
Required by | cmd | xmlconfig | 1 | 7.62 - 7.90 | TODO | RTL96 |
19 dependencies for this library |
Model-Matrix
Daily updated index of the presence, path and size of this library for each model. Last update: 2024-11-15 05:54 GMT.
Showing all models using this library. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 5690 Pro (rtl) | 7.62 - 7.90 | /lib | 181k, Link |
FRITZ!Box 7520 v2 (rtl) | /lib | 243k, Link | |
2 models use this library |
Symbols
Daily updated index of all symbols of this library. Last update: 2024-11-14 07:43 GMT.
Firmware | Symbol |
---|---|
7.62 - 7.90 | CheckPINCode_s |
7.62 - 7.90 | Commit |
7.62 - 7.90 | DebugAssert |
7.62 - 7.90 | DebugMode |
7.62 - 7.90 | DebugVerify |
7.62 - 7.90 | Decode |
7.62 - 7.90 | DeleteNode |
7.62 - 7.90 | Encode |
7.62 - 7.90 | GetWanMode |
7.62 - 7.90 | INET_resolve |
7.62 - 7.90 | IfName2ItfId |
7.62 - 7.90 | InitTree |
7.62 - 7.90 | InsertNode |
7.62 - 7.90 | OutputDebugMessage |
7.62 - 7.90 | OutputMessage |
7.62 - 7.90 | UpdateIpFastpathStatus |
7.62 - 7.90 | ValidatePINCode_s |
7.62 - 7.90 | WRITE_DHCPC_FILE |
7.62 - 7.90 | after_download |
7.62 - 7.90 | applyLanPortSetting |
7.62 - 7.90 | before_upload |
7.62 - 7.90 | before_upload_unencrypt |
7.62 - 7.90 | caculate_tblid |
7.62 - 7.90 | call_cmd |
7.62 - 7.90 | calltimeout |
7.62 - 7.90 | checkConfigFile |
7.62 - 7.90 | checkIGMPMLDProxySnooping |
7.62 - 7.90 | checkOMCI_startup |
7.62 - 7.90 | checkOMCImib |
7.62 - 7.90 | checkProcess |
7.62 - 7.90 | check_itfGroup |
7.62 - 7.90 | check_user_is_registered |
7.62 - 7.90 | check_vlan_conflict |
7.62 - 7.90 | cleanAllFirewallRule |
7.62 - 7.90 | cleanAll_SourceRoute |
7.62 - 7.90 | clean_SourceRoute |
7.62 - 7.90 | cmd_file2xml |
7.62 - 7.90 | cmd_killproc |
7.62 - 7.90 | cmd_reboot |
7.62 - 7.90 | cmd_set_dns_config |
7.62 - 7.90 | cmd_start_autohunt |
7.62 - 7.90 | cmd_upload |
7.62 - 7.90 | cmd_xml2file |
7.62 - 7.90 | config_AddressMap |
7.62 - 7.90 | config_oam_vlancfg |
7.62 - 7.90 | crc32 |
7.62 - 7.90 | crc32_wd |
7.62 - 7.90 | create_icmp_socket |
7.62 - 7.90 | defaultGWAddr |
7.62 - 7.90 | delOrgLanLinklocalIPv6Address |
7.62 - 7.90 | delPPPoESession |
7.62 - 7.90 | deleteConnection |
7.62 - 7.90 | delete_line |
7.62 - 7.90 | do_cmd |
7.62 - 7.90 | do_cmd_ex |
7.62 - 7.90 | do_cmd_fout |
7.62 - 7.90 | do_ioctl |
7.62 - 7.90 | dump_flash_mtd_info |
7.62 - 7.90 | epon_getAuthState |
7.62 - 7.90 | epon_getctcAuthSuccTime |
7.62 - 7.90 | ethtool_gstats |
7.62 - 7.90 | exec_portmp |
7.62 - 7.90 | find_pid_by_name |
7.62 - 7.90 | flashdrv_erase |
7.62 - 7.90 | flashdrv_init |
7.62 - 7.90 | flashdrv_read |
7.62 - 7.90 | flashdrv_write |
7.62 - 7.90 | flock_set |
7.62 - 7.90 | formatPloamPasswordToHex |
7.62 - 7.90 | generateWanName |
7.62 - 7.90 | getATMVCEntryByIfIndex |
7.62 - 7.90 | getDisplayWanName |
7.62 - 7.90 | getEponONUState |
7.62 - 7.90 | getIfIndexByName |
7.62 - 7.90 | getIfMTU |
7.62 - 7.90 | getIfMTU6 |
7.62 - 7.90 | getInAddr |
7.62 - 7.90 | getInFlags |
7.62 - 7.90 | getLANPortConfig |
7.62 - 7.90 | getLANPortStatus |
7.62 - 7.90 | getLeasesInfo |
7.62 - 7.90 | getLinkStatus |
7.62 - 7.90 | getMIB2Str |
7.62 - 7.90 | getMacAddr |
7.62 - 7.90 | getNameByIP |
7.62 - 7.90 | getNameServers |
7.62 - 7.90 | getOMCI_EQID |
7.62 - 7.90 | getOUIfromMAC |
7.62 - 7.90 | getOneDhcpClient |
7.62 - 7.90 | getRGIfIndexByName |
7.62 - 7.90 | getSYS2Str |
7.62 - 7.90 | getServiceType |
7.62 - 7.90 | getWanEntrybyMedia |
7.62 - 7.90 | getWanEntrybyindex |
7.62 - 7.90 | getWanIfMapbyMedia |
7.62 - 7.90 | getWanName |
7.62 - 7.90 | getWanStatus |
7.62 - 7.90 | get_classification_mark |
7.62 - 7.90 | get_cpu_usage |
7.62 - 7.90 | get_cs_offset |
7.62 - 7.90 | get_dev_ShapingBurstSize |
7.62 - 7.90 | get_dev_ShapingRate |
7.62 - 7.90 | get_domain_ifinfo |
7.62 - 7.90 | get_flash_index |
7.62 - 7.90 | get_mem_free |
7.62 - 7.90 | get_mem_total |
7.62 - 7.90 | get_mem_usage |
7.62 - 7.90 | get_mtd_fd |
7.62 - 7.90 | get_mtd_start |
7.62 - 7.90 | get_net_device_stats |
7.62 - 7.90 | get_net_link_info |
7.62 - 7.90 | get_net_link_status |
7.62 - 7.90 | get_pmap_fgroup |
7.62 - 7.90 | get_process_name_by_pid |
7.62 - 7.90 | getapplicationtypeByName |
7.62 - 7.90 | getdata |
7.62 - 7.90 | getifIndexByWanName |
7.62 - 7.90 | getifip6 |
7.62 - 7.90 | hextol |
7.62 - 7.90 | hook_default_rtable |
7.62 - 7.90 | hostname_to_ip |
7.62 - 7.90 | icmp_test |
7.62 - 7.90 | ifGetName |
7.62 - 7.90 | ifWanNum |
7.62 - 7.90 | if_find_index |
7.62 - 7.90 | in_cksum |
7.62 - 7.90 | initWANMode |
7.62 - 7.90 | init_ethwan_config |
7.62 - 7.90 | ip6toPrefix |
7.62 - 7.90 | ipchksum |
7.62 - 7.90 | isDefaultRouteWan |
7.62 - 7.90 | isDirectConnect |
7.62 - 7.90 | isDuplicate |
7.62 - 7.90 | isIPAddr |
7.62 - 7.90 | isInterfaceMatch |
7.62 - 7.90 | isMacAddrInvalid |
7.62 - 7.90 | isSameSubnet |
7.62 - 7.90 | isValidHostID |
7.62 - 7.90 | isValidIpAddr |
7.62 - 7.90 | isValidMacAddr |
7.62 - 7.90 | isValidMacString |
7.62 - 7.90 | isValidMedia |
7.62 - 7.90 | isValidNetmask |
7.62 - 7.90 | itfcfg |
7.62 - 7.90 | kill_by_pidfile |
7.62 - 7.90 | list_net_device_with_flags |
7.62 - 7.90 | lock_file_by_flock |
7.62 - 7.90 | lock_shm_by_flock |
7.62 - 7.90 | macAddrCmp |
7.62 - 7.90 | mac_meui64 |
7.62 - 7.90 | mib_backup |
7.62 - 7.90 | mib_chain_add |
7.62 - 7.90 | mib_chain_clear |
7.62 - 7.90 | mib_chain_delete |
7.62 - 7.90 | mib_chain_get |
7.62 - 7.90 | mib_chain_info_id |
7.62 - 7.90 | mib_chain_info_index |
7.62 - 7.90 | mib_chain_info_name |
7.62 - 7.90 | mib_chain_swap |
7.62 - 7.90 | mib_chain_total |
7.62 - 7.90 | mib_chain_update |
7.62 - 7.90 | mib_check_desc |
7.62 - 7.90 | mib_flash_to_default |
7.62 - 7.90 | mib_get |
7.62 - 7.90 | mib_getDef |
7.62 - 7.90 | mib_info_id |
7.62 - 7.90 | mib_info_index |
7.62 - 7.90 | mib_info_total |
7.62 - 7.90 | mib_load |
7.62 - 7.90 | mib_lock |
7.62 - 7.90 | mib_restore |
7.62 - 7.90 | mib_retrive_chain |
7.62 - 7.90 | mib_retrive_table |
7.62 - 7.90 | mib_set |
7.62 - 7.90 | mib_set_PPPoE |
7.62 - 7.90 | mib_swap |
7.62 - 7.90 | mib_sys_to_default |
7.62 - 7.90 | mib_to_string |
7.62 - 7.90 | mib_unlock |
7.62 - 7.90 | mib_update |
7.62 - 7.90 | off_tr069 |
7.62 - 7.90 | open_queue |
7.62 - 7.90 | pdnsAddr |
7.62 - 7.90 | pmap_reset_ip_route |
7.62 - 7.90 | post_setupIPV6Filter |
7.62 - 7.90 | pppdbg_get |
7.62 - 7.90 | pre_setupIPV6Filter |
7.62 - 7.90 | radvdRunningMode |
7.62 - 7.90 | reWriteAllDhcpcScript |
7.62 - 7.90 | read_message |
7.62 - 7.90 | read_pid |
7.62 - 7.90 | remove_queue |
7.62 - 7.90 | reset_cs_to_default |
7.62 - 7.90 | reset_ip_rule |
7.62 - 7.90 | resolveServiceDependency |
7.62 - 7.90 | restartWAN |
7.62 - 7.90 | restart_IPV6Filter |
7.62 - 7.90 | restart_ethernet |
7.62 - 7.90 | restart_lanip |
7.62 - 7.90 | route_v6_cfg_modify |
7.62 - 7.90 | rtk_chk_is_local_client |
7.62 - 7.90 | rtk_env_get |
7.62 - 7.90 | rtk_env_set |
7.62 - 7.90 | rtk_net_get_wan_policy_route_mark |
7.62 - 7.90 | rtk_wan_get_max_wan_mtu |
7.62 - 7.90 | send_message |
7.62 - 7.90 | send_message_nonblock |
7.62 - 7.90 | setEachIPv6FilterRuleMixed |
7.62 - 7.90 | setInFlags |
7.62 - 7.90 | setLanLinkLocalIPv6Address |
7.62 - 7.90 | setLinklocalIPv6Address |
7.62 - 7.90 | setNameServers |
7.62 - 7.90 | setWanName |
7.62 - 7.90 | set_dev_ShapingBurstSize |
7.62 - 7.90 | set_dev_ShapingRate |
7.62 - 7.90 | set_dhcp_port_base_filter |
7.62 - 7.90 | set_dhcp_source_route |
7.62 - 7.90 | set_ipv6_static_source_route |
7.62 - 7.90 | set_local_output_rule_for_pppwan |
7.62 - 7.90 | set_los_led_state |
7.62 - 7.90 | set_msgqueue_max_size |
7.62 - 7.90 | set_pon_led_state |
7.62 - 7.90 | set_ppp_source_route |
7.62 - 7.90 | set_pppv6_source_route |
7.62 - 7.90 | set_static_source_route |
7.62 - 7.90 | set_vc_fgroup |
7.62 - 7.90 | setupFirewall |
7.62 - 7.90 | setupIPQoSflag |
7.62 - 7.90 | setupIPV6FilterMixed |
7.62 - 7.90 | setupUniPortCapability |
7.62 - 7.90 | setup_CERouter_Filter |
7.62 - 7.90 | setup_disable_ipv6 |
7.62 - 7.90 | setup_ipforwarding |
7.62 - 7.90 | setup_mac_addr |
7.62 - 7.90 | setup_vc_pmap_lanmember |
7.62 - 7.90 | setup_wan_pmap_lanmember |
7.62 - 7.90 | setupnewEth2pvc |
7.62 - 7.90 | startConnection |
7.62 - 7.90 | startDhcpc |
7.62 - 7.90 | startIP |
7.62 - 7.90 | startIP_for_V6 |
7.62 - 7.90 | startIP_v4 |
7.62 - 7.90 | startSNAT |
7.62 - 7.90 | startSNAT_one |
7.62 - 7.90 | startSSDP |
7.62 - 7.90 | startWan |
7.62 - 7.90 | stopConnection |
7.62 - 7.90 | stopIP_PPP_for_V6 |
7.62 - 7.90 | string_to_mib |
7.62 - 7.90 | timeout_utility |
7.62 - 7.90 | trim_white_space |
7.62 - 7.90 | underlying_pppoe_exist |
7.62 - 7.90 | unlock_file_by_flock |
7.62 - 7.90 | unlock_shm_by_flock |
7.62 - 7.90 | untimeout_utility |
7.62 - 7.90 | update_hosts |
7.62 - 7.90 | utilping |
7.62 - 7.90 | va_cmd |
7.62 - 7.90 | va_cmd_no_echo |
7.62 - 7.90 | va_cmd_no_error |
7.62 - 7.90 | waitProcessTerminate |
7.62 - 7.90 | write_to_dconfig |
7.62 - 7.90 | write_to_mpoad |
7.62 - 7.90 | xml_mib_flash_to_default |
7.62 - 7.90 | xml_mib_load |
265 symbols for this library |