Questions tagged [static-ip]

Unchanging address permanently assigned to a device in an IP network.

Filter by
Sorted by
Tagged with
1 vote
2 answers
41 views

Can't access internet after setting static IP via eth0

I have a raspi image that I use to duplicate other pi's, sometimes I want to have more than one of them connected to my network so I can test things all at once. However, they get confused on the ...
user avatar
  • 13
0 votes
1 answer
34 views

How to change IP address on a live system?

I want to change the IP address persistently on a running rPi, by running a script. I tried now to change the /etc/dhcpcd.conf file and running sudo systemctl restart networking and sudo systemctl ...
user avatar
-1 votes
0 answers
35 views

CasaOS & Pi-Hole on same RaspPi4 board with different IP addresses?

I was not able to get the docker version of Pi-Hole to successfully work within CasaOS which sits on top of Raspberry Pi OS Lite 64 bit. The problem was I could not disable the DHCP in my Netgear ...
user avatar
2 votes
2 answers
167 views

dhcpcd.conf inform vs static ip vs request. How should you REALLY setup a static IP?

I am trying to setup static IPs on my 5 raspberry PIs and there is no clear answer as to which configuration to choose and why. As per a comment on one of the answers to this question How do I set up ...
user avatar
0 votes
0 answers
21 views

Share RPi IP with mobile device to access Web Server

I would like to connect a mobile device to the Raspberry Pi 4 Model B if possible without special software on the mobile device and start a script on the Pi from that device. My approach is to set up ...
user avatar
  • 1
0 votes
1 answer
30 views

I want to make a dhcp server on the raspberry pi however it seems to not work while I have the dhcp client running

When I use both the rpi dhcp client to get static IPs or dhcp IPs for my interfaces and then use that information for a dhcp server , I get a ton of errors when checking the status . The only semi ...
user avatar
  • 1
0 votes
1 answer
173 views

The inform option in DHCPCD.conf assigned two IP addresses. How to remove the dynamic one?

Please note this is not a duplicate of How to disable the dynamic IP address after assigning a static IP in Bullseye? this previous problem occurred when a system that was updated from Buster to ...
user avatar
  • 418
0 votes
0 answers
106 views

static-ip + huawei-lte-stick e3372 with dhcp + ipsec vpn?

I have the huawei E3372 LTE Surf Stick for internet access connected to a raspberry pi 4 with raspbian os. The internet connection works, the stick creates an network interface "eth1" which ...
user avatar
0 votes
2 answers
51 views

How can I make it easy for my worker nodes to know where the central node is?

I'm using raspberry pis for an application where I have a number of raspberry pis that need to talk to a central raspberry pi over a local wired network. They are connected using a POE router that ...
user avatar
0 votes
0 answers
29 views

Public ip changes to "raspberrypi" and doesn't load local website

So I've set up Apache2, I have a website running locally and all that works. On the Pi, I can load up "localhost" and see/edit my site, and even on my main machine I am able to load and edit ...
user avatar
0 votes
1 answer
200 views

Raspberry Pi defaults to Ethernet connection over Wifi

I have been trying to connect my Raspberry Pi to the internet through its built in Wifi, as well as controlling/ accessing the Pi via ssh though a Static IP address via the built in Ethernet port. ...
user avatar
  • 3
-2 votes
2 answers
92 views

How do you set a static IP that is already leased to someone else by DHCP? [closed]

Summary I am on a network with many devices. When I use /etc/dhcpcd.conf to set a static IP address that is currently available (not leased by the DHCP server), it works just fine. However, when I try ...
user avatar
0 votes
2 answers
461 views

Override dhcpcd.conf from SD card

I attempted to set up a static ip in dhcpcd.conf, but it appears I made a mistake somewhere, as the Pi does not appear on the network anymore. I have no monitors or keyboards, and ssh was my only ...
user avatar
0 votes
2 answers
366 views

After setting static IP I cannot connect to the internet

I set the IP of the PI to static (following these guidelines How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?) to be able to access it from multiple phones used with ...
user avatar
  • 103
0 votes
2 answers
2k views

How to set up static IP address via the desktop GUI in Buster/Bullseye?

Background I know how to set up a static IP address by editing /etc/dhcpcd.conf. How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS? lists many ways. For example, I have ...
user avatar
  • 418
0 votes
2 answers
3k views

How to disable the dynamic IP address after assigning a static IP in Bullseye?

Background I upgraded my Pi3B from Buster to Bullseye using these instructions. WiFi is disabled on the Pi. Before the upgrade I had static IP setup and working fine by adding the following lines to ...
user avatar
  • 418
0 votes
0 answers
393 views

How to reset RaspberryPi network configuration to default

