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
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 ...
Milliways's user avatar
  • 60.5k
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 ...
Chef Flambe's user avatar
  • 1,833
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 ...
Avin Varghese's user avatar
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, ...
nbsrujan's user avatar
  • 567
13 votes
9 answers
19k views

Static IP Failing for wlan0

I am currently trying to set up my Raspberry Pi as an Access Point using hostapd using the following directions: RPI Wireless Hotspot Unfortunately, my static IP Address refuses to set at startup. ...
Justin Niessner's user avatar
13 votes
6 answers
17k views

How to connect and use ssh without a screen using BUILDROOT

I want to build a minimal system for raspberry pi (B+) to improve the performance of my face detection algorithm ... I have found BuildRoot : for the configuration i found that it's not necessary to ...
The Beast's user avatar
  • 373
10 votes
5 answers
17k views

Cannot SSH to Raspberry Pi via WiFi only

I am having trouble connecting to my Raspberry Pi over SSH when it is connected through WiFi. When the RasPi is connected through Ethernet everything works fine. However, when it is connected through ...
bgh's user avatar
  • 101
8 votes
5 answers
30k views

Where does my secondary IP come from?

My Pi is configured with Arch to use eth0 with a static IP configured in conf.d: [gotschi@berry ~]$ cat /etc/conf.d/network@eth0 address=10.0.55.5 netmask=24 broadcast=10.0.55.255 gateway=10.0.55....
Gotschi's user avatar
  • 608
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 ...
Joe Moore's user avatar
  • 191
7 votes
2 answers
33k views

Setting a static eth0 ip

I have been trying to set up a static IP for my Raspberry Pi. From what I understand I need to change the interfaces file at /etc/network/interfaces. My file (based on this tutorial) looks like this: ...
Harpal's user avatar
  • 245
6 votes
3 answers
2k views

Does dhcpcd prevent a remote DHCP server serving an IP address that is declared static?

Dhcpcd is a DHCP client and asks a remote DHCP server for an IP address. The DHCP server selects one free IP address from its pool and gives it to the client. Now in /etc/dhcpcd.conf of the client I ...
Ingo's user avatar
  • 42.2k
6 votes
4 answers
31k views

Static IP on Arch Linux

How can I set up a static IP on my Arch Linux installation so I can easily SSH in? I followed this thread, but I could not get the static IP I set to work! Here's my /etc/netctl/eth0 file: ...
RPiAwesomeness's user avatar
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 ...
Salvador Martinez's user avatar
6 votes
3 answers
6k views

Change Static IP without rebooting

I have a Pi 3, with the wifi interface connected to one network and the Ethernet interface connected to another network. How can I change the eth0 static IP I have set from /etc/dhcpcd.conf and apply ...
lightbord's user avatar
  • 169
5 votes
3 answers
23k views

wpa-roam can only be used with the manual inet method

I'm trying to setup my new Wifi dongle I've bought from ModMyPi. Its working for DHCP but when I try to make it a static IP, I get this error when restarting it: wpa-roam can only be used with the ...
Jamesking56's user avatar
5 votes
5 answers
54k views

Set static IP and stop DHCP on Jessie Lite

I've been trying for a few days now to set a static IP for my Pi but have so far been unsuccessful. I have a Model B Revision 2.0 (revision code 000d). I'm running Jessie Lite released 2016-05-27. ...
Dan McCoy's user avatar
  • 173
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 ...
Saren Tasciyan's user avatar
5 votes
4 answers
998 views

can't ssh to pi via wlan0

I know that there are similiar questions out there but not worked for me. I've set up a static ip for my wlan0 interface. that works well when I'm also connected via ethernet. but as soon as I ...
Txugo's user avatar
  • 241
5 votes
3 answers
37k views

Default gateway gone after restart

I am trying to configure my eth0 interface with a static ip through my dhcp server. The static assignment is working fine, but I can't access the external network because there's no default gateway. ...
Alex Haynes's user avatar
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 ...
Matt's user avatar
  • 446
4 votes
3 answers
28k views

How do I configure dhcpcd to call wpa_supplicant for a specific interface?

$ uname -a Linux pi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux System fully updated via apt. I'm aware there are many, many questions and blogs on this topic, but after several days ...
Bridgey's user avatar
  • 223
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 ...
justinian482's user avatar
4 votes
2 answers
9k 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/...
TMa's user avatar
  • 149
4 votes
3 answers
33k views

eth0 interface not starting on boot

I'm running lastest Raspbmc on Raspberry Pi B+. NetworkManager is removed and purged. I have USB wireless dongle which works perfectly and starts on boot. After reboot only lo and ra0 interfaces are ...
untitled's user avatar
  • 209
4 votes
4 answers
23k views

SSH into Pi, why static IP 169.254.149.192 always?

This is more for curiosity than anything. By following the steps in this awesome guide. I managed to get remote connection working with the Pi and my MBP so that I could SSH into my Pi using the MBP'...
snowbound's user avatar
  • 203
4 votes
3 answers
750 views

how is my IP being set?

I did a bunch of work with my raspberry pi about a year ago. I got busy with other projects, but have started to work with the pi again. I somehow set my IP address to 192.168.1.123, but I don't see ...
hairyberry's user avatar
4 votes
4 answers
11k views

Accessing raspberry pi remotely without static IP?

