Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [static-ip]

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

1
vote
2answers
48 views

How to connect a ethernet device(having its own static I.p and netmask) via internet by my laptop?

I have a device which is used to monitor analog sensor data(Micron optics sm130 ) with ethernet port available. Its works fine if If I connect it with my laptop using ethernet cable and by configuring ...
0
votes
1answer
71 views

How to connect a ethernet device(having its own static I.p and netmask) wirelessly by my laptop?

I have a device which is used to monitor analog sensor data(Micron optics sm130 ) with ethernet port available. It has Static IP as 10.0.0.126 Netmask as 255.255.255.0 DHCP server disabled Its ...
1
vote
2answers
38 views

Is it possible to set a static IP for each WiFi connection?

Say wifi1 is on 192.168.1.1 and wifi2 is on 10.11.11.1, I think I need a separate static IP for each network e.g. 192.168.1.233 won’t work on wifi2. Is there a way the raspberry pi can automatically ...
0
votes
1answer
32 views

Static IP address not working on Raspberry Pi with DHCPCD

I created a static IP address for eth0 to use with a USB dongle (connected to my PC) in dhcpcd.conf file. interface eth0 static ip_address=169.254.2.13/16 static routers=169.254.11.25 Is there ...
0
votes
1answer
37 views

Will the local IP address of my Pi change?

I have set up my Pi recently. I have found the local IP address for the device so that I can ssh to it. It is connected to the internet by an ethernet cable. My question is: will this local IP ...
0
votes
1answer
23 views

raspberry pi zero w TWO wi-fi connections 1)dhcp 2)static

hello I need that my Pi automatically connect to wi-fi's 1) At home (by dhcp)-easy 2) at work (static IP DNS router)-don't know how it's extrimle easy to do that on armbian by configs /etc/...
0
votes
3answers
113 views

Configure RPI to set static IP address via ethernet from Windows laptop using wifi sharing (ICS)

I have a Rasberry Pi connected to my Windows 7 LAN port, which gets internet via "Wifi sharing" (ICS) enabled in my laptop. The only problem is every time RPI boots up, a new IP is assigned ...
0
votes
1answer
20 views

Cannot connect to wlan0 after setting the IP to static [duplicate]

Without setting the IP to static I can easily connect to Pi. The untouched ip is 192.168.1.135 and works great. How ever upon editing the /etc/dhcpcd.conf and adding interface wlan0 static ...
0
votes
2answers
47 views

Why does my IP address become weird when trying to set up a static IP address?

My Pi is connected to my router by Ethernet. Attempting to set up a static IP address for my Pi, I added the following lines to dhcpcd.conf: interface eth0 static ip_address=192.168.0.2/24 static ...
0
votes
2answers
83 views

Stretch - static ip not working on boot

I have a pi working as a pihole that is also working as my dhcp server as my router doesn't allow setting alternate DNS servers, the DHCP server in my router is disabled. I had previously configured ...
0
votes
1answer
57 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 -...
0
votes
2answers
55 views

Programmatically SSH into pi on local network without looking up IP-Address beforehand?

I have a pi in my local network, and I sometimes want to connect to it via ssh. However, the pi always has a different IP-address, so I look it up beforehand each and every time. Is there a way for me ...
0
votes
1answer
249 views

raspberry pi network bridge eth0 wlan0 static ip

So I want to setup a network bridge between my ethernet connection and the wlan adapter such that the raspberry 3 acts as a device where my chromecast can connect to and shares the internet connection ...
0
votes
2answers
523 views

Static IP in /etc/dhcpcd.conf not taking effect

I'm trying to set a static IP for my Pi Zero's USB ethernet port using /etc/dhcpcd.conf. I'm using Raspbian Stretch. Here is my /etc/dhcpcd.conf file: pi@raspberrypi:~ $ cat /etc/dhcpcd.conf # A ...
1
vote
1answer
169 views

eth0 static ip at boot

