File Share not working

I have a GL-AR750S.

I followed the File Share tutorial for SMB 2.0 for windows machines.

I confirmed that the usb storage attached to the router is available though CLI.

I tried both the IP address "\\10.13.38.1" and the hostname “\\GL-AR7550S”

In the case of using the IP I get Windows can’t find ‘\10.13.38.1’

In the case of hostname I get sent to a credentials page. If I try root and my password it says \GL-AR7550S is not accessible. You might ot have permission to use this network resource.

I am out of ideas.

    netbios name = |NAME|
    display charset = |CHARSET|
    interfaces = |INTERFACES|
    server string = |DESCRIPTION|
    unix charset = |CHARSET|
    workgroup = |WORKGROUP|
    browseable = yes
    deadtime = 30
    domain master = yes
    encrypt passwords = true
    enable core files = no
    guest account = nobody
    guest ok = yes
    invalid users = root
    local master = yes
    load printers = no
    map to guest = Bad User
    max protocol = SMB2
    min receivefile size = 16384
    null passwords = yes
    obey pam restrictions = yes
    os level = 20
    passdb backend = smbpasswd
    preferred master = yes
    printable = no
    security = user
    smb encrypt = disabled
    smb passwd file = /etc/samba/smbpasswd
    socket options = TCP_NODELAY IPTOS_LOWDELAY
    syslog = 2
    use sendfile = yes
    writeable = yes

Is this the complete /etc/samba/smb.conf file? There are no mount points listed as shared.

I tried accessing it from a different computer and it just works now. I am not sure what the difference was. Now my issue is that if I try to write anything to it, it reports that it is out of space, and acts like it is 100% full.

Can you post the complete /etc/samba/smb.conf file? It may show that the share is readonly.

Thanks for taking a look for me:

[global]
netbios name = GL-AR750S
display charset = UTF-8
interfaces = lo br-lan
server string = GL-AR750S-1fe
unix charset = UTF-8
workgroup = WORKGROUP
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes

[homes]
comment = Home Directories
browsable = no
read only = no
create mode = 0750

[GL-Samba]
path = /mnt
read only = no
guest ok = yes

My config file is the same, except I have the line “browseable = yes”

Can you run the command “df” in SSH?

Also run the command “ls -ld /mnt”.

root@GL-AR750S:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 12800 12800 0 100% /rom
tmpfs 61788 496 61292 1% /tmp
/dev/ubi0_1 101036 3488 92712 4% /overlay
overlayfs:/overlay 101036 3488 92712 4% /
tmpfs 512 0 512 0% /dev
/dev/sda1 250625540 95496 250530044 0% /mnt/JumpDrive

root@GL-AR750S:~# ls -ld /mnt
drwxr-xr-x 1 root root 296 Feb 9 01:04 /mnt

Is the “browsable = yes” in the same location?

I.E., should I change my current setting or add it to the end of the file?

The USB drive is mounted as /mnt/JumpDrive, but you shared /mnt. In the GL.iNet UI → File Sharing, change Current Direcdtory to /mnt/JumpDrive.

It should be okay to add “browsable = yes".

1 Like

Well shoot, thank you, this worked! I had set it up prior to getting the jump drive working and had left it as is.

1 Like