Questions tagged [static-ip]
Unchanging address permanently assigned to a device in an IP network.
264
questions
1
vote
3
answers
641
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 ...
0
votes
0
answers
10
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 ...
-4
votes
3
answers
237
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 ...
0
votes
0
answers
77
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
...
-1
votes
1
answer
232
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 ...
1
vote
0
answers
147
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/...
1
vote
1
answer
321
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
...
1
vote
1
answer
297
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 ...
0
votes
0
answers
91
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 ...
0
votes
0
answers
165
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 ...
-1
votes
1
answer
261
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 ...
0
votes
1
answer
457
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 ...
0
votes
0
answers
36
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 ...
1
vote
2
answers
306
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 ...
0
votes
1
answer
202
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 ...
5
votes
3
answers
4k
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 ...
1
vote
1
answer
112
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 ...
0
votes
1
answer
219
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 ...
0
votes
2
answers
1k
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 ...
0
votes
0
answers
283
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 ...
0
votes
2
answers
93
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 ...
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.
...
-2
votes
2
answers
146
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 ...
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 ...
-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 ...
0
votes
2
answers
6k
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 ...
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 ...
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 (=...
1
vote
1
answer
251
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 ...
0
votes
2
answers
244
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....
-1
votes
1
answer
796
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/...
1
vote
4
answers
16k
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 ...
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 ...
0
votes
0
answers
500
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 ...
0
votes
1
answer
70
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 ...
0
votes
2
answers
178
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 ...
2
votes
2
answers
212
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 ...
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 ...
-1
votes
3
answers
110
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 ...
3
votes
1
answer
242
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 ...
0
votes
0
answers
243
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 ...
0
votes
1
answer
180
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/...
-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:
...
-1
votes
3
answers
3k
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,...
0
votes
1
answer
77
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 ...
0
votes
2
answers
130
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 ...
1
vote
2
answers
130
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 ...
0
votes
1
answer
396
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 ...
0
votes
1
answer
694
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. ...
0
votes
0
answers
98
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 ...