Questions tagged [dhclient]

89 questions
22
votes
3 answers

How can I reload dhclient without restarting network?

I am using ubuntu 14.04 on ec2 instance, I am changing dhcp settings as part of the provisioning process, and I cant find a way to reload the dhclient. Infact, theres no way to restart network on 14.04 cloud instances. Any suggestions?
Ranjib
  • 321
  • 1
  • 2
  • 4
9
votes
5 answers

ifup cannot bring up eth0 after upgrading to 16.04

I've upgraded my server from 14.04 to 16.04. I can see following error on syslog: ifup[478]: Internet Systems Consortium DHCP Client 4.2.4 ifup[478]: Copyright 2004-2012 Internet Systems Consortium. ifup[478]: All rights reserved. ifup[478]: For…
9
votes
5 answers

Why is dhclient saying: "SIOCSIFADDR: Permission denied"?

I have encountered a very weird error on ubuntu-server (8.04), I have no idea why dhclient is not allowed to set the network settings! I'm not the one who installed the server in the first place, so i don't know much about the setup. The server is…
8
votes
1 answer

How do I turn off avahi-daemon on boot?

I just switched from Windows 8 to Ubuntu 13.04. I installed UFW GUI interface for the firewall. In the listening report it shows the something called dhclient and avahi-daemon running in a few ports. I google both, but could not find a clear answer…
7
votes
2 answers

Ubuntu Server 22.04 LTS no DHCP on startup

I am wondering if there has been a regression with Ubuntu. Back when 18.04.3 came out, I noticed that my VM-based Ubuntu servers would no longer be able to get DHCP addresses from my Windows DHCP servers. I posted about it here. 21.10 seemed to…
5
votes
1 answer

Apparmor denies several processes since a kernel change

I happened to encounter a very weird problem. I'm running Ubuntu 17.10 in development mode since around April, and ever since I have been trying to stay on the latest kernel RC to avoid nasty problems with suspend and GPU that I've had on my Dell…
5
votes
2 answers

Why does apparmor kill dhclient?

I successfully upgraded my KVM server to 20.04.1 LTS but when later trying to access it by ssh, there were no network route to the server, while the VMs still were happily running just great. Logging in to the console, I discovered the bridge had…
lnappa
  • 151
5
votes
1 answer

Does Ubuntu 18.04 use dhclient?

I'm trying to figure out how to configure my DHCP client on Ubuntu server 18.04. I have the following netplan configuration, coming from cloud-init: network: version: 2 ethernets: ens160: dhcp4: true match: …
pzakha
  • 121
4
votes
2 answers

Can't get ipv6 address using dhcp

I can get the ipv4 address using dhcp,But can't get the ipv6 address. the dhcp server also support the ipv6 service. ifconfig eth0 eth0 Link encap:Ethernet HWaddr: 00:21:85:d3:a3:36 inet addr:10.16.31.183 broadcast:10.16.31.255 …
kit.yang
  • 2,182
4
votes
1 answer

Regenerate resolv.conf from dhclient.conf without releasing/renewing IP?

When I make changes to dhclient.conf such as modifying the DNS search path (so that the changes don't get lost on reboot or DHCP renews), how do I regenerate /etc/resolv.conf? That page suggests dhclient -r; dhclient which releases the address, thus…
xyzzyrz
  • 896
4
votes
2 answers

How to force dhclient to run?

I usually run with eth0 config'd statically from info in /etc/network/interfaces, but sometimes need to use a dhcp acquired config. Running dhclient just tells me it's now an upstart job and suggests running reload, but reload dhclient responds…
4
votes
2 answers

How can I automate a root command after (not during) startup?

I'm using Ubuntu 12.04 LTS, but I need to run the following command: sudo dhclient after startup to acquire a stable ethernet connection. I am running dhclient during startup already, through the /etc/rc.local file. Someone please help me run this…
rofls
  • 141
4
votes
2 answers

I have to run command 'sudo dhclient' after every reboot

Since I have changed my router, on one PC I I have to run the command sudo dhclient eno1 after every reboot. I have upgraded to Xubuntu 20.04, but the problem is still present. How can I change that? Results of ifconfig -a : eno1:…
Phil
  • 81
  • 1
  • 1
  • 7
4
votes
1 answer

EOF error when running dhclient command

When I try to use dhclient vpn_vpn it shows an error as below: root@sunimali-HP-ProBook-450-G6:/home/sunimali# dhclient vpn_vpn cmp: EOF on /tmp/tmp.EnmkqhupY9 which is empty root@sunimali-HP-ProBook-450-G6:/home/sunimali# dhclient vpn_vpn RTNETLINK…
3
votes
0 answers

dhclient not renewing lease

I'm running Ubuntu 16.04.3 LTS and am having a strange problem with dhcp leases not renewing on one interface. The machine has one physical interface and two VLANs; ens3, ens3.1001 and ens3.2002. The problem occurs when the dhcp lease on ens3…
Jack
  • 31
1
2 3 4 5 6