![]() Typically, eth0 is for Ethernet connection, and wlp2s0 for Wireless connection. Inet6 1:2:00:33:333/64 scope global mngtmpaddr noprefixroute dynamic Type ifconfig -a or ip link show or cat /sys/class/net//address command Press Enter to run the command. Valid_lft 548176sec preferred_lft 61403sec Inet6 AB:AD:AK:AI/64 scope global temporary dynamic Valid_lft 61791sec preferred_lft 61791sec You can also type ifconfig en0 or ifconfig en1 for the configuration of a particular interface only (as someone said in their answers, en0 is typically the wired Ethernet while en1 is the WiFi interface). Link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00Ģ: enp1s0: mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000ģ: wlp2s0: mtu 1500 qdisc mq state UP group default qlen 1000 This command shows you the list of interfaces along with their IP and MAC addresses (the latter one only if applicable). ![]() Some managed switches can also show you which IPs are on which port, so you'd just need to look for the MAC in the arp. ![]() 2. ![]() What is difference between Suspend and Hibernate in Linux. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |