› Forums › Network Management › ZeroShell › HOWTO: Fix samba package on beta13
- This topic is empty.
-
AuthorPosts
-
November 14, 2010 at 8:54 pm #42727
Ddall
MemberHello!
A few month ago, borjaruiz released the samba package for zeroshell beta12. (original post)
This package wont work on beta13, here’s how to fix that:
Download, and install like you would do on beta12 (ignore errors at the end of the install script)
cd /Database
wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
tar xvjf SMB12_beta1.tar.bz2
cd SMB12
./install.shinstall.sh should return something like this:
root@zstest SMB12> ./install.sh
Reading configuration ...
Checking dependencies ...
Extracting packages ...
Running scripts ...
Starting updater process for the release 1.0.beta13 ...
--> Checking for installed updates:
--> Replacing files ...
--> Patching files ...
--> Running scripts ...
Syncing filesystem... Done
/sbin/service: line 6: /etc/rc.d/init.d/samba: No such file or directory
/sbin/service: line 6: exec: /etc/rc.d/init.d/samba: cannot execute: No such file or directory
Samba 3.5.2 has been installed. Please, read the official howto at the URL
URL http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/
- By default, the shared media /Database/samba_shared has been configured
with anonymous access.
To change configuration edit de samba config file /etc/smb.conf;
- To restart Samba daemon use the command:
service samba restart
- Contact info: borjaruizcastro@gmail.com
root@zstest SMB12>For some reason, the install script didn’t work properly. Do:
mkdir /Database/samba_shared
cd /Database/opt/1.0/beta12/tars/
tar -C / -x -z -f SMB12-files.tar.gz
One more thing to do, is edit the start-up script using webinterface (or edit /etc/rc.local), add this:
#SAMBA
export LD_LIBRARY_PATH="/Database/opt/1.0/beta12/packages/lib:$LD_LIBRARY_PATH"
service samba startAnd that’s it! You can now use samba on your ZS-box, don’t forget to restrict access from outside wan (you don’t want the whole Internet to see your files do you?)
January 7, 2011 at 6:16 pm #51328tonyoptical
Member@Ddall wrote:
Hello!
A few month ago, borjaruiz released the samba package for zeroshell beta12. (original post)
This package wont work on beta13, here’s how to fix that:
Download, and install like you would do on beta12 (ignore errors at the end of the install script)
cd /Database
wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
tar xvjf SMB12_beta1.tar.bz2
cd SMB12
./install.shinstall.sh should return something like this:
root@zstest SMB12> ./install.sh
Reading configuration ...
Checking dependencies ...
Extracting packages ...
Running scripts ...
Starting updater process for the release 1.0.beta13 ...
--> Checking for installed updates:
--> Replacing files ...
--> Patching files ...
--> Running scripts ...
Syncing filesystem... Done
/sbin/service: line 6: /etc/rc.d/init.d/samba: No such file or directory
/sbin/service: line 6: exec: /etc/rc.d/init.d/samba: cannot execute: No such file or directory
Samba 3.5.2 has been installed. Please, read the official howto at the URL
URL http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/
- By default, the shared media /Database/samba_shared has been configured
with anonymous access.
To change configuration edit de samba config file /etc/smb.conf;
- To restart Samba daemon use the command:
service samba restart
- Contact info: borjaruizcastro@gmail.com
root@zstest SMB12>For some reason, the install script didn’t work properly. Do:
mkdir /Database/samba_shared
cd /Database/opt/1.0/beta12/tars/
tar -C / -x -z -f SMB12-files.tar.gz
One more thing to do, is edit the start-up script using webinterface (or edit /etc/rc.local), add this:
#SAMBA
export LD_LIBRARY_PATH="/Database/opt/1.0/beta12/packages/lib:$LD_LIBRARY_PATH"
service samba startAnd that’s it! You can now use samba on your ZS-box, don’t forget to restrict access from outside wan (you don’t want the whole Internet to see your files do you?)
Hi
Thx. for your kind advise. But it didn’t work for me. Still gives me:
/sbin/service: line 6: /etc/rc.d/init.d/samba: No such file or directory
/sbin/service: line 6: exec: /etc/rc.d/init.d/samba: cannot execute: No such file or directoryThx.
January 25, 2011 at 6:17 pm #51329campkudd
Member@tonyoptical wrote:
@Ddall wrote:
Hello!
A few month ago, borjaruiz released the samba package for zeroshell beta12. (original post)
This package wont work on beta13, here’s how to fix that:
Download, and install like you would do on beta12 (ignore errors at the end of the install script)
cd /Database
wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
tar xvjf SMB12_beta1.tar.bz2
cd SMB12
./install.shinstall.sh should return something like this:
root@zstest SMB12> ./install.sh
Reading configuration ...
Checking dependencies ...
Extracting packages ...
Running scripts ...
Starting updater process for the release 1.0.beta13 ...
--> Checking for installed updates:
--> Replacing files ...
--> Patching files ...
--> Running scripts ...
Syncing filesystem... Done
/sbin/service: line 6: /etc/rc.d/init.d/samba: No such file or directory
/sbin/service: line 6: exec: /etc/rc.d/init.d/samba: cannot execute: No such file or directory
Samba 3.5.2 has been installed. Please, read the official howto at the URL
URL http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/
- By default, the shared media /Database/samba_shared has been configured
with anonymous access.
To change configuration edit de samba config file /etc/smb.conf;
- To restart Samba daemon use the command:
service samba restart
- Contact info: borjaruizcastro@gmail.com
root@zstest SMB12>For some reason, the install script didn’t work properly. Do:
mkdir /Database/samba_shared
cd /Database/opt/1.0/beta12/tars/
tar -C / -x -z -f SMB12-files.tar.gz
One more thing to do, is edit the start-up script using webinterface (or edit /etc/rc.local), add this:
#SAMBA
export LD_LIBRARY_PATH="/Database/opt/1.0/beta12/packages/lib:$LD_LIBRARY_PATH"
service samba startAnd that’s it! You can now use samba on your ZS-box, don’t forget to restrict access from outside wan (you don’t want the whole Internet to see your files do you?)
Hi
Thx. for your kind advise. But it didn’t work for me. Still gives me:
/sbin/service: line 6: /etc/rc.d/init.d/samba: No such file or directory
/sbin/service: line 6: exec: /etc/rc.d/init.d/samba: cannot execute: No such file or directoryThx.
I have the same Problem, had someone a solution? Please help me
January 26, 2011 at 9:12 pm #51330Ddall
MemberYep, it looks like there is a problem with my method. Since it worked on my setup, I just have to figure out what’s special about it.
I’m updating my ZS-Box to Beta14 so the next patch probably won’t work on B13.
I’ll try to work on it this weekend.May 4, 2011 at 9:44 am #51331borjaruiz
MemberHi guys!
I will port the SAMBA package to ZS beta14 in a few days!
Just wait a bit!
Regards
Borja
-
AuthorPosts
- You must be logged in to reply to this topic.