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
1
vote
3answers
39 views

Static IP DHCP server on eth0 erratic (stops working) and kills wifi. What's wrong?

On a Raspberry Pi 3B+ I want to have a all the functionality services (ssh, vnc, dhcp) on a wired intranet on eth0 and the Internet wirelessly on wlan0. I have installed the servers and under some ...
2
votes
1answer
49 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'...
0
votes
2answers
37 views

Rasp-Pi-4B cannot setup wlan0 static addr, but eth0 dhcp is OK

I have a Rasp-Pi 4B and it works OK using DHCP for both eth0 and wlan0. Wanting to install a LAMP system, I attempted to set up a static IP for the wi-fi. At address 100 Now.. I have managed to get my ...
0
votes
1answer
57 views

Cannot connect to a DHCP server

I am trying to set up an ad-hoc network of Pis (not connected to the Internet). I am able to ping and ssh among the Pis by changing the /etc/network/interfaces file by adding the lines to each Pi by ...
1
vote
1answer
35 views

Cannot connect to Ad-Hoc Wifi

I am attempting to set up a Ad-Hoc Wifi network of multiple PIs , none of them are supposed to be connected to the Internet. I could configure one of the PIs to act as a Ad Hoc Wifi device which ...
0
votes
0answers
36 views

How to fix ssh connection that's been broken by dhcpcd service

I'm accessing my Pi Zero W over ssh and I recently wanted to assign it an own network (I want it to host a webserver in it's own private network). I tried following this tutorial (unfortunately it's ...
0
votes
0answers
34 views

Why does my Raspberry Pi's IP address not show up on my router, but has the old dynamic IP address?

I recently changed my Raspberry Pi 3B setting in dhcpd.conf to set a static private IP address. I've been able to SSH into the pi, as well as ping it. But for some odd reason, when I check my router's ...
1
vote
1answer
498 views

Raspberry Pi 4 - Connection to dhcpcd lost

I was trying to set up an ad-hoc network on my Raspberry Pi 4 and now the WiFi is not working. If I try to run ifconfig there is no wlan0 interface that shows up. I have also tried to manually change ...
1
vote
1answer
306 views

How can I make dhcpcd ignore an interface?

There are two NICs eth0 and eth1 (on Raspbian buster). For eth0 DHCP is used which works fine. eth1 is supposed to be up but otherwise go untouched (NO static address since I‘m trying to setup my own ...
0
votes
1answer
118 views

dhclient hooks don't run automatically

I am trying to make Raspbian execute a bash script every time its IP changes. I placed my script in /etc/dhcp/dhclient-exit-hooks.d but it does not execute after a reboot. It does execute if I ...
0
votes
0answers
82 views

“RTNETLINK answer: File exists” renew ip

I want to scrape website with my pi but first id like to know how to ask for a new ip in case i get ban. I tried with: $ sudo dhclient -r >>>Killed old client process $ sudo /etc/init.d/...
1
vote
1answer
108 views

RaspberryPi with openfortivpn

I'm using a fresh raspbian stretch SD card. Sorry if I can't get my meaning across well, I'm new to this and still learning. I'm trying to set up my Pi as a sort of VPN gateway/router. I'd love to ...
0
votes
1answer
77 views

Rasbian lite does not assign dhcp IP address

I have an issue with Rasbian lite. I downloaded the OS and installed it in a Raspberry PI Model 3B. logged in and typed the following: sudo raspi-config added wifi access point name and password ...
0
votes
0answers
111 views

Raspbian 9.9 Stretch - Network is unreachable

I have pihole(with DHCP server enabled, router DHCP server disabled) and SMB running on my raspberry pi, and my network interfaces are acting rather strange. From my raspberry pi, I can ping my router ...
1
vote
1answer
102 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, ...
0
votes
0answers
252 views

Can PiHole DHCP and a WiFI Access Point be used at the same time?

EDIT: I think it's important to note that I am using Debian Buster with the latest updates to date. I have successfully got PiHole working and have used it's DHCP function also working. It's great! ...
-1
votes
3answers
443 views

Pi as DHCP server, but getting “unknown interface eth0” with dnsmasq

I am trying to set up a Raspberian Stretch install to act as DHCP server on the ethernet port (eth0), to share the network coming from wlan0, but when I restart dnsmasq it fails and in the logs I see: ...
0
votes
0answers
85 views

No ethernet on RPi 3B+

I have 3 RPi 3B+, all exhibit the same behaviour. 2 were bought a while ago, one more recently. When starting, on lucky days, they will get an IP from DHCP. If not lucky or upon first reboot, they no ...
1
vote
1answer
33 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). ...
0
votes
1answer
191 views

Why the message “raspberrypi dhclient: send_packet: Network is unreachable”?

I am having a raspberry pi jessie OS. I configured it as ethernet to ethernet router. eth0 is connected to a modem and eth1 is actually a usb to eth converter. Rpi get internet through the eth0 ...
0
votes
0answers
95 views

dnsmasq DHCP refusing to work. NordVPN hotspot on Raspberry Pi

I'm trying to set up a NordVPN hotspot on my Raspberry Pi 3B+ so I can connect it to my smart tv and get rid of Netflix region restrictions. I have everything set up properly but still dnsmasq DHCP ...
0
votes
1answer
160 views

turn off dhcp and set static on raspbian stretch

I have been following another thread and have configured my dhcpcd.conf file . When I restart my pi it gets another ip. Can someone please tell me what I am doing wrong? # A sample configuration ...
1
vote
2answers
283 views

Configure Rpi as router - error when starting network and DHCP interfaces

I looked at several solutions for this question, but none of them worked. Additionally, I tried some of the tutorials provided (with the necessary changes), but none of them worked My aim is to use a ...
0
votes
1answer
348 views

Automated (Scripted) Configuration of Raspberry Pi Access Point

Are there any opensource scripts/repos that automate configuring a Raspberry Pi into a Wireless Access Point?
1
vote
1answer
92 views

Two dhcpcd services: systemd and init.d

I see that there is a systemd service called dhcpcd5 and an init.d script called dhcpcd. Why both ways? What are the differences and how to choose which run?
0
votes
1answer
89 views

Wireless interface removed when DHCP lease expires

I have configured the wireless interface on my Raspberry Pi 3 as follows: allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf wireless-power off iface default ...
1
vote
1answer
341 views

isc-dhcp-server can't bind to dhcp address

I'm trying to set up an ethernet DHCP server on a Raspberry Pi to connect one device via eth0 and give it an ip address, but I cannot for the life of me get the service to start. This won't be an ...
0
votes
1answer
39 views

Connect a RPi with an android device directly via Ethernet

For a certain project I have a very specific need to connect a Raspberry Pi with an unrooted android tablet through a UTP cable (with an adapter on the android side). Both of these devices work fine ...
1
vote
1answer
39 views

Dhcpcd config file - two wifi configs at once

I have a Raspberry Pi Zero W v 1.1, to which I don't have any way to connect display adapter, therefore I communicate with it through ssh. It is connected to one isolated wifi network(with no internet ...
1
vote
1answer
150 views

Created a Raspberry Pi 3B+ Wireless Hotspot, how can I extend the hotspot via Ethernet

I have successfully created a WiFi hotspot for my RPi 3B+ using a Hologram Nova and the embedded WiFi card on the Pi. However I realized that the ethernet interface has disappeared and cannot extend ...
1
vote
1answer
117 views

How to set up static IP addresses on wired and wireless networks?

I have been struggling to configure static IP addresses for my wired and wireless connections on my Raspberry Pi (Raspbian). If I add these lines to /etc/dhcpcd.conf then after rebooting I can ...
1
vote
1answer
297 views

wpa_supplicant + dnsmasq: Fallback to AP mode if no wifi connection

I'm trying to figure out how to configure wpa_supplicant to: First try to connect to a selection of preconfigured wifi networks as a DHCP client, and if that fails Set up a wifi access point using ...
1
vote
2answers
88 views

Utilising a Raspberry Pi as a wireless access point and a webserver

I have followed the official Raspberry Pi documentation's guide to setting up my Raspberry Pi as a wireless access point, with a shared internet connection using the bridge functionality discussed at ...
0
votes
1answer
231 views

How can I set my pi 3 up to be WiFi AND ethernet router simultaneously?

I want to use my Pi as a fully fledged wifi and ethernet router. I'll connect an external modem/phone with tethering to it and want to share that internet connection with all devices connected to the ...
1
vote
0answers
111 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 ...
1
vote
0answers
357 views

Where is my /etc/dhcpcd.conf file?

I am running Linux mop-raspberrypi-01 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux and all tutorials for setting a static IP address for the Pi mention editing /etc/dhcpcd....
0
votes
0answers
87 views

I can't see any client in dnsmasq.leases

I'm using a Rpi 3 with a bridge using hostapd, dnsmasq and bridge-utils. I would like to get the IP from /var/lib/misc/dnsmasq.leases but the problem is that it shows nothing. The hotspot works fine, ...
5
votes
1answer
71 views

Multiple USB modems issue with HUB external power

When I connect 6 modems ZTE WCDMA Technologies MSM into USB hub Terminus Technology Inc. Hub everything works fine. Modems are detected as eth0, eth1, eth2, eth3, eth4, eth5 When one more modem is ...
1
vote
2answers
119 views

Network Ethernet and WiFi devices

I have device A and B. I need them networked together (see eachother on arp-scans etc). Device B has WiFi, but device A has Ethernet. Basically I just want the Pi to act like a simple router (maybe ...
1
vote
2answers
53 views

Help with bridge TCP/IP through RPi 3B+

Need help setting up comm between an Integ Jnior and our primary domain. Here's what I've done so far. I've taken RPi 3 B+ and set it up as a DHCP server broadcasting 10.1.1.1. Wlan0 on the Pi has ...
0
votes
1answer
202 views

How do I can connect to static IP eth0 through wlan0

What I want to do : Device A (PLC, static ip=100.10.10.11) | | eth0 connection | Device B (raspberry B3, Rasbian lite) | | wlan0 (wi-fi) OR USB to Network ...
1
vote
0answers
27 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 ...
2
votes
1answer
45 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 ...
2
votes
1answer
44 views

How to configure dhcpd.conf so that the ssid appears to have an internet connection?

I have my raspberry pi configured as a hotspot with its own ssid that my iPhone can connect to. When the iPhone connects to the pi's ssid, it gives me a warning saying that "This network is not ...
0
votes
0answers
169 views

dhclient doesent renew lease after wifi drop - wpa_supplicant

i have set up /etc/network/interfaces because i need some static adresses on single interface. This causes to use dhclient instead of dhcpcd wich works fine. Now i have the problem that when i boot ...
4
votes
1answer
1k views

Unable to Reconnect WiFi on Pi 3 after Connection Drop

Question What is the current proper way to force reconnection to a WiFi access point? (Or even better: automatically reconnect after the connection is dropped?) The only way to reconnect that has ...
1
vote
1answer
289 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 ...
0
votes
0answers
88 views

DHCPREQUEST not reaching interface wlan0

I have lots of DHCP requests on my Raspberry Pi Zero that never reaches the netowrk interface. All these entries in /var/log/syslog does not reach my "tcpdump -i wlan0 port 67 or port 68". Seems they ...
1
vote
2answers
265 views

How to connect a ethernet device(having its own static I.p and netmask) via internet by my laptop?

I have a device which is used to monitor analog sensor data(Micron optics sm130 ) with ethernet port available. Its works fine if If I connect it with my laptop using ethernet cable and by configuring ...
1
vote
1answer
165 views

How to connect a ethernet device(having its own static I.p and netmask) wirelessly by my laptop?

I have a device which is used to monitor analog sensor data(Micron optics sm130 ) with ethernet port available. It has Static IP as 10.0.0.126 Netmask as 255.255.255.0 DHCP server disabled Its ...

1 2 3 4 5