TS-4900 Bookworm Network: Difference between revisions
From embeddedTS Manuals
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
* wlan0 - WIFI | * wlan0 - WIFI | ||
DHCP on end0. Create the file: /etc/network/interfaces.d/ | DHCP on end0. Create the file: /etc/network/interfaces.d/end0 | ||
<pre> | <pre> | ||
auto end0 | auto end0 |
Revision as of 12:25, 5 September 2023
The network in Debian is configured /etc/network/interfaces.d/. 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. Create the file: /etc/network/interfaces.d/end0
auto end0 allow-hotplug end0 iface end0 inet dhcp
Static IP on end0. Create the file /etc/network/interfaces.d/end0
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