Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| raspberry-pi:ipfire-on-rpicm4 [2023/09/29 08:23] – [Install IPFire on a Raspberry Pi CM4 on DFRobot Carrier Board] Zyzonix | raspberry-pi:ipfire-on-rpicm4 [2025/04/13 12:02] (current) – [Adjusting Interfaces (MAC Addresses) (important!)] Samsoneko | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Install IPFire on a Raspberry Pi CM4 on DFRobot Carrier Board with Serial Console ====== | + | ====== Install IPFire on a Raspberry Pi CM4 on DFRobot Carrier Board over Serial Console ====== |
| {{ : | {{ : | ||
| Line 6: | Line 6: | ||
| // | // | ||
| - | <callout type=" | + | <callout type=" |
| + | |||
| + | → IPFire' | ||
| + | |||
| + | → And the DFRobot' | ||
| ===== Preparation / Requirements ===== | ===== Preparation / Requirements ===== | ||
| Line 18: | Line 22: | ||
| * // | * // | ||
| * // | * // | ||
| + | * //or USB2TTL Apdapter// | ||
| ===== Download and flash the Image to the SD-Card ===== | ===== Download and flash the Image to the SD-Card ===== | ||
| Line 40: | Line 45: | ||
| ===== Connect both Pi's with jumper cables ===== | ===== Connect both Pi's with jumper cables ===== | ||
| {{ : | {{ : | ||
| + | {{ : | ||
| Now connect the following pins on your carrier board' | Now connect the following pins on your carrier board' | ||
| <WRAP 40%> | <WRAP 40%> | ||
| - | ^ Carrier Board (CM4) ^ 2nd Raspberry Pi ^ Use ^ | + | ^ Carrier Board (CM4) ^ 2nd Raspberry Pi / USB2TTL |
| - | | **'' | + | | **'' |
| - | | **'' | + | | **'' |
| - | | **'' | + | | **'' |
| </ | </ | ||
| Line 52: | Line 58: | ||
| (It is recommended to first power up the second Pi and start the serial console before powering up the carrier board.) | (It is recommended to first power up the second Pi and start the serial console before powering up the carrier board.) | ||
| - | //Image sourced from [[https:// | ||
| + | //Images sourced from [[https:// | ||
| - | ===== Open serial console with screen ===== | ||
| - | Before you can open a serial connection: serial console must also be enabled on the Pi from which you wish to connect. Therefore check if your ''/ | ||
| - | Then you can execute the follwing command from the second Pi to connect to your serial console. It doens't matter if you're using an attached keyboard and monitor | + | ===== Open serial console using screen ===== |
| + | Before you can open a serial connection: serial console must also be enabled on the Pi from which you wish to connect. Therefore check if your ''/ | ||
| + | |||
| + | <callout type=" | ||
| + | When using a Raspberry Pi with bluetooth as second device also add the following lines to your '' | ||
| + | <code bash> | ||
| + | # disable bluetooth via uart | ||
| + | dtoverlay=pi3-disable-bt | ||
| + | dtoverlay=pi3-miniuart-bt | ||
| + | dtoverlay=disable-bt | ||
| + | dtoverlay=miniuart-bt | ||
| + | </ | ||
| + | This will disable the bluetooth module, because this may break your serial connection as it also uses the uart console. | ||
| + | |||
| + | In general there might be issues with the serial connection, it's recommended to firstly open the serial console on the second Pi and then booting up the CM4. Additionally **do not** dis- and reconnect to a running console session, otherwise your console might not be readable anymore for this session. | ||
| + | </ | ||
| + | |||
| + | Then you can execute the follwing command from the second Pi to connect to your serial console. | ||
| <code bash> | <code bash> | ||
| + | (root-permission required!) | ||
| + | → you might install '' | ||
| + | <code bash> | ||
| + | If ''/ | ||
| Finally perform the setup of IPFire as usual! | Finally perform the setup of IPFire as usual! | ||
| With '' | With '' | ||
| + | |||
| + | ===== Select correct boot method ===== | ||
| + | |||
| + | When booting for the first time, there will be three entries in the grub bootloader. | ||
| + | |||
| + | **Select the 3rd option, that contains '' | ||
| + | |||
| + | ===== Adjusting Interfaces (MAC Addresses) (important!) ===== | ||
| + | |||
| + | As described also in this [[https:// | ||
| + | |||
| + | |||
| + | It's also recommended to completely shut down again and reboot to verify the changes! | ||
| + | |||
| + | ---- | ||
| //Resources used: [[https:// | //Resources used: [[https:// | ||