I know this gets asked a lot, but none of the answers are working for me. I have a USB to ethernet dongle on my Windows PC that I would like to connect to a raspberry pi (version 4.14.71-v7+). On the ...
0
votes
3answers
59 views

Ethernet connection with laptop not working

I just got my new Raspberry Pi3 (model B). I have installed it and now I don't want to use all the cables for mouse, keyboard, HDMI and so on, which is why I have decided to use Ethernet Cable and ...
1
vote
2answers
457 views

Raspbian Stretch multiple wifi networks with different static ip, routers, dns

I've two wifi networks, home and work with different static ip, routers, dns. In /etc/dhcpcd.conf I can only configure one of them. I've heard of dhcpd hooks and found this link. But I'm pretty sure ...
0
votes
2answers
74 views

How to set a different static IP on many Pis simultaneously

I'm trying to set up a bunch of Pis together on a subnet. Each Pi should have its own unique static IP address. This all well and good for 1 or 2 Pis, but I have a LOT of them. Currently, I ...
0
votes
2answers
196 views

Internet not working over wifi when RPi is connected to laptop using Ethernet

I am having problems using Wi-Fi to access the internet on my Raspberry Pi when I connect the Pi to my laptop over ethernet. Wi-Fi works fine and I can access the internet on the Pi when there are ...
1
vote
2answers
468 views

On a Raspberry Pi 3 running Stretch, how do I configure dhcpcd to call wpa_supplicant automatically and/or persist the connection through a reboot?

My /etc/dhcpcd.conf file is configured so that if I manually run this wpa_supplicant command from the terminal: wpa_supplicant -B -D nl80211 -P /var/run/wpaSupplicantPid.pid -i wlan0 -c /etc/...
1
vote
2answers
161 views

Independent Eth and Wlan both with DHCP giving access to Pi without bridging

I have Motion running on my Pi. I want to be able to access the Motion interface/feed (hosted on <pi ip>:8081) to be accessible both via WiFi and via Ethernet with a static address and DHCP for ...
5
votes
4answers
1k 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 ...
0
votes
1answer
277 views

setting up a static ip address using wifi but cannot access internet

I'm trying to setup a static IP address on my WIFI that can access Internet. this my file /etc/dhcpcd.conf interface wlan0 static ip_address=192.168.1.200/24 static routers=192.168.1.1 static ...
2
votes
2answers
662 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 ...
0
votes
3answers
2k 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
1answer
2k views

Set a static IP address for wlan0 from /boot partition of Raspberry Pi on Raspbian Stretch Lite

I am using Raspbian Stretch Lite 2018-04-18. I currently have static IP working over wifi. I setup /etc/wpa_supplicant/wpa_supplicant.conf to connect to my wifi and setup /etc/dhcpcd.conf to use a ...
0
votes
0answers
49 views

Cannot see raspberry in local network

As I stated, I'm unable to access my headless raspberry through SSH, even if I were able to do it before the first reboot. The raspberry's leds are blinking but it seems like it's not connected to ...
1
vote
1answer
1k 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 ...
1
vote
2answers
274 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 ...
0
votes
2answers
127 views

Reconnecting raspberry pi to network while booted unplugged

So, I have my raspberry pi running Raspbian 9 configured using a static IP address for both WLAN0 and ETH0. Both work if I boot with an ethernet-cable plugged in. But, in certain situations, it ...
0
votes
1answer
256 views

I'm not able to connect my Raspberry Pi with SSH [duplicate]

I have followed this tutorial for setting up my new Raspberry Pi. Here is what I did- Download Raspbian Stretch Lite Download Disk32Imager Download Putty Download advanced IP scanner. Write Raspbian ...
0
votes
1answer
188 views

dhcpcd fallback in reverse

I need the following action in my Raspberry Pi 3. When the pi boot, it will try to use static IP (which already configured) on an Ethernet interface. If it fails, then it will get an IP from the DHCP ...
2
votes
1answer
2k 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 ...
0
votes
1answer
62 views

static IP and using wireless connection to internet

