Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
A recent release of SAMBA (3.3.2) appears to address a couple of issues that I've seen once or twice;
- Fix renaming/deleting of files using Windows clients.
- Fix renaming and deleting of directories using Windows clients
- Fix saving of files on Samba share using MS Office 2007
May I humbly request an update to ffp's current Samba package
Offline
Samba comes with the firmware and not funplug. There is a wishlist for the 1.07 firmware at the official dlink forums (which this is not).
http://forums.dlink.com/index.php?board=155.0
Don't get your hopes up. They JUST upgraded from the 2.x version. Pretty sure your request won't happen but who knows.
Last edited by madpenguin (2009-03-27 03:22:51)
Offline
I think FFP also distributes a version (3.2.3) if you go through the steps to shutdown the firmware provided version. See this post: http://dns323.kood.org/forum/viewtopic. … 033#p25033
I assume Bob was referring to that since he specifically mentioned FFP. BTW 3.3.2 compiles pretty easily on the DNS323 if you have all of the FFP packages installed and want to get it done yourself. See this thread for one workaround: http://dns323.kood.org/forum/viewtopic.php?id=3679
-Jeff
Offline
http://www.inreto.de/dns323/fun-plug/0. … html#samba
PS: It's untested, and I leave the older version online until you confirm that this version works properly.
Offline
fonz wrote:
http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html#samba
PS: It's untested, and I leave the older version online until you confirm that this version works properly.
DL'ed with great appreciation.
Installation was easy and the result seems perfectly fine. I'll run the the package for a few days then report back.
Thanks again.
Offline
jdoering wrote:
I assume Bob was referring to that since he specifically mentioned FFP.
That I was!
jdoering wrote:
BTW 3.3.2 compiles pretty easily on the DNS323 if you have all of the FFP packages installed and want to get it done yourself. See this thread for one workaround: http://dns323.kood.org/forum/viewtopic.php?id=3679-Jeff
I have been imposing an awful lot lately and should take a closer look at how to obtain and compile the source code for Samba and Network UPS Tools. Thanks for the link. I'll give the content a read to see if I understand how to move forward in this regard.
Offline
rcblackwell wrote:
I have been imposing an awful lot lately and should take a closer look at how to obtain and compile the source code for Samba and Network UPS Tools. Thanks for the link. I'll give the content a read to see if I understand how to move forward in this regard.
The simpler way is to get the subversion repository (see ffp howto). All I did was to modify the samba version in source/samba/PV, and run ./Make -F samba (to download the new source tarball), and ./Make samba to compile the package.
Offline
fonz wrote:
rcblackwell wrote:
I have been imposing an awful lot lately and should take a closer look at how to obtain and compile the source code for Samba and Network UPS Tools. Thanks for the link. I'll give the content a read to see if I understand how to move forward in this regard.
The simpler way is to get the subversion repository (see ffp howto). All I did was to modify the samba version in source/samba/PV, and run ./Make -F samba (to download the new source tarball), and ./Make samba to compile the package.
I'm learning a lot and making out reasonably well however I've run into a little issue I can't find a solution for;
mkdir bin
Compiling lib/talloc/talloc.c
distcc[28422] ERROR: nonblocking connect to 127.0.0.1:3632 failed: Connection refused
distcc[28422] Warning: failed to distribute lib/talloc/talloc.c to 127.0.0.1, running locally instead
Linking non-shared library bin/libtalloc.a
ar: applet not found
make: [bin/libtalloc.a] Error 1 (ignored)
Compiling lib/replace/replace.c
distcc[28443] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/replace/snprintf.c
distcc[28453] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/replace/getpass.c
distcc[28463] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/replace/strptime.c
distcc[28473] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/replace/getifaddrs.c
distcc[28487] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
creating /mnt/HD_a2/svn/funplug/trunk/work/samba-3.3.2/samba-3.3.2/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so.1
Compiling lib/tdb/common/tdb.c
distcc[28523] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/dump.c
distcc[28533] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/transaction.c
distcc[28543] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/error.c
distcc[28556] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/traverse.c
distcc[28566] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/freelist.c
distcc[28576] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/freelistcheck.c
distcc[28586] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/io.c
distcc[28596] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/lock.c
distcc[28607] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Compiling lib/tdb/common/open.c
distcc[28617] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Linking non-shared library bin/libtdb.a
ar: applet not found
Any insight would be appreciated
Offline
rcblackwell wrote:
distcc[28422] ERROR: nonblocking connect to 127.0.0.1:3632 failed: Connection refused
distcc[28422] Warning: failed to distribute lib/talloc/talloc.c to 127.0.0.1, running locally instead
distcc is a mechanism to speed up compilation by using additional computers on the network. I recommend you disable
distcc by removing source/Conf.d/build-env/distcc.sh, which will stop the messages.
rcblackwell wrote:
Linking non-shared library bin/libtalloc.a
ar: applet not found
make: [bin/libtalloc.a] Error 1 (ignored)
Did you install binutils (contains the ar program)?
Offline
fonz wrote:
distcc is a mechanism to speed up compilation by using additional computers on the network. I recommend you disable
distcc by removing source/Conf.d/build-env/distcc.sh, which will stop the messages.
Great News; removing that file solved the error problem! I've now built my first DNS323 package for ffp
fonz wrote:
Did you install binutils (contains the ar program)?
binutils is one of many packages installed on Monday while attempting to set up an environment on the DNS323. I have a sneaking suspicion that an rsync job that syncs a USB install of ffp with an /mnt/HD_a2 install may have botched a few files and thus caused the ar error. After removing the above noted file an attempt was made to build the samba package. Make failed with an error indicating a problem existed with "grep" (The absence thereof). I'd seen this problem once before and knew that grep wasn't (properly?) installed so I reinstalled it along with binutils.
The only question I have now is why it took almost 2 1/2 hours to Make the package? Is the amount of time considered normal? If not, how can I go about improving the build time?
System config:
- ffp runs off a USB drive
PS reveals the following (BTW, I didn't realize until now that syslog is active!. That will be shut off immediately);
1 root init
2 root [ksoftirqd/0]
3 root [events/0]
4 root [khelper]
5 root [kthread]
11 root [kblockd/0]
14 root [khubd]
52 root [aio/0]
51 root [kswapd0]
190 root [scsi_eh_0]
191 root [scsi_eh_1]
192 root [scsi_eh_2]
193 root [scsi_eh_3]
204 root [mtdblockd]
218 root [kcryptd/0]
219 root [kmirrord/0]
238 root [loop0]
1233 root atd
1605 root chkbutton
1630 root /web/webs
1634 root fancontrol
1653 root crond
1680 root op_server 3 3 3
1687 root -sh
1718 root pure-ftpd (SERVER)
1804 root [scsi_eh_4]
1805 root [usb-storage]
1932 root /ffp/sbin/syslogd
1942 root /ffp/sbin/klogd -c 3
1973 root /ffp/bin/ntpd -g -x
1984 root /ffp/sbin/telnetd
1999 root /ffp/sbin/sshd
2039 root /ffp/bin/rsync --daemon --config=/ffp/etc/rsyncd.conf
2047 root /ffp/bin/usbhid-ups -a APC_UPS
2049 root /ffp/sbin/upsd
2051 root /ffp/sbin/upsmon -u monuser
2052 nutmon /ffp/sbin/upsmon -u monuser
2063 root /ffp/sbin/mt-daapd
2064 root /ffp/sbin/mt-daapd
2072 root /ffp/sbin/mt-daapd
2079 lighttpd /ffp/sbin/lighttpd -f /ffp/etc/lighttpd.conf
2081 root /ffp/sbin/mt-daapd
31425 root /ffp/sbin/smbd -D
31435 root /ffp/sbin/nmbd -D
31436 root /ffp/sbin/nmbd -D
31438 root lpd Waiting
31441 root /ffp/sbin/smbd -D
5124 root [pdflush]
5125 root [pdflush]
23916 root /ffp/sbin/smbd -D
23960 root sshd: root@notty
23964 root sh -c /ffp/libexec/sftp-server
23965 root /ffp/libexec/sftp-server
23981 root sshd: root@pts/0
23985 root -sh
24113 root sshd: root@notty
24120 root sh -c /ffp/libexec/sftp-server
24121 root /ffp/libexec/sftp-server
24588 root sshd: root@notty
24590 root sh -c /ffp/libexec/sftp-server
24591 root /ffp/libexec/sftp-server
24620 root sshd: root@notty
24622 root sh -c /ffp/libexec/sftp-server
24623 root /ffp/libexec/sftp-server
21515 root /ffp/sbin/smbd -D
26981 root ps
Offline
rcblackwell wrote:
The only question I have now is why it took almost 2 1/2 hours to Make the package? Is the amount of time considered normal? If not, how can I go about improving the build time?
You have a lot of processes running there, on a box with not much memory or processing power. I din't know what is the norm for compilation on the 323, but you will cut compilation time dramatically if you cross-compile, or you could also shutdown all of the services that you don't need while you are compiling and restart them once done.
Last edited by luusac (2009-04-02 05:15:54)
Offline
rcblackwell wrote:
The only question I have now is why it took almost 2 1/2 hours to Make the package? Is the amount of time considered normal? If not, how can I go about improving the build time?
Samba is one of the biggest packages in ffp. Build time on my DNS was about 2h. This is due to the low amount of memory in the DNS-323. It needs to swap a lot, and that's really slow.
Offline
fonz wrote:
Samba is one of the biggest packages in ffp. Build time on my DNS was about 2h.
Given the number of processes that were running during the compile process it doesn't look like my time is much different then yours. Thanks for providing this insight. It's helps me understand what's happening and assures me I'm on the right track.
Offline
luusac wrote:
.... you will cut compilation time dramatically if you cross-compile, or you could also shutdown all of the services that you don't need while you are compiling and restart them once done.
Shutting down services is indeed an alternate solution although my preference would be to leverage the "horsepower" of another computer through cross-compiling. Being a linux newbie and not knowing much about compiling programs I must ask (Please hold your laughter until after you've replied); can I cross-compile using a Windows based PC?
Last edited by rcblackwell (2009-04-02 23:30:18)
Offline
the last time that I did anything linux like in windows (quite a while ago) was cygwin running on windows. But you could run a win/linux dual boot (so you would have a full linux distrib on that 'windows' pc), or a linux live cd (but then you would need to set up your compile env everytime you wanted to compile something).
Last edited by luusac (2009-04-03 02:24:45)
Offline
Perhaps using a virtual machine under windows?
You can install VirtualBox, or qemu, or vmware, or virtualpc (some free other costless) in windows, than install linux on it. Simple and fast.
You can even download prebuild linux images for some of those virtual machines -- no linux instalation needed.
Last edited by jcard (2009-04-03 04:45:47)
Offline
luusac wrote:
the last time that I did anything linux like in windows (quite a while ago) was cygwin running on windows.
I use CygWin for nightly backups and have started to investigate this as option a little further. I'll post a few notes if I'm able to get things working.
Last edited by rcblackwell (2009-04-04 01:56:19)
Offline
jcard wrote:
Perhaps using a virtual machine under windows?
You can install VirtualBox, or qemu, or vmware, or virtualpc (some free other costless) in windows, than install linux on it. Simple and fast.
You can even download prebuild linux images for some of those virtual machines -- no linux instalation needed.
Now there's a thought! If I'm unsuccessful with CygWin I'll give this a try.
Offline
rcblackwell wrote:
fonz wrote:
http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html#samba
PS: It's untested, and I leave the older version online until you confirm that this version works properly.DL'ed with great appreciation.
Installation was easy and the result seems perfectly fine. I'll run the the package for a few days then report back.
Thanks again.
Samba 3.3.2 has been running without problem on my DNS323 for a week now. Installation/upgrade from the previous version (3.2.3) was easy as no additional configuration was required.
Many thanks to fonz for providing the updated package and to all who helped me understand how to build my on packages.
Last edited by rcblackwell (2009-04-04 15:23:51)
Offline
I found out another nice thing about the new samba version. It opens file and folder handles only when somebody is actually accessing the data.
"lsof | grep HD" doesn't show anything anymore when the samba process is idle. The old version always kept "/mnt/HD_x" open.
Offline
I'm trying to upgrade samba to 3.3.2 on my DNS-323 and am having issues. I have FW 1.60 and FFP 0.5 installed. I've installed the samba 3.3.2 from Fonz site including the required packages. I stopped samba with "/usr/bin/smb stop" then copied smb.conf to the /ffp/etc/samba directory and restarted samba with "/ffp/start/samba.sh start" (after chmod ug+x samba.sh).
samba process shows with "ps" and in the Vista Network folder DNS323 shows up with volume_1 and volume_2; but when trying to access either from Vista I get login incorrect or something to that effect.
I'm a Linux newbie and need a lot of hand holding. What do I need to do to get this working?
Update: I added to the smb.conf file "smb passwd file = /ffp/etc/samba/smbpasswd" after copying smbpasswd from /etc/samba/
Everything worked after restarting samba server (/ffp/start/samba.sh start)!
Now I just have to start the updated samba server just after boot.
Last edited by engcompass (2009-04-30 18:25:04)
Offline
engcompass wrote:
Update: I added to the smb.conf file "smb passwd file = /ffp/etc/samba/smbpasswd" after copying smbpasswd from /etc/samba/
If you store the smbpasswd file in the /ffp/etc/samba/private directory the additional configuration line shouldn't be required.
Offline
rcblackwell wrote:
engcompass wrote:
Update: I added to the smb.conf file "smb passwd file = /ffp/etc/samba/smbpasswd" after copying smbpasswd from /etc/samba/
If you store the smbpasswd file in the /ffp/etc/samba/private directory the additional configuration line shouldn't be required.
Perfect! That actually solved a couple of strange behavior trying to access shares from WinXP. Thanks.
I still haven't figured out why my shares cannot be mapped by IP with samba 3.3.2. Using the share names worked, though.
More frustrating, I can't seem to start samba 3.3.2 via a ffp/start/samba.sh script at boot. I inserted "smb stop" and "killall nmbd" before "/ffp/start/samba.sh start" but ffp.log shows:
* /ffp/start/samba.sh ...
$Shutting down SMB services:
$Shutting down NMB services:
WARNING: smbd: Already running
WARNING: nmbd: Already running
And nothing about starting the new samba. "PS" after boot shows no samba server running. Any suggestions?
Update: I placed the "/usr/bin/smb stop" line in fun_plug.init and a reboot. Process shows the correct samba running. Whew!
Last edited by engcompass (2009-05-01 04:44:45)
Offline
engcompass wrote:
More frustrating, I can't seem to start samba 3.3.2 via a ffp/start/samba.sh script at boot. I inserted "smb stop" and "killall nmbd" before "/ffp/start/samba.sh start" but ffp.log shows:
* /ffp/start/samba.sh ...
$Shutting down SMB services:
$Shutting down NMB services:
WARNING: smbd: Already running
WARNING: nmbd: Already running
And nothing about starting the new samba. "PS" after boot shows no samba server running. Any suggestions?
Update: I placed the "/usr/bin/smb stop" line in fun_plug.init and a reboot. Process shows the correct samba running. Whew!
I've just replaced my Samba with the FFP version and found adding a sleep command to start section in /ffp/start/samba.sh works quite well. This means you don't need to modify fun_plug.init, and if you ever disable the ffp samba version the firmware one keeps on working (e.g. an upgrade script).
samba_start() { /usr/bin/smb stop sleep 5s proc_start /ffp/sbin/smbd proc_start /ffp/sbin/nmbd }
from ffp.log:
* /ffp/start/samba.sh ...
$Shutting down SMB services:
$Shutting down NMB services:
Starting /ffp/sbin/smbd -D
Starting /ffp/sbin/nmbd -D
* /ffp/start/rsyncd.sh
Last edited by ruddj (2009-07-21 19:39:32)
Offline
I've been trying to set up my own compile environment and am almost there. I'm running into the following error. Any pointers as to what is causing it?
Compiling utils/smbcacls.c Linking bin/smbcacls ompiling utils/smbcacls.c Linking bin/smbcacls collect2: ld returned 1 exit status make: *** [bin/smbcacls] Error 1
Offline