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
0answers
16 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 ...
0
votes
1answer
40 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 ...
0
votes
0answers
82 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
38 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
57 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
37 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
113 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
79 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
74 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
130 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
47 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
207 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
113 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
45 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
51 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
41 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
99 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
805 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
49 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
231 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
137 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
74 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
1k 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
89 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
498 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
142 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
189 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
48 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
58 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
1k 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
818 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
111 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
5k 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
161 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
303 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
2k 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
364 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
144 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
407 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: ...
2
votes
1answer
3k views

How can I make sure that wlan0: becomes ready before it tries to get an ip from DHCP on boot?

As the title states my RaspberryPi's WiFi adapter (Edimax EW-7811UN (8192CU)) is in most cases (approx 70% of the time) not ready when it tries to get an IP using DHCP on boot. It happens often that ...
0
votes
0answers
63 views

Can see it through http, but can't ssh (raspbian lamp server)

If I type in the IP of my pi, I can see the web server I set up I can also connect through ftp When I try to connect through putty, it says Network error: Software caused connection abort It was ...
3
votes
1answer
558 views

How can I turn my RPi into DHCP server for my router?

I've set up a home network with two routers (TEW-692GR and another one from TP-LINK), but neither supports on-site VPN server configuration. I stuffed my RPi with Raspbian into the box with my router ...
1
vote
2answers
809 views

wlan connection not working

I connected my pi to my laptop (Win7) via this Guide. I'm using Putty for a SSH connection. Now I want to connect my pi to internet (either via the LAN to my Laptop or WIFI), but I can't get any of ...
0
votes
2answers
1k views

dhcpd after reboot (Arch Linux)

I'm trying to setup DHCP server on Raspberry Pi on Arch Linux, but I'm having small problems starting it properly after boot. My dhcpd.conf is: authoritative; ddns-update-style standard; ...