--- In Jim Jackson <> wrote:
>
>
> On Wed, 25 Mar 2009, Alex Kulinchenko wrote:
>
> > Paul and Charlie,
> >
> > Thanks for your suggestions.
> >
> > I don't think that I can use nfs since I need to access stand-alone network
> > harddrive (no PCs attached). I assume that it might be quite tricky and/or
> > complicated to install NFS on embedded device (which btw is new product with
> > minimal documentation). So I am stuck with samba.
Most commercial NAS units offer both NFS and CIFS (SMB) protocols. Without
docs, you can't be sure unless you try it. You may be surprised.
> >
> > I read through chapter 6 of "Linux for ARM" manual. It does have a good
> > description of how to compile kernel. What I don't understand is:
> > 1) do I need to recompile the entire kernel or can I just compile one module
> > ("smbfs" ) and somehow insert it into existing TS-Linux on TS-7260?
>
> Do a search of the mail archive for this group, there have been emails
> detailing what to do to compile new modules for a kernel.
> Once you have compiled the modules you need, you install them using the
> insmod program (or modprobe).
If you are sure to download the right kernel (corresponds exactly to what you
are running), you can compile a new module and insert it into the old kernel.
>
> Alternatively you can compile a kernel with the SMB support built in. Then
> there is no need to load any modules.
>
> > 2) I tried to download and untar the tskernelmodules-2.4.26-ts11.tar.gz and
> > did not find any samba files there. Where do I find and enable samba /
> > smbfs? Would it be during compilation of kernel modules? ("make modules
> > INSTALL_MOD_PATH=/lib/modules"). Are samba modules be available in Linux
> > 2.4.26-ts11 kernel? If not, where do I get samba modules from?
>
> Samba is supported in the 2.4 linux kernel - all that is needed for kernel
> support is in the kernel source tree.
Yep, and that support is in the form of cifs or smb_fs modules. They are not
available precompiled from TS, hence the need to compile your own.
>
> > 3) After I will recompile the module according the instructions, would the
> > board run TS-Linux or Debian? Or am I totally confused and Linux kernel has
> > nothing to do with TS-Linux or Debian?
A good way to think of it is to separate the kernel from the rest of the
programs that make up linux. If someone refers to TS-linux, or Debian, (or
fedora, ubuntu), they are usually always referring to the group of programs
that make up the linux OS. The kernel is separate ...
>
> You really are confused! You can run either the TS-Linux setup or the
> debain on top of the kernel. Or you can make your own set of utilities
> to form your own setup!
>
> What you will need are the smbmount, or smbclient programs to get access to
I don't think smbmount is needed/used any more, there is a mount.cifs that gets
called by 'mount -t cifs ...' (in fedora distros anyway). And smbclient is
part of the samba utilities, a command line shell for testing cifs shares, but
it won't mount anything.
regards, ........ Charlie
> the network drive. All this is standard stuff - google samba and smb for
> linux to find out more.
>
> >
> > -----Original Message-----
> > From: Behalf Of
> > Paul Breneman
> > Sent: Wednesday, March 25, 2009 4:56 AM
> > To:
> > Subject: Re: [ts-7000] Re: samba client on TS-7260
> >
> >
> > charliem_1216 wrote:
> > ...
> > > Another option would be to use nfs rather than cifs, that would not
> > require any recompiling.
> >
> > I would also highly recommend using nfs. After reading similar
> > suggestions on this Yahoo group, I took an old PC and it was very easy
> > to install FreeNAS (from SourceForge). It is very easy to use as it now
> > sits between my TS-TPC-7390 and my Windows PC and a Linux PC (where I'm
> > using the new Debian LXDE).
> >
> > I hope to write up several pages soon about how to use a couple of old
> > PCs to set up such a system as part of this educational project:
> > http://www.TurboControl.com/monitor.htm
> >
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|