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.

learn more… | top users | synonyms

0
votes
1answer
29 views

Setting a static IP on latest Jessie

I've had no end of trouble setting a static IP for eth0 in the latest release. I need a static IP for eth0 because I want to SSH into my Pi when I take it into the field without any wifi. I followed ...
0
votes
0answers
3 views

Syslog flooded with messages: dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67

My syslog is filled with: Jun 27 10:20:08 pi dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67 Jun 27 10:20:19 pi dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67 Jun 27 10:20:30 pi dhclient:...
1
vote
0answers
13 views

dhcp takes so long to obtain IP

on RPi3 I'm running Raspbian Jessie Lite. I configured the network to use dhcp on WiFi. It works but it takes very long time to get the IP, ofter over 30-40 secs! Usually my PCs, phones and other ...
-1
votes
1answer
65 views

Wireless to Wired Router [duplicate]

This may sound old but I have to ask this question. I found many tutorials on how to make this work but they are all old or I am doing something wrong. Whatever it is, I am trying it since three days ...
0
votes
0answers
11 views

Linux DNS Prefix Configuration [migrated]

Introduction I have a Raspberry Pi running Rasbian connected to a Windows Server based network. This is a corporate (education) network that has its own intranet consisting of all connected computing ...
0
votes
1answer
117 views

WLAN access point no internet connection

Situation There's a intranet with access to the internet. However, you can only gain access to this network, and therefore the internet, if your device has a whitelisted MAC address. This is no ...
1
vote
1answer
112 views

Configuring isc-dhcp-server.service on Raspbian Jessie

When I reboot my pi the isc-dhcp-server fails to start root@r2d2:/home/pi# systemctl status isc-dhcp-server.service ● isc-dhcp-server.service - LSB: DHCP server Loaded: loaded (/etc/init.d/isc-...
0
votes
1answer
123 views

Not able to SSH in Raspberry Pi 3

I'm trying to SSH into my RPi 3. Its connected to my WiFi network and has the IP 192.168.0.103. I previously used it over a direct lan connection to my old Win 8.1 PC, running the hostname -I command ...
0
votes
1answer
52 views

DHCP on usb0 of pi zero not working

I have set up my raspberry pi zero with the usb ethernet gadget as described by ladyada: https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget This works ...
0
votes
0answers
73 views

How to route and use DHCP on raspberry pi?

So, I am new to this question thingy so I will try to provide as much detail as I can. I am re doing my network and now I am stuck. This is a picture of my first plan: Translation of text ...
0
votes
1answer
42 views

Hotspot for ssh control at boot

I bought my first Raspberry yesterday (RPi 3). I have already installed an ssh server and I would like to run a script that create an hotspot on boot. My intent is to boot the RPi 3, connect to ...
1
vote
0answers
134 views

RPI Router DHCP Offers delayed by many minutes

I'm using an RPI 3 with Jessie OS installed on it as a router for my network. It's been fun setting it up to exactly how I wanted but I can't seem to figure out where to go from here with some issues ...
1
vote
3answers
90 views

Pi hangs when booting

I have a clean new Raspbian Jessie installed via NOOBS today. No special things done. When I start it from the SD card it hangs right after the funny colored image with the following screen: udhcp (...
0
votes
1answer
80 views

What can make DHCP fail?

I have (among other network devices) a RPi Linux rpi2 4.1.10+ #821 PREEMPT Sat Oct 10 00:12:23 BST 2015 armv6l GNU/Linux It is connected via WiFi to an access point (like the other devices). A ...
1
vote
2answers
232 views

Default gateway gone after restart

I am trying to configure my eth0 interface with a static ip through my dhcp server. The static assignment is working fine, but I can't access the external network because there's no default gateway. ...
1
vote
0answers
56 views

Dnsmasq DHCP Server Not Assigning IP Address

Setting up Dnsmasq on Kali Linux. I'm attempting to configure a MITM attack on my home network. I have a USB Wireless Adapter (Alfa) that I'm using to host the AP through hostapd. When a device ...
1
vote
1answer
295 views

How to manually install dhcpcd?

I upgraded wheezy to jessie and there is no dhcpcd installed. I installed it with apt-get install dhcpcd but I cannot start the service. When I do sudo service dhcpcd start I get Failed to start ...
1
vote
0answers
134 views

Does (raspbian) automatically renew DHCP lease when there is a problem?

For some reason my pi 2b Doesn't renew it's DHCP lease when something goes wrong. I have to restart it or manually reconnect to the wifi. I don't like doing that because it's supposed to be a '...
1
vote
0answers
46 views

Adhoc ports unavailable

I have created an adhoc network on wlan0 for my RPi using isc-dhcp-server to assign ips. This seems to work and I can connect from ubuntu and ping my RPi, however i can not SSH or access my remote i2p ...
2
votes
0answers
53 views

Local LAMP server slow on mobile devices

I set a local lamp server at my raspberry 2 B. I uploaded a HD media file in it is working well when I browse I can watch video well. My problem is I am connecting to raspi by wireless and it is ...
0
votes
1answer
47 views

Error when running dnsmasq

When i try to start dnsmasq ,I face the following error dnsmasq: failed to bind DHCP server socket: Adress already in use
4
votes
1answer
109 views

Ethernet stuck in cycle of “carrier acquired” and “carrier lost”

I'm running the Pi 2B headless and keep having to pull the plug because it's not connecting to the network. Sometimes it connects, sometimes it doesn't. My setup has an Ethernet cable connecting the ...
0
votes
0answers
41 views

Raspberry Pi DHCP server fails after one day

I recently set up a DHCP server on my pi. The problem is, it only works for 24 hours, and then I have to reboot the pi. I'm speculating that it may have something to do with the lease time, but I've ...
1
vote
2answers
961 views

Raspberry seems to ignore static ip setting

I am trying to set a static ip address. The static ip is outside of my home dhcp range. But even after reboot, I can connect to the old dhcp ip address. Why does this happen? Take a look at the ip ...
1
vote
1answer
50 views

Wi-Fi not reconnecting after rebooting the router

I have a Raspberry Pi B+ which is connected to my modem/router via a TP-Link TL-WN725N usb adapter. It works fine, however if i turn off the router and than back, the Raspberry doesn't reconnect ...
4
votes
1answer
316 views

Make permanent change in the routing table

I have a Raspberry PI 2 model B with Raspbian version Jessie and I'm trying to bring the internet from my PC to the Raspberry. I have 2 network interfaces between them, one is over Ethernet and the ...
0
votes
3answers
174 views

Cannot make Pi visible on network

I'm running Jessie on a Raspberry 2, and have setup on the network so it can reach the web and ssh is enabled, but cannot see it on the network. The router shows nothing. I've followed various other ...
1
vote
0answers
89 views

How to speedup raspi boot when eth0 not connected?

I've got my raspi configured for DHCP on eth0 and wlan0. When eth0 is disconnected (which is the default), start time is very slow before I can ssh to the pi. The time is spent with DHCPDISCOVER ...
0
votes
1answer
2k views

Static IP adddress on Raspbian not using dhcp service at all

I have Raspbian Jessie on RPI 2 B, I cannot set my wired NIC with a static IP address. I have uninstalled raspberrypi-net-mods ifplugd, because have a lot of stability issues and insists on uses ...
3
votes
1answer
93 views

How to know if network interface is in dhcp or static ip using command line?

Using one or two command line, how do we know a particular network interface (e.g eth0) is connecting using dhcp or static ip? can we do this using similar commands like sudo cat?
1
vote
2answers
4k views

Changed to static IP in Raspbian, yet old IP address continues to exist (alongside new)

I had Raspbian (Jessie) configured to obtain IP from DHCP. Now I changed it to static. Pi is now reachable on two IP addresses: restarted Pi, restarted other computer, restarted router. No change. Of ...
3
votes
1answer
592 views

Proper way to prevent dnsmasq from overwriting DNS server list supplied by DHCP?

I have two interfaces: wlan0 - Wi-Fi client configured via DHCP; wlan1- static IP address, running hostapd to act as access point, running dnsmasq to give out IP addresses and service DNS requests ...
0
votes
0answers
155 views

How do I remove a static ip address that was in dhcpdui?

I have a pi that was set on dhcpdui, and I had made it so it only uses the ip address 192.168.1.36. But now I am using a different router and it refuses to acknowledge static ip address assigned by ...
1
vote
2answers
197 views

wifi stops working after a few seconds

I'm trying to run wifi on my device. It has been working a week ago (so I believe it is not a hardware problem), but two things happened since then: I run apt-get upgrade on my raspberry and my ...
0
votes
0answers
21 views

Raspbian booting only 1 script?

Well, I created a DHCP monitoring script that I wanna put in a Raspberry Pi. with a Wifi adapter. But my question is; is there an option to boot only that script and the network manager and nothing ...
1
vote
1answer
50 views

Wifi Hotspot, adding VPN breaks DNS? [closed]

With my rasp Pi, I made a Wifi AP (on wlan0) and I keep the raspberry connected to internet (eth0). The Rasp is not only used for surfing the public web, but also to get sensitive datas on one server. ...
0
votes
0answers
71 views

WIFI router - Can connect to it only from a Windows PC

I used this tutorial to configure a wifi router on my Raspberry B+ : https://learn.adafruit.com/downloads/pdf/setting-up-a-raspberry-pi-as-a-wifi-access-point.pdf The problem is I can't connect any ...
0
votes
0answers
60 views

Unable to connect to internet on RaspberryPi

I've setup my RaspberryPi(NOOBS) as WiFi router by following online guides. Yep, I'm running hostapd and isc-dhcp-server on it. I directly plugged in RJ45 cable provided by my internet provider in to ...
0
votes
1answer
2k views

Dnsmasq DHCP not giving IP address

I have bought a RPI 2 for my 3D printer. My purpose is to access it remotely via wifi. I don't have a router, so I have created an Access Point on the RPI. I have also installed dnsmasq as the DHCP ...
0
votes
0answers
904 views

Dhcp udhcpd is not starting on boot

Raspberry Pi was configured as WiFi AP with static IP. Dynamic IP allocation is done by using udhcpd server. However dhcp server is not starting on boot after I added to /etc/rc.local following line: ...
0
votes
1answer
113 views

Best wi-fi dongle for routing [closed]

I want to make a TOR router from my B+. If you have a experience in it, what is the best usb dongle for it? I have a lot of problem with my old RTL8191SU, so I need a replacement.
5
votes
4answers
6k views

Multiple IP addresses being assigned

My Raspberry Pi B+ is running Raspbian (Linux version 3.18.11+) updated, etc. It's connected to the network by ethernet. I want a static IP, and have assigned it one in /etc/network/interfaces (shown ...
1
vote
3answers
165 views

RaspberryPi (Rasbian) name resolution does not work in a non-internet network

My raspberrypi (Raspberry Pi 2, Model B) has a network name (raspberrypi). I did not do any changes on the network configuration. When I connect the Pi to a network that has internet connection, I ...
4
votes
1answer
323 views

Pi stuck in a DHCP loop

I have a Raspberry Pi running Raspbian, connected to a PC via its ethernet NIC and set to DHCP. /etc/network/interfaces on the Pi: auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface ...
1
vote
1answer
40 views

Connecting to a second network after first one is down

I have been working on my raspberry pi. I defined 2 different networks. First one is my home network and the second one is my phone(hotspot). When my hotspot is not available, it connects to my home ...
0
votes
1answer
3k views

Raspberry Pi not getting DHCP lease

I am trying to get my eth0 interface working on the Pi. It is not getting a DHCP lease - DHCP works perfectly fine over wlan0 though. sudo ifup eth0 is returning: Internet Systems Consortium DHCP ...
3
votes
0answers
1k views

Trying to use Pi as a bridge between 3G dongle and Ethernet [closed]

I don't have a lot of experience with Linux, but I was hoping I'd be able to use my Raspberry Pi to share a 4G dongle's internet connection with my main router. Unfortunately I haven't quite managed ...
0
votes
1answer
371 views

Cannot connect to DHCP server running on the rpi

I'm trying to set up my raspberry pi as a VPN Gateway following this tutorial: http://blog.frd.mn/raspberry-pi-vpn-gateway/ I'm using another WLAN-adapter but that shouldn't matter. So at the end I ...
1
vote
1answer
145 views

Simple wifi-independent way of connecting to pi via ethernet

I've tried everything. Connecting to the pi once the Pi is connected to a WiFi network is easy. Internet sharing is also easy on OS X. I can't figure out how to make a basic static route between the ...
4
votes
2answers
415 views

How to get microcontroller connected to WiFi - no keyboard, screen, or native app

Assuming a user has a RPi-based device with a WiFi adaptor, Ethernet port, and Bluetooth dongle, what is the easiest way to configure their SSID & Password to get them connected to WiFi without: ...