Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
Originally Posted by kgore4 If you can see it in network, then it can be found by netbios name. Do you have nbtstat on the windows machine? "nbtstat -c" will ...
  1. #11
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    320
    Quote Originally Posted by kgore4 View Post
    If you can see it in network, then it can be found by netbios name. Do you have nbtstat on the windows machine? "nbtstat -c" will show the IP.

    If not, then try something like "net view \\yourcomputer" followed by "netstat" and "netstat -n". Cross reference the source ports to match the name to the IP.

    Thanks for your help.

    "netstat -c" gives a message saying "No names in cache" (eventhough I double clicked several computer names in Windows Explorer > Network).

    "net view \\yourcomputer" gives system error 53, "The network path was not found". ("net view \\othercomputer" gives "No entries in the list".)

    The netstat commands do not list my linux computer's host name.
    OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista

  2. #12
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,279
    You could always get your network admin to find out the ip address for you. Tell them where the box is located they in turn should be able to determine which port on the switch it is connected to and then find the IP Address though the MAC table on that switch.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #13
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    320
    Thank you Lazydog, Djhg2000, kgore4 and jarome.

    I phoned a colleage who was at work (another Linux user) and asked him what his ip was. Then I used nmap (for Windows, the binaries just run without installing or admin rights) to scan all 254 ip's that start with the same digits for an open port 22. There were only two: his and mine. So I found my Linux box and it has been crunching numbers for me since.

    I did note that nmap did resolve my colleage's ip to a host name, but not mine. He is using Ubuntu, and I am using Debian testing. Actually, his box is known as hostname.myworksname.int. I guess he has his system set up so that it gets a name from some Windows server. Maybe it's called WINS? I skipped that option when I installed Debian.

    Thanks again.
    OS's I use: Debian testing, Debian stable, Ubuntu, Windows XP, Windows Vista

  4. #14
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,279
    Glad to hear everything worked out for you. Now get your system listed in the companies DNS.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #15
    Just Joined!
    Join Date
    Feb 2007
    Posts
    14

    Smile A windows command-line option

    If the Linux box is on the same network as the windows machine; you can try searching for devices on the network by using the "net view" command. Here's an example of my home network:

    From Windows 7 command-line( works in 2000, XP, 2003 ):

    C:\Users\CLOD>net view
    Server Name Remark

    -------------------------------------------------------------------------------
    \\*****ASS-3
    \\GOTCHA-PC
    \\SPOOKERS Samba Server Version 3.0.33-3.29.el5_5.1
    The command completed successfully.


    C:\Users\CLOD>ping spookers

    Pinging spookers [172.16.0.5] with 32 bytes of data:
    Reply from 172.16.0.5: bytes=32 time<1ms TTL=64
    Reply from 172.16.0.5: bytes=32 time<1ms TTL=64

    Ping statistics for 172.16.0.5:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    Control-C
    ^C

    ======

    That's easy enough to do. I read though the thread. It appears everything has been since long resolved. Although the forum is for Linux; I hope my note helps.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •