Page 1 of 1

Installing applications with no internet access

Posted: 2011/03/17 18:54:37
by Derdiyok
Hi all,

I'm currently working on a project in a secure environment with no internet access and I need to install Ettercap and Wireshark on the machines. I thought this would be a simple task of loading Wireshark onto a USB but this did not work and replied with error messages such as: ' Invalid config x86_64-unknown-linux'

Sorry if this comes across as really obvious or something but my question is what does the error message mean and do I need internet access to install the apps?

Thanks

Re: Installing applications with no internet access

Posted: 2011/03/17 19:36:38
by TrevorH
You don't say if you are trying to install an RPM from a USB stick or if you are trying to compile from source. RPMs are preferred. You can find a prebuilt RPM for ettercap in EPEL and wireshark is part of CentOS itself so can be found on the DVD/CD though there is also an updated version available in the CentOS updates repo.

[code]
Available Packages
ettercap.x86_64 0.7.3-19.el5 epel
ettercap-common.x86_64 0.7.3-19.el5 epel
ettercap-debuginfo.x86_64 0.7.3-19.el5 epel-debuginfo
ettercap-gtk.x86_64 0.7.3-19.el5 epel
[/code]

If security is of major concern then I guess you can also obtain the source RPM for ettercap from EPEL and build it yourself and thus have some control over it cleanliness!

Installing applications with no internet access

Posted: 2011/03/17 19:37:27
by toracat
Where did you get wireshark from? You really want to install using rpm. So, download the wireshark rpm package from a CentOS mirror and install it with a 'yum localinstall' . It will probably require more packages. Download them and try again. Depending on what you already have on your system, this could take a few more attempts.

Another option is to maintain a local yum repository. You'd have to get all the updates onto your system by some means. But once done, you can yum install packages.

Re: Installing applications with no internet access

Posted: 2011/03/17 19:58:02
by pschaff
Some Wiki articles may help you with this:
http://wiki.centos.org/HowTos/CreateLocalRepos
http://wiki.centos.org/HowTos/CreateLocalMirror
http://wiki.centos.org/TipsAndTricks/CreatingUpdateMedia

The real trick to make things easier in the long run is to do the work up front to make local copies of repositories available, so updates can be run, or packages can be installed with yum and pull in required dependencies. The repos can either be pointed to other machines on a local network, or to the local machine's filesystem with "file:///..." URLs.

Re: Installing applications with no internet access

Posted: 2011/03/17 20:34:58
by Derdiyok
The package's I downloaded (if it helps) were:

ettercap-0.7.3-19.el5.src.rpm
wireshark-1.0.11-1.el5_5.5.x86_64.rpm

Thanks for the replies, I will look into what you have suggested.

Re: Installing applications with no internet access

Posted: 2011/03/17 23:13:09
by AlanBartlett
[quote]
ettercap-0.7.3-19.el5.src.rpm
[/quote]
That is the [b]source[/b] rpm file, not the binary package. :-o

[quote]
wireshark-1.0.11-1.el5_5.5.x86_64.rpm
[/quote]
That is the binary package. :-)