File manager - Edit - /home/antispamanakembo/public_html/NetworkManager.tar
Back
resolv.conf 0000644 00000000105 15135563763 0006737 0 ustar 00 # Generated by NetworkManager search busana.my.id nameserver 1.1.1.1 no-stub-resolv.conf 0000644 00000000105 15135563763 0010324 0 ustar 00 # Generated by NetworkManager search busana.my.id nameserver 1.1.1.1 devices/2 0000644 00000000776 15135563763 0006302 0 ustar 00 [device] managed=true connection-uuid=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 route-metric-default-effective=100 next-server=10.18.42.253 [dhcp4] dhcp4.broadcast_address=10.18.42.255 dhcp4.dhcp_client_identifier=01:52:54:00:67:85:74 dhcp4.dhcp_lease_time=4294967295 dhcp4.dhcp_server_identifier=10.18.42.253 dhcp4.domain_name_servers=1.1.1.1 dhcp4.host_name=9de43f7b-c9c4-406b-aa8a-1cd6aa1b92de dhcp4.ip_address=10.18.42.87 dhcp4.next_server=10.18.42.253 dhcp4.routers=10.18.42.1 dhcp4.subnet_mask=255.255.255.0 conf.d/15-carrier-timeout.conf 0000644 00000000246 15135563763 0012140 0 ustar 00 # Created by nm-initrd-generator (default initrd carrier timeout) [device-15-carrier-timeout] match-device=* carrier-wait-timeout=10000 [.config] enable=env:initrd conf.d/dhcp.conf 0000644 00000000046 15135563766 0007521 0 ustar 00 [connection] ipv4.dhcp-timeout = 300 dispatcher.d/20-chrony-dhcp 0000755 00000003355 15135563766 0011526 0 ustar 00 #!/bin/sh # This is a NetworkManager dispatcher script for chronyd to update # its NTP sources passed from DHCP options. Note that this script is # specific to NetworkManager-dispatcher due to use of the # DHCP4_NTP_SERVERS environment variable. export LC_ALL=C interface=$1 action=$2 helper=/usr/libexec/chrony-helper default_server_options=iburst server_dir=/run/chrony-helper dhcp_server_tmpfile=$server_dir/tmp-nm-dhcp.$interface dhcp_server_file=$server_dir/nm-dhcp.$interface # DHCP4_NTP_SERVERS is passed from DHCP options by NetworkManager. nm_dhcp_servers=$DHCP4_NTP_SERVERS [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network [ -f /etc/sysconfig/network-scripts/ifcfg-"${interface}" ] && \ . /etc/sysconfig/network-scripts/ifcfg-"${interface}" add_servers_from_dhcp() { rm -f "$dhcp_server_file" # Remove servers saved by the dhclient script before it detected NM. rm -f "/var/lib/dhclient/chrony.servers.$interface" # Don't add NTP servers if PEERNTP=no specified; return early. [ "$PEERNTP" = "no" ] && return # Create the directory with correct SELinux context. $helper create-helper-directory > /dev/null 2>&1 for server in $nm_dhcp_servers; do echo "$server ${NTPSERVERARGS:-$default_server_options}" >> "$dhcp_server_tmpfile" done [ -e "$dhcp_server_tmpfile" ] && mv "$dhcp_server_tmpfile" "$dhcp_server_file" $helper update-daemon > /dev/null 2>&1 || : } clear_servers_from_dhcp() { if [ -f "$dhcp_server_file" ]; then rm -f "$dhcp_server_file" $helper update-daemon > /dev/null 2>&1 || : fi } if [ "$action" = "up" ] || [ "$action" = "dhcp4-change" ]; then add_servers_from_dhcp elif [ "$action" = "down" ]; then clear_servers_from_dhcp fi exit 0 dispatcher.d/20-chrony-onoffline 0000755 00000001423 15135563766 0012561 0 ustar 00 #!/bin/sh # This is a NetworkManager dispatcher / networkd-dispatcher script for # chronyd to set its NTP sources online or offline when a network interface # is configured or removed export LC_ALL=C chronyc=/usr/bin/chronyc # For NetworkManager consider only selected events if [ $# -ge 2 ]; then case "$2" in up|down|connectivity-change) ;; dhcp4-change|dhcp6-change) # Actions "up" and "connectivity-change" in some cases do not # guarantee that the interface has a route (e.g. a bond). # dhcp(x)-change handles at least cases that use DHCP. ;; *) exit 0;; esac fi # Note: for networkd-dispatcher routable.d ~= on and off.d ~= off $chronyc onoffline > /dev/null 2>&1 exit 0 dispatcher.d/11-dhclient 0000755 00000002046 15135563766 0011076 0 ustar 00 #!/bin/bash # run dhclient.d scripts in an emulated environment PATH=/bin:/usr/bin:/sbin ETCDIR=/etc/dhcp SAVEDIR=/var/lib/dhclient interface=$1 for optname in "${!DHCP4_@}"; do newoptname=${optname,,}; newoptname=new_${newoptname#dhcp4_}; export "${newoptname}"="${!optname}"; done [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network [ -f /etc/sysconfig/network-scripts/ifcfg-"${interface}" ] && \ . /etc/sysconfig/network-scripts/ifcfg-"${interface}" if [ -d $ETCDIR/dhclient.d ]; then for f in $ETCDIR/dhclient.d/*.sh; do if [ -x "${f}" ]; then subsystem="${f%.sh}" subsystem="${subsystem##*/}" . "${f}" if [ "$2" = "up" ]; then "${subsystem}_config" elif [ "$2" = "dhcp4-change" ]; then if [ "$subsystem" = "chrony" -o "$subsystem" = "ntp" ]; then "${subsystem}_config" fi elif [ "$2" = "down" ]; then "${subsystem}_restore" fi fi done fi NetworkManager.conf 0000644 00000004317 15135563766 0010365 0 ustar 00 # Configuration file for NetworkManager. # # See "man 5 NetworkManager.conf" for details. # # The directories /usr/lib/NetworkManager/conf.d/ and /run/NetworkManager/conf.d/ # can contain additional .conf snippets installed by packages. These files are # read before NetworkManager.conf and have thus lowest priority. # The directory /etc/NetworkManager/conf.d/ can contain additional .conf # snippets. Those snippets are merged last and overwrite the settings from this main # file. # # The files within one conf.d/ directory are read in asciibetical order. # # You can prevent loading a file /usr/lib/NetworkManager/conf.d/NAME.conf # by having a file NAME.conf in either /run/NetworkManager/conf.d/ or /etc/NetworkManager/conf.d/. # Likewise, snippets from /run can be prevented from loading by placing # a file with the same name in /etc/NetworkManager/conf.d/. # # If two files define the same key, the one that is read afterwards will overwrite # the previous one. [main] #plugins=ifcfg-rh [logging] # When debugging NetworkManager, enabling debug logging is of great help. # # Logfiles contain no passwords and little sensitive information. But please # check before posting the file online. You can also personally hand over the # logfile to a NM developer to treat it confidential. Meet us on #nm on Libera.Chat. # # You can also change the log-level at runtime via # $ nmcli general logging level TRACE domains ALL # However, usually it's cleaner to enable debug logging # in the configuration and restart NetworkManager so that # debug logging is enabled from the start. # # You will find the logfiles in syslog, for example via # $ journalctl -u NetworkManager # # Please post full logfiles for bug reports without pre-filtering or truncation. # Also, for debugging the entire `journalctl` output can be interesting. Don't # limit unnecessarily with `journalctl -u`. Exceptions are if you are worried # about private data. Check before posting logfiles! # # Note that debug logging of NetworkManager can be quite verbose. Some messages # might be rate-limited by the logging daemon (see RateLimitIntervalSec, RateLimitBurst # in man journald.conf). Please disable rate-limiting before collecting debug logs! # #level=TRACE #domains=ALL 1.40.16-20.el8_10/libnm-settings-plugin-ifcfg-rh.so 0000755 00001126600 15135617742 0015066 0 ustar 00 ELF >