AXC F 2152 FW2021.0 DHCP Failing
I'm trying to upgrade the FW of an AXC F 2152 from 2020.6.1 to 2021.0. The same DHCP configuration that worked before no longer works. Eth0 gets the IP address and subnet mask successfully, but does not get the gateway IP address. If I execute the following commands to refresh the DHCP lease after boot, it gets the gateway address successfully.
dhclient eth0 -r
dhclient eth0
The /etc/network/interfaces file is configured as follows:
# The loopback interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
# Wired or wireless interfaces
#auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.4.4
auto enp1s0
iface enp1s0 inet static
address 192.168.10.10
netmask 255.255.255.0
gateway 192.168.10.1
dns-nameservers 8.8.8.8 8.8.4.4
Any ideas on how to make this work?
Thanks,
Rob H
Comments
Hi,
Is it intentional that this part is not commented out? i just read it as a double declaration.
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.4.4
Greetings,
Jan
Yes, because if there is a double declaration of auto eth0 it fails to boot.
I did get it to work for now by defining a static IP address that is in the same subnet of IP addresses that it will obtain via DHCP. That's a temporary solution, though, because if the machine moves to a different location in the plant I will need to define a new static IP address definition. That's not ideal.
Hi Rob,
Unfortunately the DHCP Gateway problem is a known issue with firmware 2021.0.0.
The fix for AXC F 2152 will be included in a firmware hotfix, due at the end of this month.
Sorry for the trouble.
~ Martin.
(ref: 204599)