Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm trying to follow the howto: Change_share_name.
I'm using 1.04 firmware on a DNS-323. I have a Raid-0 (2x 1tb drives). /mnt/HD_a2 is mounted as the file system. I use the funplug to get telnet access. I haven't added any users or groups, or modifed the network access (all are defaults).
Problems:
If I save the config file from the web page, there is no entry for "[ Volume_1 ]", in fact, no reference to Volume 1 at all.
There is no file /mnt/HD_a4/.systemfile/.smb.ses that I can find. In fact, I can't find any files named "*.ses".
So, what am I doing wrong?
Also, where are the config files stored, and how does the boot sequence generate the /etc/samba/smb.conf file?
Offline
First, I would advise against the restore configuration method of making changes
to your DNS-323. There are several post of users who unknowingly changed the
line endings of the saved configuration file (by using windows editors) which caused
their DNS-323 to stop working correctly.
Another aspect of the restore configuration method is that (I believe) it writes the
changes directly to the NVRAM flash memory, so if you make any mistakes you can't
just reboot to clear the changes.
I would suggest (in a telnet session) you make a copy of the /etc/samba/smb.conf file
and edit it to add your desired options. Then copy is over the existing /etc/samba/smb.conf
file and restart the samba process. Test your changes from windows, and once you get the
correct result, create a script which will run at start up that will copy your customized smb.conf
file over the /etc/samba/smb.conf file and restart the samba process.
Last edited by mig (2008-04-29 23:53:51)
Offline
Thanks. I'll try your suggestion.
Do you have any idea why I'm not seeing the same files others are seeing (with v1.04), i.e. the .smb.ses doesn't exist for me,
and the saved config file doesn't mention volume_1?
Offline
I have a DNS-323 (A1) with FWv1.03 and I see both the volume_1 in the
saved configuration file and the .smb.ses file
I have another (B1) with FWv1.04 and I see the volume_1 in the
saved configuration but no .smb.ses file
So, I don't know what to tell, ya? I have mixed results, too.
Do you see a [Volume_1] section in your /etc /samba/smb.conf file?
Offline
> Do you see a [Volume_1] section in your /etc /samba/smb.conf file?
Yes, but not in the CfgBackup file (saved by the web iface).
Offline
Hello Farmwald!
I spent more than one hour yesterday searching in vain the .smb.ses after upgrade of my fw to 1.04...
From my understanding, this file contains the part of the samba configuration that need to be preserved accross firmware upgrade. However, in the case of fw 1.04, the existing .smb.ses is deleted, because new fields for the configuration are present (Oplocks / Map Archive under Web access Advanced / Network Access Settings).
The important point to note is that the .smb.ses file is created only when setting the Network Access up. If you want the default network access, then remove the Volume_1 and Volume_2 share access, re-create it and save. This should do the trick.
HTH,
LD
Offline
Thanks!
Deleting the share under Advanced/Network Access, and then recreating it worked, and the .smb.ses file now exists.
I edited it, rebooted and all is happy.
Maybe someone should edit the FAQ?
Next, I'll try creating a second share & see if I can get multiple shares with choice of names.
Will report back later.
Offline
I'll update the wiki entry; I added the CRLF warnings and the .smb.ses details.
The default settings are embedded in one (or more) of the binaries that boots the DNS-323 so the .smb.ses file is only created if you change from the defaults as you discovered. I intended the existing comment from the FAQ to highlight this; but on re-reading I still know what I meant but see that it may not have been explicit enough:
"(once a new share has been created or the default share settings updated)"
Additional shares you create with the web interface should go to the appropriate .smb.ses file (depending on volume-1 or 2); you can definitely edit them in the file. However; adding extra settings to the file may or may not work. When I tried it seemed to work fine for samba but confused the web interface badly
-Jeff
Offline