Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Determine Systeminfo in Linux

In windows:
 Systeminfo /s <ipaddress of the remote computer>

will display information about Windows system.
have read on how to do it in Linux, I found that : nmap -O command will do the same.

I am trying it on Centos, but does not work:
User generated image
Avatar of slubek
slubek
Flag of Poland image

You don't have nmap installed
Do:
# yum install nmap

Open in new window

SOLUTION
Avatar of Shiju Jacob
Shiju Jacob
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Apparently the OS I installed does not know the command.
I have download and installed :CentOS-7.0-1406-x86_64-Everything.iso
I cannot install nmap.
User generated image
"Could not resolve host: ..." means that you have issues with your internet connection.
What is the output of:
/sbin/ifconfig
cat /etc/resolv.conf
ping www.google.com

Open in new window

Avatar of jskfan

ASKER

resolv.conf is empty
That's why your system cannot resolve host names.
Put:
nameserver 8.8.8.8

Open in new window

into resolv.conf

That will add Google nameserver.
Avatar of jskfan

ASKER

I have added this to resolv.conf, but still cannot get to internet
nameserver 8.8.8.8
Do you have an active internet connection?
What is the result of
ping -n 8.8.8.8

Open in new window

Does it return responses like:
$ ping -n 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=43 time=58.1 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=43 time=64.8 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=43 time=2328 ms
...

Open in new window

?
Avatar of jskfan

ASKER

it shows "Network is Unreachable"
So you have to configure network first. After all, you can't determine remote computer OS without being connected. :^)
Here you can find instructions.
Avatar of jskfan

ASKER

Oh yes.. I have internet connection on my PC, Linux is on Vnware workstation
Avatar of jskfan

ASKER

I tried on VM Settings:
host only, NAT, Bridge
still does not work
Sorry, I know nothing about VMware configuration, you'll have to ask another expert how to set it up.

Anyway, when you have connection, install nmap and nmap -O will work.
Avatar of jskfan

ASKER

I wonder  if  a moderator can jump in and adds  this Question to VMware area.
Avatar of jskfan

ASKER

I downloaded  CentOS-7.0-1406-x86_64-GnomeLive.iso
 It worked just perfect..
 Thanks

cat /etc/*release* , retrieved the OS version of local system.
I do not have remote Linux box now to test the : nmap -O
it should work though

Thank you again
Avatar of jskfan

ASKER

Thank you Guys!