I always run Windows 10 (Ethernet and WiFi work fine) but I dual boot and changed my distro from Arch (~6 months ago) to Fedora (~3 months ago). Fedora used to connect sometimes and sometimes not. However, now it won't connect at all. Antergos won't. Debian won't. Arch won't. Fedora won't.
I've reset my router and modem and I've even tried this at another house and it still doesn't connect. If I set a static IP, it "connects", but I still can't access the internet. Pinging google or even my own router doesn't work (destination host unreachable). Any help?
lspci | egrep -i --color 'network|ethernet'
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
There are also only Windows drivers for my Ethernet on my MB.
edit: attempt at installing ethernet driver on Antergos installation
tar zxf e1000e-3.3.3.tar.gz
cd e1000e-3.3.3/src/
sudo make install
Makefile 67: *** Kernel header files not in any of the expected locations.
Makefile 68: *** Install the appropriate kernel development package. e.g.
Makefile 69: *** kernel-devel. for building kernel modules and try again. Stop.
edit 2: successfully installed the e1000e driver, still can't connect. Same error as before, "unknown host" if DHCP enabled, "destination host unreachable" if IP is static.
edit 3:
cp /etc/network/interfaces /etc/network/interfaces-old
service networking stop
nano /etc/network/interfaces
added these to interfaces:
allow-hotplug eth0
iface eth0 inet dhcp
and then:
ifdown eth0
ifup eth0
The result was:
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
grep: /etc/resolv.conf: No such file or directory
I then created a resolv.conf, added Google DNS and their alternate as nameservers, and I got the exact same result after ifdown eth0 and ifup eth0 as before (besides the different intervals), except the resolv.conf error was no longer there. This post on UbuntuForums seems to describe my problem exactly.
edit 4: solution
Hello from Antergos! I figured it out through a strange pattern. If my computer is off and and I turn it on, and boot DIRECTLY into Antergos (or any distro I suppose), my ethernet and wifi work! However, if I boot into Windows first and then restart (not turn off and turn on, just the "restart" option where Windows handles it), my cards do not work. I'm guessing Windows has some strange way of restarting that causes a conflict with Linux. I wish I could figure out a way to restart within Windows and have it still work but I guess it really doesn't matter, it's only an extra 5 seconds or so. Thanks everyone for your help though, I learned a ton about Linux! I'm going to keep this unsolved unless someone knows how to fix it for good, but for now, internet seems to be working.