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

Raspberry Pi OS • Re: Static IP with Bookworm

$
0
0
thx all

i use now

Code:

sudo nmcli c m "Wired connection 1" ipv4.addresses 192.168.x.y/24 ipv4.method manualsudo nmcli c m "Wired connection 1" ipv4.gateway 192.168.6.1sudo nmcli c m "Wired connection 1" ipv4.dns "192.168.6.5"sudo nmcli c down "Wired connection 1" && sudo nmcli c up "Wired connection 1"
i copied this to an USB stick to use it for every new intallation and it works fine to me,
thx again

Andreas

Statistics: Posted by AndreasO — Sun Dec 24, 2023 12:59 pm



Viewing all articles
Browse latest Browse all 2475

Trending Articles