jskfan
asked on
Determine Systeminfo in Linux
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
"Could not resolve host: ..." means that you have issues with your internet connection.
What is the output of:
What is the output of:
/sbin/ifconfig
cat /etc/resolv.conf
ping www.google.com
ASKER
resolv.conf is empty
That's why your system cannot resolve host names.
Put:
That will add Google nameserver.
Put:
nameserver 8.8.8.8
into resolv.confThat will add Google nameserver.
ASKER
I have added this to resolv.conf, but still cannot get to internet
nameserver 8.8.8.8
nameserver 8.8.8.8
Do you have an active internet connection?
What is the result of
What is the result of
ping -n 8.8.8.8
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
...
?
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.
Here you can find instructions.
ASKER
Oh yes.. I have internet connection on my PC, Linux is on Vnware workstation
ASKER
I tried on VM Settings:
host only, NAT, Bridge
still does not work
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.
Anyway, when you have connection, install nmap and nmap -O will work.
ASKER
I wonder if a moderator can jump in and adds this Question to VMware area.
ASKER
I downloaded CentOS-7.0-1406-x86_64-Gno meLive.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
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
ASKER
Thank you Guys!
Do:
Open in new window