Site Tools


software:fedora:fedora_on_raspi4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:fedora:fedora_on_raspi4 [2024/02/12 07:31] – [Installing Fedora on Raspberry Pi 4] chrissoftware:fedora:fedora_on_raspi4 [2024/02/12 10:26] (current) – [Step 2: Fedora setup] chris
Line 1: Line 1:
-===== Installing Fedora on Raspberry Pi 4 ===== +===== Installing Fedora (release or rawhide) on Raspberry Pi 4 =====
- +
-  * Also possible: [[/software/fedora/fedora_on_raspi4_dualboot|setting up RaspiOS+Fedora dualboot]] +
-  * This document, recommended: Install Fedora or rawhide, with native Fedora kernel+
 ===== Step 1: Writing image ===== ===== Step 1: Writing image =====
-These steps can be done on an x86_64 Fedora system with a micro-sdcard reader/writer. I recommend the Fedora37 image.+These steps can be done on an x86_64 Fedora system with a micro-sdcard reader/writer. I recommend the latest Fedora release.
  
   * Fedora39: fetch Fedora-Minimal* from https://kojipkgs.fedoraproject.org/compose/39/latest-Fedora-39/compose/Spins/aarch64/images/   * Fedora39: fetch Fedora-Minimal* from https://kojipkgs.fedoraproject.org/compose/39/latest-Fedora-39/compose/Spins/aarch64/images/
Line 47: Line 44:
  
 ### Let's set a static IP ### Let's set a static IP
-I use the ifcfg-profiles, so these steps are also compatible +Need to update with the details for the connection file
-with older Fedora images Nowadays, like RHEL9, primarily +mkdir -p etc/NetworkManager/system-connections 
-/etc/NetworkManager/system-connections is used. +# vi etc/NetworkManager/system-connections/tokyo-lan.nmconnection 
-mkdir -p etc/NetworkManager/system-connections +# chcon system_u:object_r:NetworkManager_etc_rw_t:s0 \ 
-cat >etc/NetworkManager/system-connections/tokyo-lan.nmconnection<<EOT +#   etc/NetworkManager/system-connections/tokyo-lan.nmconnection 
-[connection] +# chmod 600 etc/NetworkManager/system-connections/tokyo-lan.nmconnection
-id=tokyo-lan +
-uuid=0c57b8fc-843e-48eb-811c-b55fe5d87fa0 +
-type=ethernet +
-interface-name=eth0 +
- +
-[ethernet] +
- +
-[ipv4] +
-address1=192.168.0.20/24,192.168.0.1 +
-dns=192.168.0.1; +
-method=manual +
- +
-[ipv6] +
-addr-gen-mode=stable-privacy +
-method=auto+
  
-[proxy] 
-EOT 
-chcon system_u:object_r:NetworkManager_etc_rw_t:s0 \ 
-  etc/NetworkManager/system-connections/tokyo-lan.nmconnection 
-chmod 600 etc/NetworkManager/system-connections/tokyo-lan.nmconnection 
-   
 # Disable the initial-setup and other unneeded services # Disable the initial-setup and other unneeded services
 rm -f etc/systemd/system/multi-user.target.wants/initial-setup.service rm -f etc/systemd/system/multi-user.target.wants/initial-setup.service
software/fedora/fedora_on_raspi4.txt · Last modified: 2024/02/12 10:26 by chris