the Dynamic Host Configuration Protocol (DHCP) is a network protocol that automatically configures clients (or hosts) on the network

learn more… | top users | synonyms

0
votes
1answer
32 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
4 views

Disable DHCP without altering 'interfaces' [migrated]

I have a bunch of RPis running in read-only filesystems that are not able to modify the /etc/network/interfaces file. As of right now, they load their configurations off of a USB stick and use ...
0
votes
0answers
53 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
0answers
15 views

Raspberry Pi offers itself IP if used as Router? [migrated]

I'm trying to use an raspberrypi (OS=raspbian 4.0.7) I had flying around so I researched a little bit and everything seems to work more or less fine. I am using hostapd in combination with an wifi ...
0
votes
1answer
40 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.
4
votes
2answers
182 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
62 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 ...
1
vote
0answers
120 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
29 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
307 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 ...
2
votes
0answers
527 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
159 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 ...
0
votes
0answers
45 views

RPi as Wireless AP but cannot connect

I want to use RPi as wireless AP, to control a RC Car. I install hostapd and udhcpd and config as i read in this site (http://elinux.org/RPI-Wireless-Hotspot). When I try to connect from my laptop ...
1
vote
1answer
100 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 ...
0
votes
0answers
45 views

Network Unreachable

Pi has been working for a solid week, I installed adafruit web IDE yesterday and programmed fine with it for 10 hours. Went to bed and in the morning NOTHING is working (I left the Pi on over night). ...
4
votes
2answers
265 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
946 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
52 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
356 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
262 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
616 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; ...
1
vote
2answers
2k 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
1k 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
3k 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
314 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
185 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
1k 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
800 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
938 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
537 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
116 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
815 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: ...
2
votes
2answers
2k 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) ...
4
votes
2answers
2k views

Change wlan0 Mac Address RTL8188CUS Device

I bought the Miniature WiFi Module from ADAFruit (http://www.adafruit.com/products/814) and was wondering if it is possible to change the MAC address associated with it. I have tried using the ...
1
vote
2answers
8k views

dhclient keeps sending DHCPDISCOVER requests. why?

I connected my rPi to my iPhone via Bluetooth and configured bluetooth interface in the following way in /etc/network interfaces: # iPhone via Bluetooth allow-hotplug bnep0 iface bnep0 inet dhcp It ...
2
votes
2answers
3k views

Why won't dnsmasq's DHCP server work when using hostapd?

I had all of this working, but I've changed the wifi stick to a (better) Atheros chip, changed the settings over and now I can't get it to work any more. Now, on boot in the logs I get: DHCP request ...
2
votes
0answers
1k views

Installing isc-dhcp-server error

I am following this [1] tutorial, and trying to install sudo apt-get install hostapd isc-dhcp-server according to this [2] step. I am getting the following error: [FAIL] Starting ISC DHCP ...
3
votes
3answers
5k views

Wifi works, ssh can connect, but cannot connect out to the internet, cannot ping internal machines

I have a strange configuration problem with Wifi. When I connect a ethernet cable to my router, network eth0 is configured and I can access all internet resources. However when I use a Wifi dongle, I ...
4
votes
5answers
35k views

isc-dhcp-server install and run problem

Im trying to set up my pi as an access point with the instructions from Adafruit. However, for some reason, sudo apt-get install isc-dhcp-server always fails. I have looked at this link, but there is ...
1
vote
3answers
5k views

Networking : DHCP/static : connection to LAN but not to internet

I have a problem to connect the Raspberry Pi to the Internet. ping 8.8.8.8 does not work, but the Pi can be accessed using SSH with my laptop on the same network. My laptop and the Pi use ethernet ...
2
votes
2answers
4k views

Default content of /etc/dhcp/dhclient.conf from Raspbian

Could some kind soul please post the default content of the dhclient.conf file from /etc/dhcp/ as I've managed to delete mine :/
1
vote
2answers
2k views

Ethernet light doesn't go on

I have just bought Pi, and I have no monitor to plug into it, so I thought I would do the DHCP trick. I installed the latest Raspbian wheezy (2013-02-09) on the SD and connected the ethernet cable ...
2
votes
2answers
5k views

How can I reset network settings without a network connection?

I have disabled DHCP on my Raspberry Pi and manually set up the eth network. The problem is that the network is no longer available and I want to re-enable DHCP. How can I reset the network ...
2
votes
1answer
2k views

Can't get an IP for wlan0

So wlan0 is connecting fine to my router, but I'm not getting an IP. /etc/network/interfaces has the line: iface wlan0 inet manual Changing manual to dhcp doesn't seem to help, I get lots of ...
4
votes
3answers
5k views

Static DNS with DHCP on Raspbian

Is it possible to get an IP address over DHCP but force a DNS server instead of using the ones from the DHCP? I should be able to do so with a static IP addresses, but I would like to know how to do ...
4
votes
2answers
279 views

Having problems with RPi and DHCP

I have my RPi running connected to a Windows 7 machine with a crossover cable - that W7 machine itself is connected to the internet (DSL) via WiFi. Originally I simply configured Internet Connection ...
2
votes
4answers
1k views

RaspPI/Debian Wheezy obtaining fixed IP address from DHCP server

I've got a Netgear router which is acting as a DHCP server. There I've configured the MAC address of my RaspPI for obtaining a reserved/fixed IP address. Unfortunately when booting the RaspPI no IP ...
4
votes
5answers
17k views

Cannot connect to internet - No DHCPOFFERS recieved

I have used ethernet cable to connect to a modem for internet connection to my raspberry pi. I am getting error messages when trying to open a page. when i tried sudo ifup eth0 i got this error ...
7
votes
3answers
4k views

Alter dhclient to retry fetching IP address

It turns out raspberry pi doesn't try very hard to get an IP address with dhcp, during a power failure, my rpi booted faster than the dhcp server, and never got an IP address. In such a situation, the ...