Setup PLC
PLC Configuration
Connect to machine with Monitor and keyboard. Log into TCBSD with the following credidential:
login: Administrator
Password: 1
Next you neet to edit the rc.config file. To do that type the following into the command line:
doas ee /etc/rc.conf
The file will open with the default text editor.For setup you need to disable the DHCP server and firewall, then setup the ip adress of the ethernet adapter which is connect to master PC the default should be igb1.
=====line 1 col 0 lines from top 1 ============================================
zfs_enable="YES"
dumpdev="AUTO"
CXID_enable="YES"
MDPService_enable="YES"
ntpd_enable="YES"
pf_enable="NO"
sshd_enable="YES"
TcSystemService_enable="YES"
runonce_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
dhcpcd_enable="NO"
dhcpcd_flags="--waitip"
allscreens_kbdflags="-b quiet.off"
syslogd_flags="-ss"
devfs_system_ruleset="allow_usb_mount"
hostname="CX-7DD571"
ifconfig_igb0="inet 192.168.202.2 netmask 255.255.255.0"
ifconfig_igb1="inet 192.168.201.2 netmask 255.255.255.0"
ifconfig_tctap0="DHCP description 8_0_0_20000"
cloned_interfaces="tctap0"
Disable the firewall on startup:
pf_enable="NO"
Check if SSHD is enabled for remote shell connection with Putty:
sshd_enable="YES"
Disable DHCP server:
dhcpcd_enable="NO"
Set the ip adress of igb1 adapter (could be igb0 also):
ifconfig_igb1="inet 192.168.201.2 netmask 255.255.255.0"
Reboot the PLC to apply configuration:
doas reboot
After the PLC started up teset the chekc the ip adress and test the connection to master PC:
ifconfig
ping 192.168.201.1