I intend to setup static IP for my raspberry using jessie ver 8. I intend have a static IP to remote my computer to Rpi using VNC through a Ethernet cable so I can see my Rpi screen for this simple ...
1
vote
3answers
92 views

static ip disable external internet

I have just tried to set static ip on my raspbian. I have added those line into /etc/dhcpcd.conf interface INTERFACENAME(ETH0/WLAN0) static ip_address=192.168.101.46/24 static routers=192.168.1.1 ...
0
votes
2answers
354 views

Wifi IP issue with raspberry pi 3B+

I have no issue with ethernet but wifi seems to not always work I setup a DHCP reservation with my router, and if I look my router, I can see the raspberry pi wifi IP and mac but I can't connect to ...
0
votes
3answers
4k views

Set static IP and default gateway using Python script

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 preconfigured IP addresses, of which I can ...
0
votes
2answers
653 views

Can't connect to RPi3 by SSH (via WiFi and PuTTY)

So, what I am trying to do is that I have my RPi3 and PC connected to the same LAN, and by using SSH, I can connect to the RPi3. And important thing to note is that I can connect only one of the ...
0
votes
2answers
655 views

Change to Static IP address but Internet not working [duplicate]

i set up a static ip address on my pi 3 but after that the internet is not working. how can I change it to dynamic? or what should I do?
0
votes
1answer
117 views

Using Raspberry Pi as Wireless Access Point means I cannot SSH to it

So I have set up my raspberry pi as a wireless access point using HostAPD and Bridge. I have bridged my wlan0 to eth0. And I can connect to my Access Point successfully. But I also have a webserver ...
0
votes
3answers
374 views

Static IP on eth0 is not assigned if the cable is unplugged

I have configured a static IP on my PI 3 adding this in dhcpcd.conf : static ip_address=192.168.1.200/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 It works well when it is ...
0
votes
0answers
705 views

Static IP 'lost' after a day. DHCPCD doesn't seem to be honouring the static IP

I have a strange problem. I've a fresh install of Jessie, with PiHole installed. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux Pi-hole ...
0
votes
0answers
23 views

Toggleable Access Point

I'm following https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ and Turning raspberry pi into a access point? to turn my Pi into an Access Point. However, I also need ...
1
vote
1answer
4k views

Connect IP camera to raspberry pi ethernet port

I'm working on a project that will involve connecting an IP camera to the Raspberry i through the Ethernet port and then send that image through the HDMI port to a monitor. I was thinking a IP ...
1
vote
1answer
331 views

Static IP on Specific Network

I have used dhcpd on my Raspberry Pi with Stretch Lite installed to configure my static IP, however this will only work on the private robot network. When testing and developing, I connect it to my ...
0
votes
0answers
147 views

Assign Static IP via berry boot commands

I have a raspberry pi 3 with 4 OSs using BerryBoot. Is there a way to programmatically assign static ip via command text or configuration file using berry boot for each os on startup?
1
vote
0answers
342 views

100 % packet loss

I am a newbie who is using raspberry pi for the first time. I connected my rpi to an enterprise wifi network and it looks connected. Still, there is 100% packet loss wheter I am trying to ping ...
0
votes
0answers
281 views

How to Setup Static IP

I'm trying to follow instructions on how to properly setup a static ip on the eth0 for my Pi running ubuntu server 16 i altered the dhcpcd.conf and added a .cfg in the interfaces.d directory to have ...
1
vote
2answers
785 views

Port forwarding from ZTE MF831 data stick to Raspberry Pi 3 (Apache/Nextcloud)

How can I access my Raspberry PI 3 (Apache/Nextcloud) from a ZTE MF831 data stick? I use Raspbian Strecth and got a public/static IP from my provider. EDIT: The data stick is connected directly to ...
0
votes
1answer
2k views

How can dhcpcd ignore static IP settings in /etc/dhcpcd.conf?

Yesterday I had to switch my home network back from DHCP to static IPs, but my Raspberry Pi 3B (with the current Raspbian) keeps on using an invalid IP address, namely: eth0 Link encap:Ethernet ...