Quantcast
Viewing all articles
Browse latest Browse all 4844

Networking and servers • Re: Static IP on bookworm without dhcpcd

How can I configure a static IP (ip, gw, dns etc) on a network card (SoftEther VPN virtual card) in bookwork now that dhcpcd.conf no longer exists. The new network manager lists the virtual network card as "vpn tun unmanaged" so I can't use nmcli to create a connection for it.
I just create a file like this:

Code:

/etc/network/interfaces.d $ cat eth0 allow-hotplug eth0iface eth0 inet staticaddress 192.168.0.XXX/24netmask 255.255.255.0gateway 192.168.0.1
change XXX to whatever you wish.
Works every time and doesn't involve network manager.

Statistics: Posted by jahboater — Sat Jun 15, 2024 10:02 pm



Viewing all articles
Browse latest Browse all 4844

Trending Articles