From 551260e747e3618038b1e0228121c620a4b6badf Mon Sep 17 00:00:00 2001 From: ronny abraham Date: Sun, 23 Feb 2025 10:40:12 +0200 Subject: [PATCH] initial commit --- home-computer.org | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 home-computer.org diff --git a/home-computer.org b/home-computer.org new file mode 100644 index 0000000..bc2e443 --- /dev/null +++ b/home-computer.org @@ -0,0 +1,86 @@ +#+title: home computer info + +* 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,noatime,nodiratime,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 | + +*** Mount Options Explanation + +| 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**. | + + + +* installed apps via brew +- kubuntu + - to read ext4