-
- Posts: 158
- Joined: Tue Feb 27, 2018 6:04 pm
- Location: Vancouver, Canada
How to create a static ip address
How does one setup a static ip address for a raspberry pi?!
Re: How to create a static ip address
The easy way is to set it up in your router.
- DougieLawson
- Posts: 40583
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: How to create a static ip address
There's some arcane incantations in /etc/dhcpcd.conf. Take a look at your version of that file.
But, if your router has reserved addresses use that.
But, if your router has reserved addresses use that.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: How to create a static ip address
It might be easier/more convenient to create a reservation on your router instead. You will need to know the MAC address of the Pi (either the wired or the wireless MAC depending on how you're connecting).
The router will then always hand out that particular IP address to the device with the corresponding MAC.
The router will then always hand out that particular IP address to the device with the corresponding MAC.
Re: How to create a static ip address
If using the GUI the network widget on the task bar offers IP settings as an option. Right-click the up/down arrow widget.