get the device interface first
nmcli device statusLook for your Ethernet interface (e.g., `enp3s0`, `eth0`, etc.)
if its eth0 it will be like this
ifname eth0 con-name
nmcli connection add type pppoe ifname <interface_name> con-name "your_connection_name" pppoe.username isp_given_username pppoe.password isp_given_password autoconnect yes
nmcli connection showsudo systemctl restart NetworkManager# Connect manually
nmcli connection up "your_connection_name"
# Disconnect
nmcli connection down "your_connection_name"