Skip to main content
Thx Bob for the impovment
Source Link
MatsK
  • 2.8k
  • 3
  • 17
  • 20

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip alink show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip a show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip link show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip

deleted 1 character in body
Source Link
MatsK
  • 2.8k
  • 3
  • 17
  • 20

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip -a show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip -a show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip a show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip

Source Link
MatsK
  • 2.8k
  • 3
  • 17
  • 20

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig.

To show the wlan0 interface:

ip -a show wlan0

or

cat /sys/class/net/wlan0/address

Ref: https://www.linux.com/learn/replacing-ifconfig-ip