more cleanup

This commit is contained in:
2026-04-20 06:09:58 +02:00
parent 9b4494b4fd
commit 9b933bb58a
13 changed files with 26 additions and 49 deletions

View File

@@ -1,68 +0,0 @@
---
title: "Easy Network Graph"
tags: [ "networking" ]
---
Set up a file like this, called `troubleshooting.txt`.
> [ Is there an IP address? ] -- no --> [ Check NIC driver, dmesg ]
>
> [ Is there an IP address? ] -- yes --> [ Can you ping the router? ]
>
> [ Can you ping the router? ] -- no --> [ Check cables, router, and switches ]
>
> [ Can you ping the router? ] -- yes --> [ Can you ping a DNS address? ]
>
> [ Can you ping a DNS address? ] -- no --> [ Trying pinging 8.8.8.8 ]
>
> [ Can you ping a DNS address? ] -- yes --> [ Traceroute ]
Then translate it with:
```sh
graph-easy troubleshooting.txt --as boxart
```
```
┌────────────┐ ┌─────────────────────────┐ yes ┌────────────────────────────────────┐ yes ┌─────────────────────────────┐ yes ┌────────────┐
│ no Network │ ──> │ Is there an IP address? │ ─────> │ Can you ping the router? │ ─────> │ Can you ping a DNS address? │ ─────> │ Traceroute │
└────────────┘ └─────────────────────────┘ └────────────────────────────────────┘ └─────────────────────────────┘ └────────────┘
│ │ │
│ no │ no │ no
┌─────────────────────────┐ ┌────────────────────────────────────┐ ┌─────────────────────────────┐
│ Check NIC driver, dmesg │ │ Check cables, router, and switches │ │ Trying pinging 8.8.8.8 │
└─────────────────────────┘ └────────────────────────────────────┘ └─────────────────────────────┘
```
Many options allow different displays.
Try placing this in a file:
> [ One ] { fill: seagreen; color: white; } -- label --> [ Two ] { shape: triangle; }
>
> [ One ] => { arrow-style: closed; } [ Three ] { border-style: none; }
>
> [ Five ] { fill: maroon; color: yellow; } <=> [ Three ]
>
> [ One ] .. Test\n label ..> [ Four ]
>
> [ Three ] { border-style: dashed; }
>
> .. Test\n label ..> { arrow-style: closed; } [ Six ] { label: Sixty\n Six\nand\nsix; }
>
> [ Three ] <-- Test label --> { arrow-style: closed; } [ Six ]
>
> [ Eight ] .. [ None ] { shape: none; fill: red; color: brown; }
>
> [ no Network ] --> [ Is there an IP address? ]
> [ Little Group: o]
```
echo "( EU [ Madrid ] <---> [ K ] {label: Karlsruhe;}
<== ...O\n ..o\n .O\no \nchoo choo ==> [ Cern ] [ Cern ] <== ...O\n ..o\n .O\no \nchoo choo ==> [ Paris ] <...> [ B ] {label: Budapest} )
[ B ] <---> [ Belgrade ] [ G ] {label: Glasgow; }
<==> [ M ] {label: Manchester },
[ Madrid ] <---> [ Belgrade ] [ M ] <--> [ London ] <--> [ B ],
[ Belgrade ]" | graph-easy --boxart
```

View File

@@ -2,6 +2,7 @@
title: "ssh"
tags: [ "networking" ]
---
# Basic `ssh`
Try out basic ssh by accessing `git.charm.sh`, without needing authentication:
@@ -35,7 +36,7 @@ Test it works by using ssh into your own system, from inside:
```sh
ssh $USER@localhost
ssh ${user}@localhost
```
Access the computer from another computer on the same local network by finding your computer's IP address.
@@ -83,7 +84,7 @@ The other is secret.
Now send those keys to a remote computer:
```sh
ssh-copy-id $USERNAME@IP_ADDRESS
ssh-copy-id ${username}@{ip_address}
```
Now you can log in without a password.

View File

@@ -16,6 +16,8 @@ Uncomment the lines about `/var/lib/tor/hidden_services`, including port 22 (or
# SSH over tor
install package `torsocks`, and add it before `ssh` command, for easier use, add it to `.ssh/config`
Install package `torsocks`, and add it before `ssh` command, for easier use, add it to `.ssh/config`.
`torsocks ssh user@{someonionhash}.onion`
```sh
torsocks ssh ${user}@{someonionhash}.onion
```

View File

@@ -2,7 +2,6 @@
title: "transmission"
tags: [ "networking", "torrenting" ]
---
# Torrench
Search for a torrent, e.g. 'sita sings the blues'.

View File

@@ -1,25 +0,0 @@
---
title: "troubleshooting"
tags: [ "networking" ]
---
# Do you have an IP?
If not, try checking out what your local networking interfaces are, then check if they have been picked up:
```sh
dmesg | grep eth0
```
# Display Active Ports
```sh
netstat -l
```
...or maybe narrow it down to http:
```sh
netstat -l | grep http
```