commit 6f56e269c288ed40c49ab690759a9a7f0f24de07
parent 8e0abb32958f1f1c760ec7cf78a78e72fc42dfb8
Author: mayfrost <mayfrost@cock.li>
Date: Sat, 27 Oct 2018 13:37:04 -0300
Update NETWORKING.md
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/NETWORKING.md b/NETWORKING.md
@@ -2,13 +2,13 @@
## SETUP
-## /etc/network/interfaces
+### /etc/network/interfaces
```
# use last 8 octets for hosts
255.255.255.0
```
-## WiFi
+### WiFi
Use WiFi without a separate network manager with this simple guide. Needs "_dhcpcd_" or "_dhcpclient_", "_net-tools_" or "_iproute2_", "_wpa\_supplicant_", and the WiFi drivers for your wireless card (like "_iwlwifi_" and its "_ucode_"), which in part can be installed from a package usually named "_linux-firmware_", but they may not be complete (this provides "_ucode_" but not "_iwlwifi_").
__NOTE__: The "_<DEVICE_NAME>_" can be either "_wlp3s0_" or "_wlan0_". Change accordingly the following commands to suit your needs.
@@ -117,14 +117,14 @@ You can save either example in a script to activate the Wi-Fi whenever you want.
* show host interfaces
`nmap --iflist IP_NUMBER`
+## REMOTE CONNECTION
### SSH
-#### CLIENT
* login to remote host
`ssh ADDRESS`
* login to remote host as user USER
`ssh USER@ADDRESS`
-#### SERVER
+## SERVER
* set ssh server configuration in /etc/ssh/sshd_config
```
Port 22 # default port is 22, can be changed