Installation
This article provides instructions on bootstrap and configuring the Linux system on Compute Module 4. The instructions below assume the Linux host environment. This article uses the term host - a Linux-based PC which configures the target (FIBER version 2 hardware).
Install Image
- 
Download image 
- 
Uncompress the image 
- 
Install image to FIBER - 
Connect the PoE adapter to the target. 
- 
Connect the Mini USB cable between the host and the target. 
- 
Use a jumper to short the BOOT pins on the mainboard. 
- 
Shortly press the RESET tact switch on the rear side of the mainboard. 
- 
Now Compute Module 4 should start in the bootloader mode. 
- 
Remove the jumper from the BOOT pins on the mainboard. 
 
- 
- 
Flash the image 
- 
Set up network connection 
Network Connection Setup
To start FIBER, follow the instructions below depending on your preferred connection method:
Wi-Fi Connection
If you are connecting FIBER to your network via Wi-Fi, follow these steps:
- 
Connect your FIBER device to the PoE port of the PoE adapter. 
- 
Wait for the device to establish a Wi-Fi connection with your network. 
- 
Determine the IP address. 
- 
Log in to the target (password fiber):ssh root@[ip address]
- 
Wait for approximately a minute for FIBER to establish a connection with your network. 
Ethernet Connection
If you are connecting FIBER to your network via Ethernet, follow these steps:
- 
Connect one Ethernet cable from the PoE adapter's LAN port to your router or switch. 
- 
Connect another Ethernet cable from the PoE adapter's port to the FIBER device. 
- 
Determine the IP address. 
- 
Log in to the target (password fiber):ssh root@[ip address]
- 
Wait for approximately a minute for FIBER to establish a connection with your network. 
Static IP Address Connection
If you utilize a static IP address for FIBER connections, follow these steps:
- 
Update Configuration File (system section) - Set static_ip to True.
- Replace the following placeholders with your network details: address (your static IP address), netmask, gateway, dns.
 
- 
Depending on the type of Ethernet or Wi-Fi connection, use the instructions for them above. 
Additional information
- 
Verifying Network Connectivity: Test the connection to the FIBER device from the host: ping [ip address]
- 
Checking device logs: If the FIBER device does not function as expected, you can view logs for troubleshooting: journalctl -u fiber-core.service
- 
Managing the service: Use the following commands to control the FIBER service: systemctl start fiber-core.service
 systemctl restart fiber-core.service
 systemctl stop fiber-core.service
- 
Restarting the device: To restart the FIBER device after making changes or for troubleshooting: - 
Using SSH: reboot
- 
Press the physical reset button on the back of the device. 
 
-