Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi all -
I'm fairly new to the 323, but am an extreme linux nerd. I've installed debian sarge on my 323 following the instructions on the wiki. I'd like to disable the embedded SMBD and use the samba server from sarge (and fix things like file permissions, actually do access control, and probably set the nas up so it uses ldap to auth/do shares, so that this can be a real nas for a real network ;-)).
I'm assuming that I can't edit the firmware to disable to smbd when I boot the device because what I'm editing after boot is actually in a ramdisk (and never gets written to firmware on reboot or what-have-you). I can obviously just kill the standard smbd as part of my debian fun_plug. Will this cause any unforeseen problems though? It seems like there should be 0% chance of brickage, but figure I'd ask if anybody else is doing this sort of thing...
Thanks much,
Reid
Offline
KRH wrote:
can you share the nfsd as i relly like to use that insted of smb.
I'm using the unfs3 daemon from http://unfs3.sourceforge.net/. (My earlier
tries were nfs-utils and knfsd, but that crashed my DNS after a few seconds.
Then I tried the user-space NFS included in Debian and Suse, but that's NFSv2
with a 2GB limit).
It's compiled with --prefix=/opt and --sysconfdir=/opt/etc to work with
my fun_plug "construction". However, you can pass the path of your exports
file on the command line (-e /path/to/exports).
Download it from http://www.inreto.de/dns323/
There's also my rpc.portmap binary that must be run first, of course.
The rest of my fun_plug stuff is in the bob-linux tar.gz: my fun_plug script,
busybox 1.4.2, rsync 2.6.8, a simple web interface and some rc-scripts (for telnetd, inetd, rsync, portmap and nfs)
Offline
Finally, the kernel-based NFS server seems to work. I suspect a problem with the kernel modules, I compiled.
Today, I tried the kernel modules from http://dev.skcserver.de/dns323/modules/fs/ and it seems to work well.
I packaged the kernel modules, nfs-utils 1.0.10, and my rc-scripts: http://www.inreto.de/dns323/
The knfsd-start.sh script in rc.d/ expects the binaries in /opt/bin, kernel modules in /opt/modules, and an exports file in /opt/etc/.
It creates a link to the exports file in /etc, and a link to /opt/var/lib/nfs in /var/lib.
You'll still need the portmapper package, of course.
WARNING: It turned out that the kernel modules from skcserver.de still crash my DNS-323. It seems to work as long
as there is no concurrent access. So I cannot recommend to use my knfsd package. I reverted to my unfs package,
which seems to work satisfactory.
Last edited by fonz (2007-03-04 23:44:47)
Offline
hi fonz,
could you please write your fun_plug, how do you killed smbd and nmbd, then started your own samba and nfsd?.
thank you
Offline
asali wrote:
could you please write your fun_plug, how do you killed smbd and nmbd, then started your own samba and nfsd?.
I don't have a ready-to-use plug'n'play solution for you (yet). What I can offer now are portmap and unfs3 packages on my site for NFS (didn't get kernel-based NFS to work reliably with the original kernel). I don't recommend my current fun-plug unless you know how to track down and fix problems yourself. But any fun-plug that has a telnet server should work. I also cannot offer a samba package (I compiled one just to try it, but I had to make some crude changes to the sources; also, I don't use samba at all). Instructions on how to get a fun-plug with telnet working should be on the wiki. My portmap and unfs3 packages contain scripts to start and stop the servers (adjust paths in the scripts!). Good luck.
Offline