I am new to ubuntu. My Ethernet is not working properly but wifi is working properly. For my ethernet to work, I always have to put this command after every restart(sudo ethtool -s eth0 speed 100 duplex full autoneg off). Any suggestions?
The output of (lspci -knn | grep Eth -A2) is:
09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Hewlett-Packard Company Device [103c:228d]
Kernel driver in use: r8169
/etc/rc.local
without sudo. And what is the network adapter? Please edit your question and add output oflspci -knn | grep Eth -A2
.