Posts: 9
stroudmw
Joined: 21 Jul 2017
#1
I have just installed Antix 16.2. I selected the Stretch repos. All went well until I did an upgrade (sudo apt upgrade). Now when I boot up I get hung up on"configuring network interfaces ifup eth0 already configured ifup: waiting for lock on /run/network/ifstate.eth1"
It hangs for about 2 or 3 minutes. When the system finally starts I have no internet access (I'm typing this on my phone). Please help! Thanks.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Use ceni to set up networking again
Posts: 9
stroudmw
Joined: 21 Jul 2017
#3
Thanks, but I had already ceni, and it didn't help.
I have found a workaround: sudo /etc/init.d/networking restart gives me network (and therefore internet) access.

While booting up I now get the message:
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval *n* (this number keeps changing)
No DHCHOFFERS received

It hangs there for 2 or 3 minutes.

Then, after logging in, I do this (which also takes 2 or 3 minutes):

$ sudo /etc/init.d/networking restart
[sudo] password for mike:
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[....] Reconfiguring network interfaces...Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.isc.org/software/dhcp/"
linktext was:"https://www.isc.org/software/dhcp/"
====================================


Listening on LPF/eth1/00:08:54:00:10:30
Sending on LPF/eth1/00:08:54:00:10:30
Sending on Socket/fallback
Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.isc.org/software/dhcp/"
linktext was:"https://www.isc.org/software/dhcp/"
====================================


Listening on LPF/eth0/00:13:21:7c:7a:01
Sending on LPF/eth0/00:13:21:7c:7a:01
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.8.1 port 67
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.isc.org/software/dhcp/"
linktext was:"https://www.isc.org/software/dhcp/"
====================================


Listening on LPF/eth1/00:08:54:00:10:30
Sending on LPF/eth1/00:08:54:00:10:30
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.isc.org/software/dhcp/"
linktext was:"https://www.isc.org/software/dhcp/"
====================================


Listening on LPF/eth0/00:13:21:7c:7a:01
Sending on LPF/eth0/00:13:21:7c:7a:01
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST of 192.168.8.103 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.8.103 from 192.168.8.1
DHCPACK of 192.168.8.103 from 192.168.8.1
bound to 192.168.8.103 -- renewal in 36008 seconds.
done.

It works... but I'd prefer a more elegant (and faster) solution.
Regards,
Mike
Posts: 9
stroudmw
Joined: 21 Jul 2017
#4
OK... this is really strange! It seems to have swapped eth0 and eth1 around!
I noticed that Conky was displaying eth0 when I was expecting to see eth1. So I ran ceni against eth0 and it worked! But it still takes quite a bit longer to boot than it did before I applied any updates.

The boot script runs through:
DHCPDISCOVER... (with my ip)
DHCPREQUEST...
DHCPOFFER...
DHCPPACK (where it appears to hang for a couple of minutes).

The system works... but it's really slow to boot and shutdown.
Posts: 9
stroudmw
Joined: 21 Jul 2017
#5
I've just done a fresh install using Jessie this time. I definitely use eth1. Somehow Stretch has changed it to eth0. Odd.