Questions tagged [static-ip]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

Raspberry Pi 3: Static IP not getting set to what I want

One of my PC machines is conflicting with my raspberry pi because they're sharing the same local IP. Editing the PC's static IP is not an option, lots of hard-coded things set to this IP. I've set ...
Rod Knowles's user avatar
7 votes
3 answers
10k views

How to set up a Static IP on Raspberry Pi 5 with Raspbian - dhcpcd.conf missing

I am trying to set up a static IP lease on Raspberry Pi 5. The /etc/dhcpcd.conf file does not exist and dhcpcd is not installed. Following the latest guides does not work. I ideally don't need to use ...
Joe Moore's user avatar
  • 181
0 votes
0 answers
14 views

Is it possible to bridge an IP created by a 4G modem merged with WWAN0 network with a virtual static IP?

Good afternoon, I have a Telit modem that was configured to generate an IP from an ISP to merge it with a WWAN0 network in the Raspberry Pi. However, it is working perfectly, but disadvantage of it is ...
Ahmed Bakry's user avatar
-4 votes
3 answers
633 views

Why is it so difficult to assign a static IP to Raspberry Pi? [closed]

After researching a lot on the internet, I found that there is no easy/standard/official way to assign a static IP to a Raspberry Pi. Why is so much tweaking needed in the config files even if I can ...
Dürrani's user avatar
0 votes
0 answers
166 views

Peer to peer connection (Wifi Direct) between Raspberry Pis using wlan0 and static ip addresses without a router

I'm trying to set up a peer to peer connection between 2 raspberry pi 4 model b's with wlan0 and static ip addresses and without the use of a router. This is how my wpa_supplicant.conf file looks ...
nitinvadulas's user avatar
-1 votes
1 answer
448 views

Bullseye lite Static IP attempt still using DHCP

I am having issues with the latest Bullseye lite distro (May 4, 2023) on a 3B. I have an earlier bullseye desktop version on a 4B that is working well, but I can't get the lite version to set a ...
Tom's user avatar
  • 39
1 vote
0 answers
272 views

Configuring static IP adress for raspberry pi with two DNS IP adresses [closed]

My raspberry pi keeps randomly changing its ip adress from 10.255.45.90 to 10.255.47.90. To counter this I wanted to set a static ip adress but when following this tutorial (https://www.makeuseof.com/...
Julia's user avatar
  • 11
1 vote
1 answer
382 views

dhcpcd.conf default netmask

I wonder if anyone knows the behaviour of dhcpcd. I know that it is possible to configure wlan0 adapter to static IP in /etc/dhcpcd.conf like that: interface wlan0 static ip_address=192.168.0.1 ...
maciek's user avatar
  • 121
1 vote
1 answer
463 views

Am I allowed to use underscores for hostname names?

I am trying to give a hostname along the lines of PiComputer_User1 however I am encountering the following error: unable to resolve host (hostname) : Name or service not known I have added static ip ...
hellosquares's user avatar
0 votes
0 answers
125 views

Static IP address not working through GUI?

I used this tutorial to make my Raspberry Pi 4B a static IP address. However, every time I run arp -a on my Windows machine, I see the Pi's IP address as dynamic. I'm not sure if it's better to ...
magnetosticker's user avatar
0 votes
0 answers
204 views

Programmatically set IP configuration persistently on headless?

Apologies for the tortured title but I'll explain the question more clearly: We have a headless Pi compute module (CM4) which needs to be remotely configurable, and that includes being able to send it ...
John U's user avatar
  • 181
-1 votes
1 answer
394 views

How can I go back from static IP to dynamic IP?

In the past, I set a static IP to my Raspberry Pi 3. Now, I want to use it to other purpose and the subnet has changed. I don't remember how I set it to static. I have looked some questions but no one ...
Developing Electronics's user avatar
0 votes
1 answer
972 views

Setup Static IP on headless Raspberry PI 4 with Ubuntu Desktop 22.04.1 LTS using configuration files on boot partition only

Problem: I'm installing Ubuntu on Raspberry Pi for my robots, headless setup, only power and ethernet/wifi. I'm cycling through images quickly, it's tedious to always be using a DHCP, make first ...
05032 Mendicant Bias's user avatar
0 votes
0 answers
41 views

How to make CA-signed SSl certificate that works on any browser (without adding the cert to the store or anything)

Right, so, just a bit of background : I've got a R-Pi 4 (2GB) that's running the latest version. Installed OMV (OpenMediaVault) on it. The NAS bit of this project works well... OMV has an online ...
Silloky's user avatar
1 vote
2 answers
370 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 ...
TKnapp's user avatar
  • 13
0 votes
1 answer
265 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 ...
Bart Friederichs's user avatar
5 votes
3 answers
6k 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 ...
Salvador Martinez's user avatar
1 vote
1 answer
143 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 ...
Toni H's user avatar
  • 11
0 votes
1 answer
268 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 ...
Zak A's user avatar
  • 9
0 votes
2 answers
2k 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 ...
user68186's user avatar
  • 494
0 votes
0 answers
324 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 ...
steff9488's user avatar
0 votes
2 answers
108 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 ...
Joseph Palermo's user avatar
0 votes
1 answer
1k 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. ...
Slazl's user avatar
  • 3
-2 votes
2 answers
182 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 ...
nullromo's user avatar
0 votes
2 answers
2k 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 ...
pythonian 23's user avatar
-1 votes
3 answers
2k 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 ...
have fun's user avatar
  • 101
0 votes
2 answers
7k 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 ...
user68186's user avatar
  • 494
0 votes
2 answers
5k 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 ...
user68186's user avatar
  • 494
0 votes
0 answers
2k 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 (=...
Marco Bobinger's user avatar
1 vote
1 answer
286 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 ...
Marco Bobinger's user avatar
0 votes
2 answers
268 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....
GeneCode's user avatar
  • 111
-1 votes
1 answer
942 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/...
Snowball's user avatar
4 votes
5 answers
28k 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 ...
justinian482's user avatar
1 vote
0 answers
52 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 ...
Gnumbertester's user avatar
0 votes
0 answers
548 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 ...
Cookie's user avatar
  • 101
0 votes
1 answer
72 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
202 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 ...
wall03's user avatar
  • 11
2 votes
2 answers
226 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 ...
GoremanX's user avatar
2 votes
1 answer
91 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 ...
Insert name here's user avatar
-1 votes
3 answers
120 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 ...
Maciek Woźniak's user avatar
3 votes
1 answer
274 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 ...
Dark Patate's user avatar
0 votes
0 answers
248 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 ...
Daniel McHenry's user avatar
0 votes
1 answer
196 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/...
Tobias Kastl's 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: ...
P.A's user avatar
  • 107
-1 votes
4 answers
4k 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,...
Jonathan Levin's user avatar
0 votes
1 answer
81 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 ...
Andrew Wilt's user avatar
0 votes
2 answers
145 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 ...
metichi's user avatar
  • 125
1 vote
2 answers
133 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 ...
lar3ry's user avatar
  • 21
0 votes
1 answer
426 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 ...
Roman Matveev's user avatar
0 votes
1 answer
800 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. ...
Joe's user avatar
  • 135

1
2 3 4 5 6