Get list of physical interfaces in openwrt
How we can get all physical interfaces in openwrt, I tried with ls -l /sys/class/net/, But it is not right information. lrwxrwxrwx 1 root root 0 Mar 21 10:26 eth0 -> ../../devices/virtual/net/eth0 lrwxrwxrwx 1 root root 0 Mar 21 10:26 eth1 -> ../../devices/virtual/net/eth1 lrwxrwxrwx 1 root root 0 Mar 21 10:26 tun0 -> ../../devices/virtual/net/tun0 lrwxrwxrwx 1 root root 0 Mar 22 09:50 wlan0 -> ../../devices/pci0000:01/0000:01:00.0/net/wlan0 lrwxrwxrwx 1 root root 0 Mar 22 09:50 wlan0-1 -> ../../devices/pci0000:01/0000:01:00.0/net/wlan0-1 actually eth0 and eth1 are physical and wlan0-1 is logi
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.