• February 24, 2025, 05:21:44 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.

Pages: 1 [2]

Author Topic: Make dns320 the master browser  (Read 23538 times)

Moley85

  • Level 1 Member
  • *
  • Posts: 15
Re: Make dns320 the master browser
« Reply #15 on: February 08, 2012, 09:06:03 AM »

i have ffp installed, as i was using it orginally, i never deleted it so to get back to it i just change back the fun_plug from fonz, and carry on were i left off in ffp


I still can ssh/telnet into my nas, its just in the debian environment. I mainly went the debian root because the optware version of sabnzbd is well out of date!

so what can i do? is this possible in the debian environment?

edit: if theres a way to get sabnzbd, sickbeard, couchpotato and headphones running their latest versions on ffp, im more than happy to go back to that, but as it stands i cant find away to do it unless im in debian
« Last Edit: February 08, 2012, 09:16:19 AM by Moley85 »
Logged

albert

  • Level 5 Member
  • *****
  • Posts: 510
    • SoHo NAS Forum
Re: Make dns320 the master browser
« Reply #16 on: February 08, 2012, 09:32:02 AM »

Try adding the following into fun_plug file, restart NAS and edit the mod_smb.conf found in /root folder and reboot again. Hopefully it will work.

Code: [Select]
#!/bin/sh

# Root DISK1
export DISK1=/mnt/HD/HD_a2
export DISTDIR=squeeze


# copy original native smb.conf into debian /root folder
[ ! -f $DISK1/$DISTDIR/root/mod_smb.conf ] && cp /etc/samba/smb.conf $DISK1/$DISTDIR/root/mod_smb.conf
[ -f $DISK1/$DISTDIR/root/mod_smb.conf ] && cp $DISK1/$DISTDIR/root/mod_smb.conf /etc/samba/smb.conf
smb restart


cd $DISK1

mount --bind $DISK1 $DISTDIR$DISK1
mount --bind / $DISTDIR/mnt/root
mount --bind /dev $DISTDIR/dev
mount --bind /sys  $DISTDIR/sys
#mount --bind /sys/crfs $DISTDIR/sys/crfs
#mount --bind /web $DISTDIR/web
mount --bind /proc $DISTDIR/proc

cp -f /proc/mounts $DISTDIR/etc/mtab
rm -f $DISTDIR/etc/fstab
touch $DISTDIR/etc/fstab
cp -f /etc/resolv.conf $DISTDIR/etc
hostname >$DISTDIR/etc/hostname
cp -f /etc/hosts $DISTDIR/etc

$DISK1/$DISTDIR/boot/chroot $DISK1/$DISTDIR /boot/linuxrc
Logged
D-Link DNS-320 rev A1 (FW: 2.05) [FFP-0.7]
PCI NAS-01G (FW: Encore ENNHD-1000 4.10)
PCI NAS-01G (FW: OpenNAS 1.9]

albert

  • Level 5 Member
  • *****
  • Posts: 510
    • SoHo NAS Forum
Re: Make dns320 the master browser
« Reply #17 on: February 08, 2012, 09:34:37 AM »

It very late over at my end so going to bed soon. Let me know the outcome.
Logged
D-Link DNS-320 rev A1 (FW: 2.05) [FFP-0.7]
PCI NAS-01G (FW: Encore ENNHD-1000 4.10)
PCI NAS-01G (FW: OpenNAS 1.9]

Moley85

  • Level 1 Member
  • *
  • Posts: 15
Re: Make dns320 the master browser
« Reply #18 on: February 08, 2012, 09:38:26 AM »

Just rebooting, will 5 mins, thanks for your time bud  :)

Logged

Moley85

  • Level 1 Member
  • *
  • Posts: 15
Re: Make dns320 the master browser
« Reply #19 on: February 08, 2012, 09:43:25 AM »

It's not creating the mod_smb file

It's ok if you wanna go sleep, we can look at it again tomorrow?

edit: found it sorry was looking in the wrong place! ill have a play with it now, thanks for your help
« Last Edit: February 08, 2012, 09:58:31 AM by Moley85 »
Logged

Moley85

  • Level 1 Member
  • *
  • Posts: 15
Re: Make dns320 the master browser
« Reply #20 on: February 08, 2012, 10:11:11 AM »

