Moderators: marcelr, TerrorSource, Toonz, TheHogNL
<configtype>dhcp</configtype>
<configtype>static</configtype>
<static_ipaddress>192.168.178.65</static_ipaddress>
<static_netmask>255.255.255.0</static_netmask>
<static_gateway>192.168.178.1</static_gateway>
<static_nameserver>192.168.178.1</static_nameserver>
marcelr wrote:... and make sure to make NO mistakes in typing.
If the software cannot set the static IP because of a typo, you will have to open up your toon again ...
hellwich wrote:Worked like a charm, but how to add a second static nameserver?
ns="8.8.8.8"
if ! grep -q $ns /etc/resolv.conf
then
echo "$0: Adding secondary DNS $ns"
echo "nameserver $ns" >> /etc/resolv.conf
fi
chmod +x /etc/udhcpc.d/90custom
hellwich wrote:I've added the script in the specified location, but it seems it is not picked up at boot. Maybe because the udhcpc.d daemon doesn't start on boot (because of the static IP address)?.
Return to Toon external control
Users browsing this forum: Google [Bot] and 1 guest