aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#16 - Bug with PPPoE (Lantiq) #78

Closed aparcar closed 8 years ago

aparcar commented 8 years ago

markuznw:

Hello, there appears to be a bug in the current revision (tried up to r731) with my Lantiq Tp-Link W8970. I'm using a PPPoE configuration with an atm bridge 8/35 for a typical 10mbit adsl connection in Italy. From the default configuration I used to switch ptm => atm, specify the correct firmware (lantiq-vrx200-a.bin) file for annex A and change ptm0 to nas0 on the pppoe-wan device with correct details for my connection. Then restart the network with init.d to apply the changes, that made it create the virtual nas0 interface and connected fine.

But, on last builds it doesn't seem to create the nas0 virtual interface anymore even with the same network configuration which i double checked several times. So I've tried to recompile an old snapshot (r555) which works completely fine without any change.

Maybe something related to the rework of config files generation broke it or I am missing some configuration change necessary for it to work?

aparcar commented 8 years ago

mkresin:

Then restart the network with init.d to apply the changes, that made it create the virtual nas0 interface and connected fine.

But, on last builds it doesn’t seem to create the nas0 virtual interface anymore even with the same network configuration which i double checked several times.

Is the nas0 device created after a reboot?

So I’ve tried to recompile an old snapshot (r555) which works completely fine without any change.

Would it be possible that you try more revisions between r555 and r731, to find the revision where it breaks.

aparcar commented 8 years ago

markuznw:

Thanks for the fast reply

//"Is the nas0 device created after a reboot?"//

Unfortunately not, I tried several reboots too but nothing changes

//"Would it be possible that you try more revisions between r555 and r731, to find the revision where it breaks."//

Sure, will do it as soon as possible with some 'interim' revisions between those hoping it can help

aparcar commented 8 years ago

hitech95:

I can confirm the same issue. NAS0 is not created. Is missing the ltq-atm-vr9 module.

Same problem with other xrx200 hardware. (Tested on both W8970 and BT Home Hub 5)

Edit: Looks that the last working commit is: 239ad94165adc3ffb5290dd871d2ff0ddff4bdcf

aparcar commented 8 years ago

medber:

I can confirm this issue too on ARV7519RW22. ltq-atm-vr9 module is missing.

aparcar commented 8 years ago

mkresin:

I guess I found the issue. Can anyone please confirm that the attached patch fixes the issue.

aparcar commented 8 years ago

medber:

Mathias Kresin: I tested your patch and it fixed the reported issue. Thanks ;)

aparcar commented 8 years ago

mkresin:

Thanks for the feedback. I've send the patch for inclusion.

aparcar commented 8 years ago

markuznw:

Thank you Mathias. Confirmed working as of this morning (didn't have access to the router until now) Waiting for the inclusion to close the bug report :-)