First of all please excuse me for my translation I am French.
Here I expose my problem, I have a Netgear WNR1000V2 router that I want to put in place of the box of my provider.
Except I installed Openwrt for my router version 18.06 but in the Interface menu I do not see my Wan port to be able to tag a Vlan + its CPU here is my screen.
Et mon second problème c'est au niveau de l'installation des logiciels pour le routeur, tout s'installe sur la RAM de celui-ci donc ce qui veut dire que à la moindre coupure électriqueou reboot je perd tout ce qui est installé comment puis-je faire pour qu sa s'installe dans la mémoire interne et non la RAM svp ?
Hello and thank you for your answer.
But the problem I have when I need to tag the wan port in the / etc / config / network file in the Swtch0_vlan section is the number that corresponds to my Wan? screen below.
Please post here the whole /etc/config/network to see which physical interfaces the device has.
The 4MB is flash and the 16MB is ram. Contents of flash will survive a reboot, unlike contents of the ram. You cannot install an Openwrt image on the ram, but you could use a usb stick to expand the flash space. Still 32MB of RAM cannot be expanded and you'll eventually have headaches from crashes due to memory starvation.
Ok I understood but the concern how to tag a port that does not appear
I wish to tag the Wan port to the CPU but how do I do if I do not have its port number?
option device 'switch0'
option vlan '2' # index
option ports 'xt xt'
For this model eth0 connects directly to the WAN port. bypassing the switch. So do not reconfigure the switch. It is only necessary to add the VLAN number to eth0 in the wan section of /etc/config/network like @trendy said.
This can also be done in the web interface by going to Interfaces - WAN - Physical then click the interface name, scroll down to very end which is create a new network, type 'eth0.n' (n being the number your ISP uses) and press enter to create and change to a VLAN'd eth0.
If your ISP does not offer IPv6, remove the wan6 section.