home-network/home-computer.org

87 lines
3.6 KiB
Org Mode
Raw Normal View History

2025-02-23 10:40:12 +02:00
#+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