Questions tagged [dhcp]

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.

100 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
450 views

Networking with Raspbian 10 Buster

I am following a tutorial for using a Raspberry Pi to create a MAC address sniffer. The tutorial recommends the following commands are entered into the etc/network/interfaces file: allow-hotplug ...
user avatar
  • 131
3 votes
0 answers
5k views

Setting up a DHCP server on a Pi v3B with Raspbian Jessie?

I'm attempting to set up a Pi as a DHCP server for a private network of ~10 machines. The pi will be connected to a network switch. So far I've been following this well written guide: https://www....
user avatar
  • 207
3 votes
0 answers
145 views

Local LAMP server slow on mobile devices

I set a local lamp server at my raspberry 2 B. I uploaded a HD media file in it is working well when I browse I can watch video well. My problem is I am connecting to raspi by wireless and it is ...
user avatar
  • 41
2 votes
2 answers
6k views

PiHole Not Resolving Local DNS Entries for clients with static IPs

I have a Raspberry Pi 2 running Pi Hole 5.2.2 and Cisco Linksys E2000 router running DD-WRT v24-sp2 (08/12/10) std-usb-ftp I want to be able to have PiHole resolve a DNS entry such as MyDevice to an ...
user avatar
2 votes
2 answers
374 views

Wifi connects but no internet access on Raspberry Pi 4

I can connect my Raspberry Pi 4 to my wifi, but I can't seem to access the internet. I can ping machines on the network, and I can ping (and even VNC into) the Pi from network machines. However, I can'...
user avatar
2 votes
0 answers
375 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 ...
user avatar
2 votes
0 answers
319 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:...
user avatar
2 votes
0 answers
555 views

RPI Router DHCP Offers delayed by many minutes

I'm using an RPI 3 with Jessie OS installed on it as a router for my network. It's been fun setting it up to exactly how I wanted but I can't seem to figure out where to go from here with some issues ...
user avatar
  • 161
1 vote
0 answers
26 views

DHCP-Hooks not running on start up

I have a small usb-over-ethernet network of RPiZs connected to a single RPi4. I am accessing the zeros through an ethernet connection on the RPi4, so they need to send packets going to my laptop ...
user avatar
  • 152
1 vote
0 answers
165 views

Can't bind systemd-networkd DHCP server to a specific interface

I have setup a Raspberry Pi Zero W as both Wifi Client and Wifi AP using @Ingo's guide. Everything is working fine. The Pi is running mosquitto MQTT broker, Node-Red, lighttpd. I'm currently in the ...
user avatar
1 vote
0 answers
3k views

How to troubleshoot DHCP Pi-hole connectivity issues?

I have a Pi 4 (4GB) with Raspberry Pi OS. I have installed Pi-hole. The Raspberry PI IP: 192.168.0.5 The Router IP: 192.168.0.1 I set the DHCP range in Pi-hole to 192.168.0.2 to 192.168.0.254 (which ...
user avatar
  • 61
1 vote
0 answers
42 views

Is it possible to enter USB-C Gadget Mode using only dhcpcd?

I've been following tutorials like this one to make USB 'Gadget Mode' work on the Pi: https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ However the other day I had an issue getting it ...
user avatar
1 vote
2 answers
552 views

Where is static IP setting?

A couple of years back I set up static IP in my Raspberry pi running Raspbian Stretch. Now I forgot and not able to find where I did that setup. I tried sudo nano /etc/dhcpcd.conf but it has only eth0 ...
user avatar
  • 315
1 vote
1 answer
553 views

How to change Client Name of Raspberry from "Unkown" in AP's DHCP List?

OS: Linux MyDesiredName 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux on Raspbian Buster Lite. Whenever I set my Raspberry to get a DHCP IP and I go to my AP's DHCP List, ...
user avatar
  • 187
1 vote
1 answer
206 views

PINN no internet connection after hard reset

I have recently installed and configured a new server on my raspberry pi 3B. I used PINN as my bootloader and installed some OSes (Fedberry - an Raspberry Fedora implementation - being the main one). ...
user avatar
  • 23
1 vote
0 answers
158 views

Android 9 phone gets wrong IP address from RPi access point

I configured my RPi (running Raspian Stretch Lite) as an access point to create a local private network (no connection to internet). Laptops and mobile phones connect fine to the AP and I can navigate ...
user avatar
  • 111
1 vote
0 answers
70 views

How do I prevent resolvconf to add %eth0 to an address in resolv.conf?

My raspberry runs the follwing relevant services: isc-dhcp-server bind9 radvd The message I get from isc-dhcp-server is this: Unable to set resolver from resolv.conf; startup continuing but DDNS ...
user avatar
1 vote
2 answers
81 views

cannot connect to the internet - stretch

I am trying to get my pi 3B+ (stretch) back online but it does not work anymore. it was working until last week. plugging a windows PC on the same ethernet plug and using the same settings works. I ...
user avatar
  • 19
1 vote
2 answers
1k 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 ...
user avatar
1 vote
0 answers
2k 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 ...
user avatar
1 vote
0 answers
795 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-...
user avatar
  • 231
1 vote
0 answers
83 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 ...
user avatar
  • 111
1 vote
1 answer
756 views

cant connect to server after configuring static IP

I'm able to connect to the local server when static IP is not set, however, as soon as I set a static IP on eth0 then I'm no longer able to reach the server by name. When I was configuring my static ...
user avatar
1 vote
0 answers
547 views

RPi + eth-usb adapter + isc-dhcp-server

RPI3, Raspbian, dhcp server (isc-dhcp-server) I have a device connected to RPi3 directly through usb-ethernet adapter (I need 2 ethernet ports: 1 eth by RPi3 and 1 by usb-eth adapter) But I cant see ...
user avatar
  • 11
1 vote
0 answers
360 views

Information about which devices are connected to the Pi-3 Access Point

Device: Raspberry Pi 3 Model B Firmware: hostapd and dnsmasq for Wireless Access Point Creation using systemd service. I have successfully created a Wireless Access Point on the Pi and can easily ...
user avatar
  • 1,453
1 vote
0 answers
247 views

How does Raspberry Pi get its IP through DHCP?

How does a Raspberry Pi send a DHCP request on startup? I have a hunch that it is through the program dhcpcd, if so, is it possible to disable dhcpcd and instead have dhclient run as the default DHCP ...
user avatar
1 vote
0 answers
5k views

Reset network configuration and set WiFi Static IP

I follow this tutorial to be able to setup static IP address on WiFi connection, in particular, after change /etc/network/interfaces file I do this two commands sudo systemctl disable dhcpcd sudo ...
user avatar
1 vote
1 answer
694 views

Cloned Jessie image fails to acquire a dhcp address

I have a very nasty issue with Jessie :-( Background: I wrote a tool called raspiBackup which backups and restores a Raspberry and because it works fine for me and helped me multiple times to recover ...
user avatar
  • 872
1 vote
0 answers
22k views

Static IP configuration in dhcpcd.conf ignored

My RaspberryPi 3 running Raspbian Jessie ignores my static ip configuration of adapter wlan1 (USB WiFi) in /etc/dhcpcd.conf. (At the moment it's physically not possible for me to test wlan0 and eth0.) ...
user avatar
  • 111
1 vote
1 answer
531 views

Assigning IP to eth0 device using Pi already set up as a wireless access point

I have followed the tutorial at https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md and successfuly turned my pi into a standalone wireless access point to control my ...
user avatar
1 vote
0 answers
40 views

Connect external Ethernet AP

I want to use an external WiFi Access Point connected to my RPi through the Ethernet (not USB). The DHCP server must be on RPi and wireless clients have to connect to a service running on RPi. I'm ...
user avatar
1 vote
1 answer
828 views

Wireless hotspot not working: no wireless interfaces found

Im trying to create A wireless hotspot with my Raspberry Pi 2 Model B+ using a RT5370 Ralink Wifi adapter. Im following this tutorial: https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-...
user avatar
  • 11
1 vote
0 answers
499 views

Can't connect to secure RPI access point

I can't connect to my RPI access point (using isc-dhcp-server and hostapd with the Edimax EW-7811Un N150 using the drivers suggested and installed following "sk00t3r"'s instructions on the adafruit ...
user avatar
1 vote
0 answers
286 views

dhcp takes so long to obtain IP

on RPi3 I'm running Raspbian Jessie Lite. I configured the network to use dhcp on WiFi. It works but it takes very long time to get the IP, ofter over 30-40 secs! Usually my PCs, phones and other ...
user avatar
  • 479
1 vote
0 answers
1k views

Does (raspbian) automatically renew DHCP lease when there is a problem?

For some reason my pi 2b Doesn't renew it's DHCP lease when something goes wrong. I have to restart it or manually reconnect to the wifi. I don't like doing that because it's supposed to be a '...
user avatar
  • 53
1 vote
0 answers
61 views

Adhoc ports unavailable

I have created an adhoc network on wlan0 for my RPi using isc-dhcp-server to assign ips. This seems to work and I can connect from ubuntu and ping my RPi, however i can not SSH or access my remote i2p ...
user avatar
  • 11
1 vote
0 answers
423 views

How to speedup raspi boot when eth0 not connected?

I've got my raspi configured for DHCP on eth0 and wlan0. When eth0 is disconnected (which is the default), start time is very slow before I can ssh to the pi. The time is spent with DHCPDISCOVER ...
user avatar
  • 1,047
1 vote
1 answer
4k views

How to stop dhcp logging to /var/log/syslog and messages?

I have installed isc-dhcp on Jessie. It works. However, I noticed it logs to three log files in /var/log/: syslog messages dhcp.log I'd like to keep dhcpd to log to dhcp.log and stop it from logging ...
user avatar
  • 123
0 votes
1 answer
42 views

Use rpi for local only intranet

We're going on a trip, and I want to set up a car only lan so that the kids can play games together on their tablets or maybe access a media shared volume. There won't be any internet access. Is this ...
user avatar
  • 103
0 votes
0 answers
13 views

Share wireless internet from RPI4 to RPI0 over usb without changing the routed access point

I'm trying to use a RPI4 as a routed access point so that I can use a USB wifi dongle to connect with my laptop or other devices. I have this part complete by following the RPI documentation. Next I ...
user avatar
0 votes
1 answer
32 views

I want to make a dhcp server on the raspberry pi however it seems to not work while I have the dhcp client running

When I use both the rpi dhcp client to get static IPs or dhcp IPs for my interfaces and then use that information for a dhcp server , I get a ton of errors when checking the status . The only semi ...
user avatar
  • 1
0 votes
1 answer
111 views

IP Address keep changing even though I give it a static IP

The Pi boots up to the desired static ip(10.220.55.114), but after a day it changes to 10.220.51.116( a different subnet ) sudo vi /etc/dhcpcd.conf # It is possible to fall back to a static IP if DHCP ...
user avatar
  • 101
0 votes
0 answers
16 views

Cannot Change wlan0 range in udhcp, reverts after booting

I have a Pi running as a Pihole and DHCP server for my home network. This Pi is product from a small company and it ships with OS installed and setup already done. I've contacted them and waiting.... ...
user avatar
  • 101
0 votes
0 answers
32 views

rpi shows 2 IPs - both old and new one

I have a rpi 3b+ on which i have installed pihole, pivpn(wireguard), xrdp and vnc. rpi IP was initially 192.168.0.187. I had trouble connection remote from another network (not all of them) to my home ...
user avatar
  • 1
0 votes
0 answers
151 views

ARP proxy: DHCP relay not forwarding offers

I am trying to use a Raspberry 3B+ (running the image 2022-01-28-raspios-bullseye-arm64-lite) to transparently 'bridge' traffic coming on eth0 to the Wifi interface (wlan0), all on the same subnet. ...
user avatar
  • 1
0 votes
0 answers
28 views

RPi 4 - route internet from android to LAN

i am trying to do a "router" from Raspberry Pi 4 2GB Model. Rpi all is set, working, installed updates etc. Pi will run standard Raspbian Bullseye (newest OS), with Pihole and other software....
user avatar
0 votes
0 answers
51 views

Retrieve the Raspberry Pi serial over DHCP using dnsmasq

I am trying to use a dnsmasq hook script to automatically provision NFS shares for netbooting Raspberry PI CM4 modules in a MicroK8s cluster but cannot get hold of the the Raspberry PI serial sent ...
user avatar
0 votes
0 answers
112 views

Raspberry Pi 4 loses IP address on eth0 after changing time zone

Recently, I noticed that various docker containers running on my Pi would become unreachable after a while (around 24 hours). The only thing that solved it would be to reboot the Pi. When ssh'ing into ...
user avatar
  • 101
0 votes
1 answer
176 views

Where to set Static IP when running ISC DHCP Server

I've set up a standard ISC DHCP server on my Pi4 running 5.10.52-v7l+ of Pi OS. I'd initially had my static IP set in my /etc/network/interfaces file and that worked ok but I couldn't get WiFi working ...
user avatar
  • 1
0 votes
0 answers
226 views

Wifi access point "Authentication problem" "password may be incorrect"

I just mixed these 3 tutorials (first that one : https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/ , then these to fix problems : https://learn.pi-supply.com/make/how-to-setup-...
user avatar