You are not logged in.

#1 2013-06-26 09:08:29

Torxed
Member
Registered: 2013-01-10
Posts: 203

dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

My internet literally stoped working a couple a days ago on one of my machines.
I've done everything from calling my ISP to verify any MAC time-lock restrictions in their equipment and here's where i'm at now:

[elias@ubercool ~]$ sudo dhclient -v enp0s25
[sudo] password for elias: 
Internet Systems Consortium DHCP Client 4.2.5-P1
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

execve (/sbin/dhclient-script, ...): No such file or directory
Listening on LPF/enp0s25/00:14:0b:64:50:6e
Sending on   LPF/enp0s25/00:14:0b:64:50:6e
Sending on   Socket/fallback
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 3
receive_packet failed on enp0s25: Network is down
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on enp0s25 to 255.255.255.255 port 67 interval 13

I've also tried spoofing the MAC to one of the machines in the house that works without any success.

[elias@ubercool ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 00:14:0b:64:50:6e brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
    link/ether 00:22:43:20:9d:58 brd ff:ff:ff:ff:ff:ff

Also tried dhcpcd without any success.

Here's my dmesg:

[   10.489410] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[   10.489416] IR LIRC bridge handler initialized
[   11.185706] EXT4-fs (sda3): mounting ext3 file system using the ext4 subsystem
[   11.224691] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[   11.438810] Adding 5124696k swap on /dev/sda1.  Priority:-1 extents:1 across:5124696k 
[   15.206803] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.206816] Bluetooth: BNEP socket layer initialized
[   16.318370] Bluetooth: RFCOMM TTY layer initialized
[   16.318385] Bluetooth: RFCOMM socket layer initialized
[   16.318387] Bluetooth: RFCOMM ver 1.11
[   19.084559] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   19.187208] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   19.187561] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   19.208930] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[   20.252634] NVRM: Your system is not currently configured to drive a VGA console
[   20.252640] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[   20.252643] NVRM: requires the use of a text-mode VGA console. Use of other console
[   20.252645] NVRM: drivers including, but not limited to, vesafb, may result in
[   20.252647] NVRM: corruption and stability problems, and is not supported.
[   22.311729] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   22.311764] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[   22.494351] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   22.596799] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   22.596904] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   25.541736] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   25.541769] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[   42.141900] fuse init (API version 7.20)
[   54.474524] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   54.576806] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   54.576917] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   54.893736] systemd-journald[176]: Failed to set ACL on /var/log/journal/d1a47ba334a040298d78a1f559c8a6ca/user-1000.journal, ignoring: Invalid argument
[   56.179458] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro,commit=0
[   56.190946] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   56.293456] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   56.293553] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   56.381430] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,commit=0
[   58.575044] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   58.575083] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[   86.494458] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   86.596810] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   86.596915] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   89.435024] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   89.435061] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[   90.176935] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   90.280130] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[   90.280233] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   93.258398] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   93.258434] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[  120.488329] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[  120.590102] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[  120.590205] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[  123.491787] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[  123.491839] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[  124.184438] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[  124.286808] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[  124.286903] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[  127.215087] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[  127.215125] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[  154.480176] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[  154.583429] e1000e 0000:00:19.0: irq 46 for MSI/MSI-X
[  154.583549] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[  157.571691] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[  157.571728] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready

It's such a random issue that it droped in the middle of the day with no real reason..

http://s21.postimg.org/v2aghvmav/Screen … _17_PM.png

MOD EDIT: resize big pic

Last edited by fukawi2 (2013-06-26 11:33:22)

Offline

#2 2013-06-26 10:58:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

Torxed wrote:

execve (/sbin/dhclient-script, ...): No such file or directory

There you go.  What's calling that?  That should resolve to /usr/bin/sbin.

What does `ls -l /sbin/dhclient-script` return?  Did you complete the recent filesystem upgrade without errors.

Last edited by Trilby (2013-06-26 11:03:23)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#3 2013-06-26 11:33:47

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

Offline

#4 2013-06-26 12:20:03

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

try just

systemctl start dhcpcd

bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#5 2013-06-26 20:17:39

Torxed
Member
Registered: 2013-01-10
Posts: 203

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

Trilby wrote:
Torxed wrote:

execve (/sbin/dhclient-script, ...): No such file or directory

There you go.  What's calling that?  That should resolve to /usr/bin/sbin.

What does `ls -l /sbin/dhclient-script` return?  Did you complete the recent filesystem upgrade without errors.

[elias@ubercool ~]$ ls -l /sbin/dhclient-script
-rwxr-xr-x 1 root root 12295 May 31 15:48 /sbin/dhclient-script

And yes i've successfully updated the filesystem with out any errors, oddly enough this script is sticking to the guns and satying in /sbin/ (thought all scripts and what not moved to /usr/{sbin, bin} but i guess not?)

fukawi2 wrote:

Sorry about that, i knew there was a limit but there's so much rules to keep track of so i used "common sense" and i thought my image was at least not tremendously hughe.. but i guess that depends on what sort of connection and PC you got.

jrussell wrote:

try just

systemctl start dhcpcd

Won't do any good, considering i've already tried it (read the title and description of the issue).

Last edited by Torxed (2013-06-26 20:19:07)

Offline

#6 2013-06-26 20:23:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

Oops.  Sorry, ls -l /sbin/dhclient-script was *mostly* irrelevant.  It confirmed that it is there - which is good, but this would not indicate the symlink state as the file isn't linked, only the directory is.

It's odd that execve doesn't find it.  I have no idea why/how that could happen, but I suspect that must be the key.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#7 2013-06-26 20:36:40

Torxed
Member
Registered: 2013-01-10
Posts: 203

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

Trilby wrote:

Oops.  Sorry, ls -l /sbin/dhclient-script was *mostly* irrelevant.  It confirmed that it is there - which is good, but this would not indicate the symlink state as the file isn't linked, only the directory is.

It's odd that execve doesn't find it.  I have no idea why/how that could happen, but I suspect that must be the key.

You're probably right, i thought it just set the hostname and some other stuff but looking closer and further down the script it actually does some job so you're probably on to something.. debugging this some more and doing some "forbidden" changes to see if i get any results..

But looking on the wireshark stuff it looks like the interface doesn't even recognize any response.

Offline

#8 2013-06-26 22:03:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

Hmmm.... I don't get that error.

 sudo dhclient -v wlp3s0
Internet Systems Consortium DHCP Client 4.2.5-P1
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlp3s0/e3:d4:2d:db:93:40
Sending on   LPF/wlp3s0/e3:d4:2d:db:93:40
Sending on   Socket/fallback
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on wlp3s0 to 255.255.255.255 port 67
DHCPOFFER from 172.30.42.65
DHCPACK from 172.30.42.65
bound to 172.30.42.84 -- renewal in 38573 seconds.

It would appear that your dhcp client of choise is dhclient, which is fine.  But have you tried to use dhcpcd instead.  (BTW, I too like dhclient).

Offline

#9 2013-06-26 22:47:59

Torxed
Member
Registered: 2013-01-10
Posts: 203

Re: dhclient & dhcpcd - receive_packet failed on enp0s25: Network is down

WonderWoofy wrote:

Hmmm.... I don't get that error.

 sudo dhclient -v wlp3s0
Internet Systems Consortium DHCP Client 4.2.5-P1
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlp3s0/e3:d4:2d:db:93:40
Sending on   LPF/wlp3s0/e3:d4:2d:db:93:40
Sending on   Socket/fallback
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on wlp3s0 to 255.255.255.255 port 67
DHCPOFFER from 172.30.42.65
DHCPACK from 172.30.42.65
bound to 172.30.42.84 -- renewal in 38573 seconds.

It would appear that your dhcp client of choise is dhclient, which is fine.  But have you tried to use dhcpcd instead.  (BTW, I too like dhclient).

Hehe, it is my choice for debugging at least (it's more reliable).
As the title says, tested both dhclient & dhcpcd and they both have the same issue.

Offline

Board footer

Powered by FluxBB