Skip to content

BeckhoffBSD Setup

Find out the machine's IP address:

  1. Open Twincat XAE and create new solution
    solution
  2. Double click SYSTEM tab in solution explorer
    system
  3. Press Choose Target, then press Search (Ethernet)
  4. In the newly opened window press Broadcast Search
  5. Select all adapters and press OK
  6. Look for a device, whose OS is TwinCat BSD.

Note

In case multiple such machines are found you can try connecting to them through putty/ssh and rebooting them. If the TC LED on the physical beckhoff machine stops glowing, that's your machine. If it doesnt, try different one.

Change rc.conf

  • Connect to the Machine either through Putty or Powershell SSH.

Note

Hostname: Administrator@[IP ADDRESS]

  • Example of SSH used through Powershell:
    powershell

  • Example of Putty:
    Putty

  • Once successfully connected, edit the rc.conf file using the following command:
    doas ee /etc/rc.conf

Copy and paste the following config:

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"
ifconfig_igb1="inet 192.168.201.2 netmask 255.255.255.224"
ifconfig_igb1_alias0="inet 192.168.104.69 netmask 255.255.255.0"
dhcpcd_flags="--waitip --denyinterfaces igb0,igb1"
allscreens_kbdflags="-b quiet.off"
syslogd_flags="-ss"
devfs_system_ruleset="allow_usb_mount"
ifconfig_tctap0="DHCP description 3_0_0_20000"
cloned_interfaces="tctap0"
MBStart_enable="YES"
ifconfig_igb0="DHCP"
hostname="CX-7DCC89"

  • Reboot the machine using the reboot command

Setup MMS on the machine

Follow this guide