Find the answer to your Linux question:
Results 1 to 9 of 9
Like Tree1Likes
  • 1 Post By sgosnell
How to see all computers that are connected to my router and how to see theyr IP`s Im using wlan0 Thanks...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3

    Arrow How to see all computers that are connected to my router

    How to see all computers that are connected to my router and how to see theyr IP`s Im using wlan0

    Thanks

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    Code:
    netstat -anp | grep ESTABLISHED
    or another approach:
    arp -a
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3
    I did it and it only shows my IP

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    Than only your IP is connected.
    Can you perhaps show the output?
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Jul 2011
    Posts
    3
    ? (192.168.2.1) Thats all I get O__o

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    and for the netstat?

    Note: It might be possible, that you need to grep the word "ESTABLISHED" in your language
    You must always face the curtain with a bow.

  7. #7
    Linux Guru
    Join Date
    May 2011
    Posts
    1,813
    I (and Trinity) use nmap for this. For example, if my local ip address is 192.168.1.4 and subnet mask 255.255.255.0, then the network address is 192.168.1.0, so the command is:

    Code:
    nmap -n -sP 192.168.1.0/24

  8. #8
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    358
    I just have the router tell me. You should be able to access it via your browser, probably at ip 192.168.2.1, but perhaps 192.168.2.0, or something else close. It depend on the router, and the manual for the router should tell you. You'll need to log on to the router using the appropriate username and password. That depends on how you set it up.
    jayd512 likes this.

  9. #9
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,072
    I use the same method as mentioned by sgosnell.
    Simple is good.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

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