#+title: home computer info #+HTML_HEAD: #+HTML_HEAD: #+OPTIONS: H:6 * router ** wifi | category | value | |-----------+--------------| | ssid | ronny-wifi | | password | 2reishit2ara | | router-ip | 192.169.0.1 | ** internet | category | value | |---------------------+-----------------| | internet ip address | 94.159.253.187 | | subnet mask | 255.255.255.255 | | default gateway | 82.102.129.99 | | primary dns | 80.179.52.100 | | secondary dns | 80.179.55.100 | ** dhcp | category | value | |-----------------+-----------------------------| | dhcp server | enabled | | ip address pool | 192.168.0.2 - 192.168.0.253 | * raspberry-pi | category | value | |----------+--------------| | username | ronny | | password | 2reishit2ara | | hostname | ronberrypi | ** to be able to ping the raspberry-pi #+begin_src bash ping ronberrypi.local #+end_src * storage ** External Hard Drive Info This table keeps track of the Raspberry Pi's external storage setup. | Device | Filesystem | Label | Mount Point | Mount Options | |-----------+------------+---------+--------------+------------------------------| | /dev/sda2 | ext4 | storage | /mnt/storage | defaults,relatime,commit=600 | | Device | UUID | |-----------+--------------------------------------| | /dev/sda2 | 5bb54030-2df7-4798-afb5-bd2878ae0def | ** Hard Drive commands | purpose | command | |----------------------------------+------------------------------------| | find the UUID | lsblk -f | | verify mount point | df -h : grep storage | | check filesystem typ | sudo blkid / dev/sda2 | | remount drive without rebooting | sudo mount -o remount /mnt/storage | | check if new optinos are applied | mount : grep storage | | verify changes | cat /etc/fstab : grep storage | ** mount options available | Option | Description | |-------------------+------------------------------------------------------------------------------| | defaults | Uses the default options: `rw, suid, dev, exec, auto, nouser, async`. | | rw | Mounts the filesystem as **read/write** (default). | | ro | Mounts the filesystem as **read-only**. | | noexec | Prevents execution of binaries on the mounted filesystem. | | exec | Allows execution of binaries (default). | | nosuid | Blocks `setuid`/`setgid` binaries from running. | | nodev | Ignores device files (e.g., `/dev/null`) on this filesystem. | | noatime | **Disables access time updates** to improve performance. | | nodiratime | Disables directory access time updates (for performance). | | relatime | **Updates access time only if the file is modified**, balancing performance. | | strictatime | **Always updates access time** (not recommended for performance reasons). | | sync | Writes changes to disk **immediately** instead of caching them. | | async | Writes changes to disk **asynchronously** (default, better performance). | | commit=600 | Delays disk writes for **600 seconds (10 minutes)**, reducing wear. | | nofail | Allows booting even if the mount fails (useful for external drives). | | errors=remount-ro | If an error occurs, remounts the filesystem as **read-only**. | ** performance options | performance status | mount options | |---------------------------------------+-------------------------------------------| | maximum | defaults, noatime, nodiratime, commit=600 | | accurate file access times | defaults, relatime, commit=600 | | extra safety in case of drive failure | errors=remount-ro, nofail | * installed apps via brew - kubuntu - to read ext4