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

the Dynamic Host Configuration Protocol (DHCP) is a network protocol that automatically configures clients (or hosts) on the network, such as IP addresses and networking parameters. Questiosn include the Pi acting as a DHCP server or client.

0
votes
1answer
57 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
0answers
19 views

wlan0 does not get correct IP / gateway on _one particular_ Wi-Fi spot

Edit: I found the possible culprit, see end of question I have started off Jessie, and I need the Pi to be able to connect to various Wi-Fi networks (it will get sent away, so it "just needs to work")...
1
vote
1answer
52 views

Weird behaviour with Raspberry Pi Zero W regarding DHCP IP address and MAC address

I've tried to 'fix' the IP of my Raspberry Pi Zero W in the local network by creating a DHCP rule in the router: always allocate 192.168.0.109 to the MAC address of the Pi. I use a D-Link router and ...
0
votes
2answers
43 views

Reverse DNS on internal LAN

Writing a Python program for my PiZeroW to scan and inventory my home local, internal network. I can easily iterate though the 256 internal DHCP available IP addresses (some assigned, some not), but ...
1
vote
2answers
61 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
828 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 ...
1
vote
2answers
228 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
0answers
155 views

Pi Hole Stopped working after reboot on VPN enabled Raspbian

I've been using a Raspberry Pi 3B (running Raspbian) with OpenVPN and ISC DHCP for about a month now and everything has been great. I decided to add Pi Hole to block ads network wide and used this ...
1
vote
0answers
189 views

'dnsmasq' starting error

I need to configure wifi-eathernet bridge for my IP cameras net. I've tried to use this tutorial: Sharing the Pi's WiFi connection through the Ethernet port, to resolve my issue and experienced ...
0
votes
2answers
137 views

No internet connection after changing MAC address

I have searched through entire internet and none of the solutions I found worked, so probably its time to ask for help. I have Raspberry Pi 3B+ and i want it to work (for privacy reasons): with VPN, ...
0
votes
1answer
31 views

SSHing via direct ethernet connection to mac over LAN (no internet connection)

I'm working a project that requires the raspberry pi to be portable, and accessible via SSH (headless setup) in places where there is no internet connection (such as on the top of a hill with no ...
0
votes
1answer
649 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 ...
0
votes
0answers
182 views

DHCP Server not working on PI

I have followed the instruction how to make my pi a webserver: https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/ Everything is working fine expect that the Pi is not acting ...
1
vote
1answer
19 views

Built-in WiFi configured as AP keeps connecting to router

I have carefully followed this guide in order to set up my RPi 3 as an AP. The Pi won't be connected elsewhere so I am not intending for it to provide Internet access. I only want to remotely connect ...
0
votes
1answer
116 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 ...
0
votes
1answer
66 views

Raspbian - Getting multiple dynamic IP addresses with Cisco DHCP static pool

I have both static and dynamic DHCP pools configured at Cisco 8xx router. It looks Rpi with Raspbian Stretch gets TWO IPs from different DHCP pools, both attached to wlan0 interface. Non Linux ...
1
vote
1answer
649 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 ...
5
votes
3answers
532 views

Issues with PXE boot with RPi 3B - no TFTP RRQ made

I've been running into issues trying to get a RPi 3B PXE booting - the Pi doesn't appear to make any TFTP request once it receives a DHCP response, but instead remakes the BOOTP request. This might ...
1
vote
1answer
57 views

RPi3 + 3G USB Dongle. DHCPCD causes usb disconnect

I am working on a project using a RPi3 (OS: stretch) and a 3G dongle (usb stick). After 36 hours ish... my USB disconnects and I need to manually execute the "usb_modeswitch" command. As the pi should ...
1
vote
0answers
172 views

Bluetooth Network access point problems

Hi we have two Pis (A Pi3 acting as a server/gateway and a Pi0W acting as the client) and we are trying to get them to communicate. They are connected via Bluetooth, and the Pi3 has a NAP server ...
0
votes
0answers
45 views

Network boot DHCP DISCOVER messages not recognised

The end game here is to boot a number of RPi Model B's and RPi 3's from a Netgear ReadyNAS so there are bound to be more cries for help to follow this one. Unfortunately I've fallen at the first ...
1
vote
1answer
883 views

eth0 with dhcp ip address AND additional static IP

I'm using Raspbian Jessie. I would like to have 2 ip addresses on my raspberry eth0 interface. One dynamic, dhcp assigned, One static, configured either in /etc/network/interfaces, either in /etc/...
0
votes
0answers
891 views

Preparing Raspbian Stretch for isc-dhcp-server

I'm in the process of updating some introductory networking tutorials for Raspbian Stretch and want to confirm a few details are consistent with the preferred practices under this release. I am aware ...
0
votes
1answer
319 views

How to make Raspberry Pi adopt DHCP assigned hostname?

I have a script that I wrote that relies on the DHCP hostname to configure itself. When I check $HOSTNAME on the Pi I see the default "raspberrypi". How can I force it to take the DHCP hostname?
0
votes
0answers
156 views

Ethernet Blocks Internet of Wifi Access Point

