Problem getting access to Asus router hdd samba server

Hi, must start saying that i’m a total noob when it comes to networking and the samba suite. I know nothing. I have tried, and tried for a week now without getting access to my hdd connected on my Asus router.

Ive been reading the smb.config man pages and the arch wiki covering this topic without getting much out of it.

The funny thing is that I have a laptop running Linux Mint that got access to the samba share out of the box. It had pre configured smb.config, therefore I have tried copying this config file and adjusted some variables onto my Manjaro Kde desktop without any success, followed by:

smbcontrol all reload-config

I tried installing the samba suite on mye Linux Mint laptop since smbd was lacking, and that actually removed my access to the shared hdd on my router.

In Manjaro I have tried this

I have ran the smbd -l [IP to my router] getting this output:

[2021/03/20 10:13:57,  0] ../../lib/util/debug.c:1104(reopen_one_log)
  reopen_one_log: Unable to open new log file '[IP router]/log.smbd': No such file or directory
[2021/03/20 10:13:57,  0] ../../lib/util/debug.c:1104(reopen_one_log)
  reopen_one_log: Unable to open new log file '[IP router]/log.smbd': No such file or directory
[2021/03/20 10:13:57,  0] ../../source3/lib/dumpcore.c:59(get_default_corepath)
  Failed to create [IP router]/cores for user 1000 with mode 0700
[2021/03/20 10:13:57,  0] ../../source3/lib/dumpcore.c:256(dump_core_setup)
  Unable to setup corepath for smbd: No such file or directory
[2021/03/20 10:13:57.488094,  0] ../../lib/util/debug.c:1104(reopen_one_log)
  reopen_one_log: Unable to open new log file '[IP router]/log.smbd': No such file or directory
[2021/03/20 10:13:57.488120,  0] ../../source3/smbd/server.c:1790(main)
  smbd version 4.14.0 started.

I ran testparm geting this output

Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
        log file = /var/log/samba/log.%m
        logging = file
        map to guest = Bad User
        max log size = 1000
        obey pam restrictions = Yes
        pam password change = Yes
        panic action = /usr/share/samba/panic-action %d
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        passwd program = /usr/bin/passwd %u
        server role = standalone server
        server string = %h server (Samba, Manjaro)
        unix password sync = Yes
        usershare allow guests = Yes
        idmap config * : backend = tdb


[printers]
        browseable = No
        comment = All Printers
        create mask = 0700
        path = /var/spool/samba
        printable = Yes


[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

smb.conf on my Manjaro system looks like this:

#======================= Global Settings =======================

[global]




   workgroup = WORKGROUP


   server string = %h server (Samba, Manjaro)




;   interfaces = 127.0.0.0/8 eth0



;   bind interfaces only = yes






   log file = /var/log/samba/log.%m


   max log size = 1000


   logging = file


   panic action = /usr/share/samba/panic-action %d


####### Authentication #######


   server role = standalone server

   obey pam restrictions = yes


   unix password sync = yes


   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .


   pam password change = yes


   map to guest = bad user

########## Domains ###########




;   logon path = \\%N\profiles\%U


;   logon drive = H:



;   logon script = logon.cmd


; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u


; add machine script  = /usr/sbin/useradd -g machines -c "%u mac followed by:hine account" -d /var/lib/samba -s /bin/false %u


; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############


;   include = /home/samba/etc/smb.conf.%m


;   idmap config * :              backend = tdb
;   idmap config * :              range   = 3000-7999
;   idmap config YOURDOMAINHERE : backend = tdb
;   idmap config YOURDOMAINHERE : range   = 100000-999999
;   template shell = /bin/bash




   usershare allow guests = yes

#======================= Share Definitions =======================


;[homes]
;   comment = Home Directories
;   browseable = no


;   read only = yes


;   create mask = 0700


;   directory mask = 0700


;   valid users = %S


;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes


;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700


[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

To be honest I don’t know what I’m doing, I would appreciate someone helping me pointing out the right direction.

There has been several issues over many moons now - targeting smb servers hosted on routers.

SMB1 has been discontinued and this makes it hard to connect to said routers.

okay, thank you for the information, I’m pleased it wasn’t just me not being able to figure it out. I will spend my time on something else from now on.