Hello, I have the Brume-W GL-MV1000W, however this topic should also apply to the GL-MV1000 (no wireless). I’ve had a few goals with this router that others might want to help with, or post their own if they fit this topic. There isn’t an official forum anywhere that I could find that deals with this router/topics. There is a github page for installing Ubuntu, but no forum that Q&A’s happen on. Maybe this topic/forum can serve as a good place for Brume projects and configuration. My general knowlege of networking, linux, and openwrt isn’t the greatest. However I should be able to detail my goals, and confident that we can figure them out:
1a) WiFi/Eth USB Adapter Compatibility:
To add wireless via usb. The GL-MV1000W already has 2.4ghz built in. However it would be good to figure this out as well for the Brume GL-MV1000 which doesn’t have wireless, and also to add 5ghz band for those who already have the Brume-W. As WiFi keeps advancing, hopefully we can keep upgrading a new adapter that has the latest standards into the future, such as the newest 802.11ax, WiFi 6e, rather than having to upgrade the whole router. Lastly adding USB WiFi, can allow for the use of removable external antennas, so you could use high gain omni-directional antennas, or switch them out for directional antennas. The Brume-W manual by Gl-iNet recomends a couple of adapters, so I bought the dual band
Alpha: AWUS036AC. (Works in OpenWRT)
If anyone knows of other compatible usb WiFi adapters please reply with the model so that we can make a list of compatible devices. Additionally if anyone knows of, or has tested any WiFi adapters that work with Ubuntu, please list them as well. Ideally I’m hoping that one of them works on both systems, OpenWRT & Ubuntu. I’m also curious if anyone knows of any usb-ethernet dongles that would work in either system?
1b) WiFi as WAN (OpenWRT):
OpenWRT recognizes this adapter when you plug it in, and allows you to configure the wireless as an access point in the GUI. However their is no ability to use this for WiFi as WAN connection in the GUI. So I was wondering if this is possible under Advanced settings, and if so how to configure that? Along with that, is there a way to MAC-CLONE, or change the MAC address of the WiFi as WAN interface?
1c) WiFi in Ubuntu.
I had to follow the github page for the MV1000, since their isn’t a seperate page for the MV1000W to install Ubuntu.
Following the steps, I was successfully able to install Ubuntu on my MV1000W, and can switch systems back and forth using the switch_system command. However I do not see any wireless interfaces listed for the built-in 2.4ghz, and haven’t yet tested the Alpha USB wireless adapter. Is it possible to get the built-in wireless recognized and working in Ubuntu? If so, how do I configure that? After that I would like to do the same thing for the Alpha USB WiFi adapter, adding any required drivers, and configure it? Then it would be helpful to create a new ubuntu image for the MV1000W. The image should be easy enough though as it is described on the github page. Hopefully we can get that added to the github page, so depending on whether you have the GL-MV1000, or the GL-MV1000W, you could download and install the appropriate image.
2.) Network configuration in Ubuntu for Speedify:
Like I said, I’m new to some of these concepts, so I could use some help to configure the network settings in this Ubuntu build. The default login via ssh is root@192.168.8.1 with password goodlife. According to Johnex, we get bridged networking out of the box.
Ubuntu on brume? - #3 by kreiszahler
I’m not really sure how bridged networking works. What I am trying to do however, is make use of the ethernet interfaces for Speedify. Speedify is a monthly subscription vpn service that runs on Ubuntu. It allows you combine multiple WAN connections to aggregate them together and have faster overall Internet speeds, as well as failover to keep you online without buffer issues or Internet hiccups, in case one of the connections goes down.
To install speedify on Ubuntu:
To configure Speedify:
So I have Speedify installed, but I don’t understand how the bridged interface works with this MV1000W running Ubuntu. Whatever configuration changes I need to make to the network or Ubuntu, I have to be able to ssh back into the Brume router when all is said and done so that I can still access/control it. I want to be able to plug in an Internet connection to the WAN ethernet port, and then set a second Internet connection on the next ethernet port for use as a second WAN connection, and use the 3rd and final ethernet port to connect with and access ubuntu via ssh, as well as connect to the Internet. By default only 1 ethernet is configured as a WAN in this Ubuntu build, and speedify doesn’t know how to pickup the connections correctly, or how to tell it what interface to share the bonded connections with. I think that’s because of the bridge. I’m used to Ubuntu installs where you would have eth0, eth1, eth2 etc. So I think I need help to unbridge this and configure one of the other ethernet ports as WAN. I’m really just not sure where to go from here to get the networking, and speedify configured correctly? I can provide whatever else is needed to help formulate a solution, just let me know what commands to run, and I will post the output.
root@GL-MV1000-Ubuntu:/etc/ssh# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether XX:XX:XX:XX:XX (OBSCURED) brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
link/sit 0.0.0.0 brd 0.0.0.0
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 532
link/ether XX:XX:XX:XX:XX (OBSCURED) brd ff:ff:ff:ff:ff:ff
inet6 fe80::9683:c4ff:fe05:a149/64 scope link
valid_lft forever preferred_lft forever
5: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether XX:XX:XX:XX:XX (OBSCURED) brd ff:ff:ff:ff:ff:ff
inet 192.168.0.120/24 brd 192.168.0.255 scope global dynamic wan
valid_lft 42443sec preferred_lft 42443sec
inet6 fe80::9683:c4ff:fe05:a149/64 scope link
valid_lft forever preferred_lft forever
6: lan0@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN group default qlen 1000
link/ether XX:XX:XX:XX:XX (OBSCURED) brd ff:ff:ff:ff:ff:ff
7: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
link/ether XX:XX:XX:XX:XX (OBSCURED) brd ff:ff:ff:ff:ff:ff
inet 192.168.8.2/24 scope global lan1
valid_lft forever preferred_lft forever
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether XX:XX:XX:XX:XX:XX (OBSCURED) brd ff:ff:ff:ff:ff:ff
inet 192.168.8.1/24 brd 192.168.8.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 fe80::9683:c4ff:fe05:a14a/64 scope link
valid_lft forever preferred_lft forever
9: connectify0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 14800 qdisc pfifo_fast state UNKNOWN group default qlen 10000
link/none
inet 10.202.0.2/24 scope global connectify0
valid_lft forever preferred_lft forever
root@GL-MV1000-Ubuntu:/etc# cat /etc/dnsmasq.conf
interface=br-lan
bind-interfaces
dhcp-range=192.168.8.5,192.168.8.250,255.255.255.0,24h
dhcp-option=option:router,192.168.8.1
root@GL-MV1000-Ubuntu:/etc# cat /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
lan0:
dhcp4: no
lan1:
dhcp4: no
wan:
dhcp4: yes
bridges:
br-lan:
addresses: [ 192.168.8.1/24 ]
# do not remove this line; it's for /sbin/mv1000-networok-pre.sh to extract br-lan macaddress vlue
macaddress: 12:34:56:78:9A:BC (Original MAC Obscured)
interfaces:
- lan0
- lan1
root@GL-MV1000-Ubuntu:/etc/speedify# more speedify.conf.bak
# Set to 1 to enable sharing Speedify to other devices
ENABLE_SHARE=0
# The interface(s) to use for sharing
# ex: SHARE_INTERFACE="eth1"
# When you enable sharing, Speedify will automaticlly set this interface to the NEVER priority so that it is not used as an Internet connection.
# If you disable sharing for the interface and want to use it again as an Internet connection, you can set it back to the Always priority by doing:
# /usr/share/speedify/speedify_cli adapter priority {interface} always
SHARE_INTERFACE=""
# IP to use for the sharing interface
# ex: INTERFACE_IP="192.168.145.1"
INTERFACE_IP="192.168.145.1"
# DNS servers to send over DHCP to clients
# ex: DNS_SERVERS="10.202.0.1,1.1.1.1"
DNS_SERVERS="10.202.0.1,1.1.1.1"
# Set to 1 to allow internet access on other devices when Speedify is disconnected
SHARE_WITHOUT_SPEEDIFY=0
# Wi-Fi hotspot settings
# To use Wi-Fi sharing, set the WIFI_INTERFACE to the same as the SHARE_INTERFACE above
#WIFI_INTERFACE="wlan0"
#WIFI_SSID="SpeedifyAP"
#WIFI_PASSWORD="password"
# WIFI_MODE can either be "2.4" for 2.4GHz or "5" for 5GHz.
# WIFI_CHANNEL will default to 1 for 2.4GHz or 36 for 5GHz
#WIFI_MODE="2.4"
#WIFI_CHANNEL="1"
# Set the WIFI_COUNTRY so the device knows what region you are operating in and can comply with local regulations
#WIFI_COUNTRY="US"
3.) Use Mwan3 package in OpenWRT as failover:
In the OpenWRT system I was wondering if anyone has a method, or could give a tutorial to install and configure multiple WAN sources perhaps with mwan3, whether usb modem, ethernet ports, wifi, etc. And share those with a specific interface. Specifically I want to use the WAN ethernet port, as well as one of the other two ethernet ports as a WAN, and the remaining ethernet port to share the connection with a switch or end-device. So that if one WAN connection goes down the other uplink is automatically switched to and used so that the connection doesn’t drop. Basically having two, or more Internet sources to provide a more reliable Internet connection. If there is any way to combine the connections to increase overall speed and bandwidth (link aggregation) let me know, but my priority is at least the failover connection.
Thanks for your interest, and help.