Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
sudo /usr/bin/lshw -c network *-network description: Ethernet interface product: *** vendor: *** physical id: 0 bus info: pci@0000:03:00.0 logical name: enp3s0 version: 10 serial: *** size: *** capacity: *** width: *** clock: *** capabilities: *** configuration: *** resources: *** *-network description: Wireless interface product: *** vendor: *** physical id: 0 bus info: pci@0000:04:00.0 logical name: wlp4s0 version: *** serial: *** width: 64 bits clock: *** capabilities: *** configuration: ... ip=192.168.0.92 ... resources: irq:52 memory:d1100000-d1101fff
ip --json addr show | jq --raw-output .[].ifname
ip --json addr show | jq --raw-output .[].ifname | grep wl
cat /proc/net/wireless | tail -n 1 | awk '{print $1}' | tr -d ':'
Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 wlan0: 0000 70. -50 -256 0 0 0 0 325 0