LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2009, 01:09 AM   #1
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 219

Rep: Reputation: 36
How can I locate the computer name in network


I have 3 computers connected to my wireless router and the ip is assigned by dhcp.


Assuming I am 192.168.1.101 and I did a ping and confirmed that the other 2 computers is also connected at 192.168.1.102 and 192.168.1.103.


As each computer have their own names (e.g. computer_games and computer_video) how can I find out which 192.168.1.102 and 192.168.1.103 is?
 
Old 04-10-2009, 02:59 AM   #2
danguba
LQ Newbie
 
Registered: Oct 2007
Location: Kragujevac, Serbia
Distribution: OpenSuse 11
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by michalng View Post
I have 3 computers connected to my wireless router and the ip is assigned by dhcp.


Assuming I am 192.168.1.101 and I did a ping and confirmed that the other 2 computers is also connected at 192.168.1.102 and 192.168.1.103.


As each computer have their own names (e.g. computer_games and computer_video) how can I find out which 192.168.1.102 and 192.168.1.103 is?
Have you tried pinging computer name.... or dirty way.... plug one of them off... and the one you cannot ping any more is the one you just shut down
 
Old 04-10-2009, 03:23 AM   #3
flopypl
LQ Newbie
 
Registered: Apr 2009
Location: Poland
Distribution: Slackware 12.1
Posts: 20

Rep: Reputation: 0
if you have phisical access to these computers you can type:

#ifconfig
and you will see IP of this computer and
#hostname
to see hostname

If you haven't phisical access you can use some network scanner to discover your network.

Regards
Krzysiek
 
Old 04-10-2009, 04:36 AM   #4
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 219

Original Poster
Rep: Reputation: 36
Was hoping for a command to be able to resolve the ip address to computer name.


Googled quite a bit but was unsuccessful.
 
Old 04-10-2009, 10:42 AM   #5
flopypl
LQ Newbie
 
Registered: Apr 2009
Location: Poland
Distribution: Slackware 12.1
Posts: 20

Rep: Reputation: 0
here you have some information:
https://www.linuxquestions.org/quest...tnames-560971/

You should read bathory post in this thread.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup computer to computer network between Mandriva and Mac? ssass21 Mandriva 3 01-18-2007 04:46 AM
Computer to Computer Wireless Network How To Sir Lunch-a-lot Linux - Wireless Networking 5 10-18-2006 09:56 PM
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 01:40 AM
Where do network card config file locate in UNIX? woranl Linux - Networking 2 02-20-2004 09:35 AM
One computer on a three computer network having problems knightofdogbert General 2 10-20-2003 01:56 PM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration