Skip to main content

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
31 views

NetworkManager keeps creating new ethernet interfaces

I'm trying to setup a Raspberry Pi 4 to a static IP address using this guide: https://www.jeffgeerling.com/blog/2024/set-static-ip-address-nmtui-on-raspberry-pi-os-12-bookworm I setup static IP ...
-1 votes
2 answers
488 views

Assigning a Static IP Address in Bookworm

I've just done a clean install of Bookworm Lite on a Pi 4+, and now I want to assign it a static IP address. I can't use DHCP, as I intend this box to be my DHCP server. All the other instructions I ...
304 votes
7 answers
1.4m views

How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?

I have followed (any one of hundreds) tutorial, and it does not work. How do I set up networking/WiFi/static IP address on the Raspberry Pi? After the Foundation introduced the dhcpcd networking ...
159 votes
5 answers
376k views

How to setup multiple WiFi networks?

I go back and forth from home to school with my Pi. I just got the WiFi working last night at home using wpa.conf instead of wpa_supplicant.conf as the book I was using had the walk thru for that ...
0 votes
1 answer
822 views

How to change Client Name of Raspberry from "Unkown" in AP's DHCP List?

OS: Linux MyDesiredName 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux on Raspbian Buster Lite. Whenever I set my Raspberry to get a DHCP IP and I go to my AP's DHCP List, ...
0 votes
2 answers
14k views

Set static IP and default gateway using Python script

Abandoned post by Unregistered user. I'm creating a network testing tool (educational project) at work which is to be used by non technical staff. I have created a simple GUI with buttons for ...
1 vote
1 answer
805 views

cant connect to server after configuring static IP

I'm able to connect to the local server when static IP is not set, however, as soon as I set a static IP on eth0 then I'm no longer able to reach the server by name. When I was configuring my static ...
1 vote
1 answer
302 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
1 answer
560 views

Internet sharing on Mac cuts out ethernet connection to Raspberry Pi

I have my Raspberry Pi connected to my Mac via ethernet, I can ssh into it fine. But when I turn internet sharing on, the connection is cut and I can no longer ping the Raspberry Pi's IP. I've tried ...
1 vote
1 answer
875 views

Configure Static IP For bridge connection

I am working on Raspberry pi 3B+ (Having Ethernet and wlan both). Currently i am trying to create a bridge connection between my Ethernet port and tap which i am using for other purpose. Below ...
1 vote
2 answers
2k views

Wlan0 not able to ping router, but connected to router according to it

My Pi running Raspbian Stretch stopped being reachable via ssh, so I connected a screen to debug why, after turning it off and on again. The GUI was all changed with the annoying message that says ...
1 vote
1 answer
177 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
3 answers
745 views

Control GPIO from outside home network without port forward

At first I do not want to do port forwarding to access my PI, what I want is that the PI would access a website where it would send the GPIO status and also will read the "new" values that must be set,...
0 votes
1 answer
53 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 ...
-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,...
0 votes
3 answers
3k views

Wifi doesnt connect to internet with static ip

I configured "/etc/network/interfaces" config file as such : auto lo iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/...
-1 votes
1 answer
447 views

Setting up the Raspberry Pi as a client on a sever

I'm attempting to give my Raspberry Pi a static IP address on an ethernet network that I am controlling from a Windows machine. I want to be able to send my PI UDP packets directly from my server via ...
4 votes
5 answers
34k 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 ...
8 votes
3 answers
15k 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
17 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 ...
1 vote
1 answer
1k 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 ...
-4 votes
3 answers
857 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 ...
16 votes
4 answers
47k views

Set multiple static ip in dhcpcd.conf - Raspbian 8 (jessie)

Trying to set two static ip in dhcpcd.conf, but second ip is not active. dhcpcd.conf interface eth0 static ip_address=192.168.3.99/24 static routers=192.168.3.61 static ...
0 votes
0 answers
178 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 ...
3 votes
1 answer
289 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 ...
-1 votes
1 answer
543 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 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 ...
6 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 ...
0 votes
1 answer
299 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 ...
1 vote
0 answers
337 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
401 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 ...
13 votes
5 answers
145k views

SSH - connection timeout when connecting

My RPi is running Raspbian. I am trying to get SSH set up. I followed these steps to get a static IP on my Pi: Since my PC was connected to the LAN via WiFi, I used ipconfig to get the IP address, ...
1 vote
1 answer
535 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
135 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
216 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
487 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 ...
1 vote
3 answers
25k views

Static IP for eth0 not working

There are a lot of these posts around here but none of them actually solved my problem. I tried to set up my Pi B to use a static IP in my home network. Here are the things I did so far: Changed /src/...
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 ...
0 votes
0 answers
48 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
385 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
310 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 ...
2 votes
2 answers
1k views

assigning static ip on intial boot to raspbian

I know we can have raspbian connect to local wifi if we copy wpa_supplicant file to location were boot.txt is in sd card, and even enable ssh by copying ssh file to the same location, but how can we ...
0 votes
2 answers
524 views

gzip: stdin: not in gzip format when installing No-IP DUC

I am trying to install No-IP on my Pi 3B through Putty. I do the following commands: cd /usr/local/src wget http://no-ip.com/client/linux/noip-duc-linux.tar.gz tar xzf noip-duc-linux.tar.gz.1 But I ...
2 votes
1 answer
20k 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 ...
5 votes
2 answers
5k views

How to have fallback to dynamic IP when static IP fails?

I have a headless raspberry pi zero. It is configured to be connected to home network and my mobile hotspot (Android phone). When I am home, I would like it to get a static IP, where I know I can ...
4 votes
6 answers
42k views

Setting a Static IP from Boot Drive (headless static IP)

I'm putting multiple RPIs onto a subnet together connected via ethernet (all of them headless) using a switch and I want to be able to know what their IPs are when I first boot them. They won't be ...
0 votes
2 answers
150 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 ...
0 votes
0 answers
338 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
114 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 ...
-1 votes
1 answer
879 views

Issue with connecting VNC viewer to Wireless Access point on Wlan0 (static IP) - Pi 3 B+ Raspbien Stretch

So I installed VNC as so: apt-get install x11vnc x11vnc –storepasswd cd /usr/local/bin nano sharex11vnc inside the file: #!/bin/sh x11vnc -ncache 10 -auth guess -repeat -nap -loop -forever -...

1
2 3 4 5 6