how do you konw pherphrique conect in my wifi im using ubuntu with ip 192.168.1.17 and @mac 46:ce:73:61:29:37
Assistant
To find out which devices (peripherals) are connected to your Wi-Fi network, you can scan your local network to see the list of connected IP addresses and their associated MAC addresses.
Since you are using Ubuntu and your computer has IP 192.168.1.17 in your Wi-Fi network, you can follow these steps:
1. Find your network IP range
Assuming your IP is assigned with subnet mask (most common), your network range is to .
User
antix@Antix:~$ nmap -sn 192.168.1.0/24
Starting Nmap 7.95 ( https://nmap.org ) at 2025-06-18 10:38 CEST
Nmap scan report for _gateway (192.168.1.1)
Host is up (0.0014s latency).
Nmap scan report for 192.168.1.13
Host is up (0.079s latency).
Nmap scan report for 192.168.1.17
Host is up (0.12s latency).
Nmap scan report for Antix (192.168.1.24)
Host is up (0.00027s latency).
Nmap scan report for 192.168.1.60
Host is up (0.055s latency).
Nmap done: 256 IP add
Assistant
Your nmap scan shows these active devices in your network:
192.168.1.1 — usually this is your router (gateway).
192.168.1.13
192.168.1.17 — your Ubuntu computer (with MAC 46:CE:73:61:29:37).
192.168.1.24 (hostname: Antix) — likely another device on your network.
192.168.1.60
However, nmap -sn only shows IP addresses and hostnames but does not show MAC addresses.
To see MAC addresses (and identify devices):
Run this command:
bash
User
antix@Antix: nmap -sn 192.168.1.0/24
Starting Nmap 7.95 ( ) at 2025-06-18 10:38 CEST
Nmap scan report for _gateway (192.168.1.1)
Host is up (0.0014s latency).
Nmap scan report for 192.168.1.13
Host is up (0.079s latency).
Nmap scan report for 192.168.1.17
Host is up (0.12s latency).
Nmap scan report for Antix (192.168.1.24)
Host is up (0.00027s latency).
Nmap scan report for 192.168.1.60
Host is up (0.055s latency).
Nmap done: 256 IP addresses (5 hosts up) scanned in 5.67 seconds
antix@Antix: sudo apt install net-tools
Installing:
net-tools
Assistant
Great! You now have the list of connected devices on your Wi-Fi network, with their IPs and MAC addresses.
Here is the output you gave from arp -a:
code
192.168.1.17
255.255.255.0
192.168.1.1
192.168.1.254
2. Use nmap to scan your network for connected devices
nmap is a powerful tool to scan IP ranges and see devices on the network.
If you don't have nmap installed, install it:
bash
sudo apt update
sudo apt install nmap
Then scan your network:
bash
nmap -sn 192.168.1.0/24
The -sn option just pings the hosts to see if they are up, without scanning ports.
3. Analyze the output
The output will look something like this:
code
Nmap scan report for 192.168.1.1
Host is up (0.0010s latency).
MAC Address: 11:22:33:44:55:66 (Manufacturer name)
Nmap scan report for 192.168.1.17
Host is up (0.00080s latency).
MAC Address: 46:CE:73:61:29:37 (Your device or other)
...
Look for the devices with the MAC addresses. If you want to correlate MAC with device types, you can search the MAC prefix on the web to know the manufacturer/device brand.
4. Optional: Use arp-scan for a more detailed ARP scan
You can also use arp-scan, which sends ARP packets and may detect more devices.
Install arp-scan:
bash
sudo apt install arp-scan
Run the scan:
bash
sudo arp-scan --interface=wlan0 --localnet
Replace wlan0 with your actual wireless interface name (use ip link to find it).
This will show a list of IPs and MAC addresses.
Summary
Use nmap -sn 192.168.1.0/24 or sudo arp-scan --interface=wlan0 --localnet
Identify connected devices by IP and MAC address.
Your device is 192.168.1.17 with MAC 46:CE:73:61:29:37, don't confuse with others.
Let me know if you want help identifying or blocking unknown devices on your network!
arp -a
This will list IPs and their corresponding MAC addresses, for example:
code
? (192.168.1.1) at 11:22:33:44:55:66 [ether] on wlan0
? (192.168.1.13) at aa:bb:cc:dd:ee:ff [ether] on wlan0
? (192.168.1.17) at 46:ce:73:61:29:37 [ether] on wlan0
? (192.168.1.24) at ...
? (192.168.1.60) at ...
Compare the MAC addresses listed here with the output of your scan.
You can also use arp-scan for better detail:
Find your wireless interface name (likely wlan0 or similar):
bash
ip link
Run:
bash
sudo arp-scan --interface=wlan0 --localnet
This will show a list of IPs, MACs, and manufacturer names, helping you identify the devices.
Summary steps to identify your connected devices (peripherals):
Use nmap -sn 192.168.1.0/24 to find active IPs.
Use arp -a to get MAC addresses for those IPs.
Optionally run sudo arp-scan --interface=wlan0 --localnet for a clean list of IP/MAC/manufacturer.
Cross-check MAC addresses with device manufacturers online to identify the device type.
If you want, paste your arp -a or arp-scan output here and I can help you identify the devices.
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
Download size: 210 kB
Space needed: 848 kB / 25.8 GB available
Get:1 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 net-tools amd64 2.10-1.1ubuntu1.25.04.4 [210 kB]
Fetched 210 kB in 1s (157 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 207004 files and directories currently installed.)
Preparing to unpack .../net-tools_2.10-1.1ubuntu1.25.04.4_amd64.deb ...
Unpacking net-tools (2.10-1.1ubuntu1.25.04.4) ...
Setting up net-tools (2.10-1.1ubuntu1.25.04.4) ...
Processing triggers for man-db (2.13.0-1) ...
antix@Antix:~arp−a?(192.168.121.13)at52:54:00:03:e5:6a[ether]onvirbr1?(
? (192.168.121.13) at 52:54:00:03:e5:6a [ether] on virbr1
? (192.168.1.17) at 46:ce:73:61:29:37 [ether] on wlp1s0
? (192.168.1.16) at d8:5b:2a:34:4e:8d [ether] on wlp1s0
? (192.168.1.13) at 52:8b:9a:20:30:ac [ether] on wlp1s0
? (192.168.1.60) at ca:31:a1:c2:bb:68 [ether] on wlp1s0
_gateway (192.168.1.1) at 34:60:f9:ec:d9:e0 [ether] on wlp1s0
What does this mean?
wlp1s0 is your Wi-Fi interface name on your Ubuntu machine.
All these IPs are connected via Wi-Fi (interface wlp1s0).
Your device:
192.168.1.17 with MAC 46:ce:73:61:29:37 — this is your own computer.
Other devices on Wi-Fi:
192.168.1.16 at MAC d8:5b:2a:34:4e:8d
192.168.1.13 at MAC 52:8b:9a:20:30:ac
192.168.1.60 at MAC ca:31:a1:c2:bb:68
_gateway (router) at 34:60:f9:ec:d9:e0
How to identify those devices (MAC vendor lookup):
You can find out the vendor/manufacturer of the device using an online MAC address lookup like: