Fedora/Raspberry Pi: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 45: Line 45:


==Device Status==
==Device Status==
<source lang="bash">
sudo nmcli dev
:'
DEVICE        TYPE      STATE        CONNECTION     
wlan0          wifi      connected    ChorkeOrg_2.4GHz
p2p-dev-wlan0  wifi-p2p  disconnected  --             
eth0          ethernet  unavailable  --             
lo            loopback  unmanaged    --
'
ifconfig
</source>
<source lang="bash">
<source lang="bash">
lsblk
lsblk

Revision as of 19:51, 8 November 2021

================================================================================
================================================================================

1) [x] Language Settings                2) [x] Time Settings
       (English (United States))               (US/Eastern timezone)
3) [ ] Network configuration            4) [x] Root password
       (Not Connected)                         (Disabled. Set password to
                                                enable root account.)
5) [ ] User creation
       (No user will be created)

Please make a selection from the above ['c' to continue, 'q' to quite, 'r' to
refresh]:
we needs to set root password & user creation before move forward. We can skip
other settings for future or can be done on the fly.

sudo timedatectl set-timezone 'Asia/Kuala_Lumpur'
sudo hostnamectl set-hostname fedora
sudo timedatectl set-ntp true
sudo nmcli dev wifi rescan
sudo nmcli dev wifi
sudo nmcli dev

sudo nmcli dev wifi con 'ChorkeOrg_2.4GHz' password 'sadaqah!'
sudo nmcli dev wifi con 'ChorkeOrg' password 'sadaqah!'
https://10.19.83.111:9090/

Device Status

sudo nmcli dev
:'
DEVICE         TYPE      STATE         CONNECTION       
wlan0          wifi      connected     ChorkeOrg_2.4GHz 
p2p-dev-wlan0  wifi-p2p  disconnected  --               
eth0           ethernet  unavailable   --               
lo             loopback  unmanaged     --
'

ifconfig
lsblk
:'
NAME                   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk0                179:0    0 29.8G  0 disk 
├─mmcblk0p1            179:1    0  600M  0 part /boot/efi
├─mmcblk0p2            179:2    0    1G  0 part /boot
└─mmcblk0p3            179:3    0  5.4G  0 part 
  └─fedora_fedora-root 253:0    0  5.4G  0 lvm  /
zram0                  252:0    0  7.6G  0 disk [SWAP]
'

Disable Overscan

sudo su
cat << EOF >> /boot/efi/config.txt

disable_overscan=1

EOF
cat /boot/efi/config.txt
init 6

System Update

sudo su
cat << EOF >> /etc/dnf/dnf.conf

fastestmirror=True
max_parallel_downloads=10
defaultyes=True
EOF

dnf update

Enable Repositories

1. Community:

sudo dnf install\
 https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

2. Commercial:

sudo dnf install\
 https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm