• February 28, 2025, 01:17:18 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Network Access Settings (shares) removed after reboot?  (Read 5990 times)

MikeJ

  • Level 1 Member
  • *
  • Posts: 4
Network Access Settings (shares) removed after reboot?
« on: July 21, 2010, 11:29:33 AM »

Hello,

I have recently purchased a new DNS-323 and successfully configured it with 2x2TB drives. I can copy data to it without issues using the default shares (which are open to EVERYONE). I have also upgraded the firmware to the latest version (1.09).

The problem is that when I create a user and a share assigned to that user the settings do not survive a device restart or reboot. What this means is that currently, the only way for me to access the shares after a reboot is to select the button that resets the network access list (button: "Reset Network Access List").

Every time I reboot after creating custom shares, all the shares listed below are gone. If I hit the above button and reboot (default settings - wide open share to everyone) the setting survives the reboot. But that's not secure, not what I want.

I have tried:

1) Hardware reset - no success
2) deleting the default share, then creating a new share - no success
3) deleting the default share, rebooting, then trying to create a new share that's persistent (survives reboot) - no success.

Has anyone got a solution to this? I don't plan on rebooting this device often, but it's not ideal to have to create the shares every time (particularly after power failures...).

Sincerely,
Mike
Logged

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: Network Access Settings (shares) removed after reboot?
« Reply #1 on: July 21, 2010, 04:30:42 PM »

I'd contact support about a RMA for that unit.
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

stdio

  • Level 1 Member
  • *
  • Posts: 3
Re: Network Access Settings (shares) removed after reboot?
« Reply #2 on: July 21, 2010, 07:28:53 PM »

Dear Mike,

The 323's samba config items is recording on HD's hidden partition.
Please check it.

1. telent 323
2. cd /mnt/HD_a4/.systemfile/  or (/mnt/HD_b4/.systemfile)
3. cat .smb.ses

check the file content of .smb.ses file
Logged

MikeJ

  • Level 1 Member
  • *
  • Posts: 4
Re: Network Access Settings (shares) removed after reboot?
« Reply #3 on: July 22, 2010, 10:35:37 AM »

Hello,

Thank you for responding. Dosborne, i don't believe the device is defective because I've read several other posts on this forum from users experiencing the same issue. That is to say, it could be defective software, but likely not the Unit itself.

To Stdio, thank you for your reply. Is the only way to telnet to the 323 via the FFP plugin? How else can I telnet there?

Thanks for your quick replies.

Mike
Logged

MikeJ

  • Level 1 Member
  • *
  • Posts: 4
Re: Network Access Settings (shares) removed after reboot?
« Reply #4 on: July 23, 2010, 02:00:05 PM »

Thanks STdio, I found the information you were looking for:

Code: [Select]
/mnt/HD_a4/backup/.systemfile # cat .smb.ses
#version = 1.06
[ Volume_1 ]
comment =
path = /mnt/HD_a2
valid users = mike
read only = no
guest ok = no
oplocks = no
map archive = no

So... I guess this means it saved the SMB settings. But for some reason I cannot access the share (and it does not show up when I log into the web administration panel).

Is there anything I can do from here to have the 323 reload this config?

Thanks again,
Mike




Logged

MikeJ

  • Level 1 Member
  • *
  • Posts: 4
Re: Network Access Settings (shares) removed after reboot?
« Reply #5 on: July 23, 2010, 03:37:26 PM »

Solved.

To anyone else facing this issue (who is willing to install the FFP plugin - which is easy) all you need to do is copy the last entries in the .smb.ses file to /etc/samba/smb.conf.

To review the steps:

1) Delete the 'allow everyone full access' share
2) Create your own shares
3) telnet to your device
4) cd /mnt/HD_a4/.systemfile/  or (/mnt/HD_b4/.systemfile) (as suggested by stdio)
5) cat .smb.ses >> /etc/samba/smb.conf

For those who might not know, step 5 takes the shares that are configured and stored in .smb.ses and simply adds them to the end of the smb.conf file in /etc/samba.

The shares worked immediately.

Hope this helps someone...

Regards,
Mike
Logged