I see regular support requests here for configuring an external USB ethernet adapter as additional LAN device. I have several devices where this would be useful for me, but I did not succeed to create a reliable setup. Especially unplugging the device results mostly in a new tethering device.
For example I have a Brume 2 device which would benefit from a second LAN port (I could remove a full second device with power pluf from the installation). This is on a remote site which needs to run reliably and needs to survive power loss, un- and replugging of the cables (possibly by other people than me) and hopefully also firmware updates. So tinkering on luci or openwrt level is not enough.
Therefor Iâd like to propose handling of this in the main gl.inet firmware. For me it would be ideal if any usb device of the type âexternal usb adapterâ would be automatically treated as LAN. But it could also be a switch similar to the âUse as LANâ switch on the WAN device setting.
This used to work really well for me but for some reason it has been completely breaking the routerâs functionality with the newer firmware versions (have not been able to use it for a while as a result):
@bring.fringe18 keep your hair on mate. The method above would also allow you to change USB to WAN which is something that your ethernet switch cannot do.
Oh, cut the crap. Youâre talking about is loading addnâl kmods for a ASIX adapter⌠if you can even confirm it has them. Whatâdâya think youâre going do when it comes to writing the firewall rules for zoning that new interface, huh? Ya gonna expect it to all âautomagicallyâ appear in the GL GUI?
If you want dual WAN as you describe & donât know the difference between CLI & TTY, just drop 40.00USD & get a Beryl.
Just pulling your legs mate. Relax. You sound too knowledgeable about this OperWrt palaver and I really enjoy reading your posts and the way you try and help (which can be a bit peculiar - in a good way - at times I have to admit). Keep up the good work.
@bring.fringe18 maybe a bit of an overreaction? If we were all experts like you, we wouldnât need a forum to discuss issues like this
I have a spare 5 port TP link switch, so if you can provide more details on how I can use it to load share between my two WAN connections, Iâd be happy to give it a try and report back.
If it were a managed spare 5 port switch, it could do it. You would connect that to the WAN port of the GL-inet router. On the GL-inet device you would make a WAN1 on VLAN 1001 (Tagged and on the WAN interface) and WAN2 on WLAN1002 (Tagged and also on the WAN interface) and setup WAN1 and WAN2 the way you would want.
On the switch you would connect the WAN port of the GL-inet on port 1 (trunk, 1001 and 1002 tagged) and setup port 2 with default (untagged) vlan 1001 and disallow all other vlans. Port 3 would be with default (untagged) vlan 1002 and disallow all other vlans.
Extra credits can be obtained if you would configure the 2 devices to allow the remaining 2 ports to be extra LAN
No sure if the GL-inet gui would not murder that type of config, but this would work!
< valley girl > Maybe you should have a basic understanding of the technologies before buying products & implying theyâre at fault. < / question mark >
And then you wonder how I know youâre in over your head. Get a Beryl. Put it upstream.
Anyway, angry trolls aside, Iâll have a crack at getting it working again but unfortunately one of my connections is down at the moment. Worth a bit of effort as it was great when it was working.
I have usb2lan working on tether. Main thing seems to be to have the device going into it setup for DHCP. The tethering interface seems to default to DHCP when disconnected and reconnected. You can set to static in Luci but if it disconnects it causes issues.