1nick9 wrote:thecodygriffin wrote:Kazade, is there a better way to modify the dreampi script so that I wouldn’t need to change the /etc/network/interfaces configuration from dhcp to static, but would ALWAYS result in IP address ending in .19 and .18 for the DreamPi and Dreamcast respectively?
I ask because what I did feels like a hack based on a partial understanding of a greater whole.
for the pi resulting in one of these why not setup a dhcp lease?? guess cause clashes with reservered ips for static from ya dhcp server range. still would need to manually config the dailup ip to resolve desired ip.
quick question why it not work modifying this section of script alone?? without knowning anything about the scripts on dreampi im guessing just modifying this would make it detect subnet range n add 20 to it.
this_ip = find_next_unused_ip(".".join(subnet) + ".20")
or is that section of the script only for dialup modem section?