Stack Exchange Network

Stack Exchange network consists of 174 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
votes
0answers
23 views

WiFi connected, but network panel is still “searching”

I'm on Stretch, RPi3 B, connected via static IP on WiFi, and everything seems to be fine. I'm definitely connected to the net, but the WiFi indicator on the top panel bar looks like it's still ...
0
votes
1answer
37 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
37 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
87 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 ...
-1
votes
0answers
35 views

i can't connect to the university wifi connection in raspberry

I was trying to connect to my university network through raspberry but still i haven't found any solution and can't fix the connection. I should give, IP- 10.40.122.132/155 Default Gateway -10.40....
0
votes
2answers
63 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
63 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
48 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
251 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
69 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
93 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
299 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
95 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
904 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
152 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
415 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
1k 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
47 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 ...
0
votes
1answer
920 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
254 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
79 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
179 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
138 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 ...
1
vote
1answer
1k 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
60 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
82 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
331 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
3k 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
375 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
572 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
104 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
292 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
609 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
3k 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
284 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
126 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
295 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
252 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 ...
0
votes
0answers
108 views

My modem keeps grabbing the wrong Ipv6 address for port sharing

I have two RPi-3's. One I want to use as a personal mail/cloud server. And another I like to use as a cryptocoin node server. My first server is unreacheable on IPv6 and my second RPi server, which ...
1
vote
2answers
674 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 ...
4
votes
1answer
1k 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 ...
-1
votes
2answers
113 views

External and Internal IP Address and Servers [closed]

I'm not understanding something. I am trying to build a server on a Raspberry Pi with Apache. I can access it from my own network, but not outside. I already got the port forwarding and all that setup....
0
votes
1answer
349 views

Static IP- Losing connection after making static ip, Raspberry PI

I have the following configuration as the static IP in my dhcpcd.conf file interface wlan0 static ip_address=10.63.102.152/8 static routers=192.168.88.2 static domain_name_servers=192.168.88.2 I ...
1
vote
1answer
86 views

Access to Pi's IP address times out on WPA2 Enterprise network

I have set up a Pi 3 as a web server on my college's WPA2 Enterprise network, with a static IP configured in /etc/dhcpcd.conf. I've connected it to the Wi-Fi manually by editing /etc/wpa_supplicant/...
0
votes
0answers
50 views

I dont remember my raspberry pi 3 manually set ip

Couple years back I had setup my raspi as a proxy (installed openssh on it etc..). I had connected it through ethernet cable to my router and I had manually set an IP so that when the pi restart it ...
0
votes
1answer
32 views

Cannot connect to P by ssh i: Operation times out

I set the static eth0 IP Address in my Pi by editing /etc/dhcpcd.conf file in my house So i can connect in that address by ssh in my house(my Macbook is on wifi same router but when i try to ...
1
vote
0answers
101 views

Raspberry auto reconnect with another IP

I configured the file /etc/network/interfaces with this as follows: auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.1.111 gateway 192.168.1.254 netmask 255.255.255.0 dns-...