help setting up a static ip address?
-
Maybe the DHCP on your router doesnt work correctly. Go to your router config page and see if you can enable DHCP there.
-
@coolstuff Which wifi dongle are you using? You are using one, right...?
-
@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.
-
@coolstuff No wifi until The Pi3 I'm afraid! type
ifconfig
in the terminal, do you see eth0 listed? Post what it says here. -
If you're NOT using a Pi 3, then you should also download the Retropie image for the Pi 1.
-
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. -
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:
-
-
btw I've updated the wiki after testing it myself and getting it working.
https://github.com/RetroPie/RetroPie-Setup/wiki/Wifi#static-ip
-
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 -
I just told my DHCP server to assign the same IP address to the Pi's MAC address.
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.