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/12/17 17:32] – [Adjusting interfaces (important!)] Zyzonix | raspberry-pi:ipfire-on-rpicm4 [2025/04/13 12:02] (current) – [Adjusting Interfaces (MAC Addresses) (important!)] Samsoneko | ||
---|---|---|---|
Line 6: | Line 6: | ||
// | // | ||
- | <callout type=" | + | <callout type=" |
→ IPFire' | → IPFire' | ||
Line 22: | Line 22: | ||
* // | * // | ||
* // | * // | ||
+ | * //or USB2TTL Apdapter// | ||
===== Download and flash the Image to the SD-Card ===== | ===== Download and flash the Image to the SD-Card ===== | ||
Line 47: | Line 48: | ||
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 65: | Line 66: | ||
<callout type=" | <callout type=" | ||
- | When using a Raspberry Pi 4B also add the following lines to your '' | + | When using a Raspberry Pi with bluetooth as second device |
<code bash> | <code bash> | ||
+ | # disable bluetooth via uart | ||
dtoverlay=pi3-disable-bt | dtoverlay=pi3-disable-bt | ||
dtoverlay=pi3-miniuart-bt | dtoverlay=pi3-miniuart-bt | ||
+ | dtoverlay=disable-bt | ||
+ | dtoverlay=miniuart-bt | ||
</ | </ | ||
- | In general there might be issues with newer versions of the Raspberry Pi, therefore consider using an older version as second | + | 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 | ||
</ | </ | ||
- | 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 | + | 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 '' | → you might install '' | ||
<code bash> | <code bash> | ||
+ | If ''/ | ||
Finally perform the setup of IPFire as usual! | Finally perform the setup of IPFire as usual! | ||
Line 88: | Line 96: | ||
**Select the 3rd option, that contains '' | **Select the 3rd option, that contains '' | ||
- | ===== Adjusting | + | ===== Adjusting |
- | As described also in this [[https:// | + | As described also in this [[https:// |
- | + | ||
- | First figure out which NIC causes the error, therefore reboot your machine, login via serial and execute the following command: | + | |
- | <code bash> | + | |
- | It will print all ethernet devices, no matter if active or inactive. | + | |
- | + | ||
- | The output should look like anything of this: no matter if selected the red or the green interface to be on the Pi's built-in NIC: | + | |
- | <code bash> | + | |
- | eth1: | + | |
- | [...] | + | |
- | lo: | + | |
- | [...] | + | |
- | red0: | + | |
- | [...] | + | |
- | </code> | + | |
- | <code bash> | + | |
- | eth1: | + | |
- | [...] | + | |
- | lo: | + | |
- | [...] | + | |
- | green0: | + | |
- | [...] | + | |
- | </ | + | |
- | No matter if selected the red or the green interface to be on the Pi's built-in NIC, you will have an " | + | |
- | * **Case 1:** The <color # | ||
- | ++++ Show/Hide | | ||
- | <code bash> | ||
- | ++++ | ||
- | * **Case 2:** The <color # | ||
- | ++++ Show/Hide | | ||
- | <code bash> | ||
- | ++++ | ||
+ | It's also recommended to completely shut down again and reboot to verify the changes! | ||
---- | ---- |