Article 5K92D Cannot relate warnings upon running dhclient

Cannot relate warnings upon running dhclient

by
Michael Uplawski
from LinuxQuestions.org on (#5K92D)
Good afternoon.

For a long time already, dhclient gives me two warnings upon running Code:rosalind@dna:~$ sudo dhclient -dEvery run succeeds, though; therefore I have ignored the situation until now.

Here is the beginning of the output:
Code:Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

/etc/dhcp/dhclient.conf line 16: expecting a statement.

^
/etc/dhcp/dhclient.conf line 35: semicolon expected.

^
(...)And here is the *complete* configuration-file /etc/dhcp/dhclient.conf". Most of the content are the original commented sections. I highlight the two lines 16 and 35 (1 curly bracket, only) from the console-output:

Code:# Configuration file for /sbin/dhclient.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers;

#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/sbin/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

host kurti.uplawski.eu {
hardware ethernet 54:83:3A:C4:F9:84;
fixed-address 192.168.1.10;
}

#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}

#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}Needless to say, I do not see what's wrong. Do you?latest?d=yIl2AUoC8zA latest?i=lk0QDKAvgaE:MnhfqWQjVp0:F7zBnMy latest?i=lk0QDKAvgaE:MnhfqWQjVp0:V_sGLiP latest?d=qj6IDK7rITs latest?i=lk0QDKAvgaE:MnhfqWQjVp0:gIN9vFwlk0QDKAvgaE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments