Wireless installation

Hello guys
i just want to know if it is possible to install openwrt without being connected with ethernet and configure it with wifi (for the first connection)

I guess you should do your own compilation with WiFi enabled, but I have no idea how to do this or if it is possible.

  • You can install OpenWrt offline; but you have to use the Internet to pre-download all files and needed tools
  • Since OpenWrt has WiFi disabled by default, it's impossible to proceed with setup over WiFi, until you have configured and enabled it yourself

See: https://openwrt.org/docs/guide-quick-start/begin_here

1 Like

Or pre-configure /etc/config/wireless by using the ./files/ directory of a custom build. This also lets you set up the SSID, encryption, key, ...

Great! Where do I find ./files/?

In the root of your build tree


1 Like

I mean, do I have to create the configuration file with that directory to take the WiFi settings?


mkdir -p path/to/your/openwrt/files/etc/config

isn't what you're asking

No, you could go more complicated and put something in /etc/uci-defaults/ that will change how /etc/config/wireless is generated, or complicate it further by creating your own package for that, rather than adding it to files/.

I created the wireless file in /files/etc/config/, It will not work?
I used the ImageBuilder with the command make image PROFILE=archer-c60-v1 PACKAGES="htop nano luci-app-sqm luci-app-ddns curl luci-theme-material" FILES=files/, and the image was successfully generated.

I already flashed the image and the router was blocked. The TFTP also does not work. It restarts without interruption