DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

0
votes
1answer
13 views

Can't connect to home WiFi - DHCP problem?

I am using wicd for wifi connections. Everything worked fine, but now I suddenly can't connect to my home network anymore. While troubleshooting I tried to set up a hotspot from my Smartphone which ...
2
votes
1answer
2k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
2
votes
0answers
22 views

avahi-daemon withdraws IP address from my network interface

I am running an Arch Linux server in my local network. It has avahi-daemon running on it to advertise some services (like a print server). It has happened for the second time now that my server was ...
1
vote
2answers
4k views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
1
vote
2answers
26 views

How to reinstall dhcpcd without internet connection

I deleted dhcpcd off my arch install without realizing it was the IP provider for wireless. I need to get it re-installed, but I have no internet connection. I deleted the unused cache files with ...
0
votes
2answers
14 views

Is a subnet required for a dhcp.conf?

I am setting up my dhcp.conf file for my dhcp server. All documentation says you 'can' define subnetworks but I have not seen and example without them. Definitions of a subnetwork say they are a ...
0
votes
0answers
19 views

LXC ip allocation using DHCP

I'm trying to set up DHCP for my lxcontainers without using lxc-net. The reason for this decision is that I'd like to place my containers in different networks, such that they are unable to talk to ...
0
votes
0answers
14 views

increasing lease-time on dhclient.conf in Debian

This is the default dhclient.conf in Debian testing and which is running on my system too - [$] cat dhclient.conf ...
2
votes
2answers
1k views

PXE boot chaining to hardcoded TFTP server?

My existing network environment provides the following: DHCP server that sends PXE clients to a particular TFTP server TFTP server with SYSLINUX "pxelinux.0" file for booting The SYSLINUX ...
3
votes
2answers
1k views

Keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose its dynamic IP address. When this happens, if I check on the status of the dhcpcd service, it says ...
0
votes
0answers
1k views

Cannot get IP address from WiFi access point (hostapd) with DHCP (dnsmasq) bridged with two ethernet adapters (bridge-utils)

My Android phone is trying to get DHCP address through WiFi connection, but fails. Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let ...
0
votes
1answer
26 views

dhclient enter/exit hooks to update resolv.conf

I would want to append the below line to resolv.conf of all servers in our aws env and make sure it doesn't get overwritten options timeout:1 attempts:1 rotate I came across dhclient enter and exit ...
1
vote
1answer
779 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
1
vote
1answer
711 views

Auto-population of /etc/resolv.conf not working?

I am using Raspbian with a static setup in /etc/network/interfaces. I have read from multiple credible sources that the /etc/resolv.conf file is populated by other software on the system, commonly ...
3
votes
1answer
31 views

Network Manager does not handle switching between networks by default

I have to transition between different networks quite often using a laptop and various docking stations. If I remove my laptop from a certain network and place it again on the same network then no ...
0
votes
1answer
45 views

Unable to resolve hostname for Redhat Linux server

I've setup a Linux RedHat server and would like to use it by referring to its hostname instead of the static IP. eg. ssh admin@myhostname.blah.di.blah, instead of ssh admin@XX.XXX.XX.XXX but I get a ...
0
votes
0answers
73 views

How to auto-renew IP from DHCP if IP is lost or changed?

I have a Synology DS1515+ fileserver running "BusyBox v1.16.1 (2015-10-28 13:23:20 CST) built-in shell (ash)", stripped down from commands. Machine is running Linux 3.10.35 #5644 SMP Tue Dec 1 ...
2
votes
1answer
30 views

static ip adress for remote administrating distant home computer via ssh?

i've set up the pc of my grandmother with debian and dhcp. I have to administrate that pc, so the best option is obviously ssh. The problem with that is just dhcp changes obviously the ip adress from ...
1
vote
1answer
99 views

Why are routes set in /etc/network/interfaces not added when the interface comes up?

