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

1
vote
0answers
24 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 ...
1
vote
0answers
25 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
18 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
3
votes
1answer
43 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
29 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
164 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
33 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 ...
3
votes
1answer
69 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
86 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
40 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
268 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
63 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
2k 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 ...
2
votes
1answer
196 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
85 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
123 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
18 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
40 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
63 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
45 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
723 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
472 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
101 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
3k 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
135 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 ...
3
votes
0answers
230 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
37 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
296 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
134 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
365 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
2k 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
59 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
470 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
580 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
956 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; ...
4
votes
3answers
8k views

Disabling DHCP Server

For some strange reason, my Raspberry Pi is acting as the DHCP server on my home network. Whenever a computer boots up in our house, it's immediately told that the IP address for the DHCP server is ...
5
votes
3answers
2k views

Display IP Address on Character Based LCD

I need to know the IP address of my raspberry pi. I need to do this with a Character LCD display. So here's what I have done so far. I can display text on a HD44780 based 16x2 LCD connected to my ...
6
votes
8answers
6k views

How do I discover the IP address of my headless RPi?

I've configured my RPi to be headless, and plugged it into my router. How do I discover the local IP address so I can ssh into it? Update: Lots of documents point out that you can log into the ...
1
vote
3answers
382 views

How to install usb wifi on rpi

I have been trying to install this antenna on the pi but when I failed, I tried modifying the /etc/network/interfaces file via sudo nano /etc/network/interfaces to iface wlan0 inet dhcp wpa-ssid ...
0
votes
1answer
234 views

Can ethernet be used for both direct connect and network access?

A Raspberry Pi will by default connect to the network if the ethernet connector is plugged in to a router. It is also possible to configure networking on a Raspberry Pi to direct connect to a ...
2
votes
2answers
2k views

Connect to raspi over ethernet with no known IP

Is it possible to set the IP of a raspi from another connected device? I have my raspi plugged into the ethernet port on my iMac. The raspi doesn't have an IP (as far as I can tell), so I can't ssh ...
1
vote
1answer
981 views

Setting up a PXE Server with Plop Boot Manager on Raspberry Pi

I have a computer that won't boot off CD/DVD or USB (even tho it's supposed to). Since it can boot from the network, I want to setup a PXE server on my Pi that will load Plop Boot Manager so I can ...
1
vote
2answers
2k views

Where does my secondary IP come from?

My Pi is configured with Arch to use eth0 with a static IP configured in conf.d: [gotschi@berry ~]$ cat /etc/conf.d/network@eth0 address=10.0.55.5 netmask=24 broadcast=10.0.55.255 ...
3
votes
1answer
642 views

Ethernet connection drops after several seconds

I recently got a Raspberry Pi, but I've been having trouble getting a working internet connection. At the moment, the pi will connect, and I'll be able to access the internet for about 15 seconds ...
0
votes
1answer
128 views

Adress Not Available : dnsmasq-dhcp

Recently, I brought a new router and it came with its own settings and I didn't bother changing them. The problem I am facing with my Pi is that its failing to get an address from my router. It ...
0
votes
1answer
925 views

Setting up a Raspberry Pi as a WiFi access point

I followed this link for setting my Raspberry Pi as an Access Point: http://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/ Below are my configuration: /etc/network/interfaces: ...
3
votes
3answers
3k views

DHCPDISCOVER is using wrong netmask, how to set the right one?

The Ethernet connection on my RaspberryPi isn't working. After doing some research on StackExchange and other sites, I found the netmask to be the cause of the problem. When I run ifup eth0, it's ...
1
vote
1answer
1k views

rpi as wireless access point and web server

My RPi currently has a working 3G dongle and a Wifi dongle. I followed this tutorial on how to set it up as an access point on wlan0 and modified it a bit so my NAT routes into the 3G modem (ppp0) ...