Follow the below steps to remove default static IP.
Take access through putty
Steps to follow:
- To Edit /etc/dhcpcd.conf file as follows:
- admin@DATConNXgateway:~ $ sudo nano /etc/dhcpcd.conf
a. Search for # Example static IP configuration: in this file.
- Commit below points using "#" character to disable default static IP (192.168.1.240). 'Add "#" before below points'.
- profile
- profile static_eth0
- static ip_address=192.168.1.240/24
- interface eth0
- arping 172.17.242.1
- fallback static_eth0
- Remove '#' character from below point
- interface eth0
- Save the changes (ctrl+s) and reboot DATCon (sudo reboot).
Refer to attached screenshot, you can see the changes I have made.