HOWTO: S32V234 EVB Linux - Static IP address configuration

Document created by Jiri Kral Employee on Sep 20, 2017Last modified by Jiri Kral Employee on Sep 20, 2017
Version 2Show Document
  • View in full screen mode



Use case:
This settings is useful when you don't have DHCP server available or for some reason you can't connect EVB into existing network - like on this scenario: 


Setup static IP address on your PC machine - (Windows 7) click on Start -> Control Panel -> Network and Sharing center. On the left side click on "Change adapter settings"


Select network interface connected to EVB ( Local area connection ) and choose "Internet protocol Version 4 (TCP/IPv4)" option and click on Properties button.  


Select "Use the Following IP address" radio button and enter IP address for PC side of network connection and click on OK button. 



Turn on EVB and connect to EVB via serial link using putty or any other terminal (115200 baud, 8N1). Login as the root user. Edit network interfaces configuration file by command vi /etc/network/interfaces and modify (press INS key to switch vi editor to edit mode) the file by the way as shown on next screenshot. Set IP address from range of your PC machine network settings. 


Save new settings by :w command (press ESC key to switch vi editor to command mode) and exit from vi by :q command. Restart network by command

/etc/init.d/networking restart 


Check the IP address by command ifconfig and try ping to your PC machine. 



  • If you can't ping to PC machine and IP address is the same as you requested - check IP address on PC side and cable connection. 
  • If the IP address on EVB is different than you requested - check if you commented out the dhcp configuration. You may also try to reboot EVB instead of restarting network only.