{"id":7167,"date":"2023-09-19T22:46:21","date_gmt":"2023-09-19T20:46:21","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=7167"},"modified":"2023-09-19T22:46:23","modified_gmt":"2023-09-19T20:46:23","slug":"den-status-der-cmos-batterie-unter-linux-abfragen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/19\/den-status-der-cmos-batterie-unter-linux-abfragen\/","title":{"rendered":"Den Status der CMOS-Batterie unter Linux abfragen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Die CMOS-Batterie liegt direkt auf dem Motherboard und dient dazu, die Einstellungen des Mainboards &#8211; also des BIOS \/ des UEFI sowie die Uhrzeit zu speichern. Dies kann das System beim Systemstart schon einmal durcheinander bringen.<br><br>Um unter Linux den Zustand dieser Batterie abzufragen, nutzen Sie als normaler Benutzer am <a href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=3\" target=\"_blank\" rel=\"noreferrer noopener\">Terminal<\/a> den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/proc\/driver\/rtc | grep batt_status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Meldung wie:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>batt_status     : okay<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">w\u00e4re nat\u00fcrlich optimal:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos-1024x300.jpg\" alt=\"\" class=\"wp-image-7169\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos-1024x300.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos-300x88.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos-150x44.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos-768x225.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos.jpg 1091w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Bei anderen Meldungen gilt es, die Batterie abzufragen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Erg\u00e4nzung aus dem Forum<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Kleine Anmerkung:<\/strong><br>Meist handelt sich dabei um eine <em><strong>CR 2032<\/strong><\/em> &#8211; Knopfzelle. Leider ist der Zugang auf der Hauptplatine wie hier beim Dell Optiplex Mini<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos_batterie.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"380\" height=\"400\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos_batterie.jpg\" alt=\"\" class=\"wp-image-7170\" title=\"cmos_batterie.jpg (578.41 KiB) 862 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos_batterie.jpg 380w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos_batterie-285x300.jpg 285w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cmos_batterie-143x150.jpg 143w\" sizes=\"auto, (max-width: 380px) 100vw, 380px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">nicht immer so einfach und das Ding in 1 Min. gewechselt.<br>Bei meinem Lenovo-Desktop Rechner hat man sie &#8211; obwohl dessen Platine dreimal so gro\u00df ist &#8211; direkt unter den Einbausch\u00e4chten von SSD und DVD platziert. Wird ein Spa\u00df, wenn&#8217;s da mal soweit ist&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Erstver\u00f6ffentlichung: So 9. Okt 2022, 09:07<\/strong><\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"7167\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"7167\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Die CMOS-Batterie liegt direkt auf dem Motherboard und dient dazu, die Einstellungen des Mainboards &#8211; also des BIOS \/ des UEFI sowie die Uhrzeit zu speichern. Dies kann das System beim Systemstart schon einmal durcheinander bringen. Um unter Linux den Zustand dieser Batterie abzufragen, nutzen Sie als normaler Benutzer am Terminal den Befehl: Eine Meldung [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-7167","post","type-post","status-publish","format-standard","hentry","category-hardware"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=7167"}],"version-history":[{"count":2,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7167\/revisions"}],"predecessor-version":[{"id":7171,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7167\/revisions\/7171"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=7167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=7167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=7167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}