diff options
author | jack <[email protected]> | 2023-12-07 17:30:32 -0700 |
---|---|---|
committer | jack <[email protected]> | 2023-12-07 17:30:32 -0700 |
commit | b1f5094740a4b691437eec759df38090092a61b4 (patch) | |
tree | ca901f0f785f1d4ca7ed3dde4b951b818337618d | |
parent | e857cc9f536483e8562e60994226f75cdc2ff942 (diff) | |
download | dots-b1f5094740a4b691437eec759df38090092a61b4.tar.gz dots-b1f5094740a4b691437eec759df38090092a61b4.zip |
bluetooth
-rw-r--r-- | etc/protocols | 68 | ||||
-rwxr-xr-x | etc/rc.d/init.d/bluetooth | 56 | ||||
-rwxr-xr-x | etc/rc.d/init.d/chrony | 29 | ||||
-rw-r--r-- | home/jack/.config/kernel.config | 43 | ||||
-rwxr-xr-x | home/jack/.config/neofetch/config.conf | 12 | ||||
-rw-r--r-- | home/jack/.config/polybar/config.ini | 1 |
6 files changed, 199 insertions, 10 deletions
diff --git a/etc/protocols b/etc/protocols new file mode 100644 index 00000000..2fcc52fa --- /dev/null +++ b/etc/protocols @@ -0,0 +1,68 @@ +# Internet (IP) protocols +# +# Updated from http://www.iana.org/assignments/protocol-numbers and other +# sources. +# New protocols will be added on request if they have been officially +# assigned by IANA and are not historical. +# If you need a huge list of used numbers please install the nmap package. + +ip 0 IP # internet protocol, pseudo protocol number +hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883] +icmp 1 ICMP # internet control message protocol +igmp 2 IGMP # Internet Group Management +ggp 3 GGP # gateway-gateway protocol +ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') +st 5 ST # ST datagram mode +tcp 6 TCP # transmission control protocol +egp 8 EGP # exterior gateway protocol +igp 9 IGP # any private interior gateway (Cisco) +pup 12 PUP # PARC universal packet protocol +udp 17 UDP # user datagram protocol +hmp 20 HMP # host monitoring protocol +xns-idp 22 XNS-IDP # Xerox NS IDP +rdp 27 RDP # "reliable datagram" protocol +iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905] +dccp 33 DCCP # Datagram Congestion Control Prot. [RFC4340] +xtp 36 XTP # Xpress Transfer Protocol +ddp 37 DDP # Datagram Delivery Protocol +idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport +ipv6 41 IPv6 # Internet Protocol, version 6 +ipv6-route 43 IPv6-Route # Routing Header for IPv6 +ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 +idrp 45 IDRP # Inter-Domain Routing Protocol +rsvp 46 RSVP # Reservation Protocol +gre 47 GRE # General Routing Encapsulation +esp 50 IPSEC-ESP # Encap Security Payload [RFC2406] +ah 51 IPSEC-AH # Authentication Header [RFC2402] +skip 57 SKIP # SKIP +ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 +ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 +ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 +rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB) +vmtp 81 VMTP # Versatile Message Transport +eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco) +ospf 89 OSPFIGP # Open Shortest Path First IGP +ax.25 93 AX.25 # AX.25 frames +ipip 94 IPIP # IP-within-IP Encapsulation Protocol +etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378] +encap 98 ENCAP # Yet Another IP encapsulation [RFC1241] +# 99 # any private encryption scheme +pim 103 PIM # Protocol Independent Multicast +ipcomp 108 IPCOMP # IP Payload Compression Protocol +vrrp 112 VRRP # Virtual Router Redundancy Protocol [RFC5798] +l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661] +isis 124 ISIS # IS-IS over IPv4 +sctp 132 SCTP # Stream Control Transmission Protocol +fc 133 FC # Fibre Channel +mobility-header 135 Mobility-Header # Mobility Support for IPv6 [RFC3775] +udplite 136 UDPLite # UDP-Lite [RFC3828] +mpls-in-ip 137 MPLS-in-IP # MPLS-in-IP [RFC4023] +manet 138 # MANET Protocols [RFC5498] +hip 139 HIP # Host Identity Protocol +shim6 140 Shim6 # Shim6 Protocol [RFC5533] +wesp 141 WESP # Wrapped Encapsulating Security Payload +rohc 142 ROHC # Robust Header Compression +ethernet 143 Ethernet # Ethernet encapsulation for SRv6 [RFC8986] +# The following entries have not been assigned by IANA but are used +# internally by the Linux kernel. +mptcp 262 MPTCP # Multipath TCP connection diff --git a/etc/rc.d/init.d/bluetooth b/etc/rc.d/init.d/bluetooth new file mode 100755 index 00000000..1d9b4b75 --- /dev/null +++ b/etc/rc.d/init.d/bluetooth @@ -0,0 +1,56 @@ +#!/bin/sh +. /lib/lsb/init-functions + +if [ -f "/etc/sysconfig/bluetooth" ]; then + . /etc/sysconfig/bluetooth +fi + +BLUETOOTH=/usr/sbin/bluetoothd +SDPTOOL=/usr/bin/sdptool +HCIATTACH=/usr/bin/hciattach +RFCOMM=/usr/bin/rfcomm + +UART_CONF=/etc/bluetooth/uart.conf +RFCOMM_CONF=/etc/bluetooth/rfcomm.conf + +case "${1}" in + start) + log_info_msg "Starting Bluetooth daemon bluetoothd..." + pidlist=`pidofproc $BLUETOOTH` + + if [ "${?}" = "0" ]; then + log_info_msg2 " Already running" + log_success_msg2 + exit 0; + fi + + # Start as background process and assume OK + $BLUETOOTH & + log_success_msg2 + + ;; + + stop) + + log_info_msg "Stopping Bluetooth daemon bluetoothd..." + killproc $BLUETOOTH + evaluate_retval + ;; + + restart) + ${0} stop + sleep 1 + ${0} start + ;; + + status) + statusproc $BLUETOOTH + ;; + + *) + echo "Usage: ${0} {start|stop|restart|status}" + exit 1 + ;; +esac + +exit 0 diff --git a/etc/rc.d/init.d/chrony b/etc/rc.d/init.d/chrony new file mode 100755 index 00000000..7b03ffee --- /dev/null +++ b/etc/rc.d/init.d/chrony @@ -0,0 +1,29 @@ +#!/bin/sh +. /lib/lsb/init-functions + +case "${1}" in + start) + log_info_msg "Starting chronyd..." + start_daemon /usr/sbin/chronyd + evaluate_retval + ;; + + stop) + log_info_msg "Stopping chronyd..." + killproc /usr/sbin/chronyd + evaluate_retval + ;; + + restart) + ${0} stop + sleep 1 + ${0} start + ;; + + *) + echo "Usage: ${0} {start|stop|restart}" + exit 1 + ;; +esac + +exit 0 diff --git a/home/jack/.config/kernel.config b/home/jack/.config/kernel.config index f1f34cfc..24d1ad26 100644 --- a/home/jack/.config/kernel.config +++ b/home/jack/.config/kernel.config @@ -1131,7 +1131,41 @@ CONFIG_NET_FLOW_LIMIT=y # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set -# CONFIG_BT is not set +CONFIG_BT=y +CONFIG_BT_BREDR=y +CONFIG_BT_RFCOMM=y +# CONFIG_BT_RFCOMM_TTY is not set +# CONFIG_BT_BNEP is not set +CONFIG_BT_HIDP=y +CONFIG_BT_HS=y +CONFIG_BT_LE=y +CONFIG_BT_LE_L2CAP_ECRED=y +# CONFIG_BT_LEDS is not set +# CONFIG_BT_MSFTEXT is not set +# CONFIG_BT_AOSPEXT is not set +# CONFIG_BT_FEATURE_DEBUG is not set + +# +# Bluetooth device drivers +# +CONFIG_BT_INTEL=y +CONFIG_BT_BCM=y +CONFIG_BT_HCIBTUSB=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set +CONFIG_BT_HCIBTUSB_POLL_SYNC=y +CONFIG_BT_HCIBTUSB_BCM=y +# CONFIG_BT_HCIBTUSB_MTK is not set +# CONFIG_BT_HCIBTUSB_RTL is not set +# CONFIG_BT_HCIUART is not set +# CONFIG_BT_HCIBCM203X is not set +# CONFIG_BT_HCIBCM4377 is not set +# CONFIG_BT_HCIBPA10X is not set +# CONFIG_BT_HCIBFUSB is not set +# CONFIG_BT_HCIVHCI is not set +# CONFIG_BT_MRVL is not set +# CONFIG_BT_ATH3K is not set +# end of Bluetooth device drivers + # CONFIG_AF_RXRPC is not set # CONFIG_AF_KCM is not set # CONFIG_MCTP is not set @@ -2561,6 +2595,7 @@ CONFIG_HID_APPLE=y # CONFIG_HID_NINTENDO is not set # CONFIG_HID_NTI is not set # CONFIG_HID_NTRIG is not set +# CONFIG_HID_NVIDIA_SHIELD is not set # CONFIG_HID_ORTEK is not set # CONFIG_HID_PANTHERLORD is not set # CONFIG_HID_PENMOUNT is not set @@ -3462,6 +3497,7 @@ CONFIG_CRYPTO_RNG_DEFAULT=y CONFIG_CRYPTO_AKCIPHER2=y CONFIG_CRYPTO_AKCIPHER=y CONFIG_CRYPTO_KPP2=y +CONFIG_CRYPTO_KPP=y CONFIG_CRYPTO_ACOMP2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y @@ -3480,7 +3516,8 @@ CONFIG_CRYPTO_AUTHENC=y # CONFIG_CRYPTO_RSA=y # CONFIG_CRYPTO_DH is not set -# CONFIG_CRYPTO_ECDH is not set +CONFIG_CRYPTO_ECC=y +CONFIG_CRYPTO_ECDH=y # CONFIG_CRYPTO_ECDSA is not set # CONFIG_CRYPTO_ECRDSA is not set # CONFIG_CRYPTO_SM2 is not set @@ -3513,7 +3550,7 @@ CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_CFB is not set CONFIG_CRYPTO_CTR=y # CONFIG_CRYPTO_CTS is not set -# CONFIG_CRYPTO_ECB is not set +CONFIG_CRYPTO_ECB=y # CONFIG_CRYPTO_HCTR2 is not set # CONFIG_CRYPTO_KEYWRAP is not set # CONFIG_CRYPTO_LRW is not set diff --git a/home/jack/.config/neofetch/config.conf b/home/jack/.config/neofetch/config.conf index 391a390f..31e99849 100755 --- a/home/jack/.config/neofetch/config.conf +++ b/home/jack/.config/neofetch/config.conf @@ -1,18 +1,16 @@ print_info() { info title info underline - info "" distro + info "" distro info "" model - info "" kernel - info "" uptime - info "" packages + info "" uptime + info "" packages info "" shell info "" wm info "" theme - info "" cpu - info "" gpu + info "" term + info "" cpu info "" memory - info "" local_ip info cols } diff --git a/home/jack/.config/polybar/config.ini b/home/jack/.config/polybar/config.ini index 50759cc9..93b356ca 100644 --- a/home/jack/.config/polybar/config.ini +++ b/home/jack/.config/polybar/config.ini @@ -97,6 +97,7 @@ adapter = ADP1 full-at = 98 format-charging-underline = ${colors.aqua} format-discharging-underline = ${colors.aqua} +format-full-underline = ${colors.aqua} format-charging = <animation-charging> <label-charging> format-discharging = <ramp-capacity> <label-discharging> label-charging = " %percentage%%" |