Solved Internet is working on Linux, but Kodi won't recognize it
#1
Hi guys,

This is definitely a weird one that has been driving me crazy for days as I can't figure it out. My laptop has internet (over wifi), but Kodi doesn't.

I've gone as far as wiping my Kodi setup along with my Linux box ( re-installed Mint 18.2 x64 from scratch) and I still have the issue.

Kodi System Info/Network/ states Internet is connected, but it's really not. Sometimes, I can even see the word "Busy" in the Mac address and DNS.
As a result, I can't install anything. Not even from Kodi repo.

I did notice a difference in the Linux Mint DNS servers compared to my Windows 10 and LibreElec 8.2 DNS servers.

Linux Mint shows:
Primary DNS: 127.0.1.1
Secondary DNS: (nothing)


Windows and LibreElec show:
Primary DNS: 75.75.75.75
Secondary DNS: 75.75.76.76

Here are the latest logs whenever I try to run Youtube addon, which crashes Kodi:
https://www.dropbox.com/sh/oq85iv8iqohm6...Z6cXa?dl=0

I can provide any log or perform any other test for anyone. Hopefully someone can determine what my issue is?

Thanks for taking the time to read this!
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#2
The DNS servers that LibreELEC and Windows are seeing are the ones provided by your ISP, in this case it is ComCast. Change the DNS servers in Mint to...

Primary:8.8.8.8
Secondary:8.8.4.4

...and see if that makes a difference.
HTPCs: 2 x Chromecast with Google TV
Audio: Pioneer VSX-819HK & S-HS 100 5.1 Speakers
Server: HP Compaq Pro 6300, 4GB RAM, 8.75TB, Bodhi Linux 5.x, NFS, MySQL
Reply
#3
The only way I know to change the DNS servers is by editing network connection, as illustrated here:
https://youtu.be/ol0m4QgZz2M

To test if the DNS servers have been changed to 8.8.8.8 and 8.8.4.4, I went to http://dnsleaktest.com
There, I can see 6 Google servers and their IP addresses. So yes, DNS servers have been changed.

However, Kodi Network Status still shows:
Subnet Mask: 255.255.255.0
Gateway: 10.0.0.1
Primary DNS: 127.0.1.1
Secondary DNS: (nothing)
Internet: Connected


Also, I check /etc/resolv.conf and this also still shows:
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
 

I have dual boot setup of Windows 10 and Mint 18.2. Kodi works flawlessly in Windows. Except Linux is my primary OS. It's a real pain to keep switching operating systems to use Kodi.

Really hoping I can get this resolved.
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#4
Quote:However, Kodi Network Status still shows:
Subnet Mask: 255.255.255.0
Gateway: 10.0.0.1
Primary DNS: 127.0.1.1
Secondary DNS: (nothing)
Internet: Connected

Is okay. It's just resolvconf doing that internally. You can easily test that from the shell: nslookup www.heise.de - then you will get the response from your 127.0.1.1
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
(2017-10-29, 22:52)fritsch Wrote:
Quote:However, Kodi Network Status still shows:
Subnet Mask: 255.255.255.0
Gateway: 10.0.0.1
Primary DNS: 127.0.1.1
Secondary DNS: (nothing)
Internet: Connected

Is okay. It's just resolvconf doing that internally. You can easily test that from the shell: nslookup www.heise.de - then you will get the response from your 127.0.1.1
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#6
(2017-10-30, 01:15)Newbie_from_NJ Wrote:
(2017-10-29, 22:52)fritsch Wrote:
Quote:However, Kodi Network Status still shows:
Subnet Mask: 255.255.255.0
Gateway: 10.0.0.1
Primary DNS: 127.0.1.1
Secondary DNS: (nothing)
Internet: Connected

Is okay. It's just resolvconf doing that internally. You can easily test that from the shell: nslookup www.heise.de - then you will get the response from your 127.0.1.1

This is the output of the shell when I run nslookup www.heise.de

Code:
Server:        127.0.1.1
Address:    127.0.1.1#53

Non-authoritative answer:
Name:    www.heise.de
Address: 193.99.144.85
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#7
So why are my DNS servers are still pointing to Comcast, if I changed them to 8.8.8.8 and 8.8.4.4 under network connections? I also logged into my Xfinity (Comcast) router and there is no option there to change DNS server. I don't believe Comcast allows this change on their router. 

Needless to say, Kodi still has no internet.
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#8
Correction: I do have internet. I used OpenDNS servers instead. I was able to add a source, install an addon and stream a video. So now off to find out what the heck on my build is causing internet issues.
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#9
If you need to post any more logs, please make sure you set debugging on then restarting kodi.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#10
UPDATE - ISSUED SOLVED: This issue stems from a Linux Bug in python-cryptography, which is found in  Linux Mint 18.2. It literally crippled Kodi and the issues I was having are too long to list. 

Updating python-cryptography with the following steps resolved all my problems: 

Code:
wget http://launchpadlibrarian.net/299484105/python-cryptography_1.7.1-2_amd64.deb
wget http://launchpadlibrarian.net/292839640/python-openssl_16.2.0-1_all.deb
sudo apt install ~/python-cryptography_1.7.1-2_amd64.deb ~/python-openssl_16.2.0-1_all.deb
4GB ODROID N2 64GB eMMC, Asus i3 Chromebox 128GB, Nvidia Shield TV Pro, Wetek Hub, AFTV
CoreELEC Nightly, LibreELEC 9.2, Kodi 20.2 
LG 65" OLED C9 and Integra DRX 3.4 w/ Dirac Live Atmos 5.1.2
Reply
#11
Thumbs Up 
Thanks a lot, I had a similar issue and your suggestion worked for me.
Mine was slightly different in the sense every time Kodi started, the internet worked for a minute or two. Updating python-cryptography fixed that issue.
Reply

Logout Mark Read Team Forum Stats Members Help
Internet is working on Linux, but Kodi won't recognize it0