Here is my interfaces file: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth0:0 iface eth0:0 inet static address 10.20.8.231 netmask 255.255.255.0 ...
1
vote
0answers
48 views

When no dhcp server answer, how can I force dhclient to use the static lease from dhclient.conf instead of a previous dhcp lease?

I have a piece of equipment I would like to default to a specific IP address when no dhcp servers are available. I have set the following static lease in /etc/dhcp/dhclient.conf: timeout 30; lease ...
2
votes
3answers
13k views

Unable to set hostname for use within network

I am having a lot of trouble setting up a hostname for my home server for use within my home network. My home server is running Ubuntu 12.04 LTS and all packages are up to date. Management of this ...
3
votes
3answers
15k views

dhcpd: any way to check dhcp pool status?

Once dhcpd (IPv4) is started, is there any way to check its internal pool status? e.g how many addresses are available? I checked man(8) dhcpd, there's no signals/files available for that info.
3
votes
1answer
33 views

Two Virtualbox systems with same IP address

I need to test an issue with nfs so I spun up a couple of VirtualBox VM's on my system. One is RHEL7, another CentOS7. Each has a unique MAC address when viewing settings> network. Both VM's boot ...
2
votes
1answer
62 views

How to set static DNS with dhclient while resolv.conf keeps getting overwritten?

Following the Debian NetworkConfiguration wiki, I've been trying to setup static OpenNIC DNS with no success. The first thing I tried was directly editing /etc/resolv.conf, but it keeps getting ...
1
vote
0answers
38 views

NFS over TCP not available from (My server ip) - network is unreachable & permission denied

I am trying to boot linux mint from a server I set up in virtualbox. Server is running in linux mint, and the client that I'm testing on (also virtualbox) is disk-less and booting over network. After ...
8
votes
3answers
34k views

Command to list assigned dhcp addresses

Is there a command I can use to ask the dhcpd server which addresses have been assigned?
3
votes
2answers
1k views

configure dhcp client without accepting nameserver entries

I am trying to configre my openSuSE 12.1 machine as DHCP client, but especially do not want it to set the name server entries to /etc/resolv.conf it has got from DHCP server. Can I do it on the ...
0
votes
0answers
20 views

dhclient equivalence of 'dhcpcd -NYRG' command

In dhcpcd, there are options -NYRG that prevent from replacing existing /etc/resolv.conf, /etc/yp.conf,/etc/ntp.conf files and from installing default routes. I would like to request if anyone knows ...
1
vote
1answer
37 views

DNSMASQ on Ubuntu in VM not offering leases to client

I have Ubuntu running in VMWare workstation 12. I have a USB ethernet adapter which appears as eth1, and is statically assigned 192.168.0.10 My dnsmasq.conf is: port=0 domain-needed bogus-priv ...
1
vote
1answer
105 views

Can I use PXE without DHCP by just manually specifying a static IP?

I want to try doing a PXE install for the first time. Every single tutorial I've read seem to indicate it requires a DHCP server configured to point to the TFTP server with the boot image. I don't ...
2
votes
2answers
72 views

How to configure raspberry to get a static IP without auto assigning a DHCP IP?

I have a raspberry PI in a network where all clients get a DHCP IP address assigned automatically. DHCP-IPs are "192.168.0.X" with subnet mask "255.255.255.0" But for my raspberry (and other devices) ...
0
votes
1answer
27 views

Getting DHCP hostname

I am currently setting up Debian Wheezy on a system and network autoconfigure fails and asked to retry with a DHCP hostname. I have another system (also running Debian Wheezy) hooked up to the same ...
2
votes
1answer
47 views

Using ifplugd with a dhcp server

I have a desktop and a laptop each with a wireless and wired (eth0) network adapter running Arch Linux. The wireless network(s) that I am on prevents the laptop from seeing the desktop. What I would ...
14
votes
2answers
810 views

Host name changed remotely by wifi?

