I'm completely new to Linux and just installed Ubuntu 16.04 LTS with Windows 10. (I've installed Ubuntu on a different partition than Windows, if that would be of any help). So I set up Ubuntu but my Ethernet is not being detected and connected. The same works fine when on Windows. I've searched other questions on this site but none of them solved my problem. I would be glad if someone helped me out here! Thanks!
Okay, so I am the user who put a bounty on the question. I was unable to comment due to lack of reputation. But now I think I should take the reins of this question into my hands. So, I will describe my system's properties.
I had installed Ubuntu 16.04 on a separate partition in parallel to Windows 10. The laptop is Lenovo Z51-70. The problem is that the ethernet is not connecting on Ubuntu.
This is the result of "ipconfig" on Windows.
Windows IP Configuration
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::d01f:a297:5f9c:80f%4
IPv4 Address. . . . . . . . . . . : 10.9.73.16
Subnet Mask . . . . . . . . . . . : 255.255.224.0
Default Gateway . . . . . . . . . : 10.9.70.250
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{5F5A44D4-1648-49E4-8C87-54CB2AB99206}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Also, I would like to add that rebooting didn't help. Restarting network-manager didn't help. Giving up IP on Windows before booting into Ubuntu didn't help.
The output of the script which @DavidFoerster mentioned is at wireless-info.txt.
Best Answer
The bible of network connection problems
The best place to start is with your favorite bible of network connections like this (wiki.archlinux.org - Enable WOL in Windows driver) from ArchLinux.
Although there are dozens of things you can try:
We'll start with the most likely based on limited information given that the network card works in Windows but not Ubuntu. This is outlined in the next section.
Windows disables NIC (Network Interface Card) on shutdown
When a BIOS feature known as Wake on LAN (WOL) is disabled your NIC will have no blinking LED's indicating connection and no connection to your router. Windows can disable your NIC on shutdown. To prevent this from happening on Realtek cards under Windows XP (example) use:
This may not solve the OP problem because exact details are not given. However there is a high degree of confidence that one of the other solutions on this web page will solve the problem.