Quick Answer: Where Is Network Configuration File in Ubuntu?
Contents How Do I Find My Network Interface Ubuntu? You Can Use the Following Commands to List Ethernet Adapters Under Ubuntu Linux: Lspci Command – List All...
Contents
How do I find my network interface Ubuntu?
You can use the following commands to list Ethernet adapters under Ubuntu Linux:
- lspci command – List all PCI device including Ethernet cards (NICs) on Linux.
- ip command – Display or manipulate routing, devices, policy routing and tunnels on Linux operating systems.
Must Read
How you can configure network on Linux?
This example network interface configuration file, ifcfg-eth0, defines a static IP address configuration for a CentOS 6 server installation.
- # Intel Corporation 82566DC-2 Gigabit Network Connection. DEVICE=eth0. …
- TYPE=Ethernet. BOOTPROTO=dhcp. …
- NETWORKING=yes. HOSTNAME=host.example.com.
- default 192.168.2.1 dev eth0.