# Cannot access raspberry pi with static ip

**URL:** <https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220>\
**Category:** Hardware\
**Created:** [7 May 2020 08:59 UTC](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220 "2020-05-07T08:59:24Z")\
**Posts on this page:** 5\
**Page:** 3

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [8 May 2020 11:28 UTC](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220/43 "2020-05-08T11:28:51Z")

</div>

Do you not have access to a GUI to set the ip address on the pi?

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [8 May 2020 11:31 UTC](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220/44 "2020-05-08T11:31:13Z")

</div>

Hmmm, don't know enough about the pi to make any more recommendations on how to set it up or troubleshoot an ip problem. Here's where I'll step back and let the real pi people comment but it still screams misconfiguration to me in one device or another.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 May 2020 12:21 UTC](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220/45 "2020-05-08T12:21:24Z")

</div>

> [@RednodeNewbie](#):
>
> Both ways actually but lastly using GUI

I wonder whether you have confused things by editing files and then using the gui. What file changes did you make? There is a lot of out of date information on the web.

---

<div class="post-metadata">

**Author:** ![RednodeNewbie](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@RednodeNewbie](https://discourse.nodered.org/u/RednodeNewbie)\
**Post date:** [8 May 2020 12:21 UTC](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220/46 "2020-05-08T12:21:44Z")

</div>

Finally I have solved the problem. When I use GUI to set static ip, it writes **inform 192.168.1.100/24** in dhcpcd.conf file but that line of code doesn't work to set ip as static.

After that I decide to use **static ip\_address=192.168.1.100/24** instead of inform, It work great !

In fact previously I wrote **static ip\_address** but I guess I left a blank between = and 192..... because of that It didn't work.

Thanks everyone for your help also I am sorry to waste your precious time

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 July 2020 12:21 UTC](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220/47 "2020-07-07T12:21:50Z")

</div>

Closed on 7 July 2020 12:21 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/cannot-access-raspberry-pi-with-static-ip/26220.md?page=2)
