IOX Guest Setup

Accessing the Guest Linux

The operating system can be accessed via SSH with the default username 'system' and password 'admin'.

NTP time update

The ntp service runs by default but especially after longer downtimes, you might want to force a update.

root@cisco-sbsa-demo001:~ $/etc/init.d/S19ntp stop
root@cisco-sbsa-demo001:~ $ntpd -gq
ntpd: time slew +0.001966s
root@cisco-sbsa-demo001:~ $date
Thu Sep  3 14:57:08 CEST 2015
root@cisco-sbsa-demo001:~ $/etc/init.d/S19ntp start

Bash Profile

Login to the Linux OS.

  1. Create a profile for the busybox environment to ease the daily work

    # ~/.profile
    alias ll="ls -lah"
    export PS1='\u@\h:\w $'

    The new settings are loaded upon the next login.

Creating a virtual network interface

The IR910 does not support virtual network interfaces natively from the IOS. This would force any MODBUS TCP device to reside in the same network as it is configured for the IR910 FastEthernet port. An easy work around is to create a virtual network interface with a special subnet in which a MODBUS TCP device resides in (e.g. a B&R X20 kit). In this way any changes to the FastEthernet port of the IR910 won't affect the ip configuration of the MODBUS TCP devices.

root@IR910test:~ $cat /mnt/apps/etc/init.d/S20mgmt_network
/mnt/apps/etc/init.d/S21mgmt_network
#!/bin/sh
# launch virtual interface on br0 so we can use this ip address instead of bothering with
# addresses that are assigned by dhcp to the device. The I/O module will be in the same subnet.
echo "Adding virtual management interface 172.16.100.100/24 to br0 ..."
ifconfig br0:0 172.16.100.100 netmask 255.255.255.0 up
echo "Successfully added second ip 172.16.100.100/24."
exit