thats the ticket, its now the master of my network, confirmed that its copied over the modified smb.conf file and smb was restarted!

thank you so much mate, appreciate it, whats your paypal so i can buy u a beer! had been trying to do this for a week!
Logged

albert

  • Level 5 Member
  • *****
  • Posts: 510
    • SoHo NAS Forum
Re: Make dns320 the master browser
« Reply #21 on: February 08, 2012, 06:07:07 PM »

You're most welcome, glad to know that the problem has been resolved.

Regarding the beer treat you're just too kind, actually I also learn something new along the way.  ;D
Logged
D-Link DNS-320 rev A1 (FW: 2.05) [FFP-0.7]
PCI NAS-01G (FW: Encore ENNHD-1000 4.10)
PCI NAS-01G (FW: OpenNAS 1.9]

cable2

  • Level 3 Member
  • ***
  • Posts: 299
Re: Make dns320 the master browser
« Reply #22 on: September 01, 2013, 11:47:16 AM »

Hi guys,
I am bring this thread back from the dead because I have been trying to find some way to force my DNS 320 to become the master browser on my home network in the simplest way possible.  My attempts to find a solution have failed.  I tried and thought I successfully installed ffp 0.7 and have been able to SSH into it but from this point on I am lost.  I should say I am a total noob to linux.  Initally, I looked for the smb.conf file but could find none nor any samba folder in my ffp directory.  Later, I then tried the install debian squeeze thinking I could then follow the thread to a solution.  A total failure, I think because all the files and directions I used were for ffp 0.5 not 0.7 that I have installed but I am not even sure of that.  Anyway, if any of you have a way that a noob can follow, I would appreciate your guidance.  Thanks.
Logged

albert

  • Level 5 Member
  • *****
  • Posts: 510
    • SoHo NAS Forum
Re: Make dns320 the master browser
« Reply #23 on: September 07, 2013, 09:13:19 AM »

@cable2, have you sorted out your problem? If not, I will look into as the solution given will not work for you.
Logged
D-Link DNS-320 rev A1 (FW: 2.05) [FFP-0.7]
PCI NAS-01G (FW: Encore ENNHD-1000 4.10)
PCI NAS-01G (FW: OpenNAS 1.9]

cable2

  • Level 3 Member
  • ***
  • Posts: 299
Re: Make dns320 the master browser
« Reply #24 on: September 08, 2013, 12:39:29 PM »

Thanks Albert,
I know you are the guy for this.  My goal was to force one of my 320's to become the master browser.  I have been using the trial and error method without much success.  At this point, I have installed ffp 0.7 ( I believe) and nothing else, i.e., no packages are installed.  I would like if possible to just use ffp with whatever package is necessary to enable the samba service.  My assumption is that I can then try to proceed with your initial directions and somehow make this 320 the master on my home network.  I have done several installs of ffp and at one point think I had debian squeeze installed but I don't want to go the debian route unless absolutely necessary.  I hope I made myself clear.  If it's not too much trouble for you I would appreciate your knowledgable assistance. 
Logged

albert

  • Level 5 Member
  • *****
  • Posts: 510
    • SoHo NAS Forum
Re: Make dns320 the master browser
« Reply #25 on: September 09, 2013, 06:52:26 AM »

There is no need to install Debian, the main requirement is to get FFP installed and working (ie. able to gain shell access via telnet/ssh).

Next, edit (create if not exist) fun_plug.local located in /ffp/etc folder. I personally prefer to use Nano editor, install this FFP addon if require.

Add the following codes into fun_plug.local and made sure that the file permission is set to executable (ie. 755, use ls -l to verify).
Code: [Select]
# Enable NAS to be local Master Browser
sed -i '/local master = /s/no/yes/' /etc/samba/smb.conf
smb restart

For some reason I keep getting error when testing if the NAS had indeed became the Master Browser using the LANscanner as mentioned by TS. But if I verify this using nbtstat, it show up correctly so give it a try and feedback.
Logged
D-Link DNS-320 rev A1 (FW: 2.05) [FFP-0.7]
PCI NAS-01G (FW: Encore ENNHD-1000 4.10)
PCI NAS-01G (FW: OpenNAS 1.9]
Pages: 1 [2]