How to setup WAN for ISP that ask Vlan tag 835

Hi I'm using openwrt form some year but I'm approaching only now detailed config of this firmware .
I've recently changed ISP and this one use PPPoE with Vlan Tag on 835 and 836.
I'm not able to setup the router in that way and to acquire DHCP for start working ....
I've a Phicomm K2P with OpenWrt 19.07.8 r11364-ef56c85848 / LuCI openwrt-19.07 branch git-21.189.23240-7b931da.
Below are the parameters provided from ISP. Does someone help me ?
Thanks in advance.

P.S. the italian ISP is Wind3

VLan: 835(data)
VLan: 836(voice)
Protocol: PPPoE
PPPoE usr: benvenuto
PPPoE pwd: ospite
Encapsulation: LLC
NAT: enabled
COS data: 0 (IEEE 802.1 P)
COS voice: 5 (IEEE 802.1 P)

You're using an mt7621 based device, whose configuration changes from swconfig to dsa between 19.07.x and 21.02.x. Given that this configuration changes significantly with DSA (and actually becomes easier for your use-case) and considering that 19.07.x will go EoL in a couple of weeks, I'd suggest to upgrade to 21.02.x first, before spending time and efforts on the 'old way'.

Also make sure to describe your network setup in a bit more detail, as it's a bit unclear from your description how you're going to deal with your phone setup behind the router (as in, what to do with the voice VLAN).

1 Like

Thanks for your answer, I'll follow your suggestion and asap I'll update to 21.02.x so we can deal with DSA. I did not perform that before just because I'm not familiar with DSA .
Regarding the config we are talking about fiber FTTH ISP called Wind3 (Italy) and I need only the WAN config /setup for the VLAN 835 regarding data. The VLAN 836 is an optional if I want to use the ISP voip service but I didn't so .... consider this :
VLan: 835(data)
Protocol: PPPoE
PPPoE usr: benvenuto
PPPoE pwd: ospite
Encapsulation: LLC
NAT: enabled
COS data: 0 (IEEE 802.1 P)

No phone involved in this configuration, apologize for the poor description that create the misunderstanding.

I'll inform you and , ask again your help, just when I complete the firmware upgrade.
Thanks for your time.

Hi as suggested I've tryed to setup the Phicomm to the target release 21.02.1 but when I upload and check the file I had this error that ask me to "force" the upgrade .
I stopped just to avoid problem , does anyone have suggestion ?

this is the error message :

Flash image?

The flash image was uploaded. Below is the checksum and file size listed, compare them with the original file to ensure data integrity.
Click 'Continue' below to start the flash procedure.

Size: 6.00 MB
MD5: fea91f3ca239a712546e450510ba527b
SHA256: 2749aaf0adf0eef3c71554807c2be1256b4e9fca7bf84b4bcda1f7824fc496e2

Keep settings and retain the current configuration

Device k2p not supported by this image Supported devices: phicomm,k2p k2p - Image version mismatch: image 1.1, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: Config cannot be migrated from swconfig to DSA Image check failed.

The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.

Force upgrade

Select 'Force upgrade' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!

Thanks for your help.
Roby

looks like the correct image, based on the SHA.

force it, and reset all settings in the process.

Hi I've successfully made the upgrade, now my situation is :

System

Hostname OpenWrt
Model Phicomm K2P
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d
Kernel Version 5.4.154

Now I need help for setting up Vlan tagging for connecting the router to the FTTH network provided by my ISP
The configuration details are :
VLan: 835(data)
Protocol: PPPoE
PPPoE usr: benvenuto
PPPoE pwd: ospite
Encapsulation: LLC
NAT: enabled
COS data: 0 (IEEE 802.1 P)

Does anyone show me what steps I've to do for made the router working and obtaining an IP from ISP dhcp ?

Thanks.
Roby

Search the forum for PPPoE 835.

I've a problem with my Phicomm K2P after upgrading it to OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d.
If I enable Wireless Radio0 (wifi) MediaTek MT7615E 802.11nac it works since first reboot. After this point the router during reboot loose every configuration so I cannot reach it anymore with any IP address and I've to made a hard reset with button for recovering the situation. Obviously at that point any config was lost.
If I leave disable Radio0 (wifi) all works and if I made reboot all config were saved and all functionality were ok. With previous version of firmware I never had this problem.
Just for info I used the "sysupgrade" file and no error was exported .
Anyone can help me ?
Thanks.