Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
14 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
53 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
23 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/...
4
votes
2answers
79 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
49 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
45 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
29 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 ...
18
votes
2answers
5k 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
41 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
41 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
81 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
74 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
1k 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
192 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
57 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
97 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
445 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
56 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
102 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 ...
0
votes
2answers
99 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
2answers
159 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
652 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
417 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
384 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 ...
0
votes
2answers
348 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
47 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
400 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
27 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 ...
0
votes
1answer
187 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 ...
0
votes
1answer
149 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
2k 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
924 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 ...
1
vote
1answer
77 views

RPi3 + 3G USB Dongle. DHCPCD causes usb disconnect

I am working on a project using a RPi3 (OS: stretch) and a 3G dongle (usb stick). After 36 hours ish... my USB disconnects and I need to manually execute the "usb_modeswitch" command. As the pi should ...
1
vote
0answers
212 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 ...
0
votes
0answers
71 views

Network boot DHCP DISCOVER messages not recognised

The end game here is to boot a number of RPi Model B's and RPi 3's from a Netgear ReadyNAS so there are bound to be more cries for help to follow this one. Unfortunately I've fallen at the first ...
1
vote
1answer
2k views

eth0 with dhcp ip address AND additional static IP

I'm using Raspbian Jessie. I would like to have 2 ip addresses on my raspberry eth0 interface. One dynamic, dhcp assigned, One static, configured either in /etc/network/interfaces, either in /etc/...
0
votes
0answers
1k views

Preparing Raspbian Stretch for isc-dhcp-server

I'm in the process of updating some introductory networking tutorials for Raspbian Stretch and want to confirm a few details are consistent with the preferred practices under this release. I am aware ...
1
vote
1answer
63 views

eth0 interface problems

I have about 400 pi units and some of them have developed a peculiar issue. The eth0 interface appears to be up, but I can't seem to pull a DHCP address. When I set a static IP, it shows in the ...
0
votes
1answer
600 views

How to make Raspberry Pi adopt DHCP assigned hostname?

I have a script that I wrote that relies on the DHCP hostname to configure itself. When I check $HOSTNAME on the Pi I see the default "raspberrypi". How can I force it to take the DHCP hostname?
0
votes
0answers
191 views

Ethernet Blocks Internet of Wifi Access Point

I'm struggling with my configuration of my Raspberry Pi. My Raspberry Pi 3 is connected to the Router via Wifi (wlan0). I created an access point with the Pi (wlan1) but I also want to be able to ...
1
vote
2answers
8k views

Raspbian: static IP for eth0 and dhcp for wlan0

I run a Raspberry Pi at our university (Raspbian Stretch). I use it for a project where it has to rely on WiFi. I configured the connection using wpa_supplicant and it worked perfectly well. Now there'...
0
votes
0answers
846 views

Network booting raspberry pi from x86 Linux

I am trying to network boot Raspberry Pi from my desktop PC with Gentoo Linux.I followed the instructions from Raspberry Pi, with relevant changes for my Gentoo installation.Below are the steps I ...
0
votes
2answers
5k views

Remove static IP and Enable DHCP?

Raspberry Pi-3 running Stretch. There are dozens of posts here and on other forums about how to set a static IP for the Pi. My problem is the other direction. I have several Pi's, esp switches and ...
2
votes
2answers
3k views

Setting up an accesspoint on the raspberry pi 3 with debian stretch

I am having problems to set up an accesspoint on my raspberry 3. The purpose is, that I want a MQTT server runnig on the pi and other devices should connect to the pi. I need no bridge to the ...
0
votes
0answers
700 views

Static IP 'lost' after a day. DHCPCD doesn't seem to be honouring the static IP

I have a strange problem. I've a fresh install of Jessie, with PiHole installed. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux Pi-hole ...
0
votes
0answers
23 views

Toggleable Access Point

I'm following https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ and Turning raspberry pi into a access point? to turn my Pi into an Access Point. However, I also need ...
0
votes
0answers
901 views

DHCP Server not starting up on boot

I have installed isc-dhcp-server on my Raspbian OS RPi. The RPi boots up after my switch and other devices have successfully booted. However the DHCP server does not start automatically while other ...
1
vote
1answer
331 views

Static IP on Specific Network

I have used dhcpd on my Raspberry Pi with Stretch Lite installed to configure my static IP, however this will only work on the private robot network. When testing and developing, I connect it to my ...