DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-05-30 03:42:04

gunrunnerjohn
Member
Registered: 2010-04-26
Posts: 6

Modify smb.conf file for DNS-323

First off, I'm a Linux newbie, so be gentle. smile

I'm trying to add a single line to the smb.conf file to disable the DNS-323 from being the master browser.  This sounded pretty simple, of course that's not always the case.

I found a set of instructions that appeared to detail exactly what I wanted to do, so I tried it, but no job.  Here's the page, the instructions are under the SAMBA modifications.  His were more extensive, I just wanted one lousy added line!

Here's what I did.

- Make a copy of the smb.conf file from /etc/samba
- Edit the copy and add the line: local master = no in the [public] section of the file
- Create a directory in the /ffp/start directory named config and copy my modified file there.
- Create a file called rconfig.rc in /ffp/start with the following contents

Code:

#!/ffp/bin/sh

config_dir="/ffp/start/config"
cp $config_dir/smb.conf /etc/samba/

- Restart the DNS-323


Naturally, this didn't work as planned, or I probably wouldn't be here!   When I go look at the /etc/samba/smb.conf file after the restart, of course the line in question isn't there.


Where did I go wrong?

Offline

 

#2 2010-05-30 18:12:54

gunrunnerjohn
Member
Registered: 2010-04-26
Posts: 6

Re: Modify smb.conf file for DNS-323

All fixed! smile  I had a typo in the file, and I also had to stop SAMBA, make the mods, then start SAMBA again.  Works like a champ.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB