Questions tagged [dhclient]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
46 views

How can I serve DHCP requests to physical machines that are connected to the physical adapter of my host?

I have a problem with DHCP server inside a VLAN. So my configuration is this: enp0s9 is a bridged adapter with static IP address of 192.168.100.1/24 enp0s9.102 is a VLAN I created and it contains DHCP ...
0
votes
0answers
67 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
34 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
12 views

avahi ip getting assigned automatically

when i am using dhclient to connect to internet using Wifi, sometimes avahi ip of 169.254 series is getting assigned and as a result there is no internet. Can someone guide as to how this issue can be ...
0
votes
0answers
14 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 ...
0
votes
0answers
52 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 ...
3
votes
1answer
2k 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
40 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
170 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
49 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
494 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 ...
0
votes
1answer
322 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
134 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
332 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
249 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
291 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
414 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
186 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
233 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
321 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 ...
3
votes
1answer
6k 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
518 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
134 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
107 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
12 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
321 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
28 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
4k 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 ...
0
votes
1answer
844 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 ...
2
votes
1answer
2k 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
1k 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
408 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
1k 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
731 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
1k 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
5k 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
5k 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
247 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
3k 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 ...
8
votes
4answers
29k views

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

Can I force dhclient to use the client identifier from /etc/network/interfaces

I'm using Ubuntu 12.04 LTS with isc dhclient version 4.1. My goal is to use DHCP to get IP addresses for multiple sub-interfaces on eth0. I have three stanzas configured for that in my /etc/network/...
0
votes
2answers
2k views

How to force dhcp client to allow a self defined domain name

I'm configuring a 14.04 lts server without network manager installed. I set in /etc/dhcp/dhclient.conf: send host-name "os-vps276.projet-okinawa.org"; supersede domain-name "projet-okinawa.org"; I ...
1
vote
1answer
1k views

DHCP IP address changes automatically

My Dell precision M4800, running Ubuntu 14.04 LTS, periodically changes its IP address. It looks like the DHCP lease expires and for some reason it gets a new IP adress instead of renewing the old ...
1
vote
0answers
525 views

ubuntu 14.04 LTS change dhclient lease file location

I cannot find how to change dhclient lease file location. By default (and currently) it is in /var/lib/dhcp, but I want this file to go to another place. I did ps ax | grep dhclient and got this ...
2
votes
0answers
562 views

How do I configure DHCP client to use the “routers” option as well as the “rfc3442-classless-static-routes” option?

The DHCP server on my network sends the following options: option routers n.n.n.n; option rfc3442-classless-static-routes ...; But the DHCP server is (incorrectly?) configured to send the actual ...