Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

Raspberry Pi OS • Re: Power saving - Bookworm

$
0
0
Hi Doug,

When I run ifconfig my output looks like this (I've replaced some numbers with x's). It looks like the Ethernet port is included in the wlan0 output. Does this help explain which item to disable? I do want to keep the wifi connection enabled.

Code:

pi@rpi-bookworm8:~ $ ifconfiglo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536        inet 127.0.0.1  netmask 255.0.0.0        inet6 ::1  prefixlen 128  scopeid 0x10<host>        loop  txqueuelen 1000  (Local Loopback)        RX packets 10  bytes 1612 (1.5 KiB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 10  bytes 1612 (1.5 KiB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500        inet 192.168.1.xxx  netmask 255.255.255.0  broadcast 192.xxxxxx        inet6 fe80::d08d:xxxxxxx  prefixlen 64  scopeid 0x20<link>        ether b8:27:eb:xx:xx:xx  txqueuelen 1000  (Ethernet)        RX packets 87  bytes 14505 (14.1 KiB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 74  bytes 14292 (13.9 KiB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Sorry, another question. Do you know if there is a way to disable the USB hub when USB devices are not connected? I have setup a systemd service to run:

Code:

echo "1-1" | sudo tee /sys/bus/usb/drivers/usb/unbind
This works and disables the USB if a USB is connected during the boot. If no USB device is connected when it runs I get this output

Code:

tee: /sys/bus/usb/drivers/usb/unbind: No such device
When I connect a USB device after boot it connects. My aim is to disable all possible hardware connections so that only a remote SSH (with key) is possible

Statistics: Posted by tennisparty — Sun Mar 24, 2024 9:07 am



Viewing all articles
Browse latest Browse all 4909

Trending Articles