I need to set the ip address of the device automatically to a few default values so that it could be accessed over a connected network easily. The device is meant to be used in any LAN it is connected to.
For example if the device is connected in a network with ip addresses of the format: 192.168.2.* The device should set it's IP automatically as 192.168.2.200.
And if the local network has ips of the format 10.1.1.*, it should set it's ip as 10.1.1.200.
How can this be achieved with a script?
Also how to access the device with a name?
x.x.x.1and get the rest to work with the Pi. – Piotr Kula May 28 '14 at 09:56