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
1answer
43 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 ...
1
vote
0answers
35 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 ...
0
votes
1answer
22 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....
1
vote
0answers
27 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 ...
0
votes
0answers
44 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). ...
0
votes
0answers
27 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 ...
1
vote
0answers
36 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 (=...
0
votes
0answers
12 views

i created a wireless router on my RPI3 but failed to start isc-dhcp-server

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 ...
0
votes
1answer
25 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 ...
1
vote
1answer
16 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 ...
0
votes
0answers
26 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 ...
0
votes
1answer
26 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,...
0
votes
0answers
52 views

WiFi Network with systemd-networkd but using dnsmasq as DHCP server to give fixed IP leases

Switching between AP and STA mode without rebooting over a WEB interface and managing WiFi clients over the WEB interface is the goal of my project, much like a WiFi router. The clients do not support ...
0
votes
2answers
209 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 ...
1
vote
1answer
54 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
35 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 ...
1
vote
1answer
47 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 ...
1
vote
1answer
34 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 /...
0
votes
0answers
50 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 ...
0
votes
1answer
166 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 ...
0
votes
1answer
82 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 ...
0
votes
1answer
39 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 ...
-1
votes
1answer
124 views

Constant dhcpcd errors: eth0: authentication failed from IP address: No such file or directory

My syslog is full of these errors: Feb 14 13:24:50 raspberrypi dhcpcd[564]: eth0: authentication failed from aa11::1111:aaaa:aa11:a1a1: No such file or directory Feb 14 13:25:54 raspberrypi dhcpcd[564]...
0
votes
2answers
62 views

Need Two IPs (using wlan0 interface) but do not have any control over static allocations

Brief: In a previous question I asked whether multiple IPs can be assigned via DHCP and reserved by a single Raspberry Pi. The accepted answer demonstrates how to achieve this by setting up virtual ...
2
votes
1answer
73 views

Need Two IPs (but do not have any control over static allocations)

Brief: Is there an accepted way to request two IP addresses and reserve them for use by one machine? I don't believe that I am allowed to get two IPs from a DHCP server with one interface and one MAC ...
2
votes
1answer
88 views

Why can't my Raspberry Pi 4 connect to wireless consistently?

I'm a beginner when it comes to configuring a network through a Linux terminal. I was trying to turn the Pi 4 into a server but at some point, during configuration, I messed up the networking and had ...
0
votes
0answers
44 views

No DNS in resolv.conf when using dhcp

Firstly, I have to mention that I am configuring the network interfaces manually by modifying dhcpcd.conf and wpa_supplicant.conf. I need to do it like this because of the project that I work on. ...
0
votes
1answer
389 views

DNSmasq error: dnsmasq[1122]: Too few arguments

DNSmasq status shows on Raspberry pi 4: Jan 18 17:05:13 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... Jan 18 17:05:13 raspberrypi dnsmasq[1112]: dnsmasq: ...
0
votes
0answers
58 views

Got an IPv6 address on my wifi (dnsmasq) but no internet connection for connected devices

I got IPv6 with dnsmasq runnig on my raspberry to serve mobiles and other wifi devices. The raspberry pi is connected via eth0. The wlan0 device serves IPv6 addresses but the connected devices can't ...
2
votes
3answers
214 views

RPi fails to get DHCP-assigned IP address

tl;dr: After my local network addressing scheme changed from 192.168.1.X to 192.168.21.X, my RPi failed to adapt and was still accessible via 192.168.1.2. When I added iface eth0 inet dhcp as the last ...
1
vote
2answers
2k 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 ...
2
votes
3answers
66 views

no internet although DHCP is working

My issue is similar to what is described here: Raspberry Pi has no internet and cannot ping primary router when connected to repeater I was playing around with PiVPN (WireGuard) and invoked the ...
0
votes
1answer
176 views

tethered android phone to raspberry pi bridge to edgerouter x

I do not have internet except by using my mobile phone. Last week I bought my first raspberry pi its a 4b and is really amazing. I'm an experienced programmer but a networking failure. I have linux &...
2
votes
1answer
55 views

How to connect the raspberry pi to the internet with the internet from a pc (via an ethernet cable) [closed]

excuse me I want to ask. I am still a beginner in raspberry pi. I have internet connection problems on the raspberry pi. I can remote raspberry with PC using ethernet. and my pc is also connected to ...
0
votes
2answers
429 views

isc-dhcp-server fails on boot on wlan0 interface

I am setting up a DHCP server running on my wireless interface. During boot the following messages show up in /var/log/syslog: Nov 28 07:56:48 pi-w isc-dhcp-server[503]: Launching IPv4 server only. ...
-1
votes
1answer
398 views

Mount root partition of Raspbian OS on mac? [closed]

Is there a way to mount the root partition of the Raspbian SD card on a mac? I need to edit the dhcpcd.conf file. I had my pi running as a router and IP camera (so I wouldn't need someone else's wifi ...
-1
votes
3answers
368 views

How to config static IP on eth0 but keep wlan0 dynamic

I'm trying to achieve two things, but they seem to be contradictory: I want to set a static ip on eth0 to be able to SSH into it from my Windows 10 Laptop via Ethernet cable. (I take my Rpi on the go,...
0
votes
2answers
37 views

Roboust Network connectivity

I want to run a headless (no monitor and keyboard) Pi 3a in the somewhat fluent environment (at home, in an Artist’s studio, on the attic of an cathedral). The Pi is controlling some Christmas ...
0
votes
0answers
30 views

Two eth interface (one dedicated for docker)

I have a raspberry pi running Pi-Hole (outside docker) I installed docker and I wanted to run a docker on a specific VLAN, I tried many time using macvlan, but I'm always failing.... I just plugged a ...
1
vote
0answers
1k 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 ...
1
vote
1answer
57 views

Why don't I get any gateway address (dhcp)?

I have trouble getting my gateway address to reach internet on my Raspberry Pi. I tried on 2 distinct company networks. On first network there is no problem, every device can get his network ...
1
vote
0answers
31 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 ...
0
votes
1answer
870 views

Why dhcpcd.service failed for auto matically alllow ip address

I using Raspbery pi zero w. my dhcpcd.service always fail, I do not know the reason: my linux is: PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID=&...
3
votes
1answer
188 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 ...
0
votes
1answer
128 views

How to set static IP address with a backup if given address is not available?

I found this tutorial to set a static IP address: https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-give-your-raspberry-pi-a-static-ip-address-update All this is fine! However, what if given IP ...
1
vote
1answer
288 views

dhcpcd not trying to reconnect after disconnections

I have a Pi (with Raspberry Pi OS) connected to the router via ethernet, and whenever it loses connection, dhcpcd doesn't automatically try to reconnect. Now, that is especially a problem since I'm ...
1
vote
1answer
442 views

huge syslog filled with dhcpcd lines

I have a pi that is defined wi static IP in /etc/dhcpcd.conf: interface eth0 inform 4.3.2.77 static routers=4.3.2.1 everything worked great until lately once a day I had to restart it because it was ...
0
votes
0answers
39 views

DHCP stopping ethernet getting an IP address

So have an issue getting the Raspberry Pi 4 (running the new Buster image) from releasing my eth0 interface to get an IP. It works fine with the wifi, but I'm not sure what I'm doing wrong? My router ...
0
votes
1answer
167 views

Fixed IP on phone (Android) hotspot

I'm trying to fix the IP address of my Pi Zero W when it connects to my mobile phone hotspot. From what I have gathered, the way to do this would be to specify a static ip_address entry in /etc/...

1
2 3 4 5 6