open wired centos 7 cmd
To open a wired connection in CentOS 7, you can use the nmtui
command to open Network Manager and select the network interface. You can also use the ifconfig
command to configure and manage network interfaces.
Steps
- Open the terminal
- Type
nmcli d
to list the installed ethernet cards - Type
nmtui
to open Network Manager - Select the network interface
- Click Edit
You can also use the
ifconfig
command to configure network interfaces. For example, you can use ifconfig eth0 up
to turn on the Ethernet 0 interface, or ifconfig eth0 down
to turn it off. Other commands
ip
is a newer command that displays device and address informationnetstat
is a versatile command that displays device and address informationsystemctl restart network.service
restarts the server networking service
Comments
Post a Comment