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

    help setting up a static ip address?

    Scheduled Pinned Locked Moved Help and Support
    networkip addressstatichelp
    14 Posts 8 Posters 12.3k 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.
    • S
      snowcherry
      last edited by

      What exactly happens when you try to use the wifi menu to connect?

      1 Reply Last reply Reply Quote 0
      • C
        coolstuff
        last edited by

        My wifi is weird, it has been for a while. I have to manually input the ip address for every device I try to connect, normally ethernet works fine but since it hasn't worked this time I'm pretty lost. Anyway, back to the question, it does connect but the IP is not displayed and I am unable to use the internet (if that makes any sense).

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

          Maybe the DHCP on your router doesnt work correctly. Go to your router config page and see if you can enable DHCP there.

          1 Reply Last reply Reply Quote 0
          • AlexMurphyA
            AlexMurphy Banned @coolstuff
            last edited by

            @coolstuff Which wifi dongle are you using? You are using one, right...?

            C 1 Reply Last reply Reply Quote 0
            • C
              coolstuff @AlexMurphy
              last edited by

              @AlexMurphy Wait.... what? I could have sworn I read that the b+ had built in wifi? Either way though, that doesnt explain why ethernet doesnt work.

              AlexMurphyA 1 Reply Last reply Reply Quote 0
              • AlexMurphyA
                AlexMurphy Banned @coolstuff
                last edited by

                @coolstuff No wifi until The Pi3 I'm afraid! type ifconfig in the terminal, do you see eth0 listed? Post what it says here.

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

                  If you're NOT using a Pi 3, then you should also download the Retropie image for the Pi 1.

                  1 Reply Last reply Reply Quote 0
                  • W
                    willieaames
                    last edited by

                    Try
                    sudo dhclient -r
                    Followed by,
                    sudo dhclient
                    Or do: sudo dhclient -r wlan0, sudo dhclient wlan0
                    This (should) renew the dhcp lease and assign one of your PIs to a new IP.

                    1 Reply Last reply Reply Quote 0
                    • C
                      coolstuff
                      last edited by

                      Ok so... I found out from the friend I got my pi from that it is in fact a pi 3 model B so it DOES have onboard wifi.

                      @willieaames said in help setting up a static ip address?:

                      Try
                      sudo dhclient -r
                      Followed by,
                      sudo dhclient
                      Or do: sudo dhclient -r wlan0, sudo dhclient wlan0
                      This (should) renew the dhcp lease and assign one of your PIs to a new IP.

                      I tried this, but it didn't seem to help

                      @AlexMurphy said in help setting up a static ip address?:

                      @coolstuff No wifi until The Pi3 I'm afraid! type ifconfig in the terminal, do you see eth0 listed? Post what it says here.

                      I see eth0 listed, It doesnt have anything like an IP there... I dont know how to copy and paste from the pi and paste it here, so I took a picture: 0_1487779385049_IMG_0203.JPG

                      1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators
                        last edited by BuZz

                        Static address on Raspbian Jessie -

                        https://nebulousthinking.wordpress.com/2016/02/25/setting-a-static-ip-for-raspbian-jessie-in-2016/

                        https://www.jeffgeerling.com/blog/2016/setting-static-ip-address-raspbian-jessie-lite-on-raspberry-pi

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • herb_fargusH
                          herb_fargus administrators
                          last edited by

                          btw I've updated the wiki after testing it myself and getting it working.

                          https://github.com/RetroPie/RetroPie-Setup/wiki/Wifi#static-ip

                          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 1
                          • I
                            iamjenny
                            last edited by

                            Try
                            sudo dhclient -r
                            Followed by,
                            sudo dhclient
                            Or do: sudo dhclient -r wlan0, sudo dhclient wlan0
                            This guide can be useful if you want to renew dhcp and assign your pls to new IP

                            1 Reply Last reply Reply Quote 0
                            • obsidianspiderO
                              obsidianspider
                              last edited by

                              I just told my DHCP server to assign the same IP address to the Pi's MAC address.

                              📷 @obsidianspider

                              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.