drbitboy
Lifetime Supporting Member
I added "ip=192.168.21.15" to the end of the line in /boot/cmdline.txt
When I reboot, the Raspberry Pi happily boots up and starts CoDeSys correctly, and all the lights go green and blinky.
I'm not sure why. cmdline.txt is one of the very first things that Linux looks at when it starts up, to configure the serial debug console. Just adding that one line doesn't set up the netmask or the gateway or the DNS servers. ...
I just found this somewhere after googling /boot/cmdline.txt
Code:
ip=192.168.1.200::192.168.1.1:255.255.255.0:rpi:eth0:off
I suspect that is
Code:
ip=RpiIP:GatewayIP:Netmask:Hostname?:Interface:Huh?
Some more googling would remove the question marks.