Closed robimarko closed 7 years ago
@kostko Does Nodewatcher include CPU port in ports variable?
@kostko Does Nodewatcher include CPU port in ports variable?
No, the ports
must include the CPU port identifier, otherwise this is an error. This is why you are getting the following exception:
ImproperlyConfigured: Switch descriptor 'sw0' refers to an invalid CPU port '6'!
You configured ports=5
on the switch, but the switch as you defined it actually has 7 ports (e.g., 0, 1, 2, 3, 4, 5, 6), not just 5. So it should be ports=7
.
I get I know. I did not know that it has to include CPU port as well.
According to Lede source and actuall running Lede on ERX port 5 is not being used. And port 6 is CPU.
Ok,will edit config to 7 ports. Have you checked out Unifi PR#38?
According to Lede source and actuall running Lede on ERX port 5 is not being used.
You do not need to specify sequential ports, instead of ports=7
you can say ports=[0, 1, 2, 3, 4, 6]
and then port 5 will be invalid.
Thanks,that makes sense. Also thanks for patience
Should be fixed now
Just figured out that I had wrong device profile for making defined. Now it is per LEDE profile. @kostko @mitar Any chance of merging?
I have squashed previous commits into one.
@kostko Is ramips_mt7621 builder ready?
@kostko Is ramips_mt7621 builder ready?
Yes.
Sure, that would be great.
Pull request to add Ubiquti Edgerouter X device descriptor. This time properly made in separate branch.