I'm struggling with my configuration of my Raspberry Pi. My Raspberry Pi 3 is connected to the Router via Wifi (wlan0). I created an access point with the Pi (wlan1) but I also want to be able to ...
1
vote
2answers
4k views

Raspbian: static IP for eth0 and dhcp for wlan0

I run a Raspberry Pi at our university (Raspbian Stretch). I use it for a project where it has to rely on WiFi. I configured the connection using wpa_supplicant and it worked perfectly well. Now there'...
0
votes
0answers
605 views

Network booting raspberry pi from x86 Linux

I am trying to network boot Raspberry Pi from my desktop PC with Gentoo Linux.I followed the instructions from Raspberry Pi, with relevant changes for my Gentoo installation.Below are the steps I ...
0
votes
1answer
2k views

Remove static IP and Enable DHCP?

Raspberry Pi-3 running Stretch. There are dozens of posts here and on other forums about how to set a static IP for the Pi. My problem is the other direction. I have several Pi's, esp switches and ...
2
votes
2answers
2k views

Setting up an accesspoint on the raspberry pi 3 with debian stretch

I am having problems to set up an accesspoint on my raspberry 3. The purpose is, that I want a MQTT server runnig on the pi and other devices should connect to the pi. I need no bridge to the ...
0
votes
0answers
510 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
19 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 ...
0
votes
0answers
569 views

DHCP Server not starting up on boot

I have installed isc-dhcp-server on my Raspbian OS RPi. The RPi boots up after my switch and other devices have successfully booted. However the DHCP server does not start automatically while other ...
1
vote
1answer
239 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
3answers
2k views

disable dhcpcd.service for static ip?

I'm trying to speed up boot time on my PI. systemctl-analyze tells me it takes 7.7s to start dhcpcd.service. This seems a bit much, all I need is a static ip address for eth0 (for a local network only,...
0
votes
0answers
41 views

VNC and SSH over ethernet working with my pi but it seems to break onboard wifi

I have a raspberry pi 3 with raspbian installed. On Windows 7, I'm using VNC over ethernet to access raspbian remotely. As per this tutorial https://www.youtube.com/watch?v=oM2zVD9rL8I I have utilized ...
2
votes
0answers
80 views

dhcpcd: Can't assign IP

I have recently changed my network configuration. One of the things I changed was the DHCP server, which was previously in the router. I am seeing the following messages in daemon.log: Jan 25 15:21:...
1
vote
0answers
350 views

Raspberry Pi PXE-boot fails despite response from router

I'm trying to set up a network with raspberry-pi's which use PXE to boot. The networks router, another raspberry-pi, is configured to use 10.0.0.1/24 as the interfaces address. To configure ip-...
0
votes
0answers
681 views

Network/Interface routing on Raspbian Stretch

I am trying to use my Pi as an IoT device which will be attached to a modbustcp machine and collect data remotely. I have already setup the Pi to work with a SIM/LTE modem using a ppp interface. The ...
0
votes
1answer
333 views

Should Raspberry Pi Zero in USB ethernet mode respond to DHCPDISCOVER request?

I have set up my Raspberry Pi Zero to work as ethernet gadget, by editing /boot/cmdline.txt and config.txt. I also added the SSH file. But my Linux machine is refusing to connect to Raspberry Pi Zero ...
0
votes
0answers
1k views

Raspberry Pi 3 - On-board Wifi Not Connecting to Router on Startup

I've configured my Pi3-B to connect to my WiFi with a hidden SSID, and the connection itself works just fine. However, whenever I reboot the Pi, it's unable to re-connect to the network automatically. ...
0
votes
0answers
283 views

How to redirect all http-requests from devices connected via AP to localhost or the static IP address of rpi?

I have created a website which has plenty of movies/songs using Laravel framework and Apache server in Raspbian Stretch. Also, I have configured my Pi as an AP and I want to redirect all HTTP ...
0
votes
0answers
96 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 ...
0
votes
0answers
13 views

USB Ports resets after a change in network

I have been using the Secugen Hamster Pro 20 fingerprint scanner with a RPI 3 board. The SDK works great (under C++). There are some instances where the USB port gets disconnected and reconnected ...
0
votes
1answer
1k 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 ...
0
votes
2answers
268 views

Raspian Stretch Lite is assigning strange 169.254.x.x IP address

I just installed Raspian Stretch (2017-09-07) on a RPi Model 1 B. Upon first boot up, eth0 gets an IP address of 169.254.x.x.. On my network, I just have a normal Century Link modem/router that used ...
0
votes
0answers
265 views

No wireless interfaces found RPiB2 on debian stretch (raspbian)

I know that this question was asked a lot of times but none of the answers so far was of help. My Raspberry Pi worked correctly at home until this morning when I installed it at work. Since than I ...
0
votes
0answers
26 views

How to setup DHCP to run citrix

Hi just bought a new RPi, currently on Wyse. I need to setup DHCP so that it picks up our Citrix. Can someone point me in the right direction please?
0
votes
1answer
283 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 ...
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 ...
1
vote
0answers
45 views

giving device connected via eth0 an ip on hostapd network

I have a Raspberry Pi with 2 wifi adapters and 2 ethernet ports on it. There are two devices connected via ethernet to the Pi. I've used isc-dhcp-server to give both of them separate subnets and IP ...