Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
For anyone who wants Samba 3.4.5... Bob Blackwell was kind enough to get me the binaries of Samba 3.4.5 for the DNS323 (from the source code located at http://samba.org/samba/ftp/stable/samba-3.4.5.tar.gz). This helped me solve an issue I was seeing under Windows 7.
This is not an official FFP package nor is it an Optware package. All you need to do is to put all the files in the /ffp folder and that's it! (if you're using SWAT, you'll need to do the standard update to your /etc/services file and inetd/xinetd config).
The binary package is too big to fit as a message attachment. It is located at http://www.patrickdrolet.com/dns323/samba-3.4.5-1.tgz (if someone knows how to upload it to this forum, please do!).
Regards,
-Patrick
Offline
Umm, not sure how to do this...
When I unpack the tarball on a windows machine, I see a whole directory tree with files, similar to what's already in /ffp.
I'm assuming that if I just unpack it on the 323, I might overwrite the ffp that's already there. Should I just copy manually all the files into the right folders on the 323? Or is there an untar command line switch that does this?
Jim.
ps, thanks for the files, I've been wanting to update and re-configure samba for a while now!
Offline
JamesD wrote:
I'm assuming that if I just unpack it on the 323, I might overwrite the ffp that's already there. Should I just copy manually all the files into the right folders on the 323? Or is there an untar command line switch that does this?
I did a "tar-zxvf" in a temp directory, then "cp -pr" into /ffp. In retrospec, I could have done the untar straight into ffp.
Note that I had to redo my passwd file (using swat)
JamesD wrote:
ps, thanks for the files, I've been wanting to update and re-configure samba for a while now!
Kudo goes to Bob Blackwell. I'm just the facilitator!
-Patrick
Offline
Guys... That's a funplug package. Do:
funpkg -i samba-3.4.5-1.tgz
Offline
pdrolet, would Bob Blackwell maintain compiling new versions of samba for our devices? There is new 3.4.6 build with some important bug fixes.
Offline
Isildur wrote:
Would Bob Blackwell maintain compiling new versions of samba for our devices? There is new 3.4.6 build with some important bug fixes.
I see a few things of interest in this build thus I'll commit to compiling 3.4.6. It may take a few days to make room in my schedule but I should have something ready for Sunday.
fonz If I'm able to post the build here as an attachment would you add it to your collection thus making it available to everyone?
Offline
madpenguin wrote:
Guys... That's a funplug package. Do:
funpkg -i samba-3.4.5-1.tgz
I use the -u option rather than the -i option when upgrading from a previous version.
funpkg -u samba-3.4.5-1.tgz
Offline
rcblackwell, thank you for your work. That would be great, if you will provide a new build, because there is a bug with 3.4.5 and printing in win7x64 (which is fixed in 3.4.6). Temporary I added to the conf file:
disable spoolss = Yes
and printing with this parameter works fine in x64 clients, but I don't know how it affects on stability or performance of NAS.
p.s. If this is not difficult for you, could you give us some instruction (e.g. log of your bash input) of compiling process? It is very interesting for me to know which parameters you set to be able to compile this package, to have the opportunity to recompile new versions or change some components by my hands.
Offline
I kinda wish people would post their build scripts as well. You guys are awfull trusting of people. What if a post-install script had this line in it?
rm -rf /mnt/HD_a2/*
If your a control freak, build scripts are the way to go anyway....
http://www.jaguarlinux.com/pub/DNS-323/
That's hosted on a 323 BTW...
Offline
Isildur wrote:
rcblackwell, thank you for your work. That would be great, if you will provide a new build, because there is a bug with 3.4.5 and printing in win7x64 (which is fixed in 3.4.6). Temporary I added to the conf file:
Code:
disable spoolss = Yesand printing with this parameter works fine in x64 clients, but I don't know how it affects on stability or performance of NAS.
p.s. If this is not difficult for you, could you give us some instruction (e.g. log of your bash input) of compiling process? It is very interesting for me to know which parameters you set to be able to compile this package, to have the opportunity to recompile new versions or change some components by my hands.
For the most part I follow instruction found at http://dns323.kood.org/howto:subversion:fun_plug_native when building packages for my DNS323. With a couple of changes to the PV configuration file I'm able to build the appropriate package. In this case Samba 3.4.6. I have the package built and will be passing it along to fonz as soon as I find a means to do so; the size of the package exceeds my ISP's package limits. The build was performed with these config options;
--sysconfdir=$CPREFIX/etc --localstatedir=$CPREFIX/var --with-piddir=$CPREFIX/var/run --with-fhs --with-libiconv=$CPREFIX libreplace_cv_HAVE_IPV6=no
For those interested the build logs attached.
Last edited by rcblackwell (2010-02-28 15:45:05)
Offline
madpenguin wrote:
I kinda wish people would post their build scripts as well.
Most provide build scripts. Sometimes you need to ask.
A problem with building from source on a DNS-323 is that not all packages will compile successfully on the box itself. For some packages, I need to use a qemu emulator - sadly, it's more stable.
Offline
rcblackwell wrote:
fonz If I'm able to post the build here as an attachment would you add it to your collection thus making it available to everyone?
Thanks, Bob.
Your package can be downloaded from here: http://www.inreto.de/dns323/fun-plug/0. … -packages/
Offline
I would like to try to create a virtualbox image build environment for creation of ffp packages. With intension to share it to others. Would it be possible to create a ubuntu based emulated environment, qeumu for "native" compile?
I have managed to setup a crosscompile environment according to wiki:howto, but it doesnt seem to be a good way creating ffp packages.
Offline
fonz wrote:
Your package can be downloaded from here: http://www.inreto.de/dns323/fun-plug/0. … -packages/
fonz was kind enough to acquire then post the necessary Samaba files for all those wishing to utilize such. They're available at the link listed above.
fonz: Thank you for assisting.
Last edited by rcblackwell (2010-03-01 21:06:17)
Offline
What about Samba 3.5.0? It has experimental SMB2 support, would love to give that a try!
Offline
Already tried. Seems to require fstab.h which I'm pretty sure is a Glibc only thing.
Offline
I've managed to install the Samba funpkg... I also went into /ffp/start and did a chmod a+x on samba.sh so it runs at boot. Do I need to disable the old samba daemon in the Gui, or does this funpkg effectively replace it upon installation?
Offline
indiematt wrote:
I've managed to install the Samba funpkg... I also went into /ffp/start and did a chmod a+x on samba.sh so it runs at boot. Do I need to disable the old samba daemon in the Gui, or does this funpkg effectively replace it upon installation?
You will need to kill the old samba.
On /ffp/etc/fun_plug.local, at the end I inserted:
echo "* Stopping Samba Services" /bin/kill `pidof nmbd` /bin/kill `pidof smbd` sleep 3 echo 'swat 901/tcp' >>/etc/services
fun_plug.local, if it exists, will be sourced by fun_plug, I think it must be set executable.
Mektub
Offline
Mektub, I notice you add SWAT to the services. Does it actually work? I've added the line as well, but it doesn't seem to work. I also tried running the swat command and then connect, but nothing. Anything I'm missing?
Offline
rb338 wrote:
Mektub, I notice you add SWAT to the services. Does it actually work? I've added the line as well, but it doesn't seem to work. I also tried running the swat command and then connect, but nothing. Anything I'm missing?
Yes, it works, and very well. You will have to connect to it through your browser like this:
http://dns323:901/
or
http://192.168.1.22:901/
Where the IP is the IP of your DNS323, or a symbolic name if you have some kind of name translation.
For this to work, since swat is started by inetd, I have inetd installed, /ffp/start/inetd.sh is set
to executable, and /ffp/etc/inetd.conf has:
swat stream tcp nowait.400 root /ffp/sbin/swat swat
Possibly you could start swat as a standalone service in the DNS323 instead of through inetd, but I didn't explore that path.
Mektub
Offline
thanks a lot guys for all the pointers. got everything working including swat. quick Q. i had to copy the smb.conf file from the /etc/samba to /mnt/HD_a2/ffp/etc/samba. now if i update the smb settings from the Dlink GUI/webpage which smb.conf is it updating?
hmm.. i am having problems logging in from windows with my earlier username/passwd. every time i reboot the unit the samba password is not working. can someone tell me how to fix the password file properly so it sticks upon restart? thanks
edit 2: bah! i have no clue what happened but after a few restarts of the DNS323 and a restart of my PC the SWAT interface suddenly was showing lot more options in my browser. (i probably had logged in using a diff name or something in SWAT - dont remember but this time i logged in as root) . now i could add "new" users and i added all my previous user accounts i had and now it works/sticks on reboots. i guess problem solved.
Last edited by deshwasi (2010-03-14 21:44:29)
Offline
Decided to give 3.4.6 a whirl on the DNS-323. Seems to be working fine. Am I correct in assuming that copying the native DNS-323 smb.conf file over to the /ffp/etc/samba directory and using SWAT to maintain it is all that is needed? I did need to add my users and passwords in through SWAT before I could access the shares under 3.4.6. But other than that nothing unusual.
Offline
jesbo wrote:
Decided to give 3.4.6 a whirl on the DNS-323. Seems to be working fine. Am I correct in assuming that copying the native DNS-323 smb.conf file over to the /ffp/etc/samba directory and using SWAT to maintain it is all that is needed? I did need to add my users and passwords in through SWAT before I could access the shares under 3.4.6. But other than that nothing unusual.
That's exactly what I had to do (eg: copying smb.conf and reconfiguring passwords since the password database approach seems different).
-Patrick
Offline
I finally got the latest 3.4.6 working with the same functionality I had before on the default firmware version of Samba. I definitely do not have those crazy 100% CPU problems anymore.
Few things:
- Where is the location of the smbpasswd file? It doesn't seem to be present at /ffp/etc/samba/private/smbpasswd as seen in the SWAT interface.
- I added a new user from /usr/sbin/samba/smbpasswd -a <username> (In case there are any people out there who have been looking for it)
- Where is the log file for Samba?
Problems:
- Audio and Video now do not stream nicely over CAT5E cables. Videos will play for a few minutes before stopping (can't resume playback, as if the resource disappeared and then reappeared seconds later). Audio has constant cutting out. Audio player reports: "Network resource unreachable" randomly through a song, then starts playing the next song.
Could that be a problem with the HD possibly failing? SMART says both of my drives have "PASSED". Whatever that means.
I'm still on FW 1.04, DNS-323 (B1), using Windows 7 x64.
Thanks for the release!
Last edited by krackpot (2010-05-31 04:02:46)
Offline
A solution to the problems outlined in my last post.
It's a Master Browser issue. I followed the instructions from: http://dns323.kood.org/forum/viewtopic.php?id=5717
It seems to have solved the problem as of now.
Offline