91
انجمن تازهکاران / پاسخ : سلام چگونه محدودیت شارژ باتری برای لینوکس تاعین کنم؟
« آخرین ارسال توسط Ali Khorsand 29 آذر 1404، 12:52 بظ »سلام برای من همچین گزینه ای نمیاد
sudo nano /etc/resolv.confnameserver 8.8.8.8ping 192.168.1.1
$ traceroute 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte packets
1 _gateway (192.168.10.1) 0.272 ms 0.501 ms 0.455 ms
2 192.168.1.2 (192.168.1.2) 0.957 ms 1.166 ms 1.136 ms
3 100.75.64.1 (100.75.64.1) 3.258 ms 3.275 ms 3.307 ms
4 10.22.29.61 (10.22.29.61) 7.781 ms 8.155 ms 7.749 ms
5 10.22.29.62 (10.22.29.62) 6.631 ms 6.928 ms 6.600 ms
6 10.22.29.65 (10.22.29.65) 12.730 ms 7.014 ms 9.763 ms
7 10.21.249.202 (10.21.249.202) 9.660 ms 7.597 ms 7.686 ms
8 * * *
9 * * *
10 * * *
11 de-cix-frankfurt.as13335.net (80.81.194.180) 82.344 ms 93.784 ms 102.434 ms
12 one.one.one.one (1.1.1.1) 78.282 ms 162.158.84.145 (162.158.84.145) 92.743 ms 162.158.84.209 (162.158.84.209) 80.789 ms
vic@Home:~$ sudo nano /etc/resolv.com
[sudo] password for vic:
vic@Home:~$ sudo nano /etc/resolv.com
vic@Home:~$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
^C
--- 1.1.1.1 ping statistics ---
32 packets transmitted, 0 received, 100% packet loss, time 31731ms
vic@Home:~$ ping -c 4 google.com
PING google.com (142.250.185.174) 56(84) bytes of data.
--- google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3072ms/etc/resolv.com
رو ادیت می کردم و توش می نوشتمnameserver 8.8.8.8
ببینم حل می شه یا نه. ping -c 4 google.com
PING google.com (142.250.186.142) 56(84) bytes of data.
--- google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3057ms
ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3068ms
ping -c 4 google.com
ping -c 4 8.8.8.8
/etc/tlp.conf
این مسیر فایل تنظیماتش هست. در داخل آن این خطوط وجود دارد:# Battery charge level above which charging will stop.
#STOP_CHARGE_THRESH_BAT0=80
احتمالا با برداشتن # از خط دوم و راهاندازی مجدد سیستم یا سرویس مربوطه مشکل حل شود.