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
1answer
58 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 ...
0
votes
1answer
28 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
0answers
21 views

Raspberry Pi as Gateway in a network with WiFi router - where to set the Gateway in DHCP?

I have read it is possible to have the Pi to act as a gateway computer in a LAN or mixed WLAN/LAN. 39227/rpi-as-internet-gateway-bridge It is not clear to me how the info on what is the intended ...
0
votes
1answer
131 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
82 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
42 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
78 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
251 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
50 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
70 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
59 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
95 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
904 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
415 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
296 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
276 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
230 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
42 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 ...
0
votes
1answer
920 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
281 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
26 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
138 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
98 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 ...
1
vote
1answer
1k 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
782 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
69 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
191 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
62 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
1k 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 ...
0
votes
1answer
439 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
180 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
6k 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
734 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
1answer
3k 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
2k 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
608 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
724 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
284 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 ...
0
votes
3answers
3k views

disable dhcpcd.service for static ip?

I'm trying to speed up boot time on my PI. systemctl-analyze tells me it takes 7.7s to start dhcpcd.service. This seems a bit much, all I need is a static ip address for eth0 (for a local network only,...
0
votes
0answers
41 views

VNC and SSH over ethernet working with my pi but it seems to break onboard wifi

I have a raspberry pi 3 with raspbian installed. On Windows 7, I'm using VNC over ethernet to access raspbian remotely. As per this tutorial https://www.youtube.com/watch?v=oM2zVD9rL8I I have utilized ...
2
votes
0answers
104 views

dhcpcd: Can't assign IP

I have recently changed my network configuration. One of the things I changed was the DHCP server, which was previously in the router. I am seeing the following messages in daemon.log: Jan 25 15:21:...
1
vote
0answers
452 views

Raspberry Pi PXE-boot fails despite response from router

I'm trying to set up a network with raspberry-pi's which use PXE to boot. The networks router, another raspberry-pi, is configured to use 10.0.0.1/24 as the interfaces address. To configure ip-...
0
votes
0answers
811 views

Network/Interface routing on Raspbian Stretch

I am trying to use my Pi as an IoT device which will be attached to a modbustcp machine and collect data remotely. I have already setup the Pi to work with a SIM/LTE modem using a ppp interface. The ...
0
votes
1answer
398 views

Should Raspberry Pi Zero in USB ethernet mode respond to DHCPDISCOVER request?

I have set up my Raspberry Pi Zero to work as ethernet gadget, by editing /boot/cmdline.txt and config.txt. I also added the SSH file. But my Linux machine is refusing to connect to Raspberry Pi Zero ...
0
votes
0answers
2k views

Raspberry Pi 3 - On-board Wifi Not Connecting to Router on Startup

I've configured my Pi3-B to connect to my WiFi with a hidden SSID, and the connection itself works just fine. However, whenever I reboot the Pi, it's unable to re-connect to the network automatically. ...
0
votes
0answers
365 views

How to redirect all http-requests from devices connected via AP to localhost or the static IP address of rpi?

I have created a website which has plenty of movies/songs using Laravel framework and Apache server in Raspbian Stretch. Also, I have configured my Pi as an AP and I want to redirect all HTTP ...
0
votes
0answers
108 views

My modem keeps grabbing the wrong Ipv6 address for port sharing

I have two RPi-3's. One I want to use as a personal mail/cloud server. And another I like to use as a cryptocoin node server. My first server is unreacheable on IPv6 and my second RPi server, which ...
0
votes
0answers
16 views

USB Ports resets after a change in network

I have been using the Secugen Hamster Pro 20 fingerprint scanner with a RPI 3 board. The SDK works great (under C++). There are some instances where the USB port gets disconnected and reconnected ...