Questions tagged [static-ip]

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

1
vote
1answer
23 views

Web server rpi ip address

I have a program in var/html/ and when I connect to it locally I can see it. I wondered how can I connect to it from the internet like a website. I already looked on google but did not find anything. ...
2
votes
0answers
56 views

different static ip for different wifi network

I am just new to the pi and I like to play with it when I am home. Now I would also like it if I would be able to play with it when I am on the go. I figured out that it is possible to connect the pi ...
1
vote
0answers
11 views

Can I use the hostname of my Smart Plug in my Python script throughout different WiFis?

I have a Python script which retrieves the measured data from a smart plug so that I can visualize it on my Rasbperry Pi. This command gets the data send_hs_command("192.168.1.26", 9999, b'{"emeter":...
1
vote
2answers
71 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 ...
0
votes
1answer
40 views

dhcpcd and dnsmasq in same Pi

I have a Pi 3 running stretch which uses dhcpcd to configure its one network interface, eth0. But it also acts as the dhcp server for my LAN, courtesy of dnsmasq. The dhcpcd.conf file spells out ...
0
votes
1answer
91 views

How do I can connect to static IP eth0 through wlan0

What I want to do : Device A (PLC, static ip=100.10.10.11) | | eth0 connection | Device B (raspberry B3, Rasbian lite) | | wlan0 (wi-fi) OR USB to Network ...
2
votes
1answer
71 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 ...
1
vote
0answers
26 views

IP address starts with 169

My Raspberry Pi 3 with is running Raspbian GNU/Linux 9.8 (stretch) has the wlan0: inet that starts with a 169 in the IP address. I know that this an IP address that is given when the DHCP cannot give ...
1
vote
1answer
38 views

Pi 3 Stretch - wlan0 and eth0 with wlan0 wan-interface

I need to set up my Pi3 running on Raspbian Stretch so that on boot it will enable both interfaces, routing all WAN traffic through wlan0, because on eth0 there's just an old network printer waiting ...
0
votes
0answers
27 views

How do I make my RPi talk to my PC over an Ethernet Cable?

My PC is running Windows 10. I'm working on establishing communications from my RPi to my PC via an ethernet cable. I've set up static IP addresses for both the PC and RPi on their respective ethernet ...
0
votes
0answers
21 views

wifi to etho port

I have trawled the internet for 3 months and failed. Maybe I am dim. My target is to share my wifi internet to the Ethernet port. Cant find a solution that works. So splitting my questions up. I want ...
0
votes
2answers
55 views

Can a single Ethernet interface be addressed on DIFFERENT subnets?

Can a single REAL Ethernet interface be addressed on (2) DIFFERENT subnets? But how can this be when a Pi only has a single REAL interface- and therefore only a single MAC address to map the (2) ...
0
votes
0answers
47 views

dhclient doesent renew lease after wifi drop - wpa_supplicant

i have set up /etc/network/interfaces because i need some static adresses on single interface. This causes to use dhclient instead of dhcpcd wich works fine. Now i have the problem that when i boot ...
1
vote
1answer
135 views

Raspberry pi3 model B+ connect to wifi but no internet

I have connected my raspberry pi 3 (running Raspbian) to my company's wifi network. It has connected to wifi, but there is no internet access. I cannot ping also. I did following modification in my /...
0
votes
2answers
51 views

Effect of Interfaces file on dhcpcd.conf in Raspbian Jessie

I was working with Raspbian Jessie version to set a static IP address for eth0 port. As of my knowledge we can configure it with interfaces file but for jessie, there is new file for it and that is ...
0
votes
0answers
77 views

Use of bind-interfaces in dnsmasq?

We have used dnsmasq to set up a wifi to ethernet router on raspbian jessie. I have configured eth0 for static IP address using dhcpcd.conf file and it is given as follows. interface eth0 static ...
0
votes
0answers
28 views

No static IP until a device is connected on Raspberry Pi3 jessie?

I am using the jessie version 2017-07-05 on Rpi3. I have set the a static IP address for eth0 interface using dhcpcd.conf as shown below. interface eth0 static ip_address=192.168.0.10/24 static ...
1
vote
1answer
81 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 ...
0
votes
1answer
472 views

Setting a static IP address in /etc/network/interfaces disables WiFi - Country Code not set

I want to assign a static IP-address to the Wireless LAN interface on my raspberry pi, but after setting the address in /etc/network/interfaces as follows: auto wlan0 iface wlan0 inet static ...
1
vote
2answers
88 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
123 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
69 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
72 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
54 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
30 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
2k 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
21 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
60 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
473 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
137 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
95 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
717 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
2k 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
655 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
95 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
716 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
80 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
472 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
666 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
1answer
374 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
422 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
1k 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
4k 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
3k 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
56 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
307 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
214 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
361 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 ...