ping -c 3 archlinux.org
$ iwctl
#First, if you do not know your wireless device name, list all Wi-Fi devices:
[iwd]# device list
eg output: wlan0
#Then, to scan for networks:
[iwd]# station device scan
#You can then list all available networks:
[iwd]# station device get-networks
eg: station wlan0 get-networks
#Finally, to connect to a network:
[iwd]# station device connect SSID
eg: station wlan0 connect <network_name>
If a passphrase is required, you will be prompted to enter it. Alternatively, you can supply it as a command line argument:
$ iwctl --passphrase passphrase station device connect SSID
#To disconnect from a network:
[iwd]# station device disconnect
###########################
fdisk -l
cfdisk /dev/sda
mkdir /mnt/home mount /dev/sda3 /mnt/home
swapon /dev/sda2
lsblk
pacstrap -i /mnt base linux linux-firmware sudo nano
genfstab -U -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt /bin/bash
nano /etc/locale.gen
#generate the locale. Run: locale-gen
#Create the locale.conf with corresponding language settings: echo "LANG=en_US.UTF-8" > /etc/locale.conf
##To set the time zone, type: ln -sf /usr/share/zoneinfo/ -- then press tab to see available options eg: ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
hwclock --systohc --utc
date
echo rijo-pc > /etc/hostname
nano /etc/hosts
127.0.1.1 localhost.localdomain rijo-pc
pacman -S networkmanager
systemctl enable NetworkManager
pacman -S iwd
passwd
pacman -S grub efibootmgr
mkdir /boot/efi
mount /dev/sda2 /boot/efi
lsblk -- to check if everything is mounted correctly
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --removable grub-mkconfig -o /boot/grub/grub.cfg
exit umount -R /mnt reboot
useradd -m -g users -G wheel -s /bin/bash passwd
EDITOR=nano visudo %wheel ALL=(ALL) ALL -- search for this and uncomment by removing #
exit
(old) pacman -S pulseaudio pulseaudio-alsa xorg xorg-xinit xorg-server
(new) sudo pacman -S alsa-firmware alsa-utils pipewire pipewire-alsa pipewire-pulse pavucontrol xorg xorg-xinit xorg-server
pacman -S xfce4 lightdm lightdm-gtk-greeter echo "exec startxfce4" > ~/.xinitrc systemctl enable lightdm
startx
pacman -S intel-ucode grub-mkconfig -o /boot/grub/grub.cfg
pacman -S xf86-video-intel vulkan-intel vulkan-icd-loader libva-intel-driver
MODULES=(i915 ...)
sudo pacman -S amd-ucode
sudo pacman -S --needed lib32-mesa vulkan-radeon lib32-vulkan-radeon vulkan-icd-loader lib32-vulkan-icd-loader