Skip to main content

Arch Linux: Create Swap Partition

Example of creating a 1.5GB swap partition on Arch Linux

fallocate -l 1536M /swapfile
dd if=/dev/zero of=/swapfile bs=1M count=1536 status=progress
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile

Edit /etc/fstab file

...
/swapfile none swap defaults 0 0

Mount partition

# mount -a

Popular posts from this blog

Linux command: lsusb

lsusb - list USB devices NAME        lsusb - list USB devices SYNOPSIS        lsusb [ options ] DESCRIPTION        lsusb is a utility for displaying information about USB buses in the system and the devices connected to them. OPTIONS        -v, --verbose               Tells  lsusb to be verbose and display detailed information about the devices shown.  This includes configuration descriptors for the device's cur‐               rent speed.  Class descriptors will be shown, when available, for USB device classes including hub, audio, HID, communications, and chipcard.        -s [[bus]:][devnum]               Show only devices in specified bus and/or devnum.  Both ID's are given in decimal and may be omitted.        -d [vend...

DrayTek VigorAP 910C as Universal Repeater

3 steps to extend wi-fi coverage using DrayTek VigorAP 910C Set Operation Mode to Universal Repeater mode VigorAP 910C: Set Operation Mode Configuration to Universal Repeater Connect DrayTek VigorAP 910C to existing Wi-Fi Access Point Connect DrayTek VigorAP 910C to existing Wi-Fi Access Point Set Security Mode & Pass Phrase for DrayTek VigorAP 910C Set Security Mode & Pass Phrase for DrayTek VigorAP 910C Check Online Status