RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Linux connected to internet, but Kodi isn't.

    Scheduled Pinned Locked Moved Help and Support
    kodiinternetnot connected
    11 Posts 5 Posters 8.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • theantnestT
      theantnest
      last edited by theantnest

      Hi guys,

      First post here, but have been lurking for a while.

      New to Raspberry Pi and Linux, so please be kind :)

      I have two Pi 3 Model B running retropie 4.1, with a USB keyboard and a Wii U Pro controller connected via bluetooth. I've tried a few different power supplies, including a lab bench supply, so I think I can rule that out.

      I am using a wired ethernet connection, but have also tried wifi to the same result.

      Basically from the command prompt I can see the internet, with repositories, updates and downloads all working normally. In Emulationstation the scraper works and everything seems ok.

      But Kodi reports that it isn't connected to the internet, and won't scrape - but it can see my network, NFS/ SMB shares, play vids off my server, etc, with no problem.

      I have tried on both Pi's I have with different builds, different SD cards, used the stock Kodi 16 from the repo, tried the updated Kodi 17 RC, all with no luck.

      My router is set to DHCP with most devices on a fixed IP (mac address binding) and I have a metric butload of devices connected via gigabit ethernet and wifi (phones, tablets, Desktop PCs, Xbox, Smart TV, 4 laptops in the house, etc) all working with no issues.

      I suspect the issue is not with the Pi, but with some router setting the Pi doesn't like, (although it is weird that Emulationstation scrapes with no issue) but I don't have enough knowledge to rule anything out at this point.

      It would be amazing if somebody could hold my hand and walk me through solving this.

      Many thanks.

      1 Reply Last reply Reply Quote 0
      • theantnestT
        theantnest
        last edited by

        Added Kodi debug log (I'm learning) :D

        http://pastebin.com/nNg4zf7Z

        1 Reply Last reply Reply Quote 0
        • RascasR
          Rascas
          last edited by

          That's strange, you seem to not have internet in Kodi indeed. Did you tried to make a backup of ~/.kodi (it's the dir with all Kodi settings) and then remove it to start fresh, with default Kodi settings ? Does it work then ?

          1 Reply Last reply Reply Quote 0
          • theantnestT
            theantnest
            last edited by

            Thanks, I'll try that now.

            1 Reply Last reply Reply Quote 0
            • theantnestT
              theantnest
              last edited by

              Sadly, no difference.

              Is there some config file, somewhere with network settings inside?

              On the bright side, because of this issue I've learned to use puTTy and WinSCP.

              1 Reply Last reply Reply Quote 0
              • RascasR
                Rascas
                last edited by

                There is no network settings in Kodi, or only for Kodi.
                Try a new install from scratch of the latest RetroPie image + Kodi. If it doesn't work also, it should be something in your network/routers (firewall ?).

                1 Reply Last reply Reply Quote 0
                • theantnestT
                  theantnest
                  last edited by theantnest

                  Ok, this is solved.

                  For some reason, Kodi had a DNS issue.

                  I'm not sure why, but what I needed to do was change the Pi to Google name server:

                  sudo nano /etc/resolv.conf

                  Change to 8.8.8.8

                  After this, immediately everything works.

                  And I learned a hell of a lot of stuff going down this rabbit hole.

                  1 Reply Last reply Reply Quote 2
                  • theantnestT
                    theantnest
                    last edited by

                    Update:

                    To change the name server permanently, check out the following link:

                    http://unix.stackexchange.com/a/163506/67024

                    1 Reply Last reply Reply Quote 0
                    • D
                      Deltax5
                      last edited by Deltax5

                      I getting upset. I put the dns. it shows up fine in kodi. when I restart my pie it goes back to the other one. tried both metheds still no luck. It still says can't connect.
                      Edit: just found out that repo is down. kodi internet still works.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stino
                        last edited by

                        hi, i have the same problem, i am trying the solution to change the name server permanently.

                        when typing "/etc/dnsmasq.conf"

                        i get the permission denied.

                        Anyone have a solution?

                        Thx

                        markyh444M 1 Reply Last reply Reply Quote 0
                        • markyh444M
                          markyh444 @stino
                          last edited by

                          @stino you'll need to use the sudo command to elevate to root privileges. Without sudo at the beginning, you won't have write access to the file. Also, you'll need to open this in an editor, so try sudo nano /etc/dnsmasq.conf which should open in the nano text editor for you to mess with. Remember to save when exiting with ctrl x

                          Retropie in a NES - Pi 3 with Mausberry circuit shutdown switch wired to buttons and 8bitdo NesPro30 controller
                          Retropie in a Saturn Controller - Pi Zero, GPIO controls using DB9 driver
                          Retropie in a PSX - Pi3
                          https://markyh444.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.