I have an pi connected to a machine, i can access the machine from a PC which is connected to the LAN, if i use my static IP i can access the machine from anywhere, but the problem is, An LAN with ...
Tigris's user avatar
  • 61
4 votes
3 answers
13k views

Raspbian does not get DHCP address

I've got a Raspberry Pi 2 running Raspbian (can't remember the exact date but it's something from early February 2017) and when connected to my router (TP-Link TD-W8970) it fails to get a DHCP ...
James Kent's user avatar
3 votes
3 answers
8k views

Can I have same static IP for wlan0 AND eth0?

in etc/network/interfaces: iface eth0 inet static address 192.168.1.248 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 allow-hotplug wlan0 auto wlan0 ...
tarabyte's user avatar
  • 665
3 votes
1 answer
14k views

Static IP adddress on Raspbian not using dhcp service at all

I have Raspbian Jessie on RPI 2 B, I cannot set my wired NIC with a static IP address. I have uninstalled raspberrypi-net-mods ifplugd, because have a lot of stability issues and insists on uses ...
sebelk's user avatar
  • 161
3 votes
2 answers
2k views

Static IP Issues For wlan0 and eth0

I'm having issues with using a static IP for a Raspberry Pi 3. What I'm trying to do is connect 4 Raspberry Pis as nodes/slaves to a single Pi which will act as the server/master. I'm using OSC ...
Justin's user avatar
  • 89
3 votes
3 answers
13k views

Unable to get static IP address to work with wlan0 (WiFi)

This is driving me crazy. I can't seem to get a static IP address configured on my WiFi interface (wlan0). I know that my wpa_supplicant.conf is correct because this same exact file works perfectly ...
HeatfanJohn's user avatar
  • 3,115
3 votes
1 answer
3k 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 ...
jrn6270's user avatar
  • 143
3 votes
3 answers
4k views

Cannot set static IP address for Wi-Fi

I am trying to make static IP address on RPI 3B+ for both ethernet and Wi-Fi. I was following this answer(How do I set up networking/WiFi/static IP address?), but still could not do it. So far I ...
Jakov's user avatar
  • 173
3 votes
2 answers
4k views

SSH into Raspberry Pi times out, ping can't reach host

I've set up Avahi to have a static IP address (raspberrypi.local). For the time being I use an Ethernet cable for Raspberry Pi and Wi-Fi for Mac. Everything works fine connecting with my Mac: ssh ...
darkZone's user avatar
  • 105
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 ...
Dark Patate's user avatar
3 votes
1 answer
5k views

How to know if network interface is in dhcp or static ip using command line?

Using one or two command line, how do we know a particular network interface (e.g eth0) is connecting using dhcp or static ip? can we do this using similar commands like sudo cat?
Dennis's user avatar
  • 383
2 votes
1 answer
2k views

Raspberry Pi IP keeps changing when directly connected to Mac

I'm trying to set up my new-to-me Raspberry Pi (Raspbian Jessie( in a headless manner. I've got the Pi connected to my Mac by an ethernet cable. I am able to login via ssh, but it seems that its IP ...
ramesesjd's user avatar
2 votes
2 answers
8k views

How to configure pi for wifi at home using static IP and wifi at other location using dhcp?

I have a raspberry pi (jessie) which I would like to use both at home and at another location. In case the raspberry pi is used at home then it should connect to my wifi router and use a specific ...
JanVdA's user avatar
  • 121
2 votes
2 answers
229 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
3 answers
2k views

Unable to set static IP

I've been trying to reconfigure my second Raspberry Pi after half a year since the first one. When I refer back my old notes (which worked for the first one), I could not get the static IP working for ...
yvonnezoe's user avatar
  • 401
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
2 votes
1 answer
24k views

how to revert back to dynamic ip in raspberry pi 3?

I had set my rpi to static ip for my home network for a project but now the problem is whenever i try to connect the rpi to vnc on a different network that is any mobile hotspot or any other wifi ...
Girish Pillai's user avatar
2 votes
2 answers
730 views

Can't SSH into Pi via ISP-assigned static IP with Verizon U620L modem

I have a device that posts telemetry data to a remote server. Until now I've been debugging it by SSH'ing in over my local network via WiFi. In the field, the device will use a 4G modem, and I've had ...
nrlakin's user avatar
  • 123
2 votes
1 answer
2k 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, ...
Tomas 's user avatar
  • 21
2 votes
1 answer
1k views

Is it possible to set a gateway in a different subnet than the static IP?

I've read dozens of tutorials and documents on how to configure my Raspberry Pi 3 network properly, but I can't get it to work the way I want. I imagine that the question below is a bit redundant but ...
Carles Araguz's user avatar
2 votes
2 answers
72 views

Using the Raspberry Pi as Webserver and btsync

My Raspberry Pi has an internal IP address of say 192.168.1.5 and I'm running a webserver on this IP address. If I navigate from my Macbook to this address I'm met with my current website. I'd like to ...
uioporqwerty's user avatar
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 ...
Jastria Rahmat's user avatar
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 ...
Ciasto piekarz's user avatar
2 votes
1 answer
656 views

Static IP Address for USB Screencast in Raspbian Stretch

My new Raspberry Pi 3 B+ is running the latest Raspbian Stretch OS. I've been trying to connect it over USB to a phone running VNC to act as a remote display. I followed the tutorial here, but I've ...
cmt0220's user avatar
  • 33

1
2 3 4 5 6