I have got this UCI files and when I do /etc/init.d/network reload there is no wireless interface up. Then, if I use ip link set wlan0 up the interfacec appears but without any IP address. It must be any mistake in my files or something more wrong.
Yes what @lleachii said about not having the hardware path. This is a big problem because the radio hardware can't be accessed without it. You can't paste a whole /etc/config/wireless from one model to another. There is some hardware specific stuff in the wifi-device stanza which you should let the firstboot scripts generate. After doing that, add the following radio-wide parameters:
channel (find neighbors and avoid them)
Also don't do this in /etc/config/network:
Don't call out wireless interfaces with option ifname, you don't need option ifname at all if the only interfaces in a network are wireless. The option network in /etc/config/wireless will attach the radio to a network. The names wlan1 etc are generated at runtime and you can't be sure what they will be in advance.
It doesn't work to me. I deleted this interface and I added these new options. I think that I have got the radio resource correctly linked with the radio0ap interface (ifname wlan0) but, the default status of the interface is still down. I don't find a way to set it up using UCI files.
I'm not sure you understood those helping you - as your response indicates you may have failed to perform the steps above:
You were not told to delete an Interface, yet you deleted one
You were told that radio0ap is likely wrong
You were instructed to let OpenWrt re-create the whole file - /etc/config/wireless from defaults - using the instructions in Post No. 2.
I'm not sure how you're determining the interface down - especially if you never followed the steps from @anon50098793. Please follow the instructions above; and post the new /etc/config/wireless when complete.
You likely won't see it - until you follow the instructions in Post No. 2.
BTW, if you think your AP PHY linking is correct, following the instructions of Post No. 2 will prove it.
good you now have a valid PATH... for your radios...
define wrong. what is or is not currently working? why? show or describe the tests you've made and the results you see....
we can't tell much by what you posted.
please tell me why you did that?
as some general advice.. do not touch anything unless you KNOW what it does. or at least backup your file... change one thing.... test.... then change it back if there are issues... Using LUCI/web interface is advised... until you a familiar with specific options.
I personally do that ( use the web interface ) for wifi... even with intermediate knowledge on the topic....
You should not be configuring an IP on the WiFi PHY, you should be configuring a VLAN/OpenWrt Interface and bridging it to an SSID. LAN should already have this setup in the default wireless and network configs (e.g. SSID OpenWrt). If you simply change the LAN IP and enable WiFi, you will have the IP scheme you desire on the WiFi.
Also, free free to use one post to respond to multiple people, we can all see the responses.
I suggest you try setting up a working WiFi first. Perhaps it will be easier for you if you do that with the defaults, simply enable WiFi, then renumber your network.
What is your use case? Why are extra networks needed?
Creating new networks should only be considered after you are familiar with the standard configuration of wifi attached to br-lan and know that it works on your hardware. What happened to br-lan anyway?
Ok. I will try setting up a simple WiFI and, then, when it will work, I will adapt it to my preferences.
It automatically appears in the wifi-device... but it does no matter. I have removed.
So, if I correctly understand, I should have in /etc/config/wireless the default wifi-device and wifi-iface which use it. Besides, I have to set lan of /etc/config/network as a wifi-iface network. Finally, configure the interface following my preferences... Isn't it the procedure?
I feel that my web manager has got a very few options. Is it possible bridging here?
The device was used before by other people and I am afraid to lose things that they installed or configured. I prefer to touch only network configuration. Do you think that reset is such an important? I am starting everything almost from the beginning. I am basing on this:
Could be but, in the configuration of the wifi aspects is required an authentification and if I use the username and password I was given, it redirects me again to the main page... It seems not to be allowed to change in the web the wifi settings...
It does not seem to be...
Yeah, yeah. I now it. I had followed your advice and I had removed it
Because, their told me about they had done, but not about what I will try to ask again.
How do you know it is their?
Anyway, I will keep trying to follow @anon50098793 steps. I achieved something...