Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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
2 votes
2 answers
75 views

dhcpcd.conf inform vs static ip vs request. How should you REALLY setup a static IP?

I am trying to setup static IPs on my 5 raspberry PIs and there is no clear answer as to which configuration to choose and why. As per a comment on one of the answers to this question How do I set up ...
user avatar
1 vote
1 answer
29 views

Check last time internet connection was made

I would like to know the last time my Raspberry Pi Zero (1.7W) was connected to the internet. OS: Raspberry Pi OS Lite, Kernel version: 5.15 & Debian version: 11 (bullseye) There was a similar ...
user avatar
  • 27
0 votes
1 answer
28 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
53 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
14 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
31 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
92 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
-1 votes
1 answer
127 views

Pihole still making DHCP leases for hosts which have a static DHCP lease

I have some hosts on my network that I want to always have the same IP address therefore I set them up under the static DHCP lease section within the pihole configuration. I then delete the existing ...
user avatar
0 votes
0 answers
21 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
1 answer
155 views

No DHCP response with USB ethernet

I'm using a usb to ethernet with my Raspberry Zero W but it doesn't get any IP (usb0 interface): rogermiranda1000@raspberrypi:~ $ ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 ...
user avatar
0 votes
0 answers
38 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
-1 votes
2 answers
173 views

SSH into Raspberry Pi connected to Linux Laptop via Ethernet cable

How do I SSH into my Rasperry Pi which is directly connected to my Linux Laptop via an Ethernet cable? As far as my research went, it does not get assigned an IP, which is the reason why I can not ...
user avatar
-1 votes
1 answer
59 views

Semicolon required in /etc/dhcp/dhclient.conf

Strange error occurs when I do either ifdown wlan0 or ifup wlan0: # ifdown wlan0 Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For ...
user avatar
  • 129
0 votes
0 answers
89 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
-2 votes
2 answers
91 views

How do you set a static IP that is already leased to someone else by DHCP? [closed]

Summary I am on a network with many devices. When I use /etc/dhcpcd.conf to set a static IP address that is currently available (not leased by the DHCP server), it works just fine. However, when I try ...
user avatar
0 votes
2 answers
374 views

Override dhcpcd.conf from SD card

I attempted to set up a static ip in dhcpcd.conf, but it appears I made a mistake somewhere, as the Pi does not appear on the network anymore. I have no monitors or keyboards, and ssh was my only ...
user avatar
0 votes
1 answer
100 views

Connection to WiFi when it shows up - DHCP timeout?

We switch off WiFi an a raspberry over night. In the morning both is switched on together. Unfortunately the pi starts faster than the access point and therefore the pi could not connect to a wifi. ...
user avatar
  • 1
0 votes
1 answer
127 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
1 vote
2 answers
239 views

Unable to make raspberry pi publicly accessible

This is my first time playing with the DNS and the internet. I want to make my RasPi publicly accessible. I followed the below steps: Set up the apache2 server, and access it locally from home ...
user avatar
0 votes
0 answers
177 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
0 votes
0 answers
25 views

Access point works with cell and tablets but not other computers nor other raspberry pi

I have two weird situations. I configured my pi4-4gb to be an access point for a private network. The goal is to allow multiple pi-zero-w to connect to this access point and also allow, when connected ...
user avatar
  • 1
0 votes
2 answers
935 views

Using DHCPCD with static ip address and routes

Friends, I'm attempting to position Pi CM4-based devices on a collection of remote LANs and to connect them to my VPN. Each is configured with a static IP. I'm having problems, in some locations but ...
user avatar
  • 11
0 votes
0 answers
34 views

How to assign Eth0 IP from external DHCP server to Raspberry Pi4?

I am trying to assign IP address for Eth0 from my router which has DHCP. I have connected my Pi4 with the router. But the IP is not assigned. How can I solve this issue?
user avatar
0 votes
1 answer
40 views

Network Resillience Options

I didn't see an obvious post, I want to put up the question here before rolling my own solution / help others. I have a rpi at a remote location that suffers frequent power outages triggering a race-...
user avatar
  • 13
-1 votes
1 answer
161 views

Why DHCP logs are missing in dnsmasq-Raspberry Pi-Unifi-esp8266?

I have a network made of Rpi, ubiquities, and esp8266. Raspberry pi is configured as the eth0 to eth1 router. Eth1 is made using a USB to ethernet converter. The Main ubiquiti is connected to the eth1 ...
user avatar
-1 votes
1 answer
66 views

Pi refusing to connect to internet/IP 169.254.x.y is always appearing when connecting to my PC through ethernet

So as the title says, I've been trying to share the internet from my pc to my pi, running the pi headless and remotely connecting to it and whatsoever. However, whilst I can just do a remote ...
user avatar
  • 89
-1 votes
1 answer
43 views

How do i choose a correct static ip4 adress in dhcpcd?

So i wanted to set a permanent connection with my ethernet cable in the /etc/dhcpcd.conf file, and i wrote this: interface eth0 static ip_address=192.168.2.10/24 static_routers=192.168.0.1 I choose ...
user avatar
  • 1
0 votes
0 answers
47 views

ad hoc on raspbian buster pi 3

I have read a few other questions about this topic in this network and other places. The problem is they are all different and none of them have worked on Buster. Here are my questions: 1- With ad-hoc,...
user avatar
  • 1
-1 votes
1 answer
81 views

Raspbia, after a reboot, wifi is only working if a ethernet cable is attached

