Advertisement
Guest User

Untitled

a guest
Feb 8th, 2023
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. root@OpenWrt:/# rmmod mac80211_hwsim
  2. root@OpenWrt:/# rmmod mac80211
  3. root@OpenWrt:/# rmmod cfg80211
  4. root@OpenWrt:/# insmod cfg80211 ieee80211_regdom=US
  5. module is already loaded - cfg80211
  6. root@OpenWrt:/# rmmod cfg80211
  7. root@OpenWrt:/# insmod cfg80211 ieee80211_regdom=US
  8. root@OpenWrt:/# insmod mac80211
  9. root@OpenWrt:/# insmod mac80211_hwsim
  10. [ 1775.365383] mac80211_hwsim: initializing netlink
  11. root@OpenWrt:/# iwinfo radio0 i
  12. radio0 ESSID: unknown
  13. Access Point: 02:00:00:00:00:00
  14. Mode: Client Channel: unknown (unknown) HT Mode: NOHT
  15. Center Channel 1: unknown 2: unknown
  16. Tx-Power: 0 dBm Link Quality: unknown/70
  17. Signal: unknown Noise: unknown
  18. Bit Rate: unknown
  19. Encryption: unknown
  20. Type: nl80211 HW Mode(s): 802.11ac/ax/b/g/n
  21. Hardware: unknown [Generic MAC80211]
  22. TX power offset: unknown
  23. Frequency offset: unknown
  24. Supports VAPs: yes PHY name: phy0
  25. root@OpenWrt:/# ubus call iwinfo info '{ "device": "radio0" }'
  26. Command failed: Not found
  27. root@OpenWrt:/# service rpcd restart
  28. root@OpenWrt:/# ubus call iwinfo info '{ "device": "radio0" }'
  29. {
  30. "phy": "phy0",
  31. "bssid": "02:00:00:00:00:00",
  32. "country": "US",
  33. "mode": "Client",
  34. "txpower": 0,
  35. "quality_max": 70,
  36. "noise": 0,
  37. "htmodes": [
  38. "HT20",
  39. "HT40",
  40. "VHT20",
  41. "VHT40",
  42. "VHT80",
  43. "VHT80+80",
  44. "VHT160",
  45. "HE20",
  46. "HE40",
  47. "HE80",
  48. "HE80+80",
  49. "HE160"
  50. ],
  51. "hwmodes": [
  52. "b",
  53. "g",
  54. "n",
  55. "ac",
  56. "ax"
  57. ],
  58. "hwmodes_text": "ac/ax/b/g/n",
  59. "hwmode": "a/g",
  60. "htmode": "NOHT",
  61. "hardware": {
  62. "name": "Generic MAC80211"
  63. }
  64. }
  65. root@OpenWrt:/#
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement