Configure Routed Client

Hello everyone,

I am trying to configure my Netgear Nighthawk X4S (R7800) running OpenWrt 19.07.3 as a routed client.
I found the corresponding guide in the documentation but am unable to follow along. I used ssh to connect to my router and sent the first 4 commands:

uci del wireless.@wifi-device[0].disabled
uci del wireless.@wifi-iface[0].network
uci set wireless.@wifi-iface[0].mode=sta
uci commit wireless

Until then everything seemed to work, but when I sent the next command I got an error message:

root@OpenWrt:~# wifi
'radio1' is disabled
'radio1' is disabled

Would somebody be willing to do some hand holding and guide me through the instructions.
Any help is very much appreciated.

My guess is that you need to run the first four commands with [1] to enable radio1.

Thank you, that seams to work.
Now I am stuck at the next command.

root@OpenWrt:~# iwlist scan
-ash: iwlist: not found

Can you help me out again here?

Whoever wrote the wiki was using an old Broadcom device. For anything modern, use iwinfo wlan0 scan. A low level scan (more detailed) can be done directly through iw: iw dev wlan0 scan. And of course on a dual band router changing to wlan1 would scan the other band.

The scan is not necessary if you already know the SSID and encryption type of the AP that you want to connect to.

1 Like