my problem is that my wifi is only getting an IP address if ethernet cable is also plugged in. I have checked many sides, but the solution below is not working. (funny thing, I have reinstalled this ...
user avatar
  • 1
0 votes
0 answers
84 views

RPi wlan0 eth0 bridge, how to debug DHCP issues?

I followed this tutorial to set my RPi 4B up. In my basement, I have my RPi connected via cable and want to bridge a new WiFi AP (as in the last part of that post above). The first time, everything ...
user avatar
0 votes
1 answer
82 views

PXE Boot, how to make it default to pxelinux.cfg/default?

I am transitioning a Centos Mini PC acting as a kickstart server to a freed up Pi4b. I am running Raspberry OS 10. The problem I have is it is trying to boot the MAC address sequence under pxelinux....
user avatar
0 votes
0 answers
225 views

How to bridge ethernet and wlan as LAN connections

[Intro] I successfully turned the raspi 4 model B into a wan router by using a USB to ethernet dongle as wan port and dhcp-client from the main internet router, while the onboard raspi's ethernet port ...
user avatar
0 votes
0 answers
121 views

How do I configure Ethernet on Raspbian 10 (buster)?

Updated with more diagnostics: I have a Rpi3b with Raspbian 10 (buster), installed from an openplotter headless image (https://openplotter.readthedocs.io/en/latest/getting_started/downloading.html). ...
user avatar
  • 1
0 votes
0 answers
94 views

Raspberry Pi Zero with WLAN Dongle, set up standalone AP and switch to Wifi Client

For a current project, I want to set up a standalone Blynk-Server on my Raspberry Pi Zero (version without inbuilt WLAN). I am using an EDIMAX Wifi Dongle EW-7811Un V2 and was able to set up the ...
user avatar
0 votes
0 answers
330 views

How to reset RaspberryPi network configuration to default

I've been cloning RPI images for several months and kept adding stuff without keeping track of the changes made to the .conf files. I've messed with the network settings to a point where remote (=...
user avatar
0 votes
1 answer
26 views

i created a wifi access point on my raspberry pi but it doesn't serve internet to clients why does this happen

I created a wireless router with RPI3 but isc-dhcp-server is not working i made changes to dhcp.conf ie uncommenting authorative and also subnet 192.168.1.3 netmask 255.255.255.0 { range 192.168.1.10 ...
user avatar
1 vote
1 answer
72 views

dnsmasq, have to manually set dns after each reboot

I have a small problem, i'm using dnsmasq and NetworkManager. Every time i reboot, i check the resolv.conf file and the nameserver here is always set to 127.0.0.1 (nothing alarming here) except I ...
user avatar
  • 31
0 votes
0 answers
63 views

AccessPoint doesn't allow me to connect my device to raspberry

I am trying to configure an Wifi access point on my raspberry. I have created a virtual interface that enables my RPI (3B+) to still use wlan0 for wifi connection and "apwlan0" for ...
user avatar
  • 31
0 votes
1 answer
99 views

Pi 4 - usb0 showing RX errors

I have one Pi4 as web server. I am using a TP-Link 4G LTE Router connected via usb with my Pi. I am noticing this RX errors in ifconfig command. This is the output: eth0: flags=4099<UP,BROADCAST,...
user avatar
  • 127
0 votes
2 answers
4k views

/etc/dhcpcd.conf missing on Rasbian

I am trying to setup a static IP for my Raspberry Pi 4 (Raspbian GNU/Linux 10 buster, connected to the router via an ethernet cable) that is running OMV (5.6.3-1) according to the "Conquer the ...
user avatar
1 vote
1 answer
279 views

Pi 4 - Connecting with eth0 but not with wlan0 [closed]

I am facing a issue in the last days. I have a LAMP server working 24/7 and connected with networks using wlan0. About 2 months ago, i bought a 4G LTE router and used it. All fine, so i decided to try ...
user avatar
  • 127
1 vote
0 answers
145 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
0 votes
0 answers
145 views

Raspberry Pi can't issue dynamic IP address to Laptop connected via Ethernet cable when Laptop is also connected to home wifi

I am new to configuring networks so please excuse my ignorance if I have made some obvious and simple mistakes. For educational purposes, I am trying to set up a small wired network where a Raspberry ...
user avatar
1 vote
1 answer
363 views

Disabling IPv6 to fix name resolution issues on LAN

I have a conventional LAN configuration. It consists of a router/firewall/gateway running OPNsense, and a variety of hosts - mostly Macs, RPis, Ubuntus, my WiFi APs and the usual phones and video ...
user avatar
  • 17.4k
1 vote
1 answer
67 views

Restrict PI to LAN only on specific interface

I found out that manual network interface configuration should be done in /etc/dhcpcd.conf, not in (/etc/network/interfaces). Using the example right from the config file I added the following to the /...
user avatar
  • 151
0 votes
0 answers
194 views

no static IP on WiFi with dhcpcd

I'm trying to set up the Pi 4B as an access point for a device (headless standard Raspbian). Therefore I have plugged in a WiFi dongle which is correctly found as wlan1. I want to install a dhcp ...
user avatar
  • 101
0 votes
1 answer
917 views

Linking two interfaces on same subnet using dnsmasq

I'm trying to configure my RPi to give me access to devices conencted either of eth0 or wlan1. Desired function is this: User connects to RPi AP via wlan1 and is given an IP Separate device connects ...
user avatar
  • 111
0 votes
1 answer
524 views

DHCP server (dnsmasq) only working on one interface

I'm trying to get a DHCP server working on two interfaces so that I can use my Raspberry Pi as a standalone server to perform various tasks. So far I've installed hostapd to set up a wireless access ...
user avatar
  • 111
0 votes
1 answer
128 views

Problem in connecting my Arch linux to My raspberry Pi (raspbian)

I am having problems connecting my Arch to Raspberry Pi 3 via ethernet. I am having Realtek r8169. Though internet is working but when I connect it to my Raspberry Pi, it shows wire connecting The ...
user avatar
  • 1

1
2 3 4 5
7