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
software:fedora:fedora_on_raspi4 [2024/02/12 10:23] – [Step 1: Writing image] chrissoftware:fedora:fedora_on_raspi4 [2024/02/12 10:26] (current) – [Step 2: Fedora setup] chris
Line 44: 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