Guest Guest Posted February 16, 2010 Posted February 16, 2010 cheers that has extracted the files into the tmp folder. Inside the tmp folder there is another folder called tmp. Inside that there is a file called install-DGAV. When i try and run the command i get the attached. Thanks And whats in your /tmp/tmp folder? Have you got execution permissions on? Or just run the command in the above post and install Endian Firewall
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 (edited) And whats in your /tmp/tmp folder? Have you got execution permissions on? Or just run the command in the above post and install Endian Firewall in the tmp folder there is a file called install-dgav Edited February 16, 2010 by FN-GM
Guest Guest Posted February 16, 2010 Posted February 16, 2010 in the tmp fodler there is a file called install-dgav In the /tmp folder or the /tmp/tmp folder? Run this and then your files should be in the correct place mv /tmp/tmp/* /tmp Then run install-dgav
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 In the /tmp folder or the /tmp/tmp folder? Run this and then your files should be in the correct place mv /tmp/tmp/* /tmp Then run install-dgav I ran that command. Where is the file supposed to be living now?
Guest Guest Posted February 16, 2010 Posted February 16, 2010 (edited) In /tmp so if you run /tmp/install-dgav it should work. If it dont try chmod 777 /tmp -R and then try again. What the chmod 777 does is give full permissions (including execute) on all the files in teh tmp folder. You shouldnt do stuff like that normally but lets rule out permissions as the issue Edited February 16, 2010 by Guest
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 Thanks. I am getting command not found again. I am installing from the new directory /tmp I did the second command for permissions and it didnt work after that. thanks
computer_expert Posted February 16, 2010 Posted February 16, 2010 ..and install Endian Firewall I tried that (well tried to test it in virtualbox) and got a kernel panic in virtualbox and the setup never completed properly in vmware player. and regarding the case sensitivity, it should be -C as filenames are case sensitive in Linux.
Ric_ Posted February 16, 2010 Posted February 16, 2010 Did you try the pscp command I mentioned at http://www.edugeek.net/forums/internet-related-filtering-firewall/50301-antivirus-add-smoothwall-2.html#post462379 ? You seem to keep copying and extracting to random places and this is why you are getting 'command not found' and other errors.
Guest Guest Posted February 16, 2010 Posted February 16, 2010 I tried that (well tried to test it in virtualbox) and got a kernel panic in virtualbox and the setup never completed properly in vmware player. Im running version 2.2 in Xensever with no problems. Ran 2.2 at home on physical hardware for a couple of years, and have recently moved to v 2.3. IME its a much more finished and stable product then "SWE with addons". SWE on its own it 100%.
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 Did you try the pscp command I mentioned at http://www.edugeek.net/forums/internet-related-filtering-firewall/50301-antivirus-add-smoothwall-2.html#post462379 ? You seem to keep copying and extracting to random places and this is why you are getting 'command not found' and other errors. The problem is ric people are telling me to do different things. Who do i actually follow? i am a total linux idiot is its all confusing me. The Person who told me the extraction command was tom from smoothwall. Cna i run that command now things have been extracted. I just cant understand why the instructions on the site dont work. Thanks
nile_c Posted February 16, 2010 Posted February 16, 2010 (edited) install-dgav is a symbolic link that points to /var/smoothwall/mods/filtering/dgav/install.pl That file currently resides in /tmp/var/smoothwall/mods/filtering/dgav/install.pl because we started in /tmp. This is the cause of the "command not found" error. You can remedy the situation by moving the extracted files into the expected locations: mv /tmp/tmp/* /tmp mv /tmp/usr/* /usr mv /tmp/var/* /var EDIT: When I keep saying 'symbolic link' read: shortcut. Edited February 16, 2010 by nile_c
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 After the last command i did: mv /tmp/tmp/* /tmp there is nothing in the /tmp/tmp folder now
nile_c Posted February 16, 2010 Posted February 16, 2010 Excellent. Once you perform those three moves (mv) all the files will be in their proper locations. They will no longer exist underneath your /tmp/. Once they are all moved, you can then run /tmp/install-dgav properly.
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 (edited) Excellent. Once you perform those three moves (mv) all the files will be in their proper locations. They will no longer exist underneath your /tmp/. Once they are all moved, you can then run /tmp/install-dgav properly. Nope Edited February 16, 2010 by FN-GM
nile_c Posted February 16, 2010 Posted February 16, 2010 ls -l /var/smoothwall/mods/filtering/dgav/ What is there?
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 ls -l /var/smoothwall/mods/filtering/dgav/ What is there? Please find the attached. Zak
Guest Guest Posted February 16, 2010 Posted February 16, 2010 Please find the attached. Zak You've typed the command wrong, try again.
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 have i? I put tmp in becuase thats where the var folder is
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 (edited) sorry i need to do these commands mv /tmp/usr/* /usr mv /tmp/var/* /var do i overwrite the old files? Is asking me this. Edited February 16, 2010 by FN-GM
tom_newton Posted February 16, 2010 Posted February 16, 2010 Argh. you were nearly there I think. When in tmp, don't type "install-dgav" type "./install-dgav" Linux requires you to explicitly name the current directory (it is not in the path) for security reasons (imagine someone put a malicious executable called "ls" in /tmp!!)
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 Argh. you were nearly there I think. When in tmp, don't type "install-dgav" type "./install-dgav" Linux requires you to explicitly name the current directory (it is not in the path) for security reasons (imagine someone put a malicious executable called "ls" in /tmp!!) I will have to try tomorrow when i am back at work. If that doesn't work i am going to scrap it. Why don't the instructions go like they say?
Ric_ Posted February 16, 2010 Posted February 16, 2010 @FN-GM: I'm not sure why you are struggling so much. I've just tried it on my Smoothie Express box at home and it was simples. Here's some step by step instructions: 1. Download the DGAV plugin (filename DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz) from View topic - DGAV Installation Instructions • community.smoothwall.org plus PuTTY and PSCP from PuTTY Download Page into your Downloads folder. 2. Open a command prompt and put yourself in the downloads folder. (i.e. cd \Users\username\Downloads) 3. Do the following two commands replacing 192.168.10.1 with your box's IP (the results of which are also shown): C:\Users\Ric\Downloads>pscp -P 222 DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz [email protected]:/tmp [email protected]'s password: DGAV-SW3-2.8.0.6-6.4.4.2- | 810 kB | 810.3 kB/s | ETA: 00:00:00 | 100% C:\Users\Ric\Downloads>putty -P 222 [email protected] 4. A PuTTY window will open prompting for your password... enter it. 5. Type the commands below: smoothie (root) ~ $ cd /tmp smoothie (root) /tmp $ ls DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz smoothie (root) /tmp $ tar xzvf ./DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz -C / 6. There will be a load of output as the files extract. It should look like this: tmp/install-dgav var/smoothwall/mods/filtering/dgav/archives/dgav.bz2 var/smoothwall/mods/filtering/dgav/version var/smoothwall/mods/filtering/dgav/installed var/smoothwall/mods/filtering/dgav/install.pl var/smoothwall/mods/filtering/base/archives/base.bz2 var/smoothwall/mods/filtering/base/archives/daemontools.bz2 usr/lib/perl5/site_perl/5.8.8/Archive/Tar.pm usr/lib/perl5/site_perl/5.8.8/Archive/Tar/Constant.pm usr/lib/perl5/site_perl/5.8.8/Archive/Tar/File.pm usr/lib/perl5/site_perl/5.8.8/App/Control.pm usr/lib/perl5/site_perl/5.8.8/i686-linux/Compress/Raw/Zlib.pm usr/lib/perl5/site_perl/5.8.8/IO/Zlib.pm usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Compress/Raw/Zlib/Zlib.bs usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Compress/Raw/Zlib/Zlib.so usr/lib/perl5/site_perl/5.8.8/auto/Compress/Zlib/autosplit.ix usr/lib/perl5/5.8.8/Symbol.pm usr/lib/perl5/site_perl/5.8.8/Config/Patch.pm usr/lib/perl5/site_perl/5.8.8/Set/IntSpan.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/MDC.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/NDC.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Resurrector.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Filter.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Level.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/FAQ.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/DateFormat.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Logger.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/ConsoleAppender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/TestBuffer.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/SyslogAppender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/FileAppender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/JDBCAppender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/RollingFileAppender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/JavaMap/NTEventLogAppender.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Filter/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Filter/LevelRange.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Filter/LevelMatch.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Filter/Boolean.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Filter/StringMatch.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/TestBuffer.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/ScreenColoredLevels.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/Limit.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/File.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/RRDs.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/Socket.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/DBI.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/TestFileCreeper.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/Screen.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/TestArrayBuffer.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/Synchronized.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/Buffer.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Appender/String.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout/SimpleLayout.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout/NoopLayout.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout/PatternLayout.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout/PatternLayout/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Layout/PatternLayout/Multiline.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config/PropertyConfigurator.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config/DOMConfigurator.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config/BaseConfigurator.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Config/Watch.pm usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util/Semaphore.pm 7. Type the following: smoothie (root) /tmp $ ./install-dgav 8. You will see the following output in pretty colours: About to Install dgav - version DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012 Installing Base Files Installing dgav Files Installing Config Files Updating Green IP Address Information [192.168.10.1] Patching sysinit Restarting Smoothd [OK] Finished Installing dgav 9. You will now have a filtering tab in the web interface! As long as you do not miss any steps and copy the commands above character for character, you should not have a problem. Including the downloads it should take approx. 2 minutes to perform the install! 1
FN-GM Posted February 16, 2010 Author Posted February 16, 2010 Thanks Ric and Tom. I will give it another go. Z
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now