You are here

linux

openSUSE Samba shares not showing up in file manager

Submitted by egbert on Mon, 04/27/2020 - 10:21

Samba shares do not show up in file manager

OS: OpenSuse Tumbleweed VERSION_ID=“20200331”

File to check: /var/log/samba/log.nmbd

So my samba network was not visible at all in xfce on OpenSuse. In this case it was not the firewall or samba version, it was just dns resolving. I noticed my OpenSuse VM still had localhost as the hostname and in

/etc/samba/smb.conf

I had the following settings active:

Tags:

Using PASS password manager multiplatform

Submitted by egbert on Mon, 10/28/2019 - 11:40

What I need:
1. A secure password manager
2. No hosted database or cloud stuff
3. No database at all!
4. Based on standards
5. Encrypted

Like many I really do not like password managers. They suck like big time and are a lot of work to keep going. But I did need something to organize all my passwords. I did try the simple text file with a list but that didn't seem to secure and kind of a hassle.

Raspberry Pi as a Samba Server

Submitted by egbert on Fri, 06/14/2019 - 06:24

Simple file sharing with a Raspberry Pi is easy to setup. Following are the steps to get it up and running:

Requirements

  • Raspberry Pi hardware
  • External USB Drive
  • Access to Pi's console

Get it up and running

  1. First get the UUID from the connected USB Drive. In your console type:sudo blkid

sudo blkid

Create an SSH key pair

Submitted by egbert on Fri, 09/14/2018 - 06:41

On the source machine:
Step 1.
ssh-keygen -t rsa -C %user%@%target% Enter a passphrase if you want, it is not necessary
Step 2.
cat ~/.ssh/id_rsa.pub | ssh %user%@%target% 'cat >> .ssh/authorized_keys'

Authorized Keys file on target machine
.ssh/authorized_keys is a file on the target machine and should be mode 600.

Related: Using multiple ssh private keys

Raspberry Pi Touchscreen Brightness Control

Submitted by egbert on Fri, 04/06/2018 - 11:20

Using the "echo" command
echo %n% > /sys/class/backlight/rpi_backlight/brightness

%n% represents value between 0 - 255

Change the file permission for /sys/class/backlight/rpi_backlight/brightness to 666. This is not saved on reboot!

To make a permanent change:
1. sudo nano /etc/rc.local
2. Add 1 line above the "exit" line
3. Type in "sudo chmod 666 /sys/class/backlight/rpi_backlight/brightnes"

Pages