Edited by mattrix at Thu Dec 18, 2014 16:28 |
Would a pull request to your github be the way to go?
We need to decide on what to put in, and what to have enabled be default.
Obviously you want 1x image to suit all boards?
Bring in the kernel code for the swconfig and switch..
Bring in the AXA USB3.0 Ethernet adapter code maybe? - these are nice and actually get better speed than the USB2.0 adapters I have found even though using USB2.0 ports?
Have both enabled in the kernel (can't seem them affecting the other boards)
Add the /usr/sbin/swconfig utility - this will just not find a switch on the other boards if people try to use it.
I think still keep the default /etc/network/interfaces file (eth0 dhcp)
This will work with the router as well as it will just set all the ports to eth0 and therefore router uses will be able to get inital SSH access to then change the interfaces file to use vlan etc.
Do we enable vlan module by default? I think maybe not as it's only useful for the Router and it is easy to turn on
On your site, maybe you could just have a little how-to for the BPI and some example interfaces and the example /etc/network/if-pre-up.d/swconfig files.
and how to turn on vlan module
Copy the Code
- echo "8021q" >> /etc/modules