Am am currently visiting TU Wien and today I connected my Debian Linux laptop to their eduroam wlan using wpa_supplicant and the credentials of my home institute - as always when I am visiting another ...
3
votes
1answer
84 views

How to fix “deauthentication by local choice”?

I built an embedded Linux using Buildroot and I have some trouble to stay connected to my AP. Cannot get an IP address more than once. I use wpa_supplicant to connect to my AP using WPA2-PSK. It ...
1
vote
2answers
47 views

Ethernet with DHCP not working

I'm trying to get internet on my beaglebone black with ubuntu, but it won't work. My /etc/network/interfaces file has: auto eth0 iface eth0 inet dhcp in it. Should I use static IP or something? ...
1
vote
0answers
18 views

ISC DHCP Server - Qemu system

I've been trying to get dhcp address by an ISC Server. I have one DHCP Server and one qemu server with multiple image tiny core. Hopefully this ascii drawing illustrates the topology: Over the qemu ...
2
votes
1answer
55 views

dnsmasq - different subnet by wifi SSID - how?

I'm using dnsmasq on an ubuntu 14.04 server as my DHCP and DNS servers on my LAN. This device has only 1 ethernet NIC. I want to setup a wireless Access Point with multiple SSID's. The wifi AP and ...
4
votes
1answer
41 views

Full Disk Decryption via DHCP

I would like to implement full disk encryption on all clients. But to avoid having people to enter the FDE access code when they boot, I am wondering if the access code can be distributed by DHCP or ...
2
votes
1answer
39 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
0
votes
1answer
50 views

dhcpcd failed to start

I installed Archlinux before 2 or 3 days. The weird internet connection was working fine until today, the dhcpcd fail to start. When I type systemctl status dhcpcd@eno1.service it says timed out, ...
5
votes
2answers
530 views

How to send an alert if the DHCP range is exceeded, using shell script?

I've installed and configured a DHCP server on CentOS 6.5. I've also added a subnet to the dhcpd.conf file as follows: subnet 192.168.1.0 netmask 255.255.255.0 { option domain-name-servers ...
1
vote
1answer
237 views

need assistance with dhcpd.conf understanding

How can I interpret the following: class "blade-1-01-1" { match if substring (option dhcp-client-identifier, 9, 1) = 01 and substring (option dhcp-client-identifier, ...
0
votes
0answers
53 views

Access point doesn't give IP address after DHCP request

I'm trying to follow the instructions in this page: How do I create a WiFi hotspot sharing wireless internet connection (single adapter)? Almost everything works fine, but my dhcp server doesn't ...
7
votes
2answers
22k views

How to auto generate resolv.conf on Centos 6.5

I just installed CentOS 6.5 and configured the following files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=aa:bb:dd:dd:ee:ff TYPE=Ethernet UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97 ...
0
votes
1answer
160 views

On switching from NAT to bridge, have network issues in kali 2.0

Found few similar questions but none of them are answered so re-asking a similar question. I have a vmware 12, have kali 2.0 latest installed. First I try on NAT it works great but when i switch to ...
1
vote
0answers
71 views

How to trigger dhcp4-change using nmcli?

I am working on a networking script which will do certain things, e.g., interface up/down/dhcp4-change events happen. I also need to generate these events through Network manager, not through ...
3
votes
2answers
2k views

dhcpcd can't startup at boot

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive dhcpcd@eth0.service loaded ...
0
votes
2answers
375 views

DHCP and read-only root filesystem

When doing ifup wlan0 on a system with / mounted as read-only (embedded computer), I get this error: Failed to connect to non-global ctrl_ifname: wlan0 error: Read-only file system Internet Systems ...
0
votes
0answers
5 views

reset of a ubiquiti networks power ap - no love

Had to reset our ubnt power ap. It's on fiber, and should pull ip via dhcp. no pppoe weirdness here. even so, it cannot grab an ip. all cables are connected. tried mtu 1500 and 1492. I have ssh access ...