Cannot install package samba4-server

Hi, I wan to use smb protocol to connect to a usb that is connected to the router from my phone. I was following this guide: https://openwrt.org/docs/guide-user/services/nas/cifs.server and this video tutorial: https://www.youtube.com/watch?v=asN9aZ6Fg00. When I reached the step of installing samba this error showed up:

Unknown package 'samba4-server'.
Collected errors:
 * opkg_install_cmd: Cannot install package samba4-server.

I have tried to install luci-app-samba4, but I received the same error as before.
What am I doing wrong?

Did you update the package lists first?

opkg update
opkg install samba4-server luci-app-samba4
1 Like

Yes, I did.
I tried also this: opkg update && opkg install luci-app-samba4 to be sure that it was updated

Let's see the full output of the following:

ubus call system board
opkg update
opkg install samba4-server
1 Like

ubus call system board

{
        "kernel": "5.15.134",
        "hostname": "OpenWrt",
        "system": "bcm63xx/96328A-1441N1 (0x6328/0xB0)",
        "model": "Comtrend AR-5387un",
        "board_name": "comtrend,ar-5387un",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.0",
                "revision": "r23497-6637af95aa",
                "target": "bcm63xx/generic",
                "description": "OpenWrt 23.05.0 r23497-6637af95aa"
        }
}

Today the command worked for some reason, but I don't have enought memory on my system.

Collected errors:
 * verify_pkg_installable: Only have 4540kb available on filesystem /overlay, pkg samba4-libs needs 8222
 * opkg_install_cmd: Cannot install package samba4-server.

Do you know any other lighter package that does the same as samba4-server?

That would be ksmbd.

Thanks, I'll try that one

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.