I've been cloning RPI images for several months and kept adding stuff without keeping track of the changes made to the .conf files. I've messed with the network settings to a point where remote (=...
user avatar
0 votes
1 answer
80 views

RaspberryPi cannot be accessed by TeamViewer from 'external' network

Over the last 2years, I've installed TV on many Raspberries and could access them from networks outside of my office, please have a look at my issue: I can access 2 RPIs in my office normally. I have ...
user avatar
0 votes
2 answers
132 views

Raspbian Buster STATIC IP wlan0 work partially

This is weird but I followed the steps to setup static IP using DHCP. My dhcpcd.conf file: interface wlan0 static ip_address=192.168.0.100/24 static routers=191.168.0.1 static domain_name_servers=8.8....
user avatar
  • 101
-1 votes
1 answer
153 views

DNS issue, resolv.conf doesn't reflect interfaces configurations

I open this issue because I have a weird behavior on my Raspberry Pi 4 8Gb where I have installed raspios_arm64-2020-08-24 After I did the installation, I made changes in /etc/network/interfaces.d/...
user avatar
0 votes
2 answers
4k views

/etc/dhcpcd.conf missing on Rasbian

I am trying to setup a static IP for my Raspberry Pi 4 (Raspbian GNU/Linux 10 buster, connected to the router via an ethernet cable) that is running OMV (5.6.3-1) according to the "Conquer the ...
user avatar
1 vote
0 answers
40 views

static IP address for cups browser loading issue

I am trying to set up a raspberry pi-powered print server based off of this guide. So far I have installed CUPS, and am now on the step of creating a static IP address to make my pi discoverable. I've ...
user avatar
0 votes
0 answers
211 views

no static IP on WiFi with dhcpcd

I'm trying to set up the Pi 4B as an access point for a device (headless standard Raspbian). Therefore I have plugged in a WiFi dongle which is correctly found as wlan1. I want to install a dhcp ...
user avatar
  • 101
0 votes
1 answer
58 views

How to SSH into a Pi outdoors

Pi newbie here, please kick me in the right direction if this is a repeat question, I'm unsure of the correct terminology for what I'm trying to achieve. Right, so I'm beginning my RPi learning, I'm ...
user avatar
0 votes
2 answers
95 views

How to assign permenant LAN address?

I want my Pi to have a permanent IP when accessing via LAN (i.e. http://192.168.1.10/, not the web), so I don't have to search for it every time. My router settings will not allow me to do this (It's ...
user avatar
  • 11
2 votes
2 answers
99 views

eth0 Static IP Not Working Unless Something is Plugged Into It [closed]

On my Raspberry Pi 4B, I have eth0 set as a static ip address (192.168.220.1) in /etc/dhcpcd.conf I have dnsmasq bound to eth0 at the same ip address to assign an ip address to any device that gets ...
user avatar
2 votes
1 answer
81 views

Need Two IPs (but do not have any control over static allocations)

Brief: Is there an accepted way to request two IP addresses and reserve them for use by one machine? I don't believe that I am allowed to get two IPs from a DHCP server with one interface and one MAC ...
user avatar
-1 votes
3 answers
59 views

Which IP address should I useconnecting to rasperrypi?

While connecting to RasberryPi via ssh I was trying to connect and I had a couple of issues: Sometimes when I use 'hostname -I' to get the IP address I could see 2 IP addresses? Could you explain me ...
user avatar
2 votes
1 answer
109 views

Connecting two Pis in ethernet

I wanna connect two RPis together with an ethernet cable. I did it and test with ping function and it works, I can communicate. But for my task I have to be sure that the IP addresses are static on ...
user avatar
0 votes
0 answers
179 views

ipv6 static ip assignment failing on router NIC

I'm working on configuring a Raspberry Pi 3B+ running the latest rasbian as a router since my current home router is degrading and it's a fun project. Never done much with networking before but I got ...
user avatar
0 votes
1 answer
94 views

Access website with port in access point

Here's my "starting position": I have a Raspberry Pi 3b+, which is already configured, and I wanted to convert it into an Access Point. I followed this tutorial: https://pimylifeup.com/...
user avatar
-1 votes
2 answers
1k views

How can I set a static IP address for raspberry pi running rasbian (Debian) and connect through it to the internet?

I'm trying to set a static IP address for a rpi 4, and use a tablet as screen which will connect it through remote Desktop application. I tried to modify the /etc/dhcpcd.conf and add those lines: ...
user avatar
  • 107
-1 votes
3 answers
2k views

How to config static IP on eth0 but keep wlan0 dynamic

I'm trying to achieve two things, but they seem to be contradictory: I want to set a static ip on eth0 to be able to SSH into it from my Windows 10 Laptop via Ethernet cable. (I take my Rpi on the go,...
user avatar
0 votes
1 answer
58 views

Raspberry Pi Static IP prevents WiFi from working - Connects but cannot obtain data [duplicate]

I’m using a Pi4 with the latest version of Raspbian. I’m looking to set a static IP, and sure it does set, but I can’t access the internet. Can anyone assist? My dhcpcd.conf file looks like this at ...
user avatar
0 votes
2 answers
64 views

Sharing a headless Raspberry's IP to an Android host

I am doing a project where a Raspberry pi zero collects some data from a sensor and displays it through a self hosted web server. Now,the usual way you access a webpage in a raspberry is to just type ...
user avatar
  • 115
1 vote
2 answers
79 views

How do I set a static address in a Pi, to an IP provided by my ISP? [closed]

I have two static IPs from my ISP. I want to hang a Pi4 on one of them, and connect it through a switch to one of the IPs provided. To be clear, suppose one of my IPs is 123.45.67.89 I want to plug my ...
user avatar
  • 21
0 votes
1 answer
260 views

How to set static IP address with a backup if given address is not available?

I found this tutorial to set a static IP address: https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-give-your-raspberry-pi-a-static-ip-address-update All this is fine! However, what if given IP ...
user avatar
0 votes
1 answer
340 views

Setup Static IP over Ethernet to USB for Mac OS

I managed to set up static IP for my RPi3 for wlan0 following this Instructable. I used this technique for VNC. I want to connect my RPi3 to my Mac over Ethernet to USB Cable and start VNC session. ...
user avatar
0 votes
0 answers
62 views

eth0 static IPV4 address not renewing

I have 4 pis (4B 4gig) with PoE hats and connected to a Netgear switch for power and network. I have assigned static IPs from my Google Wifi router. I am only using ethernet, wlan is not defined on ...
user avatar
  • 101
0 votes
1 answer
52 views

Use static or Dynamic IP based on GPIO Pin

I have a switch on my PI and I want to be able to use a static ip or dynamic ip based on the switches position. Is it possible to get GPIO pin data in dhcpcd.conf?
user avatar
0 votes
0 answers
56 views

DHCP stopping ethernet getting an IP address

So have an issue getting the Raspberry Pi 4 (running the new Buster image) from releasing my eth0 interface to get an IP. It works fine with the wifi, but I'm not sure what I'm doing wrong? My router ...
user avatar
1 vote
1 answer
530 views

Raspberry pi's local IP keeps changing. What are the solutions?

It keeps changing beetween 10.0.0.1, 10.0.0.2, 10.0.0.3 etc. Is there a way to solve this without giving raspberry pi a static address? Because I ssh to the raspberry pi, or visit it on my browser, ...
user avatar
  • 11
0 votes
1 answer
537 views

Fixed IP on phone (Android) hotspot

I'm trying to fix the IP address of my Pi Zero W when it connects to my mobile phone hotspot. From what I have gathered, the way to do this would be to specify a static ip_address entry in /etc/...
user avatar
3 votes
2 answers
6k views

Wired network eth0 IP address is lost and not renewed

I use eth0 interface on RPI 3B+ with DHCP and when cable is disconnected then IP address is lost and when cable is reconnected then IP is usually not renewed. I tried to set static address in /etc/...
user avatar
  • 139
0 votes
3 answers
611 views

How to set up a static ip in a Raspberry pi which is connected via mobile data?

Here is the scenario: I have a raspberry pi that is connected to the internet via Mobile hotspot.The hotspot uses mobile data from my Android.Everytime I turn off my mobile data, the ip changes.So I ...
user avatar
1 vote
1 answer
166 views

Static IP Address / Dynamic Gateway

Is it possible to set ONLY the raspberry pi's IP address as static, and request the gateway from the DHCP server? I have devices that connect to the internet through mobile hotspots. They are ...
user avatar
  • 111
0 votes
1 answer
578 views

Setting up a local node-red server on RPi

I am interested in setting up a node-red server locally on a headless RPi. I expect the raspberry to host a local wifi network with the node-red server running on a static IP. I want to then access ...
user avatar
0 votes
0 answers
258 views

Give PI Zero with raspbian ,which is connected through usb, a static IP

I am trying to give my pi zero a static IP. The pi zero is connected via a single USB connection into my PC. The reason why I want this is because I want to create a server-client program (Server runs ...
user avatar
  • 11
1 vote
1 answer
12k views

Can't start hostAPD. Job for hostapd.service failed because the control process exited with error code

Problem I am using raspberry 3B. I want to make it as a wireless router. I added TP-Link TL-WN725N as an extra wireless device which uses wlan1 as interface name. The device works flawlessly as a ...
user avatar
3 votes
1 answer
2k views

How to setup static IP address on RPi 4 with VNC support

I have a RPi 4 running Raspbian buster. I would like to setup a static IP address for it with support for VNC. I have tried a number of tutorials and I have succeded in making a static IP address for ...
user avatar
  • 133

1
2 3 4 5 6