Nut server

Nut server. Sep 25, 2021 · This is the ultimate guide to configuring Network UPS Tools (NUT). Dec 1, 2020 · The port 3493 (default NUT port) has to be exposed in the add-on: Supervisor / Network UPS Tools / Configuration. It’s an open UPS networking monitoring tool that runs on many different operating systems and processors. ) in length Pour rappel, Nut Server, est un serveur tout-en-un qui va s'intégrer parfaitement avec Tinfoil pour l'installation de fichiers NSP via le réseau ou en USB. Edit /etc/nut/hosts. nut-upsmon : Monitoring and/or triggering shutdown (e. When nut-exporter and prometheus are on the same container network, you can configure the target for nut-exporter with just the name of the container. Jan 2, 2022 · To get this working, you need to configure the Synology with the IP of the NUT server. You also need to configure your ups. py input. Shell 37. If nut-server is failing to start on boot and systemctl status nut-server reports "no listening interface available", edit the LISTEN in /etc/nut/upsd. Save Your Fingers: No more finger cuts with screwdrivers or not using any tools at all. 05 mm (0. Synology's NUT implementation uses hardcoded values for several items: UPS Name: "ups" Username: "monuser" Password: "secret" If you want pfSense to be able to share a UPS with a Synology system, either as a remote NUT client or a remote NUT server, you must use these values when configuring NUT on pfSense. conf Example upsmon configuration. html to encrypt via command line. Let’s create a new LXC container and install nut-client to monitor the UPS. Look for device. NUT is an uninterruptible power supply (UPS) monitoring system that allows the sharing of one (or more) UPS systems between several computers. conf, we must now change the running mode which is by default set to none and would not let systemd services to run correctly. 9%. It works with hundreds of UPS devices, PDUs, and many other power management systems. Note: The host a0d7b954-nut can be used to allow Home Assistant to communicate directly with the addon. NutPassword : NUT server login account password; UserVars. This is a simple project which contains a USB Host part to communicate with UPS as a HID Device, a protocol_examples_common to connect to specific Wi-Fi, a non-blocking TCP Server to response to work as a tiny NUT server, and a led_strip to control the RGB LED on board. 此外,网上有些教程里写用 sudo systemctl enable nut-server nut-monitor 启动 server 进程和 client 进程,然后用 sudo systemctl enable nut-driver@<ups-config-name> 生成驱动相关的 . # If you want that NUT can shutdown the computer, you need root privileges: RUN_AS_USER root. NutSendMail : To be set to 1 so that the NUT client sends an e-mail at each important inverter event Dec 27, 2023 · Configuring NUT as a network server (SNMP) 2. Enable CGI in apache and restart the web server: root@ups:/etc/nut# a2enmod cgi. 2. 00. 04) template and click the Download button. Notes on NUT monitoring of USB devices in Solaris and related operating systems. You will have to edit the files as root in order to define your UPS hardware. Instantlinux/nut-upsd is a docker container that provides a network UPS tools daemon for monitoring and controlling UPS devices. TAA COMPLIANT 10-32 CAGE NUTS & SCREWS: 50 pack of server rack cage nuts and screws uses 10-32 threads (imperial measurements) and comes with an installation tool PROFESSIONAL HIGH QUALITY DESIGN: Rack mount hardware kit made from high-quality steel and finished in matte black; includes pre-installed washers to help prevent damage to valuable You can use this simple python and php script to encrypt your html files! Simply place index. We cover everything from installing and configuring the server on as Raspberry Pi, configuring the client on Windows and Linux, configure a charting and graphing website to visualize NUT data, spin up an additional web site use Docker, and finally set up monitoring and alerting Sep 25, 2021 · Meet NUT Server, or Network UPS Tools. There are many programs and features in this package. Create LXC container. xxx. $ sudo vi /etc/ups/upsd. It can't be called anything else. 15 returns all UPS info correctly. 10-32 RACK SCREWS AND CLIP NUTS. I have the following packages installed: nut-cgi/stable,now 2. sudo upsdrvctl start. 15. LISTEN <Pi IP> 3493. Support level legend. Give the IP address of the Synology server on LAN, which is acting like a NUT server on port is 3493. (807) $78. 3) NUT on the router connects to an APC Backups Pro 900 UPS. sudo firewall-cmd --add-service=http. FREE delivery Fri, Dec 8 on $35 of items shipped by Amazon. mfr and device. g. xxx 3493. Taomyn Member. The rubberized grip provides long lasting comfort and keeps your hands at a safe distance from the metal. 1 K. Unique flower girl basket idea. Head on over to your browser and type in Oct 7, 2022 · For everyone of those there is a corresponding binary package which you install and configure to connect to your QNAP Nut server. We will also setup a dashboard to view the status of the UPS and conf Feb 13, 2019 · Start Tinfoil or SX Installer, and all of the NSP's listed in nut server should now be available to install in Tinfoil or SX Installer. It should be another one with out Nov 28, 2023 · Align the Holes: Properly align the holes in the rack and equipment to ensure a smooth installation. Turn off default UPS service in unraid. Mar 21, 2021 · After adding that, you’ll want to restart the monitor server with sudo systemctl restart nut-monitor as well as the driver. The Synology will refuse to connect otherwise. org November 2003: a new URL J. Not only will it allow you to run syste Jan 13, 2023 · EDIT: To find the usb port, be on the console menu, and then plug in the USB to the UPS and then unplug it, etc. Second major version March 2004: NUT 2. nut-server is: Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and power distribution unit (PDU) hardware. There can be multiple computers running the client ZOOFOX Snack Serving Tray, 12" Appetizer Tray with Lid, 6 Compartments Round Plastic Food Storage Organizer for Dried Fruits, Nuts, Candies, Sweet Cookies and Fruits (Clear) 226. 4-8 armhf [installed,automatic] Nov 28, 2022 · Meet NUT Server, or Network UPS Tools. It has to be run on the host, and not within a container, in order to be able to shutdown the machine. This way the Nut server can be accessed from external machine using the IP of the host (IP of Home Assistant on your network) and default Nut port. service [Unit] Wants=network-online. Insert the SD card into the Pi and attach power. Read /etc/nut/nut. 8. 7. Select System Settings then Services. Immediately, you should see devd throw a notice up on the console that a device has been plugged in, together with this port identifier (e. Connected is a CP1500PFCLCD UPS via USB. They can be installed and removed by hand, but doing so can damage your hand. View Join the kingdom of nut 40 members. /var/state/ups) that they exist and permissions remain suitable for NUT run-time user selected by your configuration, and typically stop your original NUT drivers, data-server (upsd) and upsmon, and restart them using the new binaries. And configure some users to be able to interact with the NUT server. ash-4. # Add users for admin, monitoring, local and remote users replacing pwd with your preferred password. Little effort required to insert and extract cage nuts in a server rack. 5 vient apporter un changement des permissions de l'api de nut-server is: Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and power distribution unit (PDU) hardware. , ugen0. Proxmox Subscriber. We are looking for fun people to join us and play games upsc eatonusp@localhost. It uses the client server model, which allows several systems to react to the same information. It goes in detail from hardware t Dec 25, 2022 · Dann den Raspi rebooten oder folgende services neustarten: Code. BUT, within the DMS under Hardware & power it reports "cannot connect to Docker Jul 1, 2020 · Install the NUT plugin from community applications. M6 Rack Screws, Cage Nuts and Nylon Washers (6mm x 16mm Screws, 50 Sets, Black) Rack Mount Screws for Server Console Mounting, Routers Dec 16, 2021 · Permitted DiskStation Devices use IP addresses of every single device plugged into the UPS which uses the NAS as UPS server, e. Once your server is set up, it’s time to install and configure the Network UPS Tools (NUT) protocol. It supports various UPS models and protocols, and allows you to configure alerts and shutdown actions. #!/bin/bash -e. For a list of user-reported dumps of NUT-supported devices, go visit the Devices Dumps Library. Click on the arrow down next to UPS Type and choose Netclient. Clients access the hardware through the server, and are notified whenever the power status changes. RackSolutions has been producing a highly rated cage nut tool for years. A nut user, whose home is /var/lib/nut, is created by the Debian package. py or Windows users can use the precompiled nut. 8k) $70. Nov 21, 2023 · sudo apt install nut nut-client nut-server then use the command sudo nut-scanner -U . 3, you will get nut 2. nut-upsc July 2003: third stable tree: NUT 1. NUT server sends power off command to ESXi and ESXi shuts down the VMs and powers itself off. conf to allow CGI scrips access to the monitor. (CRMI) (20. It works by generating a random AES-128-ECB key, encrypting your content with that key, and then wrapping the key with asymetrical Aug 15, 2021 · Detailed NUT Configuration. UPS Master is assigned to TrueNAS with monitor enabled. Dec 26, 2023, 8:19 PM. For many UPS connected by USB, use the usbhid-ups (8) driver. You should see your UPS device as well as all of the information for it. After you run the server, ensure NSP's are visible in the list. nut-scanner -U. The NUT server shuts down the other client ESXi hosts Nov 9, 2023 · Notes on Synology. NutUser : Name of the NUT server connection account; UserVars. cron job). When it reads a value of 1 in the file /tmp/nut-client/monitor it will execute a shutdown action. sudo emacs /etc/nut/upsd. May 9, 2023 · Assemble your Raspberry Pi and connect the necessary peripherals (keyboard, mouse, and video). Nov 27, 2021 · Synology as a NUT client. This driver supports these newer, APC-branded models. Backwards and Forwards Compatibility (NUT v1. Add it using the UI. Jan 31, 2021 · My setup is as follows: 1) ASUS AC88U router with NUT installed. There can be multiple computers running the client component and each can be The Network UPS Tools (NUT) project is the combined effort of many individuals and companies. I saved these changes, restarted the NUT server, and OH was able to connect. To confirm, check the Nut console window for any messages. I currently have my Cyberpower UPS connected to the UPS port of my Synology NAS because Synology makes it easy to run their included network UPS server to shutdown other network devices. 4-8 armhf [installed,automatic] nut-server/stable,now 2. MONITOR APCSMC1500@127. nun sollte man beim Aufruf von upsc <UPSName> folgendes (oder ähnlich) bekommen. FAQ - Frequently Asked Questions ( online) ( PDF ) NUT User Manual ( online) ( PDF ) Cables information ( online) ( PDF ) User manual pages. It has a 'server' component, which monitors the UPS status and notifies a 'client' component when the UPS has a low battery. Aug 31, 2023 · Configuring it inside the Home Assistant was easy. (CRMI) Apr 25, 2022 · The most likely problem is the Windows Firewall. Insert the Nuts: Insert the server rack nuts securely into the aligned holes. Devices Dumps Library (DDL): Provides information on how devices are supported; see also the HCL. 6. 4 or whatever). 96. sudo apt install nut-client. J. There are tools to make the process much easier. It will function like this correctly, until a few hours later Oct 4 16:21:21 EntityLite upsd[3807]: Can't connect to UPS [ups] (usbhid-ups-ups): No such file or directory Click the Home Assistant My button below to open the add-on on your Home Assistant instance. Sep 18, 2017 · I've got a Cyberpower PR750ELCD UPS which is plugged into my unraid server by USB cable. Configuration is mostly done in /etc/nut. Be sure to add the NUT integration after starting the add-on. -----Windows NUT client deployment 1. This means you can run the server on Linux, MacOS, or BSD and run the client on Windows, MacOS, Linux, and more. $2199. sudo systemctl restart nut-monitor. This means you can run the server on Linux, MacOS, or May 29, 2022 · Once NUT exporter is running, the prometheus server needs to be configured to monitor the new exporter. Configuration notes. How to Setup - Netclient ¶. conf file and the monitoring user in the /etc/nut/upsd. You've been invited to join. In Proxmox, select local (storage) → CT Templates → Templates. 1), ensuring that the NUT monitoring client can still access the NUT server. # Add network request listener replacing <Pi IP> with your Pi's IP address. Something like an SSH server on your W10 allowing only to run shutdown from RPI connection / user (auto execute it when RPI does log in) when RasPi detects UPS usage. NUT is setup as a MODE=netserver I'm using the same configuration for NUT config files that I used on Debian 11 and it worked correctly. conf, and specify how you plan to use NUT: MODE=standalone. NUT V2. 0 J. I ssh to my DS-220+ Synlolgy running DMS 7. 5. For UPS with USB port, use port=auto . 3. Vintage Old Fashioned Glass nut or snack server with silver rim and handle. Tinfoil does not support sub directories, so each directory must point to the exact directory the NSP's are located in. Start/Enable the Nut Server, Nut Monitor, Nut Driver Enumerator and Web Server. (13) $75. but the documentation isn't very clear on how to get the web interface and snmp working. 56,727 Members. For more information on how to configure the NUT integration in Home Assistant see the Feb 23, 2021 · For testing, it will work without this, but for any attempt to “secure” this server, this is a best practice: cd /etc/nut; sudo chown root:nut upsd. Oct 19, 2023 · Install NUT sudo apt install nut Server Configuration Configuration Files. In the dropdown, select the latest Ubuntu LTS (. Start the "Network UPS Tools" add-on. The UPS is a Cyberpower 1500PCFLCD. # User setup. NutFinalDelay : Seconds to wait after receiving low battery event to perform system shutdown; UserVars. Victorian Set of 6 American Reed & Barton Silver Plate Nut Picks Servers in 'Pearl' Pattern Figural Multi-Motif Cherub c. Dockerfile 11. Tighten the Nuts: Use the appropriate wrench or socket to tighten the nuts without overtightening. Connect to the Nut Server through a web browser. This means you can run the server on Linux, MacOS, or In 2009, Schneider Electric acquired Microsol Technologies, and by 2012, the entire Microsol line was being sold under the APC brand. Prerequisites for building NUT on different OSes K. This will again restart the connections to both UPS devices and should show they are now established. conf. A Synology NAS is acting as the NUT server. 50 Pack of Black M6 Cage Nuts & Screws for Rack Mount Equipment Server 19x10"Cabinet, Patch Panel, Server Shelves Fixing & Installation Screws & Cage Nuts Wall Mount Server Network Enclosure 4. 1 1 monmaster masterpassword master. Before you buy, take a look at the Acknowledgements for information about which drivers are developed with the support of the manufacturer. Click the "Install" button to install the add-on. Network UPS Tools (NUT) configuration comes natively. NUT is broken into two services: nut-server and nut-monitor. 0. Contribute to gpdm/nut development by creating an account on GitHub. User Documentation. upsd and upsmon start up perfectly every time. Si vous souhaitez profiter de la solution en USB, il faudra veiller à installer le pilote libusbk de Zadig. 1. Note will require a 'nut-dirver-xxx' driver to actually connect to the UPS. 2. In OpenSuSE 10. # Network Install Run server. Or just start nut-server after the network comes up: systemctl edit nut-server. Jan 10, 2021 · Do not forget to update the firewall to allow your clients to connect to port 3493 (NUT’s default port) on the server. The change of leadership February 2005: NUT 2. target Instantlinux/nut-upsd is a Docker image that provides a network UPS monitoring service using NUT (Network UPS Tools). # Configure nut upsd. Listen 192. This is a server for adult men only. Or fastest delivery Thu, Dec 7. conf upsd. 1898 No Monogram. HTML 50. service, nut-monitor. jeff3820. Jun 5, 2020 · upsdrvctl start. It supports various models and protocols, and can be configured with environment variables or a custom config file. 4. Be sure to also read the footnotes. x vs. Multiple ESXi hosts. users; sudo chmod 0640 upsd. See issue 47 for more information, specifically this commentary. Check the logs of the "Network UPS Tools" add-on to see if everything went well. Nut Paradise 18+ 8,061 Online. In Settings -> NUT, configure it to be: Start Network UPS Tools service: Yes (when done configuring) Enable Manual Config Only: No. UserVars. It will probably be necessary to allow the WinNUT-Client IP to communicate with the NUT server. This line tells NUT that it should also listen to requests sent to my print server’s IP address. I've got upsmon (nut-client) and upsd (nut-server) set up and almost fully working on an RPi3. sudo upsdrvctl stop. x) J. 0 July 2003: pushing towards 2. From the command line, you can use. Append: [local_mon] password = <secretpass Jan 18, 2021 · NUT, or N etwork U PS T ools, is a collection of applications that lets your system monitor and react to the status of a battery backup, whether you’re directly connected to the UPS or not. This will probably create two files in /etc/nut folder. In the Network part (bottom of the screen), set 3493 to the “host”. If your NUT server is hosted on a Synology NAS, be sure to provide the following connection information (default): Login: upsmon Password: secret. It also integrates with Home Assistant for smart home automation. as root. sudo service nut-server restart. Mar 1, 2023 · This video will illustrate the configuration of Network UPS Tools (NUT) server with multiple UPS's connected to the network. Nov 4, 2021 · From our log entries above, we can see that the UPS has been recognized by the operating system so we can now install and configure nut-server and nut-client. exe in the release section. VERSATILE USE: These 10-32 server rack screws and clip nuts are compatible with a wide range of server rack equipment and add-ons, including server shelves, device enclosures, and more BUILT TO LAST: These high-quality slide-on cage nuts and screws feature zinc finished clip nuts and black-oxide finished screws to help prevent rust . conf on your NUT server to have a UPS called "ups". Dec 20, 2023 #6 Mar 18, 2015 · Quick and Easy Assembly: Just place the cage nut in the designated location and with the cage nut tool you can grab the flange and set the cage nut into place. A successful connection from Tinfoil to the Nut server will generate a couple lines regarding getSearch with the IP address of the switch and a timestamp. Cette version 2. Test the Stability: Shake the rack and check for stability, making May 20, 2024 · Now that we have defined the UPS in the /etc/nut/ups. Nut It Up 1,585 members. Boot the OS and follow the on-screen instructions to set up your server. another NAS, laptop, computer, . 4# upsc apc@10. The configuration files for these services are located here: /etc/nut/ ups. Configure NUT server and monitor. In my video - im circling nut source. Sexuality isn't important, it's for men who enjoy bating together. # This file should be executed at a regular interval (e. 75 in. It’ perfect for your Pi, server, or desktop. client mode; can be on a server too and is in fact recommended on all hosts). 6. If configured correctly this page will show, after waiting a few seconds, information about the UPS. service 和 nut-driver@<ups-config-name> 三个服务 Jul 22, 2019 · This line tells NUT to continue listening to local requests (127. Configure or disable your firewall. Click on Diagnostics in the left menubar. 100+ bought in past month. UPS Mode: Netserver (if you want unraid to be master) UPS IP Addresss: 127. 0 3493. A demo running on ESP32-S3 to communicate with USB-HID UPS and to be a tiny NUT (Network UPS Tools) Server. A minimal configuration should include at least one MONITOR instruction, MINSUPPLIES (may be 0 if this system is only monitoring other NUT servers), and a POWERDOWNFLAG if this machine is a "primary" system connected to the UPS and drives its late-shutdown power-off command in an emergency. Chill,Game and VC all night with your bros! View Join Post Nut Clarity 73 members. conf : root # nano -w /etc/nut/upsmon. Network UPS Tools in Docker. FILE /etc/nut/upsmon. Hardware compatibility list. How Using Tinfoil And NutSorry there is a mistake when downloading nut on official web. Hi, I have a APC Back-UPS-Pro connected to a TrueNAS server. 0 recognises it using the USBHID-UPS mode and displays the status etc correctly. users then finally set the monitoring connection in /etc/nut/upsmon. Describe your UPS This implies to start the 3 NUT layer (driver, upsd and upsmon) and the matching configuration files. 7 out of 5 stars 348 Nov 21, 2021 · In this video, we will configure NUT server on OpenWRT to manage & monitor UPS devices. Install nut, nut-client, nut-server, nut-cgi, and lighttpd using apt-get: root@vmserver [~]# apt-get install nut nut-client nut-server nut-cgi lighttpd Reading package lists After I restart the nut-server then check the nut-client status, the communications are established and my other remote systems get the correct updates. Claw Fits Seamlessly: Simply place the claw over the back of your cage nut and it will fit into the cage nut holes. Add one line to the bottom of the file: MONITOR servers@localhost "Server UPS". ESXi must be configured to (graceful) shutdown VMs when the host is instructed to power off. This is the configuration file for the UPS hardware. Find out the USB ID of your UPS: $ lsusb. yast2 -i nut. Once the driver is up and running, we need to set up the user for accessing the NUT daemon. 0 installed. users. You can also use the web interface or the command line to monitor and control your UPS devices. You need to save this Nov 23, 2020 · First, install the webserver and the NUT web stuff: apt install apache2 nut-cgi. sudo systemctl restart nut-monitor sudo upsdrvctl stop sudo upsdrvctl start. model to check if the correct UPS is detected. 207. host where NUT is running with a server role, is shutdown after all clients are off. I'm currently using Windows NUT Client on a Windows 10 machine. Feb 5, 2021 · Long Lasting Comfort: Installing cage nuts in a server rack can be a painful process. Don't forget for this step, otherwise, you can't establish the NUT clients connection to the NUT server (your NAS). If you have Home Assistant giving you Smart Home capabilities, you should protect it from power failure by using UPS. Here is where you specify the Driver, Make, and Model of the UPS. html output. Type: N/A Color: Black Specification: Included: Mounting Screws and Clip Nuts Quantity per package: 50 Thread Type (s): 10-32 Features: Easy slide-on installation with clip nut design Nickel-plated finish to prevent rust 50 x 10 32 screws included 50 x 10 32 nuts included Included screws are 19. $1299. Aug 30, 2023 51 6 8 Luxembourg. Configure the Firewall with the following commands: sudo firewall-cmd --add-service=nut. Ensure that you can connect to the FTP/HTTP/NUT server using the provided settings from a different PC than the one running the server. 240. php in the directory you wish to serve encrypted, or run encrypt. This chapter describe most of the configuration and use aspects of NUT, including establishing communication with the device and configuring safe shutdowns when the UPS battery runs out of power. Configure the users and devices options. A server with active vc every day. Step 6: Configure and Test NUT Client Join for Nsfw stickers, server is fully nsfw and strictly 18+ | 56727 members. networkupstools. Antique Circa 1894 Towle Silversmiths "Empire" Pattern Sterling Silver Open Work Bon Bon Server/Spoon, 4 5/8 Inches Long, 1 Piece. a. v2. I configured Pfsense to connect to a Remote NUT server and it Aug 16, 2023 · Create a MONITOR configuration in /etc/nut/upsmon. FREE shipping. /var/run/nut) and pipe files (e. conf to listen on all interfaces with LISTEN 0. Network UPS Tools (NUT) NUT is an UPS (UPS) monitoring system that allows the sharing of one (or more) UPS systems between several computers. 4-8 armhf [installed] nut-client/stable,now 2. Ensure your firewall is allowing external connections. View attachment 307464 Cage nuts are built to latch into the square holes of a server, creating the ability for threaded screws to be inserted. May 16, 2024 · At this point you should revise the locations for PID files (e. sudo service nut-client restart. Nov 28, 2022 · Meet NUT Server, or Network UPS Tools. This will place all the necessary binaries in your path and a set of skeleton configuration files. . I created an ‘admin’ (full access), ‘monmaster’ (for the master, which should be this machine in this setup) and ‘monslave’ (for the other hosts). May 13, 2022 · Run the command below to validate that TrueNAS can see and communicate with the UPS. For example let’s say you are using Ubuntu, then you would install the client by running: 1. This mode can also address UPS redundancy. May 16, 2024 · 6. target Jun 2, 2023 · Now we have to: Configure the firewall. FREE delivery Wed, Apr 3 on $35 of items shipped by Amazon. Keep note of the driver as we will need it in a future step. Check out our nut servers selection for the very best in unique or custom, handmade pieces from our serving utensils shops. It is recommended to run it every minute. users; cd ~ REBOOT; To verify: sudo systemctl restart nut-server, then sudo systemctl status nut-server. Services will require prior configuration: nut-{client,driver,server,monitor} Configuration. 2) I've connected the router to a LiPo Battery pack which keeps the Router and ONT available during long power outages. 2%. For example, at its most basic, you can use NUT to safely You can run the tool nut-scanner (8) which will detect NUT-compatible devices attached to your system. 30 Pack M6 x 20mm Rack Mount Cage Nuts, Screws and Washers for Rack Mount Server Cabinet, Rack Mount Server Shelves, Routers (Silver) 54. For UPS with serial port, use port=/dev/ttySX, where X is the number of serial port (Example: /dev/ttyS1 ). [admin] Jul 15, 2021 · DIY HOME SERVER - PROXMOX - NUT Monitoring. Aug 31, 2019 · Required for all NUT packages : nut-server : NUT server or standalone; only for the host attached directly to the UPS. service 文件,最后使用 systemctl 启动 nut-server. at address 10. ga mm vv ln wk uj mf cm uh rb