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.
>
> 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).
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.
> 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?
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
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/
|