u/condor_bulto

Network Share Drive with KSMDB

Hi everyone,

I am new to OpenWrt and I am struggling to set up KSMBD.

My goal is to share a 1TB EXT4 external drive USB connected to OpenWrt (WRT1900v1 hw) so I can use it with my Docker containers. I chose KSMBD because it seems like the most lightweight and suitable option for this.

However, I am facing read/write permission issues when trying to access the shared drive.

Could anyone help me figure out what I might be missing in my configuration? Thanks in advance!

The configuration>
# uci show ksmbd

ksmbd.@globals[0]=globals

ksmbd.@globals[0].description='Ksmbd on OpenWrt'

ksmbd.@globals[0].interface='lan'

ksmbd.@globals[0].workgroup='WORKGROUP'

ksmbd.@share[0]=share

ksmbd.@share[0].name='cassette'

ksmbd.@share[0].path='/mnt/cassette/'

ksmbd.@share[0].read_only='no'

ksmbd.@share[0].users='docker'

ksmbd.@share[0].guest_ok='no'

ksmbd.@share[0].create_mask='0666'

ksmbd.@share[0].dir_mask='0777'

Client to test (mint)
$ smbclient //openwrt.local/mnt/cassette/ -U docker

Password for [WORKGROUP\docker]:

Try "help" to get a list of possible commands.

smb: \> get tor-browser-linux-x86_64-15.0.7.tar.xz

NT_STATUS_UNEXPECTED_IO_ERROR opening remote file \tor-browser-linux-x86_64-15.0.7.tar.xz

i can "ls -l" to smb share

("put" action work for smbclient but not for Caja file manager)

I think about permissions problems, but make in openwrt> chmod -R 777 /mnt/cassette

root@OpenWrt:~# ls -lh /mnt/cassette/

drwxrwxrwx 2 65535 65535 4.0K Aug 16 10:57 Exur compras

drwxrwxrwx 2 65535 65535 4.0K Aug 14 09:20 TestErase

drwxrwxrwx 2 1000 1000 16.0K Oct 27 2025 lost+found

drwxrwxrwx 2 root root 4.0K Aug 12 11:50 test

When i put files on "test" Folder with (docker user) (root owner is ok)

When i put files on /mnt/cassette with (docker user) show 65535 and give error

I'm lost ! any ideas?
thanks !

reddit.com
u/condor_bulto — 6 days ago

WRT1900ac v1 Mamba - Firmware recommendation

Hi all,

Finally, I have some time to look into this.

I have an old WRT1900AC v1 router. Some time ago, I was considering installing OpenWrt 24.10.2, searching information at the moment, but I didn't have the time back then.

Today I noticed that OpenWrt offers a newer firmware release. Is the latest version recommended for this older hardware, or would it be better to stay with an earlier release?

Thanks !

reddit.com
u/condor_bulto — 23 days ago
▲ 1 r/Esphome+1 crossposts

Help - Bermuda BLE Distance remains "Unknown" despite BLE Proxy detecting devices

Hi all, I'm configuring Bermuda with ESPHome Bluetooth Proxy and Home Assistant Container.

Current situation:

  • BLE devices ARE detected in Bermuda
  • Garmin watch and Android phone appear correctly
  • Devices can be selected in Bermuda
  • But all distance entities remain:

Distance to ESPHome BT... = Unknown

Important detail

Initially Bermuda detected nothing. After changing Home Assistant Docker to:

network_mode: host

Bluetooth discovery started working immediately.

ESPHome config

esphome:
  name: esphome-web-ab8c5c
  friendly_name: ESPhome-btsensor-Living

esp32:
  board: esp32dev
  framework:
    type: esp-idf

logger:
  level: DEBUG

api:

ota:
  - platform: esphome

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

esp32_ble_tracker:
  scan_parameters:
    active: true
    interval: 320ms
    window: 30ms

bluetooth_proxy:
  active: true

Already tested

  • Changed Ref Power from 0 to -59
  • Restarted Bermuda and Home Assistant
  • Re-added devices
  • Waited several minutes
  • Already tested
  • Changed Ref Power from 0 to -59
  • Restarted Bermuda and Home Assistant
  • Re-added devices
  • Waited several minutes
  • Same issue with Garmin and Android

Previously tried ESpresense with no luck.

What else can I troubleshoot to understand why Bermuda detects devices but never calculates distance?

Thanks!

reddit.com
u/condor_bulto — 3 months ago