Hi,
how i can create a wireless AP via shell in openwrt?
with command "iwlist phy2-ap0 scanning"“ i can sucessfull scan for other APs.
Hi,
how i can create a wireless AP via shell in openwrt?
with command "iwlist phy2-ap0 scanning"“ i can sucessfull scan for other APs.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
![]()
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/wireless
i have connected a WIFI-usb-stick, driver RTL88x2bu is used.
{"kernel": "6.6.84+","hostname": "FriendlyWrt","system": "ARMv8 Processor rev 4","model": "FriendlyElec NanoPi R4SE","board_name": "friendlyelec,nanopi-r4s","release": {"distribution": "OpenWrt","version": "24.10.1","revision": "r28597-0425664679","target": "rockchip/armv8","description": "OpenWrt 24.10.1 r28597-0425664679","builddate": "1744562312"}}
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd00:ab:cd::/48'
config device
option name 'eth0'
option macaddr '2e:1c:53:bb:fd:69'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
option type 'bridge'
config interface 'wan6'
option device 'eth0'
option proto 'dhcpv6'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
config device
option name 'eth1'
option macaddr '2e:1c:53:bb:fd:6a'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
option ip6assign '60'
i have created a few test networks, but none works
# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/usb@fe800000/fe800000.usb/xhci-hcd.0.auto/usb1/1-1/1-1:1.0'
option band '2g'
option channel '7'
option country '00'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan wan'
option mode 'ap'
option encryption 'psk2'
option key 'password67123'
option ssid 'FriendlyWrt-Netzwerk'
config wifi-iface 'wifinet1'
option device 'radio0'
option mode 'ap'
option ssid 'OpenWrt-23443'
option encryption 'none'
option network 'lan'
config wifi-iface 'wifinet2'
option device 'radio0'
option mode 'ap'
option ssid 'OpenWrt-6744'
option encryption 'psk2'
option key 'DDAAAAAAAAAAAAAAAAS'
option network 'lan'
config wifi-iface 'wifinet3'
option device 'radio0'
option mode 'ap'
option ssid 'OpenWrt-4544'
option encryption 'sae-mixed'
option key 'test-passwort'
option ocv '0'
config wifi-iface 'wifinet4'
option device 'radio0'
option mode 'ap'
option ssid 'OpenWrt-232'
option encryption 'none'
RTL + AP == bad combo.
hmpf my openwrt install is "Linux version 6.6.84+"
can you recommend me a good working usb wifi adapter?
need i use a modeswitch driver for RTL88x2bu usb for ap mode?
or works it not at all?
You have to seek help somewhere else where you got THAT software.
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
You may find that the best options are:
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.
yes, i have friendlywrt in use
Ubuntu 25.10 has the kernel supporting this device, but for OpenWrt support you have to wait for SNAPSHOT release to move to LTS kernel after 6.17. Probably same with FriendlyWrt kernel 6.6.x
sure, i use ubuntu 22.04 with kernel-ppa 6.18 on my laptop(amd64 cpu), there the stick works. okay thanks for info
Read the link provided?
We don't know what your router firmware is or isn't capable of.
OK, just wait for OpenWrt kernel to surpass that
oh, i use a NanoPi-R4SE with friendlywrt fw
It is not from openwrt.org so wrong place to ask.
what is the right place for it? in the official friendlyelec forum i have login problems.
Repeatedly, every few days I have there login problems
that's also not an OpenWRT issue ...
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.