LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2016, 04:48 PM   #1
genogebot
Member
 
Registered: Jun 2010
Location: Brisbane, Australia
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146

Rep: Reputation: 20
dhclient log spam and the mythical README


I'm running multiple computers on the same network, each with an Ubuntu 16.04 derivative distro.

Every desktop installation - but not my Ubuntu 16.04 server - produces a lot of log spam from dhclient and I haven't been able to work out how to fix it.

The log entries refer to a README file that I haven't been able to find anywhere in my systems.

The network on each system works without any problem, so I'm starting to think dhclient is buggy, perhaps trying to access the network before it's up, but I could be wrong about that. I've recently switched from NetworkManager to wicd, but the log spam occurred before that.

Xubuntu 16.04.1 desktop pc using wired network (via 'journalctl -b | grep dhclient'):
Code:
Oct 12 05:52:25 phil-desktop dhclient[1436]: Internet Systems Consortium DHCP Client 4.3.3
Oct 12 05:52:25 phil-desktop dhclient[1436]: Copyright 2004-2015 Internet Systems Consortium.
Oct 12 05:52:25 phil-desktop dhclient[1436]: All rights reserved.
Oct 12 05:52:25 phil-desktop dhclient[1436]: For info, please visit https://www.isc.org/software/dhcp/
Oct 12 05:52:25 phil-desktop dhclient[1436]: 
Oct 12 05:52:25 phil-desktop dhclient[1436]: Listening on LPF/p3p1/74:d4:35:ea:07:41
Oct 12 05:52:25 phil-desktop dhclient[1436]: Sending on   LPF/p3p1/74:d4:35:ea:07:41
Oct 12 05:52:25 phil-desktop dhclient[1436]: Sending on   Socket/fallback
Oct 12 05:52:25 phil-desktop dhclient[1436]: DHCPRELEASE on p3p1 to 192.168.0.1 port 67 (xid=0x34e78dd3)
Oct 12 05:52:25 phil-desktop dhclient[1436]: send_packet: Network is unreachable
Oct 12 05:52:25 phil-desktop dhclient[1436]: send_packet: please consult README file regarding broadcast address.
Oct 12 05:52:25 phil-desktop dhclient[1436]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
Oct 12 05:52:25 phil-desktop root[1460]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
Oct 12 05:52:25 phil-desktop dhclient[1493]: Internet Systems Consortium DHCP Client 4.3.3
Oct 12 05:52:25 phil-desktop dhclient[1493]: Copyright 2004-2015 Internet Systems Consortium.
Oct 12 05:52:25 phil-desktop dhclient[1493]: All rights reserved.
Oct 12 05:52:25 phil-desktop dhclient[1493]: For info, please visit https://www.isc.org/software/dhcp/
Oct 12 05:52:25 phil-desktop dhclient[1493]: 
Oct 12 05:52:25 phil-desktop dhclient[1493]: Listening on LPF/p3p1/74:d4:35:ea:07:41
Oct 12 05:52:25 phil-desktop dhclient[1493]: Sending on   LPF/p3p1/74:d4:35:ea:07:41
Oct 12 05:52:25 phil-desktop dhclient[1493]: Sending on   Socket/fallback
Oct 12 05:52:25 phil-desktop dhclient[1493]: DHCPRELEASE on p3p1 to 192.168.0.1 port 67 (xid=0x6b8f9c61)
Oct 12 05:52:25 phil-desktop dhclient[1493]: send_packet: Network is unreachable
Oct 12 05:52:25 phil-desktop dhclient[1493]: send_packet: please consult README file regarding broadcast address.
Oct 12 05:52:25 phil-desktop dhclient[1493]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
Oct 12 05:52:25 phil-desktop root[1500]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
Oct 12 05:52:27 phil-desktop dhclient[1520]: Internet Systems Consortium DHCP Client 4.3.3
Oct 12 05:52:27 phil-desktop dhclient[1520]: Copyright 2004-2015 Internet Systems Consortium.
Oct 12 05:52:27 phil-desktop dhclient[1520]: All rights reserved.
Oct 12 05:52:27 phil-desktop audit[1520]: AVC apparmor="DENIED" operation="open" profile="/sbin/dhclient" name="/var/lib/wicd/dhclient.conf" pid=1520 comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Oct 12 05:52:27 phil-desktop audit[1520]: SYSCALL arch=c000003e syscall=2 success=no exit=-13 a0=7ffe51fb4f5f a1=0 a2=5594a22bd1a0 a3=5594a36ff240 items=0 ppid=1266 pid=1520 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dhclient" exe="/sbin/dhclient" key=(null)
Oct 12 05:52:27 phil-desktop dhclient[1520]: For info, please visit https://www.isc.org/software/dhcp/
Oct 12 05:52:27 phil-desktop dhclient[1520]: 
Oct 12 05:52:27 phil-desktop root[1524]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
Oct 12 05:52:28 phil-desktop dhclient[1520]: Listening on LPF/p3p1/74:d4:35:ea:07:41
Oct 12 05:52:28 phil-desktop dhclient[1520]: Sending on   LPF/p3p1/74:d4:35:ea:07:41
Oct 12 05:52:28 phil-desktop dhclient[1520]: Sending on   Socket/fallback
Oct 12 05:52:28 phil-desktop dhclient[1520]: DHCPDISCOVER on p3p1 to 255.255.255.255 port 67 interval 3 (xid=0x3066315e)
Oct 12 05:52:28 phil-desktop dhclient[1520]: DHCPREQUEST of 192.168.0.74 on p3p1 to 255.255.255.255 port 67 (xid=0x5e316630)
Oct 12 05:52:28 phil-desktop dhclient[1520]: DHCPOFFER of 192.168.0.74 from 192.168.0.1
Oct 12 05:52:28 phil-desktop dhclient[1520]: DHCPACK of 192.168.0.74 from 192.168.0.1
Oct 12 05:52:28 phil-desktop root[1530]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
Oct 12 05:52:28 phil-desktop dhclient[1520]: bound to 192.168.0.74 -- renewal in 36449 seconds.
Lubuntu 16.04.1 laptop using wifi (via 'journalctl --priority=err'):
Code:
2016-10-11T07:02:34+1000 lubunteee dhclient[952]: send_packet: Network is unreachable
2016-10-11T07:02:34+1000 lubunteee dhclient[952]: send_packet: please consult README file regarding broadcast address.
2016-10-11T07:02:34+1000 lubunteee dhclient[952]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-11T07:02:36+1000 lubunteee dhclient[989]: send_packet: Network is unreachable
2016-10-11T07:02:36+1000 lubunteee dhclient[989]: send_packet: please consult README file regarding broadcast address.
2016-10-11T07:02:36+1000 lubunteee dhclient[989]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-11T07:02:36+1000 lubunteee dhclient[1019]: send_packet: Network is unreachable
2016-10-11T07:02:36+1000 lubunteee dhclient[1019]: send_packet: please consult README file regarding broadcast address.
2016-10-11T07:02:36+1000 lubunteee dhclient[1019]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
Linux Mint 18 Mate laptop using wired network (via 'journalctl --priority=err'):
Code:
2016-10-10T08:29:39+1000 phil-tosh dhclient[1456]: send_packet: Network is unreachable
2016-10-10T08:29:39+1000 phil-tosh dhclient[1456]: send_packet: please consult README file regarding broadcast address.
2016-10-10T08:29:39+1000 phil-tosh dhclient[1456]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-10T08:29:39+1000 phil-tosh root[1460]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T08:29:39+1000 phil-tosh root[1464]: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1
2016-10-10T08:29:39+1000 phil-tosh dhclient[1495]: send_packet: Network is unreachable
2016-10-10T08:29:39+1000 phil-tosh dhclient[1495]: send_packet: please consult README file regarding broadcast address.
2016-10-10T08:29:39+1000 phil-tosh dhclient[1495]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-10T08:29:39+1000 phil-tosh root[1499]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T08:29:39+1000 phil-tosh root[1503]: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1
2016-10-10T08:29:40+1000 phil-tosh dhclient[1529]: send_packet: Network is unreachable
2016-10-10T08:29:40+1000 phil-tosh dhclient[1529]: send_packet: please consult README file regarding broadcast address.
2016-10-10T08:29:40+1000 phil-tosh dhclient[1529]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
Xubuntu 16.04.1 laptop using wifi (via 'journalctl --priority=err'):
Code:
016-10-10T14:28:52+1000 hp-laptop dhclient[1044]: send_packet: Network is unreachable
2016-10-10T14:28:52+1000 hp-laptop dhclient[1044]: send_packet: please consult README file regarding broadcast address.
2016-10-10T14:28:52+1000 hp-laptop dhclient[1044]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-10T14:28:52+1000 hp-laptop root[1053]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T14:28:53+1000 hp-laptop dhclient[1084]: send_packet: Network is unreachable
2016-10-10T14:28:53+1000 hp-laptop dhclient[1084]: send_packet: please consult README file regarding broadcast address.
2016-10-10T14:28:53+1000 hp-laptop dhclient[1084]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-10T14:28:53+1000 hp-laptop root[1088]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T14:28:53+1000 hp-laptop dhclient[1116]: send_packet: Network is unreachable
2016-10-10T14:28:53+1000 hp-laptop dhclient[1116]: send_packet: please consult README file regarding broadcast address.
2016-10-10T14:28:53+1000 hp-laptop dhclient[1116]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
2016-10-10T14:28:53+1000 hp-laptop root[1120]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T14:28:59+1000 hp-laptop root[1273]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T14:28:59+1000 hp-laptop root[1279]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T22:07:43+1000 hp-laptop root[20401]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
2016-10-10T22:07:44+1000 hp-laptop dhclient[20455]: send_packet: Network is unreachable
2016-10-10T22:07:44+1000 hp-laptop dhclient[20455]: send_packet: please consult README file regarding broadcast address.
2016-10-10T22:07:44+1000 hp-laptop dhclient[20455]: dhclient.c:2474: Failed to send 300 byte long packet over fallback interface.
Any pointers appreciated.

Last edited by genogebot; 10-11-2016 at 06:16 PM.
 
Old 10-11-2016, 07:41 PM   #2
genogebot
Member
 
Registered: Jun 2010
Location: Brisbane, Australia
Distribution: Xubuntu 16.04.1 / Linux Mint 18 XFCE / Linux Mint 18 Mate / Ubuntu Server 16.04.1 / Lubuntu 16.04.1
Posts: 146

Original Poster
Rep: Reputation: 20
Ok, I think I solved it...

I think I may have worked it out.

I tried manually adding an entry for the ethernet interface 'p3p1' in /etc/network/interfaces on the 'phil-desktop' Xubuntu 16.04.1 desktop pc, and now I don't get the dhclient errors.

/etc/network/interfaces:
Code:
auto lo
iface lo inet loopback

auto p3p1
iface p3p1 inet dhcp
Presumably that's what the 'fallback interface' referred to in the log errors, but extensive searching failed to find any documentation about it one way or the other, so that's just a guess. Anyway, I'll mark this as solved for now, even though the same obviously won't work for wifi-only connections unless the SSID and WPA details are included. Apparently dhclient is still living in the past when ethernet was the only interface.

Last edited by genogebot; 10-11-2016 at 08:07 PM.
 
Old 10-12-2016, 06:44 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Good job and well done!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhclient: execve (/sbin/dhclient-script, ...): Exec format error RandomTroll Linux - Networking 2 10-11-2015 09:01 PM
reason for multiple dhclient leases in /var/lib/dhclient/dhclient.leases psycroptic Linux - Networking 1 04-23-2014 09:24 AM
/var/log/messages FULL w/ dhclient entries itsecx@gmail.com Linux - Networking 2 08-26-2010 07:52 AM
LXer: The Late Great Mythical SCO LXer Syndicated Linux News 0 08-29-2009 08:30 PM
libxv1? Where can I get this mythical beast of a library? ravalox Linux - Software 2 05-13-2004 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration