Re: Python 2.7 OS requirements

2016-08-01 Thread Connie Sieh

On Sat, 30 Jul 2016, P. Larry Nelson wrote:


Hi all,

Please don't shoot the questioner (me), as I have no experience with
Python, other than knowing "what" it is and that my SL6.8 systems have
version 2.6.6 installed.

I have been asked by one of our Professors that one of his grad students
apparently needs Python 2.7.x installed on our cluster (optimally in
/usr/local, which is an NFS mounted dir everywhere).




If the solution is indeed simple, I might proceed, otherwise, I'm
of a tendency to reply to the Professor and student, "No way - won't work."
I think the student probably has access to CERN systems that probably
have what he's looking for.


I see that Larry's requirement may have gone away, but for others
with the same request:

The slc6-scl "Software Collections Library" repo has a suite of packages
python27-* which can be installed alongside the system python 2.6.

They also have python33-* although those who want python3 may
want bleeding edge which is, IIRC, 3.4.something.
(Hmm bleeding edge is 3.6.0a3, latest is 3.5.2).



Also in SL software collections via

ftp://sldist.fnal.gov/linux/scientific/6x/external_products/softwarecollections/yum-conf-softwarecollections-1.0-1.el6.noarch.rpm


Re: SNMP scanner?

2016-08-01 Thread Stephen John Smoogen
On 31 July 2016 at 23:31, ToddAndMargo  wrote:
> On 07/30/2016 11:36 PM, Jon Brinkmann wrote:
>>
>> Does 'nmap -sX ' fit the bill, e.g.
>> 'nmap -sX 192.168.1.1-255'?
>
>
> Only one the one network (192.168.1.0/25 in your  example).
>
> I want EVERYTHING on the network
>

Todd,

1) You asked for help and you are acting like a child demanding more
candy when you didn't get the flavor you wanted.
2) nmap is a very complicated swiss army knife tool. There are
hundreds of things it can do but you need to take some time to figure
them out and get what you want. Expecting that you will get the answer
handed to you is being unreasonable.
http://lmgtfy.com/?q=nmap+tutorial
3) what you are wanting is actually a multi step process. First you
need to see what mac addresses are on the network which usually only a
smart switch can tell you. You can sort of get the data with a
mac-ping but it isn't guarenteed to work. After you get all the mac
addresses on the network then you can work out what ip addresses or
hardware those mac addresses think they are. Again easier with a smart
switch.


-- 
Stephen J Smoogen.


Re: Python 2.7 OS requirements

2016-08-01 Thread Ken Teh

I suggest trying anaconda from continuum analytics.  It installs into /opt and 
provides its own ecosytem, ie, all the support libraries it needs.  Because of 
this, it will run on an SL6 machine.  The install script does give you the 
option of installing it under a different root.  It provides numpy, scipy, 
matplotlib, pandas, jupyter, etc., for data analysis, and pretty much whatever 
else you need.  It comes in a python 2.7 and python 3.5 version. I used the 3.5 
version and can vouch for it.  If it doesn't have a package you can simply 
install it by running its version of pip and it will install it into its 
ecosystem.  But, I've actually never had it do it because its included packages 
is quite complete.



On 07/30/2016 09:01 PM, P. Larry Nelson wrote:

To the two Stevens,

Thanks for the possible solutions to this!

However, I did hear back from the grad student and his response was:

"I'm installing some python packages and need a higher version of numpy, which asks 
for python 2.7.  I'll try on CERN system. Thanks!"

Hopefully that's the last I'll hear of it  :-)
I have 4 weeks left with the U of I, I'm totally consumed working on another
project involving Docker and Shifter, and don't really have the time nor the
wherewithal to deal with it.

- Larry

Steven J. Yellin wrote on 7/30/16 8:20 PM:

Another way is to get Python-2.7.12.tar.xz from
https://www.python.org/downloads/, extract into directory Python-2.7.12 with
'tar -xJf Python-2.7.12.tar.xz', and see its README file for what to do next to
get it in /usr/local.

Steven Yellin

On Sun, 31 Jul 2016, Steven Haigh wrote:


You can look at virtualenv from EPEL.

You can install a separate python environment in a users home directory.

On 31/07/16 09:36, P. Larry Nelson wrote:

Hi all,

Please don't shoot the questioner (me), as I have no experience with
Python, other than knowing "what" it is and that my SL6.8 systems have
version 2.6.6 installed.

I have been asked by one of our Professors that one of his grad students
apparently needs Python 2.7.x installed on our cluster (optimally in
/usr/local, which is an NFS mounted dir everywhere).

In my brief Googling, I have not found OS requirements for 2.7.x, but
have inferred that it probably needs SL7.x.

Can anyone confirm that?
Or has anyone installed Python 2.7.x (and which .x?) on an SL6.8 system
without replacing 2.6.x?

I'm guessing this can be quite a morass to delve into as when I do a
'rpm -qa|grep -i python|wc'
It returns with 67 rpms with python in the rpm name!

If the solution is indeed simple, I might proceed, otherwise, I'm
of a tendency to reply to the Professor and student, "No way - won't work."
I think the student probably has access to CERN systems that probably
have what he's looking for.

I've followed up with that inquiry to the student and waiting to hear back.

Thanks!
- Larry




--
Steven Haigh

Email: net...@crc.id.au
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897







Re: SNMP scanner?

2016-08-01 Thread ToddAndMargo

On 08/01/2016 01:15 AM, Iosif Fettich wrote:

On 07/30/2016 11:36 PM, Jon Brinkmann wrote:

 Does 'nmap -sX ' fit the bill, e.g.
 'nmap -sX 192.168.1.1-255'?


Only one the one network (192.168.1.0/25 in your  example).

I want EVERYTHING on the network


IPv6 inclusive...?


I really do not care much about IPv6.  My customers are all small
businesses and their internal are all IPv4.  Their Internet
connections are all IPv4 too come to think about it.

I haven't seen ANYONE use IPv6.   It is probably a good idea
for me to learn though.

I basically want something that will cause the interface to
cough up (yuk, the visuals on that one!) everything with
a MAC address on the Interface.

AutoScan Network does the above in about 30 seconds.
But the stinker is abandoned and no longer works in Fedora
Core 24, meaning it is short to live in EL Linux too.

I do not know exactly how AutoScan does it, but I do
believe it toss out an all devices snmp ping, then probes
whoever responds.  But I only speculate.



That will be hard, I'm afraid.

Iosif Fettich



--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~


Re: SNMP scanner?

2016-08-01 Thread ToddAndMargo

  
  
On 07/31/2016 11:46 PM, Eero Volotinen
  wrote:

You can list any number networks on commanline for
  example: 192.168.1.0/24
  192.168.2.0/24
  


True.

What I need would be vastly impractical, even if it did work:

0-255 . 0-255 . 0-255 . 0-255

And that still wouldn't catch those devices without an
IP address.

AutoScan Network does the above in about 30 seconds.
But the stinker is abandoned and no longer works in Fedora
Core 24, meaning it is short to live in EL Linux too.
-- 
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
  



Re: SNMP scanner?

2016-08-01 Thread Iosif Fettich

On 07/30/2016 11:36 PM, Jon Brinkmann wrote:

 Does 'nmap -sX ' fit the bill, e.g.
 'nmap -sX 192.168.1.1-255'?


Only one the one network (192.168.1.0/25 in your  example).

I want EVERYTHING on the network


IPv6 inclusive...?

That will be hard, I'm afraid.

Iosif Fettich


Re: SNMP scanner?

2016-08-01 Thread Andrew C Aitchison

On Sun, 31 Jul 2016, ToddAndMargo wrote:


2016-08-01 8:23 GMT+03:00 ToddAndMargo :
  On 07/31/2016 10:15 PM, Jon Brinkmann wrote:
'nmap -sX 192.168.1.1-255 10.1-255.1-255.1-255 ...'?


  That is still scanning IP's over a range.  :'(



On 07/31/2016 10:42 PM, Eero Volotinen wrote:

Eh. Try scanning network: 192.168.1.0/25

Eero

That is still IP address dependent.  If there was two or three networks
on the same interface, it  would only scan the network.


A broadcast ping
ping -b 255.255.255.255
might get you some useful information, but 
I think you are looking for a "sniffer" rather than a "scanner".

Since you don't know what addresses you are interested in,
you can't sacan them. You need to listen/sniff for traffic
perhaps encouraging it first, which is what the btroadcast does.

The interface will need to be in "promiscuous" mode,
the right tool will do that for you provided you are root.



Re: SNMP scanner?

2016-08-01 Thread Eero Volotinen
You can list any number networks on commanline for example: 192.168.1.0/24
192.168.2.0/24

Of course you need connectivity to network via local network interface or
via default gateway.

--
Eero

2016-08-01 9:43 GMT+03:00 ToddAndMargo :

> 2016-08-01 8:23 GMT+03:00 ToddAndMargo :
>
>> On 07/31/2016 10:15 PM, Jon Brinkmann wrote:
>>
>>> 'nmap -sX 192.168.1.1-255 10.1-255.1-255.1-255 ...'?
>>>
>>>
>> That is still scanning IP's over a range.  :'(
>>
>
>
> On 07/31/2016 10:42 PM, Eero Volotinen wrote:
>
>
> Eh. Try scanning network: 192.168.1.0/25
>
> Eero
>
> That is still IP address dependent.  If there was two or three networks
> on the same interface, it  would only scan the network.
>
> --
> ~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~
>
>


Re: SNMP scanner?

2016-08-01 Thread ToddAndMargo

  
  

  
2016-08-01 8:23 GMT+03:00 ToddAndMargo
  :
  On
07/31/2016 10:15 PM, Jon Brinkmann wrote:

  'nmap -sX 192.168.1.1-255 10.1-255.1-255.1-255 ...'?
  


That is still scanning IP's over a range.  :'(
  


  
  
  On 07/31/2016 10:42 PM, Eero Volotinen wrote:


  


Eh. Try scanning network: 192.168.1.0/25 



Eero
  
  
  

That is still IP address dependent.  If there was two or three
networks
on the same interface, it  would only scan the network.
-- 
~~
Computers are like air conditioners.
They malfunction when you open windows
~~