This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
software:fedora:fedora_on_raspi4 [2024/02/12 10:23] – [Step 1: Writing image] chris | software: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, | + | # Need to update with the details for the connection file. |
- | # with older Fedora images. | + | # mkdir -p etc/ |
- | # /etc/ | + | # vi etc/ |
- | mkdir -p etc/ | + | # chcon system_u: |
- | cat >etc/ | + | # etc/ |
- | [connection] | + | # chmod 600 etc/ |
- | id=tokyo-lan | + | |
- | uuid=0c57b8fc-843e-48eb-811c-b55fe5d87fa0 | + | |
- | type=ethernet | + | |
- | interface-name=eth0 | + | |
- | [ethernet] | ||
- | |||
- | [ipv4] | ||
- | address1=192.168.0.20/ | ||
- | dns=192.168.0.1; | ||
- | method=manual | ||
- | |||
- | [ipv6] | ||
- | addr-gen-mode=stable-privacy | ||
- | method=auto | ||
- | |||
- | [proxy] | ||
- | EOT | ||
- | chcon system_u: | ||
- | etc/ | ||
- | chmod 600 etc/ | ||
- | | ||
# Disable the initial-setup and other unneeded services | # Disable the initial-setup and other unneeded services | ||
rm -f etc/ | rm -f etc/ |