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.

0
U

Property:libmib.so

From BoxMatrix
(Redirected from 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

Shared-Library

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-05-19 07:45 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 4 7.30 - 7.60 Standard C library Linux
Depends on lib libgcc_s.so 2 7.59 - 7.60 GCC low-level runtime library Linux
Required by cmd ShowStatus 2 7.59 - 7.60 RTL86 diagnosis daemon to periodically display the DSL Operational Status. RTL86
Required by cmd boa 2 7.30 - 7.57 Single tasking HTTP only webserver. RTL86
Required by cmd checkomci 2 7.59 - 7.60 TODO RTL96
Required by cmd configd (avmcmd) 4 7.30 - 7.60 Configuration server for online media services and lted AVM
Required by cmd consoleset 2 7.59 - 7.60 TODO RTL96
Required by cmd ethctl 2 7.59 - 7.60 Broadcom / Realtek Ethernet Configuration Utility. Broadcom
Required by cmd flash (chipcmd) 2 7.30 - 7.57 Gets or sets values in the RTL86 persistent system configuration MIB. RTL86
Required by cmd initRGapi 2 7.59 - 7.60 TODO RTL96
Required by cmd loadconfig 2 7.30 - 7.57 Loads the RTL86 system configuration MIB from a file. RTL86
Required by cmd mib 4 7.30 - 7.60 Gets or sets values in the currently running RTL86 system configuration MIB. RTL86
Required by cmd mpctl 2 7.59 - 7.60 TODO RTL96
Required by cmd mpoad 2 7.30 - 7.57 RTL86 Multi-Protocol Over ATM (MPOA) client daemon. RTL86
Required by cmd qc 2 7.59 - 7.60 RTL86 diagnosis tool shwoing DSL status, sync speed and CRC errors. RTL86
Required by cmd saveconfig 2 7.30 - 7.57 Saves the RTL86 system configuration MIB to a file. RTL86
Required by cmd spppd 2 7.30 - 7.57 Point-to-Point Protocol (PPP) server daemon. RTL86
Required by cmd startup 2 7.59 - 7.60 TODO RTL86
Required by cmd xmlconfig 2 7.59 - 7.60 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-05-19 05:11 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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.59 - 7.60 /lib 181k, Link
FRITZ!Box 7520 v2 (arm) /lib 243k, Link
FRITZ!Box 7520 v2 (rtl) /lib 243k, Link
3 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2024-05-19 07:45 GMT.

Firmware Symbol
7.59 - 7.60 CheckPINCode_s
7.59 - 7.60 Commit
7.59 - 7.60 DebugAssert
7.59 - 7.60 DebugMode
7.59 - 7.60 DebugVerify
7.59 - 7.60 Decode
7.59 - 7.60 DeleteNode
7.59 - 7.60 Encode
7.59 - 7.60 GetWanMode
7.59 - 7.60 INET_resolve
7.59 - 7.60 IfName2ItfId
7.59 - 7.60 InitTree
7.59 - 7.60 InsertNode
7.59 - 7.60 OutputDebugMessage
7.59 - 7.60 OutputMessage
7.59 - 7.60 UpdateIpFastpathStatus
7.59 - 7.60 ValidatePINCode_s
7.59 - 7.60 WRITE_DHCPC_FILE
7.59 - 7.60 after_download
7.59 - 7.60 applyLanPortSetting
7.59 - 7.60 before_upload
7.59 - 7.60 before_upload_unencrypt
7.59 - 7.60 caculate_tblid
7.59 - 7.60 call_cmd
7.59 - 7.60 calltimeout
7.59 - 7.60 checkConfigFile
7.59 - 7.60 checkIGMPMLDProxySnooping
7.59 - 7.60 checkOMCI_startup
7.59 - 7.60 checkOMCImib
7.59 - 7.60 checkProcess
7.59 - 7.60 check_itfGroup
7.59 - 7.60 check_user_is_registered
7.59 - 7.60 check_vlan_conflict
7.59 - 7.60 cleanAllFirewallRule
7.59 - 7.60 cleanAll_SourceRoute
7.59 - 7.60 clean_SourceRoute
7.59 - 7.60 cmd_file2xml
7.59 - 7.60 cmd_killproc
7.59 - 7.60 cmd_reboot
7.59 - 7.60 cmd_set_dns_config
7.59 - 7.60 cmd_start_autohunt
7.59 - 7.60 cmd_upload
7.59 - 7.60 cmd_xml2file
7.59 - 7.60 config_AddressMap
7.59 - 7.60 config_oam_vlancfg
7.59 - 7.60 crc32
7.59 - 7.60 crc32_wd
7.59 - 7.60 create_icmp_socket
7.59 - 7.60 defaultGWAddr
7.59 - 7.60 delOrgLanLinklocalIPv6Address
7.59 - 7.60 delPPPoESession
7.59 - 7.60 deleteConnection
7.59 - 7.60 delete_line
7.59 - 7.60 do_cmd
7.59 - 7.60 do_cmd_ex
7.59 - 7.60 do_cmd_fout
7.59 - 7.60 do_ioctl
7.59 - 7.60 dump_flash_mtd_info
7.59 - 7.60 epon_getAuthState
7.59 - 7.60 epon_getctcAuthSuccTime
7.59 - 7.60 ethtool_gstats
7.59 - 7.60 exec_portmp
7.59 - 7.60 find_pid_by_name
7.59 - 7.60 flashdrv_erase
7.59 - 7.60 flashdrv_init
7.59 - 7.60 flashdrv_read
7.59 - 7.60 flashdrv_write
7.59 - 7.60 flock_set
7.59 - 7.60 formatPloamPasswordToHex
7.59 - 7.60 generateWanName
7.59 - 7.60 getATMVCEntryByIfIndex
7.59 - 7.60 getDisplayWanName
7.59 - 7.60 getEponONUState
7.59 - 7.60 getIfIndexByName
7.59 - 7.60 getIfMTU
7.59 - 7.60 getIfMTU6
7.59 - 7.60 getInAddr
7.59 - 7.60 getInFlags
7.59 - 7.60 getLANPortConfig
7.59 - 7.60 getLANPortStatus
7.59 - 7.60 getLeasesInfo
7.59 - 7.60 getLinkStatus
7.59 - 7.60 getMIB2Str
7.59 - 7.60 getMacAddr
7.59 - 7.60 getNameByIP
7.59 - 7.60 getNameServers
7.59 - 7.60 getOMCI_EQID
7.59 - 7.60 getOUIfromMAC
7.59 - 7.60 getOneDhcpClient
7.59 - 7.60 getRGIfIndexByName
7.59 - 7.60 getSYS2Str
7.59 - 7.60 getServiceType
7.59 - 7.60 getWanEntrybyMedia
7.59 - 7.60 getWanEntrybyindex
7.59 - 7.60 getWanIfMapbyMedia
7.59 - 7.60 getWanName
7.59 - 7.60 getWanStatus
7.59 - 7.60 get_classification_mark
7.59 - 7.60 get_cpu_usage
7.59 - 7.60 get_cs_offset
7.59 - 7.60 get_dev_ShapingBurstSize
7.59 - 7.60 get_dev_ShapingRate
7.59 - 7.60 get_domain_ifinfo
7.59 - 7.60 get_flash_index
7.59 - 7.60 get_mem_free
7.59 - 7.60 get_mem_total
7.59 - 7.60 get_mem_usage
7.59 - 7.60 get_mtd_fd
7.59 - 7.60 get_mtd_start
7.59 - 7.60 get_net_device_stats
7.59 - 7.60 get_net_link_info
7.59 - 7.60 get_net_link_status
7.59 - 7.60 get_pmap_fgroup
7.59 - 7.60 get_process_name_by_pid
7.59 - 7.60 getapplicationtypeByName
7.59 - 7.60 getdata
7.59 - 7.60 getifIndexByWanName
7.59 - 7.60 getifip6
7.59 - 7.60 hextol
7.59 - 7.60 hook_default_rtable
7.59 - 7.60 hostname_to_ip
7.59 - 7.60 icmp_test
7.59 - 7.60 ifGetName
7.59 - 7.60 ifWanNum
7.59 - 7.60 if_find_index
7.59 - 7.60 in_cksum
7.59 - 7.60 initWANMode
7.59 - 7.60 init_ethwan_config
7.59 - 7.60 ip6toPrefix
7.59 - 7.60 ipchksum
7.59 - 7.60 isDefaultRouteWan
7.59 - 7.60 isDirectConnect
7.59 - 7.60 isDuplicate
7.59 - 7.60 isIPAddr
7.59 - 7.60 isInterfaceMatch
7.59 - 7.60 isMacAddrInvalid
7.59 - 7.60 isSameSubnet
7.59 - 7.60 isValidHostID
7.59 - 7.60 isValidIpAddr
7.59 - 7.60 isValidMacAddr
7.59 - 7.60 isValidMacString
7.59 - 7.60 isValidMedia
7.59 - 7.60 isValidNetmask
7.59 - 7.60 itfcfg
7.59 - 7.60 kill_by_pidfile
7.59 - 7.60 list_net_device_with_flags
7.59 - 7.60 lock_file_by_flock
7.59 - 7.60 lock_shm_by_flock
7.59 - 7.60 macAddrCmp
7.59 - 7.60 mac_meui64
7.59 - 7.60 mib_backup
7.59 - 7.60 mib_chain_add
7.59 - 7.60 mib_chain_clear
7.59 - 7.60 mib_chain_delete
7.59 - 7.60 mib_chain_get
7.59 - 7.60 mib_chain_info_id
7.59 - 7.60 mib_chain_info_index
7.59 - 7.60 mib_chain_info_name
7.59 - 7.60 mib_chain_swap
7.59 - 7.60 mib_chain_total
7.59 - 7.60 mib_chain_update
7.59 - 7.60 mib_check_desc
7.59 - 7.60 mib_flash_to_default
7.59 - 7.60 mib_get
7.59 - 7.60 mib_getDef
7.59 - 7.60 mib_info_id
7.59 - 7.60 mib_info_index
7.59 - 7.60 mib_info_total
7.59 - 7.60 mib_load
7.59 - 7.60 mib_lock
7.59 - 7.60 mib_restore
7.59 - 7.60 mib_retrive_chain
7.59 - 7.60 mib_retrive_table
7.59 - 7.60 mib_set
7.59 - 7.60 mib_set_PPPoE
7.59 - 7.60 mib_swap
7.59 - 7.60 mib_sys_to_default
7.59 - 7.60 mib_to_string
7.59 - 7.60 mib_unlock
7.59 - 7.60 mib_update
7.59 - 7.60 off_tr069
7.59 - 7.60 open_queue
7.59 - 7.60 pdnsAddr
7.59 - 7.60 pmap_reset_ip_route
7.59 - 7.60 post_setupIPV6Filter
7.59 - 7.60 pppdbg_get
7.59 - 7.60 pre_setupIPV6Filter
7.59 - 7.60 radvdRunningMode
7.59 - 7.60 reWriteAllDhcpcScript
7.59 - 7.60 read_message
7.59 - 7.60 read_pid
7.59 - 7.60 remove_queue
7.59 - 7.60 reset_cs_to_default
7.59 - 7.60 reset_ip_rule
7.59 - 7.60 resolveServiceDependency
7.59 - 7.60 restartWAN
7.59 - 7.60 restart_IPV6Filter
7.59 - 7.60 restart_ethernet
7.59 - 7.60 restart_lanip
7.59 - 7.60 route_v6_cfg_modify
7.59 - 7.60 rtk_chk_is_local_client
7.59 - 7.60 rtk_env_get
7.59 - 7.60 rtk_env_set
7.59 - 7.60 rtk_net_get_wan_policy_route_mark
7.59 - 7.60 rtk_wan_get_max_wan_mtu
7.59 - 7.60 send_message
7.59 - 7.60 send_message_nonblock
7.59 - 7.60 setEachIPv6FilterRuleMixed
7.59 - 7.60 setInFlags
7.59 - 7.60 setLanLinkLocalIPv6Address
7.59 - 7.60 setLinklocalIPv6Address
7.59 - 7.60 setNameServers
7.59 - 7.60 setWanName
7.59 - 7.60 set_dev_ShapingBurstSize
7.59 - 7.60 set_dev_ShapingRate
7.59 - 7.60 set_dhcp_port_base_filter
7.59 - 7.60 set_dhcp_source_route
7.59 - 7.60 set_ipv6_static_source_route
7.59 - 7.60 set_local_output_rule_for_pppwan
7.59 - 7.60 set_los_led_state
7.59 - 7.60 set_msgqueue_max_size
7.59 - 7.60 set_pon_led_state
7.59 - 7.60 set_ppp_source_route
7.59 - 7.60 set_pppv6_source_route
7.59 - 7.60 set_static_source_route
7.59 - 7.60 set_vc_fgroup
7.59 - 7.60 setupFirewall
7.59 - 7.60 setupIPQoSflag
7.59 - 7.60 setupIPV6FilterMixed
7.59 - 7.60 setupUniPortCapability
7.59 - 7.60 setup_CERouter_Filter
7.59 - 7.60 setup_disable_ipv6
7.59 - 7.60 setup_ipforwarding
7.59 - 7.60 setup_mac_addr
7.59 - 7.60 setup_vc_pmap_lanmember
7.59 - 7.60 setup_wan_pmap_lanmember
7.59 - 7.60 setupnewEth2pvc
7.59 - 7.60 startConnection
7.59 - 7.60 startDhcpc
7.59 - 7.60 startIP
7.59 - 7.60 startIP_for_V6
7.59 - 7.60 startIP_v4
7.59 - 7.60 startSNAT
7.59 - 7.60 startSNAT_one
7.59 - 7.60 startSSDP
7.59 - 7.60 startWan
7.59 - 7.60 stopConnection
7.59 - 7.60 stopIP_PPP_for_V6
7.59 - 7.60 string_to_mib
7.59 - 7.60 timeout_utility
7.59 - 7.60 trim_white_space
7.59 - 7.60 underlying_pppoe_exist
7.59 - 7.60 unlock_file_by_flock
7.59 - 7.60 unlock_shm_by_flock
7.59 - 7.60 untimeout_utility
7.59 - 7.60 update_hosts
7.59 - 7.60 utilping
7.59 - 7.60 va_cmd
7.59 - 7.60 va_cmd_no_echo
7.59 - 7.60 va_cmd_no_error
7.59 - 7.60 waitProcessTerminate
7.59 - 7.60 write_to_dconfig
7.59 - 7.60 write_to_mpoad
7.59 - 7.60 xml_mib_flash_to_default
7.59 - 7.60 xml_mib_load
265 symbols for this library

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

l