This is how I made it, for those who want an Samba on spare disk without doing remountrw on Flash Card
here is the compilation steps I am assuming /mnt/ide is the path where we need to install samba a) go to www.samba.org and grab the latest source, by the time I compiled it is 3.5.1 b) Extract in a temporary folder and go to the source folder and run ./autogen.sh from source3 directory c) create the following directories /mnt/ide/samba /mnt/ide/samba/config /mnt/ide/samba/state d) run ./configure , for me it is ./configure --prefix=/mnt/ide/samba/ --localstatedir=/mnt/ide/samba/state --with-configdir=/mnt/ide/samba/config --with-privatedir=/mnt/ide/samba/config --with-fhs --with-quotas --with-smbmount --with-syslog --with-utmp --with-shared-modules=idmap_rid --with-libsmbclient --with-automount --with-msdfs --with-ads --with-winbind --with-winbind-auth-challenge --with-manpages-langs=en --with-idmap --with-acl-support it will take few minutes, If configure stops then install the required package e) make && make install f) put the following lines in /mnt/ide/samba/config/smb.conf [global] workgroup = WORKGROUP netbios name = voyage socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 read raw = yes write raw = yes oplocks = yes max xmit = 65535 dead time = 15 getwd cache = yes lpq cache = 30 [share1] path = /mnt/ide/data admin users = xxxxx valid users = xxxxx writeable = yes g) put the following lines in /etc/init.d/samba and chmod +x and run rcconf for auto run #!/bin/bash export PATH=$PATH:/mnt/ide/samba/bin:/mnt/ide/samba/sbin case "$1" in start) pkill smbd pkill nmbd /mnt/ide/samba/sbin/smbd -D /mnt/ide/samba/sbin/nmbd -D ;; stop) pkill smbd pkill nmbd ;; reload) kill -SIGHUP `cat /mnt/ide/samba/state/run/smbd.pid` kill -SIGHUP `cat /mnt/ide/samba/state/run/nmbd.pid` ;; *) echo Usage: echo start stop reload ;; esac exit 0 h) add the samba lib path (at the end) in /etc/ld.so.conf /mnt/ide/samba/lib enjoy with your new Samba On Fri, Mar 12, 2010 at 8:18 AM, Navas Abubacker <[email protected]>wrote: > Oh, I didn't mean to have samba to be installed on a Flash card, perhaps on > the additional drive like I have a 80 GB 2.5 inch hdd connected with my > Alix1C > > > On Fri, Mar 12, 2010 at 3:52 AM, Gustin Johnson <[email protected]>wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Navas Abubacker wrote: >> > I installed Voyage 6.5 on my Alix >> > >> > So far so good, Does any one knows how to install Samba with out >> > mounting root file system in rw ? >> > >> By definition a read only file system cannot have files written to it, >> so I am not aware of any way to install Samba on a read only file system. >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.9 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >> >> iEYEARECAAYFAkuZbTkACgkQwRXgH3rKGfP1HgCgro3//x8WeXJMHubGm5GJXc8t >> Tt0An3AuGpJ3PurCtTfqot5DhHStg0Rv >> =OKba >> -----END PGP SIGNATURE----- >> > > > > -- > Thanks > Navas > -- Thanks Navas
_______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
