TS-4900 Bookworm Network: Difference between revisions
From embeddedTS Manuals
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The network in Debian is configured /etc/network/interfaces | The network in Debian is configured with /etc/network/interfaces. For complete documentation, see [https://wiki.debian.org/NetworkConfiguration Debian's documentation here] | ||
Some common examples are shown below. On this release network interfaces follow the [https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ predictible network interface names]. Run <source inline lang=bash>ip addr show</source> to get a list of the network interfaces. | Some common examples are shown below. On this release network interfaces follow the [https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ predictible network interface names]. Run <source inline lang=bash>ip addr show</source> to get a list of the network interfaces. |
Latest revision as of 14:48, 31 October 2023
The network in Debian is configured with /etc/network/interfaces. For complete documentation, see Debian's documentation here
Some common examples are shown below. On this release network interfaces follow the predictible network interface names. Run ip addr show
to get a list of the network interfaces.
Most commonly:
- end0 - Ethernet device 0 (CPU Ethernet)
- enp1s0 - Ethernet PCIe port 1 slot 0 ethernet
- usb<mac> - USB ethernet
- wlan0 - WIFI
DHCP on end0. Edit the file /etc/network/interfaces and add:
auto end0 allow-hotplug end0 iface end0 inet dhcp
Static IP on end0. Edit the file /etc/network/interfaces and add:
auto end0 iface end0 inet static address 192.0.2.7/24 gateway 192.0.2.254
These will take effect on the next boot, or by restarting the networking service:
service networking restart