Questions tagged [dhclient]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
132 views

No network from minimum net install

I did a minimum net install, but my new system is not starting the network automatically -- No IP address with my eth0 device. I installed dhclient package myself but that doesn't help. I thought it ...
0
votes
0answers
16 views

nic interface not enabled by defult on vm on boot

I have headless ubuntu running on vm, not sure what changed recently but vdi images from osboxes.org if installed in vm do not have nic interface enabled. now I have figured out the interface using ...
1
vote
2answers
94 views

Dual Boot computer can reach sites under Windows, but not under Ubuntu

I have a dual boot system: Win-10, and Ubuntu 20.04. Under Windows, I can ping and get web service from everywhere. Under Ubuntu, I get response from some site, but not others. I boiled the problem ...
0
votes
1answer
265 views

I have to run command 'sudo dhclient' after every restart or disconnecting from wifi

I'm new to ubuntu. After installing a VPN, my internet stopped working. I searched for solutions over the internet. After a lot of trial and error, I figured that my internet started working once I ...
0
votes
0answers
59 views

Why do I have dhclient running in the background on Ubuntu 18.04 but not on 20.04?

I have two machines on the same local network, one running Ubuntu 18.04 the other Ubuntu 20.04. I noticed that the Ubuntu 18.04 machine has a dhclient process in ps -e but the Ubuntu 20.04 machine ...
1
vote
2answers
607 views

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 ...
0
votes
0answers
26 views

Why is my LAN and DHCP conf "not a private class subnet"?

I am maintaining a gateway server with a small LAN & wifi which acts as a firewall, backup server, broadband gateway, media server etc. It was getting overcomplicated with Bind9 so I just de-...
0
votes
2answers
731 views

Netplan dhcp not working. 2 minute startup delay Ubuntu 18.04+

I've seen a lot of this question, with no clear and ideal answer, so I am asking it myself. Ever since Ubuntu 18.04.3 (I think it was .3 that started it) through at least 20.04.1, I've been seeing a 2-...
0
votes
0answers
365 views

dhclient doesn't renew lease when NTP syncs the time backwards

# uptime -s 2020-10-31 15:24:21 # head -1 /var/log/syslog Oct 31 15:50:53 ... OBSERVATION: uptime is before the 1st timestamp in syslog DHCP IP IS GOT at 15:51 Oct 31 15:51:34 dhclient[841]: ...
0
votes
0answers
56 views

notify-send not working in dhclient dispatcher script

I am detecting IP assigned by dhclient and trying to show it using notify-send. I have made a script and placed it in /etc/dhcp/dhclient-exit-hooks.d. Content of the script is as below #!/bin/bash ...
0
votes
0answers
35 views

Assigning Private IP without dhclient

I am making custom python tkinter wifi application for ubuntu 18.04. I am using dhclient to assign IP once Wpa_supplicant has established connection. Sometimes, dhclient is taking time to assign ...
2
votes
1answer
293 views

eduroam randomly drops connection

As the title says, when on eduroam my internet connection drops after some time (usually after a couple of minutes when I have a lot of traffic, e.g. zoom meetings, when there is less traffic it might ...
4
votes
1answer
4k views

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-...
0
votes
0answers
62 views

Needing to release dhclient every startup

Every startup I need to run dhclient -r wlp4s0 dhclient wlp4s0 To get my wifi to work properly. Otherwise my wifi is connected but does not stream data. I am wondering what is going on exactly and ...
0
votes
1answer
816 views

Prevent DHCP overriding NTP configuration

How can Ubuntu 16.04 LTS be forced to use the manually configured list of NTP servers in /etc/ntp.conf even if DHCP tries to provide a different one? On Ubuntu 16.04 LTS (and probably all later ...
1
vote
0answers
138 views

dhclient disconnects after few seconds

I have been fighting with the interface of my ubuntu 16 lts server to connect to a wifi on startup. Currently I connect using wpa_supplicant and dhclient. If I do both manually, I get connected ...
1
vote
0answers
947 views

19.10 Ubuntu “Temporary failure in name resolution” Suddenly!

An Ubuntu 19.10 machine has been experiencing sudden loss of network connectivity. It is on the same network as several Windows and Mac systems which never experience these network problems. When the ...
1
vote
1answer
870 views

hostname is not set from DHCP server

I am using netplan to configure my wired interface via DHCP: network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes dhcp6: no I uninstalled dhclient and installed ...
2
votes
0answers
170 views

Use Same DNS Server (IPv6) for All Connections

I want to oblige a single computer to only use specific DNS servers, for all network connections, including new ones, and be sure that only these DNS servers will be used. I've found a solution by @...
0
votes
1answer
590 views

How to change route table and activate it on ubuntu 18.04?

I am going to use the softether vpn client on Ubuntu 18.04. The vpn connection has been successfully connected. However, the web page will not load. So I added a route table. sudo ip route 173.21.42....
2
votes
0answers
297 views

18.04 ignoring dhcp provided domain-name for name lookups during install

Brace for some pictures.. I'm installing "ubuntu server" using ipxe and I noticed that none of my short names work but the Fully Qaulified Domain Names (FQDN) do; the exact image being installed is as ...
0
votes
3answers
646 views

Renewing DHCP lease without losing static IPs? (dhclient removes static IPs)

I have this interface, with DHCP and some static IPs: $ ip addr 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether e0:d5:5e:...
0
votes
1answer
641 views

dhclient does not send DHCPv6 Solicit message on disconnect/connect, keeps old lease

Network background: Connecting to an IPv4/IPv6 native dual-stack network on a campus with multiple VLAN's and network segments. Using only stateful DHCPv6 with no SLAAC permitted. When disconnecting ...
1
vote
0answers
226 views

Why is /run/systemd/resolved.conf.d/isc-dhcp-v4-eno1.conf wrong?

Yesterday i updated Ubuntu 18.10, but after poweroff/poweron the DNS was wrong, so that routing worked, e. g. ping 8.8.8.8, but not name resolving. So i overwrote the resolving files, e. g. /etc/...
0
votes
1answer
346 views

On 16.04, ifconfig-style interface-alias is lost when dhclient fails to get a lease

I have a lot of machines (both old ubuntu14.04 as well as newer ubuntu16.04) that have their integrated ethernet configured like this: /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet ...
1
vote
0answers
325 views

No network connection after upgrading Ubuntu to 18.04 from 16.04

I have been trying to find a solution to my issue for three days now. Since the upgrade to 18.04, I cannot access the network, neither through cable nor WiFi. I've tried different solutions from ...
5
votes
1answer
8k views

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: ...
0
votes
1answer
553 views

DHCP Discover ethernet frame check sequence incorrect

I did apt dist-upgrade on Ubuntu 18.04 LTS. After that I have broken dhclient. I can't get ip address from my ISP DHCP server. However Ubuntu gets IP from my dlink router. Static configuration works ...
0
votes
0answers
157 views

force system to not get new IP from dhcp

I have a VM running Ubuntu that usually after restart it will get a new IP from dhcp, even though the lease is not expired. For other distros like centos, the VM will keep the same IP after a VM ...
0
votes
0answers
151 views

no IP address for certain MAC

Please assist- I have a wifi radio that will not obtain an IP via DHCP. Basically, a DISCOVER packet is sent to the DHCP server, the DHCP server receives the packet, then responds with an OFFER but ...
1
vote
0answers
13 views

How to get interface GETWAY with two WANs

I have 2 ISP connetions, first ISP use mac binding, second use PPPoE /etc/network/interfaces auto lo auto lan allow-hotplug gembird-white allow-hotplug gembird-black iface lo inet loopback iface ...
1
vote
0answers
463 views

How do I get Ubuntu 16.04 to generate a type 3 DUID instead of a Type 1 DUID?

I'm trying to get IPv6 set up on a client (no GUI) using DHCPv6. It appears that Ubuntu by default configures dhclient to generate a Type 1 DUID (LLT) - an ID based on the mac address and the time of ...
0
votes
0answers
29 views

DHCP not affected or updated by link change

My expectations are that when I swap the network cable dhclient will do a dance to either confirm the lease it has or discover a new address if the existing lease is not valid. However, When I swap ...
2
votes
2answers
5k views

Ubuntu 18.04 unable to reach DNS after upgrade

I recently upgrade my Ubuntu Virtual Machine (VirtualBox 5.2.8) from ubuntu 16.04 to 18.04 using do-release-upgrade -d. There were lots of issues during the upgrade. I kept having to restart/resume ...
1
vote
1answer
972 views

Getting DHCP address in virtual machine with ubuntu 14.04 fails

I run Linux 14.04 in a virtual machine istalled on windows 10. I don't get an IP address in VM Linux (Windows ok). I see that ubunt looks on a wrong DHCP server address (I guess the variable is ...
5
votes
1answer
3k views

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 ...
2
votes
1answer
2k views

How to add specific option to DHCP request of Ubuntu

I added the following lines to my /etc/dhcp/dhclient.cong option option125 code 125 = string; option option125 0D:E9:19:01:06:31:32:33:34:35:36:02:0a:31:32:33:34:35:36:37:38:39:61:03:03:61:62:63 ...
2
votes
0answers
434 views

DVR cleint software for Ubuntu?

My DVR is working for windows based Client software but I would like to use Ubuntu base client software to record the videos and images. Can anyone suggest me the suitable software for DVR client ...
3
votes
0answers
2k views

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 ...
0
votes
1answer
895 views

How can I use "udhcpc" with "avahi-autoipd"?

I need the link local address to be acquired by the avahi-autoipd daemon, when the dhcp server goes out of network. How can I do this?
1
vote
0answers
2k views

dhclient wlan0 gets stuck

I setted the password/ssid using sudo iwconfig wlan0 essid *ssid* key *password* without any errors, but then when I try using sudo dhclient wlan0 it goes forever and never stops. I tried using sudo ...
1
vote
1answer
1k views

vpn conflict with dhclient on Ubuntu 16.04

I'm trying to keep a VPN connection to the internet running on my Ubuntu desktop all the time. I'm finding that when dhclient runs periodically, presumably to renew my DHCP lease, things go poorly and ...
2
votes
0answers
2k views

Ubuntu 16.04.2: Excessive DHCPDISCOVER in syslog

I have an Ubuntu 16.04.2 server with 5 network interfaces (eth0-eth4). The server started with 4 static interfaces. ETH0,2 = WANs (with static public ips) ETH3 = WAN (with static private ip) ETH1 = ...
1
vote
1answer
6k views

How do I make `ifup wlan0` return immediately if no dhcp lease can be obtained?

I have a small wireless embedded system based on Ubuntu 16.04. If the wireless interface is improperly configured or the access point is down, ifup wlan0 will never finish because dhclient doesn't ...
1
vote
1answer
6k views

Processes NetworkManager, wpa_supplicant, dhclient immediately respawn when I try to kill them [duplicate]

After I try to kill a process (speaking of NetworkManager, wpa_supplicant, dhclient) like this kill -9 PID (also tried -1 and -15), it reruns automatically... How can I kill it and prevent it from ...
0
votes
1answer
1k views

Prevent Network Manager from using modified dhclient.conf file in Ubuntu 16.04 LTS

I use Ubuntu 16.04.1 LTS. Dhclient conf file is at /etc/dhcp/dhclient.conf . Everytime I connect to wifi (saved or new hotspot), Network Manager (NM) creates a conf file at /var/lib/NetworkManager/...
0
votes
1answer
4k views

How to disable dhclient completely in Ubuntu 16.04 LTS without disabling or uninstalling network manager? [duplicate]

I am so frustrated that there seems to be no solution. I want to use dhcpcd instead of dhclient. How to disable dhclient? I want to use dhcpcd with network manager. Dhclient should not start on boot, ...
0
votes
1answer
256 views

How to configure dhcp to always assign from the lowest unused ip?

I had a problem with vms that lose their previous ip after system restart, so after some time it will go from x.x.x.128 to x.x.x.136 etc. Short of switching to static ip, I had to resort to resetting ...
0
votes
1answer
4k views

How to raise failed network interfaces after upgrade to Ubuntu 16.04

I am running a remote server a VPS, all was well, Upgraded to Ubuntu 16.04 and immediately my ssh (putty) stopped allowing me access, it just can't find server, cannot ping... it says network ...
1
vote
1answer
4k views

Failed to send 300 byte long packet over wlan2 interface

Recently my syslog is getting flooded with these messages, every couple of seconds: Aug 13 16:02:15 lati dhclient: DHCPDISCOVER on wlan2 to 255.255.255.255 port 67 interval 15 (xid=0x204c0015) Aug 13 ...