Friday, July 23, 2021

Arch Install

In case I install something other than Manjaro

vset (if in terminal only)
free -h
lsblk
sudo packman -Syy

Install yay
sudo pacman -S --needed base-devel git
$ git clone https://aur.archlinux.org/yay.git
$ cd yay
$ makepkg -si
cd ..
rm -rf yay

paru is available through yay
htop
neofetch
alias
sudo nano ~/.bashrc
alias ll="ls -la"
alias cls="clear"
restart terminal 

Saturday, July 17, 2021

Windows 10 SSH Server (Dead To Me)

First PC was flawless but as usual this can be a pain . . . second machine did not accept password. Can't find a fix but . . . 
Good new is on Windows there are so many easy file sharing options you do not need a local Windows SSH Server.

Add the feature then start the service and set a firewall rule.

win+i > apps > apps&features > optional features > openssh server

Open Powershell command as Administrator
Type the following command to start the Service of the OpenSSH Server
Start-service sshd

I would leave as default service manual start but you can . . .
Type the following command to add Automatic Startup in Service
Set-Service -Name sshd -StartupType 'Automatic'

Type the following command to find the Rule for OpenSSH Server in Windows Firewall and verify that is Allow

Get-NetFirewallRule -Name *ssh*

I think this happens when ssh server is installed.
win > firewall & network protection > advanced settings

inbound rules > new rule > 
name = OpenSSH SSH Server (sshd)
description = Inbound rule for OpenSSH SSH Server (sshd)
Enabled
Allow the connection
Properties further allows settings restrictions but on a local network for simple files transfers and manual server on/off probably not needed

Wednesday, July 14, 2021

Pop OS Linux

General
Ctl + Alt + Backspace instant log out
Ctrl + Alt + Delete instant reboot
 
Things to do in the terminal
sudo apt update
sudo apt upgrade
or sudo apt update && apt upgrade
sudo apt dist-upgrade
sudo systemctl enable fstrim.timer
super key type firmware update
sudo apt install neofetch
sudo apt install gnome-tweaks
sudo apt install openssh-server -y
sudo systemctl is-enabled ssh (checks)
sudo nano /etc/ssh/ssh_config
sudo systemctl restart ssh
(sudo service ssh restart) for system5 init
(sudo systemctl restart sshd) for arch
ip a
Set Keyboard Shortcuts
(still trying to decide)
super+e open home (file browser)
super+f open firefox
super+c close window
super+enter open terminal
Alias Commands
type alias shows existing aliases
sudo nano ~/.bashrc
alias cls="clear"
 
MX Linux
~/.conky/MX-KoO/MX-Full is full sysinfo 
F4 drop down terminal

Manjaro
Catfish file search is awesome but slow if the search is deep and only searches down.
I can't change the close window hotkey so stuck with Alt+F4 for now
sudo systemctl start sshd

EndeavorOS

EndeavorOS
A miserable experience so far :)

ls -l shows permissions

https://aur.archlinux.org/xfce4-whiskermenu-plugin-git.git

Install git and yay
sudo pacman -S git
cd /opt
sudo git clone https://aur.archlinux.org/yay-git
sudo chown -R george:george ./yay-git
cd yay-git
makepkg -si
(even though I received errors yay installed unless it was already installed in EndeavorOS)

yay uses same as pacman
-S is install
-Rns is uninstall

Holy Hanna this is wild
yay -S pamac-all
In the end it didn't work
 
good grief installed gimp and wouldn't start.

Found this for yay install. Interesting to put it all in one syntax string.
cd /tmp && git clone 'https://aur.archlinux.org/yay.git' && cd /tmp/yay && makepkg -si && cd ~ && rm -rf /tmp/yay/

Tuesday, July 13, 2021

Just trying

As usual I haven't set up Samba for awhile an can't get it to work. 

lsb_release -a
sudo apt install samba
whereis samba
mkdir /home/george/sambashare
nano /etc/samba/smb.conf
[sambashare]
comment = Samba on 
path = /home/george/sambashare
writeable = yes
browseable = yes
public = yes or no
create mask = 0664
directory mask = 0755
force user = george

adduser --system george 
chown -R george /home/george/sambashare
smbpasswd -a george

sudo smbd restart

chmod 777 may not need is above done

Sunday, July 4, 2021

File Sharing Updated

Have you ever said, "I can see the PC on the network but I can't access it"?

On Same Network Cross Platform
ShareDrop works well. It's a web platform. Not sure of limitations.
Send seems to work also.

*These have gone off the rails so just set up ssh, ftp or web server and get on with life.
Servers
HFS web server, Xlight ftp server
Clients

Not On Same Network
Large Files and Auto Delete
... Wormhole (10gb self delete encrypted)

Small Files and Auto Delete (pain on Android phone)
... Sendanywhere

Large Files
... pCloud (May be best right now)

Large Files and Manual Delete
... Mega

Onionshare (Slow and may choke on large files but I like the concept.)
Receiving end needs to use Tor for the onion share address.

. . . Or Better yet SSH (Look Here)

Pin Not Available

Crazy Error I had not seen before. Pin not available blah blah. I restarted a few times and it finally worked. If it doesn't some say to...