Running "ps" shows:
1758 root 0:00 udhcpc -b -t 10 -A 10 -x hostname antMiner -i eth0This is launched by the script /etc/rcS.d/S38network.sh -- and this is the script I will need to modify/replace to set up a static IP.
hostname=antMiner dhcp=trueWe can change the above to:
hostname=antMiner dhcp=false ipaddress=192.168.0.130 netmask=255.255.255.0 gateway=192.168.0.1The file "/etc/resolv.conf" has a list of DNS servers. It is empty, so ...
; Use Google nameservers ; domain mmto.org nameserver 8.8.8.8 nameserver 8.8.4.4All this seems to work just fine.
6558 root 0:00 {monitorcg} /bin/sh /sbin/monitorcgI kill this and it comes back. I use "cd /etc; grep -r monitorcg ." to discover that a line in /etc/inittab runs this. I comment out that line:
#dcdc:2345:respawn:/sbin/monitorcgAnother thing I can do without is this:
1480 root 0:01 /usr/bin/monitor-recobtn /usr/bin/factory_config_reset.sh 1114 root 0:00 /usr/bin/monitor-ipsigThis is handled by /etc/rcS.d/S70monitor-recobtn, which we can rename. And the second is launched by /etc/rcS.d/S100monitor-ipsig.sh, which we also rename.
Tom's Computer Info / [email protected]