I am trying to just connect to a scanned network. It is a phone hotspot that for some reason when it requests the name of the network, it defaults to wwan. I have left it like that and then tried clicking submit, but it won't do anything but put a red box around the name of the network. Even if I enter the name of the wifi network or change it to anything else, it will not connect to this network.
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:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
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.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
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.
Spaces are allowed in SSIDs, but not in OpenWrt network interface names.
However, all bets are off here because the OP is using a vendor fork based on a very old (EOL, unsupported) version of OpenWrt. The AR300m is supported by official OpenWrt 23.05, so the user should install that -- it may resolve the issue right away, or if not we can help here when an official (and modern) version is in use.
Like implied in the discussion, the WiFi SSID is a different thing that the internal network name in OpenWrt network config.
Network name can't include spaces, so the validation in LuCI fails like your screenshot shows.
But the network name can easily be wwan (if that is still unused in your config), and the SSID that you join has its own name.
Actually, the word "network" is used for two different purposes on that page, creating confusion. In the page title it refers to the WiFi network (SSID), while in the network name config item it refers name used in config for netifd etc.
Haven't yet checked, but I guess that our normal LuCI has quite the same thing on that page, and might need editing, as the page is apparently confusing.
That is true. Also the length of the name is limited to 15 characters, the first character must be a letter, etc. Though uppercase is alllowed, by convention only lowercase is used. This is especially an issue with LuCI which in some places will uppercase or lowercase names destroying the case distinction.
There's little reason to change the network name from the default of wwan (Wireless Wide Area Network, i.e. a connection to the Internet that is wireless).
While the ambiguity of the work 'network' (as pointed out by @hnyman) exists in the latest official OpenWrt, it is important to revisit the fact that the OP is using a vendor fork based on the long EOL/unsupported 18.06.
@dewo3276 - you should install the 23.05.2 from the official project.
To clarify: I have tried typing in a network name without the spaces. It doesn't matter spaces or not. The reason I put spaces in there is because that is how the network name appears from my phone that I named: "Duster Buster". It doesn't seem to like it. These ARM routers have been cast aside for years so me updating to the latest official build will probably rectify some errors.