Author

Topic: Dayun Zigminer - Changing STATIC IP to DHCP (Read 140 times)

newbie
Activity: 24
Merit: 3
August 23, 2019, 04:42:45 AM
#1
Hi everyone,

I was having serious issues getting my Z1 Pro connected on my network - this whole idea of using a static IP on a fixed network segment was fine, seemed simple, but when I actually came to getting it connected ... it never worked. I was sure I was doing everything right.

Anyway - If you load the removable media from the Zigminer into a Linux machine you can edit the firmware files, and if you navigate to the following location and make the changes in bold below, your miner should start up and use DHCP to connect to your network.

Location on firmware image: (media)/rootfs/etc/network/interfaces

Open as root/superuser
interfaces is a config file, just edit in nano/Pluma or your fav editor.

auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
#address 192.168.1.100
#netmask 255.255.255.0
#gateway 192.168.1.254
pre-up /root/getmac.sh
hwaddress `cat /root/macaddr`
dns-nameservers  87.237.17.200

DNS-nameserver can be whatever nameserver you want to use. It could also be the same is your gateway.

Information source / credit: https://wiki.debian.org/NetworkConfiguration
Jump to: