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.

1
vote
1answer
51 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
64 views

How can I set my 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
29 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
33 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
18 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, ...
4
votes
0answers
33 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
72 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
39 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
92 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
8 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
37 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
34 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
49 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
379 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
82 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
44 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
88 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 ...
0
votes
1answer
123 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 ...
0
votes
1answer
30 views

raspberry pi zero w TWO wi-fi connections 1)dhcp 2)static

hello I need that my Pi automatically connect to wi-fi's 1) At home (by dhcp)-easy 2) at work (static IP DNS router)-don't know how it's extrimle easy to do that on armbian by configs /etc/...
5
votes
2answers
872 views

Raspberry Pi DHCP Server: clients not getting IP addresses

I am relatively new to networking, so please bear with me. For a purely educational project, I've set up a network where the Raspberry Pi 3 running Raspbian Stretch is to function both as a router and ...
0
votes
2answers
195 views

Why does eth0 have no IP after reboot? Running dhclient -v fixes

When I reboot my Raspberry Pi, my WiFi connection works, but my eth0 interface has no ip adresss. In the gui it says "eth0: Link is up, configuring" If I run dhclient -v it will obtain an IP and the ...
0
votes
1answer
362 views

No default gateway with dhcpcd

I hope some can help me. I installed dhcpcd (to be able to use WiFi) on a custom Debian build for a Raspberry (so I can have a 64 bit OS). It seems to work all fine. The WiFi link is getting ...
0
votes
1answer
53 views

Devices connected to raspi router are not lan visible

I have recently setup a RPi0W as a means to connect my Echo Dot to my University's WPA-Enterprise network (MSCHAPv2). I was successful in doing so following this Wifi Repeater Guide and modifying the ...
21
votes
2answers
6k views

Why does my Pi always have the same IP address?

My router uses DHCP, and whenever I reformat my raspberry pi, even when using a different microSD card, it always has the same LAN ip. I'm not quite sure how IPs are assigned, but I assume the device ...
0
votes
0answers
50 views

How to assign IPs so that clients on wlan0 and eth0 are on the same network

I have followed this guide: https://cdn-learn.adafruit.com/downloads/pdf/setting-up-a-raspberry-pi-as-a-wifi-access-point.pdf to create a wireless router on my Raspberry Pi. This works perfectly. I ...
2
votes
1answer
81 views

Raspberry Pi: Unable to access or ping after reconnecting any device to the local network

I have a raspberry pi that is connected to the network with DHCP. When I start it, I can ping it and connect to ssh through wifi. The issue is when I diconnect the device that I am using (my pc/...
0
votes
1answer
181 views

Create an own private network (LAN/WLAN) without NAT

how can i set up an own private network with my RaspberryPi3 to connect my WLAN and LAN devices to? I don't want to have a router or AP. I want an own network where only the connected devices can talk ...
1
vote
1answer
253 views

Raspberry Pi 3B+ Ad-Hoc WiFi issue

I can't seem to connect to my Pi 3b+'s ad-hoc network. I set it up using https://github.com/simondlevy/RPiAdHocWiFi I have attempted with two windows 10 machines and an android phone. On Windows 10 ...
0
votes
1answer
3k views

Setting up a static IP address in Raspbian Stretch using the “new way” (dhcpcd.conf)

This question is in relation with the following landmark article: How do I set up networking/WiFi/static IP address? I have a raspberry PI3B+ with raspbian stretch lite (2018-10-09-raspbian-stretch-...
1
vote
2answers
369 views

Lan and Wifi interfaces behave strangely when trying to set a static IP

I'm using an RPI3B+ to learn about dhcp servers. I've hit a snag I can't figure out. Please bear with me. I want to explain what's happening in detail so you can understand it better. I booted my pi ...
-1
votes
1answer
163 views

How to fallback to DHCP when STATIC fails?

I have a linux computer with a pre-configured static ip. When the pc is installed i need to access it via remote access teamviewer. Sometimes the static ip not working. Then i would like to switch to ...
0
votes
3answers
213 views

dhcpcd and ssh fail to start after changing hostname

I accidentally changed my hostname to an invalid one, containing ".". I managed to change the hostname back to a valid one but the dhcpcd and ssh service fail to start. If I ping my RPi from another ...
1
vote
2answers
718 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
66 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
142 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 ...
-1
votes
2answers
189 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
1answer
378 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
1k 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 ...
2
votes
2answers
1k 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
542 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
655 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 ...
1
vote
2answers
480 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
67 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 ...
1
vote
1answer
1k 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
675 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 ...
2
votes
1answer
28 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 ...
1
vote
1answer
276 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 ...
-1
votes
1answer
233 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 ...
2
votes
1answer
4k 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
1k 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 ...