GL MV1000W from GL iNet AKA Brume: Difference between revisions

mNo edit summary
mNo edit summary
Line 22: Line 22:
[[File:GL iNet GL MV1000W Brume SystemBoard with TTL Serial Pin Headers courtesy of OpenWRT.org.jpg|alt=GL-iNet GL-MV1000W Brume SystemBoard with TTL-Serial Pin Headers (courtesy of OpenWRT.org).jpg|thumb|GL-iNet GL-MV1000W Brume SystemBoard with TTL-Serial Pin Headers (courtesy of OpenWRT.org).jpg]]
[[File:GL iNet GL MV1000W Brume SystemBoard with TTL Serial Pin Headers courtesy of OpenWRT.org.jpg|alt=GL-iNet GL-MV1000W Brume SystemBoard with TTL-Serial Pin Headers (courtesy of OpenWRT.org).jpg|thumb|GL-iNet GL-MV1000W Brume SystemBoard with TTL-Serial Pin Headers (courtesy of OpenWRT.org).jpg]]


*'''Connect Serial / TTL Port (optional, requires 'disassembly' (see Disassembly Section);'''
*'''Connect Serial / TTL Port (optional, requires 'disassembly' (see Disassembly Section), but it's way more fun to see what's going on);'''
**The Serial / TTL Header is just there.  3 Pins, already on the System Board (near bottom of image to the right of the grayish rectangle (Ethernet Ports) and just to the left of the silver rectangle(s) (USB A and USB C Ports)) with the 'PIN Legend' printed on the SystemBoard (GND nearest the closest edge, then RX (Receive), and TX (Transmit)).
**The Serial / TTL Header is just there.  3 Pins, already on the System Board (near bottom of image to the right of the grayish rectangle (Ethernet Ports) and just to the left of the silver rectangle(s) (USB A and USB C Ports)) with the 'PIN Legend' printed on the SystemBoard (GND nearest the closest edge, then RX (Receive), and TX (Transmit)).
**Serial Port Settings for PuTTY, SecureCRT, etc: 115200, 8, None, 1, No (That's Baud Rate, Data Bits, Parity, Stop Bits, Flow Control).
**Serial Port Settings for PuTTY, SecureCRT, etc: 115200, 8, None, 1, No (That's Baud Rate, Data Bits, Parity, Stop Bits, Flow Control).
Line 67: Line 67:
*Hit "gl" key to stop booting in X seconds. (no kidding, that's the actual message)
*Hit "gl" key to stop booting in X seconds. (no kidding, that's the actual message)
**First that's gl, as in g+lowercase"L" (l as in Larry, thank English Language and modern computer for making l I and <span style="font-family: 'Gill Sans mt' !important;">1</span> (That's a lower case l, Upper Case I (as in Insulting), and the number One) so wonderfully, perfectly, exactly the same.  Seriously!?!?!?
**First that's gl, as in g+lowercase"L" (l as in Larry, thank English Language and modern computer for making l I and <span style="font-family: 'Gill Sans mt' !important;">1</span> (That's a lower case l, Upper Case I (as in Insulting), and the number One) so wonderfully, perfectly, exactly the same.  Seriously!?!?!?
**Can the extra storage space for a Capital G and L be sacraficed?  Oh, wait, same amount of storage for a lowercase l and g.
**OK, gl key, let's see, f1, f2, ..., f12...  Hmmm.  Crap, no g1, no, gl.
**OK, gl key, let's see, f1, f2, ..., f12...  Hmmm.  Crap, no g1, no, gl.
**Hit?  Did you mean Press?
**Hit?  Did you mean Press?
Line 78: Line 79:
*...don't even need to press it, although installation of OpenWRT can be done from U-Boot on this device in a similar manner to the Linksys EA8500: https://openwrt.org/toh/linksys/ea8500?s&#x5B;&#x5D;=ea8500.  It's easier using the method in the previous section.
*...don't even need to press it, although installation of OpenWRT can be done from U-Boot on this device in a similar manner to the Linksys EA8500: https://openwrt.org/toh/linksys/ea8500?s&#x5B;&#x5D;=ea8500.  It's easier using the method in the previous section.


=== "Upgrading" / Expanding the 'Disk Drive' (built in MMC (Multi-Media Card), not the SD Card Slot) ===
==="Upgrading" / Expanding the 'Disk Drive' (built in MMC (Multi-Media Card), not the SD Card Slot)===
Start off with this, so you can see what's going on;
Start off with this, so you can see what's going on;


* <code>opkg update</code>
*<code>opkg update</code>
* <code>opkg install lsblk blkid</code>
*<code>opkg install lsblk blkid</code>
* Type: lsblk[[File:GL iNet GL MV1000W Brume 8 GB MMC.png|alt=GL-iNet GL-MV1000W Brume - 8 GB MMC|left|thumb|GL-iNet GL-MV1000W Brume - 8 GB MMC]]See that very last item?: mmcblk1, 7.3 GB in size  A router with 8 GB of built in storage?  Ever see that?  Well, it has to be "earned"  Go ahead, look and see the available space in the LuCI GUI.  7 some odd GB available?  Nope.  100.xx MiB?  WTF?!?!  Why didn't they make that space available by default?  The answer is unknown.  Is there a way to take advantage of it?  Sure there is.  There's even instructions on the OpenWRT.org webpage for this device.  But don't follow them (even if you can understand what the heck is written) as it is a complete kludge that doesn't do justice to the device.
*Type: lsblk[[File:GL iNet GL MV1000W Brume 8 GB MMC.png|alt=GL-iNet GL-MV1000W Brume - 8 GB MMC|left|thumb|GL-iNet GL-MV1000W Brume - 8 GB MMC]]See that very last item?: mmcblk1, 7.3 GB in size  A router with 8 GB of built in storage?  Ever see that?  Well, it has to be "earned"  Go ahead, look and see the available space in the LuCI GUI.  7 some odd GB available?  Nope.  100.xx MiB?  WTF?!?!  Why didn't they make that space available by default?  The answer is unknown.  Is there a way to take advantage of it?  Sure there is.  There's even instructions on the OpenWRT.org webpage for this device.  But don't follow them (even if you can understand what the heck is written) as it is a complete kludge that doesn't do justice to the device.


Below is the rough draft as there isn't time today to check and edit it and add commentary, but it is fairly accurate;
Below is the rough draft as there isn't time today to check and edit it and add commentary, but it is fairly accurate;


* opkg install blkid block-mount cfdisk dosfstools dumpe2fs e2fsprogs f2fs-tools f2fsck fdisk file fstools gdisk hdparm kmod-fs-exfat kmod-fs-ext4 kmod-fs-f2fs kmod-fs-vfat kmod-usb-storage kmod-usb2 kmod-usb3 lsblk mkf2fs mtd ntfs-3g ntfs-3g-utils sfdisk tune2fs usbutils wipefs nano htop
*opkg install blkid block-mount cfdisk dosfstools dumpe2fs e2fsprogs f2fs-tools f2fsck fdisk file fstools gdisk hdparm kmod-fs-exfat kmod-fs-ext4 kmod-fs-f2fs kmod-fs-vfat kmod-usb-storage kmod-usb2 kmod-usb3 lsblk mkf2fs mtd ntfs-3g ntfs-3g-utils sfdisk tune2fs usbutils wipefs nano htop
* Reboot
*Reboot
* Insert USB Flash Drive
*Insert USB Flash Drive
* LuCI GUI;
*LuCI GUI;
** System, Mount Points, Generate Config
**System, Mount Points, Generate Config
** For the Device that was found (usually /dev/sda)
**For the Device that was found (usually /dev/sda)
*** Edit
***Edit
*** Enable
***Enable
*** Mount point: root filesystem (/)
***Mount point: root filesystem (/)
*** Follow the "Root Preparation" instructions
***Follow the "Root Preparation" instructions
*** REBOOT
***REBOOT
* System, Mount Points, Mount Points: ...and it should show that the root ( / ) Directory is on /dev/sda1 (the USB Flash Drive)
*System, Mount Points, Mount Points: ...and it should show that the root ( / ) Directory is on /dev/sda1 (the USB Flash Drive)
* opkg "all the same Packages as above"
*opkg "all the same Packages as above"
* Reboot.  After rebooting, full access to do all that is necessary on the built in MMC device will be possible (not so if the router was booted to the MMC device)
*Reboot.  After rebooting, full access to do all that is necessary on the built in MMC device will be possible (not so if the router was booted to the MMC device)
* lsblk (just to see everything)
*lsblk (just to see everything)
* umount /rom (isn't needed right now, or ever really after booting)
*umount /rom (isn't needed right now, or ever really after booting)
* No No, just kidding, don't do it: wipefs -a /dev/mmcblk1 (if deleted, OpenWRT will need to be installed again, with the same small size partition)
*No No, just kidding, don't do it: wipefs -a /dev/mmcblk1 (if deleted, OpenWRT will need to be installed again, with the same small size partition)
* cfdisk /dev/mmcblk1 (for now, just to see the layout of things and confirm that 7.2 G of space is waiting there to be used)
*cfdisk /dev/mmcblk1 (for now, just to see the layout of things and confirm that 7.2 G of space is waiting there to be used)
* And now: Highlight the /dev/mmcblk1p2 Partition, select Resize and either max it out or set it to 6.0 GB, leaving space for a Swap Partition (recommended, but not covered here), Write it (confirming with "yes"), Exit.  This only resizes the partition.  Next step is to resize the File System to take advantage of the new Partition size (and now it is understood why EXT4 was used as the file system, not SquashFS, etc.)
*And now: Highlight the /dev/mmcblk1p2 Partition, select Resize and either max it out or set it to 6.0 GB, leaving space for a Swap Partition (recommended, but not covered here), Write it (confirming with "yes"), Exit.  This only resizes the partition.  Next step is to resize the File System to take advantage of the new Partition size (and now it is understood why EXT4 was used as the file system, not SquashFS, etc.)
* umount /rom (yes, again, but a reboot occured so it remounted)
*umount /rom (yes, again, but a reboot occured so it remounted)
* resize2fs /dev/mmcblk1p2 (didn't work, but it does give you the 'CHKDSK' command that must be run first, so it can be copied and pasted without typing or e2fsck -f /dev/mmcblk1p2)
*resize2fs /dev/mmcblk1p2 (didn't work, but it does give you the 'CHKDSK' command that must be run first, so it can be copied and pasted without typing or e2fsck -f /dev/mmcblk1p2)
* lsblk (yummy, now 7GB or whatever size was decided upon, much larger than the ~102 MiB size that left all that tantalizing space unused)
*e2fsck -f /dev/mmcblk1p2 (one more time after resize, just to make sure everything is good to go)
* Remove the USB Flash Drive, Reboot
*lsblk (yummy, now 7GB or whatever size was decided upon, much larger than the ~102 MiB size that left all that tantalizing space unused)
* Good to go!  Now booted from the internal MMC, using all (or as much as was wanted) the space available
*Remove the USB Flash Drive, Reboot (actually probably Reboot first, then yank the USB device really quick)
* lsblk (to check it)
*Good to go!  Now booted from the internal MMC, using all (or as much as was wanted) the space available
*lsblk (to check it)


Expanding the drive where OpenWRT was installed was the key.  If the MMC was wiped and the partition size was increased, OpenWRT would have to be reinstalled which would take it down to the smaller size.  Of course one could copy all the files back from the USB Flash Drive to the MMC after its size was increased (as that's the way the USB Flash drive was created).
Expanding the drive where OpenWRT was installed was the key.  If the MMC was wiped and the partition size was increased, OpenWRT would have to be reinstalled which would take it down to the smaller size.  Of course one could copy all the files back from the USB Flash Drive to the MMC after its size was increased (as that's the way the USB Flash drive was created).


=== Wireless ===
===Wireless===
This has to be installed manually;
This has to be installed manually;


* opkg update
*opkg update
* opkg install kmod-rtl8xxxu rtl8192eu-firmware
*opkg install kmod-rtl8xxxu rtl8192eu-firmware
* Reboot (give it a minute or so as this reboot will take a few extra seconds the first time after installing the wireless software)
*Reboot (give it a minute or so as this reboot will take a few extra seconds the first time after installing the wireless software)
* Wireless is now available.
*Wireless is now available.


<br />
<br />
===Disassembly===
===Disassembly===
Remove the two rubber feet closest to the front.  Unscrew the two screws that are now visible. Start at the back, above the USB Ports, and gently pry up, working around to the front on both sides.
Remove the two rubber feet closest to the front.  Unscrew the two screws that are now visible. Start at the back, above the USB Ports, and gently pry up, working around to the front on both sides.