3 Twincat/BSD
Total Page:16
File Type:pdf, Size:1020Kb
Manual | EN TwinCAT/BSD Operating system 4/23/2021 | Version: 1.1 Table of contents Table of contents 1 Notes on the documentation .................................................................................................................... 7 1.1 Symbol explanation ........................................................................................................................... 8 1.2 Documentation issue status .............................................................................................................. 8 2 Setup........................................................................................................................................................... 9 2.1 Create bootable USB stick ................................................................................................................ 9 2.2 Check BIOS settings ....................................................................................................................... 10 2.3 Installing TwinCAT/BSD .................................................................................................................. 10 3 TwinCAT/BSD........................................................................................................................................... 11 3.1 Credentials ...................................................................................................................................... 12 3.2 ZFS properties................................................................................................................................. 13 3.3 Directory structure ........................................................................................................................... 15 3.4 Write filter......................................................................................................................................... 16 3.4.1 Enabling or disabling the write filter ................................................................................. 16 3.4.2 Defining exceptions ......................................................................................................... 16 3.5 Text Editors ..................................................................................................................................... 16 4 Network settings...................................................................................................................................... 18 4.1 Setting the IP address ..................................................................................................................... 18 4.2 Changing the host name ................................................................................................................. 19 4.3 Firewall ............................................................................................................................................ 19 4.3.1 Enable and disable firewall .............................................................................................. 19 4.3.2 Enable port ...................................................................................................................... 20 4.4 WLAN .............................................................................................................................................. 21 4.4.1 Connecting to WLAN ....................................................................................................... 21 4.4.2 Configuring as access point............................................................................................. 22 4.4.3 Setting up a DHCP server ............................................................................................... 23 5 Package Server........................................................................................................................................ 24 5.1 Switching to a Chinese server ......................................................................................................... 24 5.2 Switching to the FreeBSD repository............................................................................................... 25 5.3 Package management..................................................................................................................... 25 5.3.1 Search ............................................................................................................................. 26 5.3.2 Install ............................................................................................................................... 26 5.3.3 Update ............................................................................................................................. 27 5.3.4 Uninstall ........................................................................................................................... 27 5.3.5 Lock ................................................................................................................................. 28 6 Configuration ........................................................................................................................................... 29 6.1 User and rights management .......................................................................................................... 29 6.1.1 Create new user .............................................................................................................. 30 6.1.2 Edit user information........................................................................................................ 31 6.1.3 Deleting a user................................................................................................................. 32 6.2 Integrating a USB stick .................................................................................................................... 33 6.3 Disable real-time Ethernet ............................................................................................................... 34 6.4 Start services automatically (Autostart) ........................................................................................... 35 6.5 Changing the shell........................................................................................................................... 35 TwinCAT/BSD Version: 1.1 3 Table of contents 7 Remote access ........................................................................................................................................ 36 7.1 Remote access with the PuTTY client............................................................................................. 36 7.2 Managing files with the WinSCP client ............................................................................................ 37 7.2.1 Starting and using the WinSCP client.............................................................................. 37 7.2.2 WinSCP as the root ......................................................................................................... 38 7.2.3 Opening and editing files ................................................................................................. 39 7.3 Editing the SSH settings.................................................................................................................. 40 8 C/C++ projects for TwinCAT/BSD .......................................................................................................... 41 8.1 Compiling under TwinCAT/BSD ...................................................................................................... 41 9 TwinCAT 3 ................................................................................................................................................ 42 9.1 Searching for target systems........................................................................................................... 42 9.2 Scan devices ................................................................................................................................... 44 9.3 Changing the AMS NetID ................................................................................................................ 45 10 Restore options ....................................................................................................................................... 46 10.1 Restore point ................................................................................................................................... 46 10.1.1 Resetting to factory settings ............................................................................................ 47 10.1.2 Creating a restore point ................................................................................................... 47 10.1.3 Resetting to the restore point........................................................................................... 48 10.1.4 Using the restore boot environment................................................................................. 48 10.2 Backup and restore ......................................................................................................................... 50 10.2.1 Creating a backup............................................................................................................ 50 10.2.2 Restoring a backup.......................................................................................................... 50 10.2.3 Creating and restoring a backup from the live system....................................................