First of all, thank you @lleachii for checking it out.
OpenWrt community is incredibly supportive, and I’m really glad to be part of it.
Let me tell you what I have done :
- I am using an RK3588-based custom board and on which I have build openWRT image/firmware for it with uboot and kernel compatible with my board.
- Ethernet - Realtek RTL8211F
- WiFi - Realtek RTL8852BS
/etc/os-release
conents :
root@OpenWrt:~# cat /etc/os-release
NAME="OpenWrt"
VERSION="24.10.1"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 24.10.1"
VERSION_ID="24.10.1"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r28597-0425664679"
OPENWRT_BOARD="rockchip/armv8"
OPENWRT_ARCH="aarch64_generic"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 24.10.1 r28597-0425664679"
ip a
root@OpenWrt:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 1a:e7:6b:dd:d6:7c brd ff:ff:ff:ff:ff:ff
3: end1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 46:56:e8:99:ab:0f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.XX/XX brd 192.168.1.255 scope global end1
valid_lft forever preferred_lft forever
inet6 fe80::4456:e8ff:fe99:ab0f/64 scope link
valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 40:f4:c9:94:85:18 brd ff:ff:ff:ff:ff:ff
- This is my default configuration when I run
wifi config
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/fe2d0000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:1'
option band '5g'
option channel '36'
option htmode 'HE80'
option disabled '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
-
In Luci, I can see -
And when I click on the scan button, it works completely.
-
So, there are my questions -
- What does it mean if
radio0
device saysDevice is not active
? - Does it require to edit/configure for as wifi module changed as in my case for RTL8852BS ?
- When I dive into deep,
- First, I have tried to connect to any available WiFi manually using
wpa_supplicant
andwlan0
to showIP
of connected wifi devices. - Which works completly fine as I got
IP
onwlan0
interface and also able to ping google.com. - So, after doing this I got to know that something is missing in luci/openwrt configuration.
- Issue :
- When I click on
join network
, it gets me the configuration menu, and I enter the password of wifi. Then network-related utilities get stuck, likeip a
,iw
etc. - Main concern is that I am not able to get
wlan0
interface in luci with properly working.
As I have edited disabled 1 to 0, Functionality related to Network interface getting started stuck.
Not able to work in that console,ip a
command - I realized that
iw dev wlan0 link
shows required information like signal, bitrate, but at the same timeiwinfo
does not show it, which leads to not being able to show info in luci.
- When I click on
root@OpenWrt:~# iw dev wlan0 link
Connected to 40:F4:C9:94:85:18 (on wlan0)
SSID: One6T
freq: 2462
RX: 123456 bytes, TX: 65432 bytes
signal: -50 dBm
tx bitrate: 144.4 MBit/s
root@OpenWrt:~# iwinfo
wlan0
ESSID: "One6T"
Access Point: 40:F4:C9:94:85:18
Mode: Client Channel: 11 (2.462 GHz)
HT Mode: HT20
Center Channel 1: 11 2: unknown
Tx-Power: 12 dBm
Link Quality: unknown/70
Signal: unknown
Noise: unknown
Bit Rate: unknown
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11ac/ax/b/g/n
Hardware: 024C:B852 0000:0000 [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: no PHY name: phy0