IT/Software/Networking: Difference between revisions

From msgwiki
< IT‎ | Software
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 23: Line 23:


[[IT/Software/Networking/WiFiScanning | WiFiScanning]]
[[IT/Software/Networking/WiFiScanning | WiFiScanning]]
{| class="wikitable"
|-
!SIGNAL STRENGTH
!EXPECTED QUALITY
!REQUIRED FOR
|-
| -30 dBm
|Maximum signal strength, you are probably standing right next to the access point.
|
|-
| -50 dBm
|Anything down to this level can be considered excellent signal strength.
|
|-
| -60 dBm
|Good, reliable signal strength.
|
|-
| -67 dBm
|Reliable signal strength.
|The minimum for any service depending on a reliable connection and signal strength, such as voice over Wi-Fi and non-HD video streaming.
|-
| -70 dBm
|Not a strong signal.
|Light browsing and email.
|-
| -80 dBm
|Unreliable signal strength, will not suffice for most services.
|Connecting to the network.
|-
| -90 dBm
|The chances of even connecting are very low at this level.<br />
|}


=== Share a printer so that Windows clients can see and print. ===
===Ethernet Connection between computers(Link-Local)===
You need to have samba installed.
You can connect any two computers in linux.
You can get up to 35 mb/s transfer speeds.


CUPS will handle this almost automatically.
Procedure


You need to make two small chnage to the /etc/samba/smb.conf file.
#Connect the cable ethernet to ethernet
#The computers will try to auto config but it will fail.
#Go to the settings for the connection and change the ipv4 setting to link-local
#Repeat on the other computer.
#Now you can ssh or mount the remote computer.
##We use fish in dolphin\
##fish://user@host


In the [printers] section:
Very convenient when setting up a new computer and you only have a wifi network.
    browseable = yes
===Printer Sharing on the network===
    guest ok = yes
 
When done, restart Samba:
[[IT/Software/Networking/PrinterSharing | PrinterSharing]]
sudo service smbd restart
sudo service nmbd restart
Also, one would want to allow the following ports through a firewall (ufw for example) via:
sudo ufw allow 139/tcp
sudo ufw allow 445/tcp
sudo ufw allow 137/udp
sudo ufw allow 138/udp
<br />

Latest revision as of 09:05, 27 September 2021

Basics


Hosts Files

located in /etc/hosts this is one of the most critical files you will ever learn

Netplan

I suppose it is good because smarter people than I adopted it.

The config is very very sensitive to spacing.

ZeroTier

This allows you direct access to any computer as if it had a static IP.

I wish I had learned about this early on.

It allows easily for remote printing and direct NoMachine access.

ZeroTier

Scan WiFi for Signal Strength

There are many tools to do this.

WiFiScanning

SIGNAL STRENGTH EXPECTED QUALITY REQUIRED FOR
-30 dBm Maximum signal strength, you are probably standing right next to the access point.
-50 dBm Anything down to this level can be considered excellent signal strength.
-60 dBm Good, reliable signal strength.
-67 dBm Reliable signal strength. The minimum for any service depending on a reliable connection and signal strength, such as voice over Wi-Fi and non-HD video streaming.
-70 dBm Not a strong signal. Light browsing and email.
-80 dBm Unreliable signal strength, will not suffice for most services. Connecting to the network.
-90 dBm The chances of even connecting are very low at this level.

Ethernet Connection between computers(Link-Local)

You can connect any two computers in linux. You can get up to 35 mb/s transfer speeds.

Procedure

  1. Connect the cable ethernet to ethernet
  2. The computers will try to auto config but it will fail.
  3. Go to the settings for the connection and change the ipv4 setting to link-local
  4. Repeat on the other computer.
  5. Now you can ssh or mount the remote computer.
    1. We use fish in dolphin\
    2. fish://user@host

Very convenient when setting up a new computer and you only have a wifi network.

Printer Sharing on the network

PrinterSharing