Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:gl.inet:gl-x300b [2021/12/29 07:09] – [OEM bootlog] alzhao | toh:gl.inet:gl-x300b [2023/07/29 15:34] – [Soft Factory Reset] `reboot now` is deprecated/undocumented, see: reboot -h vgaetera | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| {{page> | {{page> | ||
| - | //Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/ | + | //Collie (GL-X300B) is a 4G LTE gateway designed for industrial use. It has an aluminum alloy exterior, supports RS485 interface, and includes external antennas for an extended connectivity range. Collie |
| <WRAP BOX> | <WRAP BOX> | ||
| - | FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/ | + | GL-X300B has two models: GLX300B-RS485 comes with a RS485 interface and two antennas, and GL-X300B-IoT comes with an IoT module and three antennas. |
| </ | </ | ||
| Line 17: | Line 17: | ||
| /*****/ | /*****/ | ||
| - | {{media:example:genericrouter1.png?200|Generic Router}} | + | {{media:gl.inet:gl-x300b-rs485.png?400|GL-XE300-RS485}} |
| + | {{media: | ||
| <WRAP BOX> | <WRAP BOX> | ||
| - | FIXME | + | ===== Facilitating Secure IoT Communications |
| - | ===== Getting started with a new Device Page ===== | + | - Collie provices |
| - | - This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that **you have to fill it with life and information.** | + | - Collie has a built-in hardware watchdog, detecting and recovering from connection errors, enhancing network reliability.\ |
| - | - There are several " | + | - Apart from its powerful built-in firewall, Collie is also pre-installed with OpenVPN and WireGuard, supporting 30+ VPN services. By enabling VPN, Collie automatically encrypts data traffic for all devices within |
| - | - When there are no more " | + | - All of GL.iNet’s OpenWrt devices can be easily customizable using our user-friendly ImageBuilder. Users can easily optimise |
| - | + | | |
| - | ===== Keep the articles modular ===== | + | |
| - | * Please include only model specific | + | |
| - | | + | |
| - | * [[docs: | + | |
| - | | + | |
| </ | </ | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME | ||
| - | - The tables below are automatically generated, **once the correct filters for Brand and Model are set.** | ||
| - | - If the tables below show information for ''< | ||
| - | - If the tables below contain " | ||
| - | - the dataentry page for GL.iNet GL-X300B | ||
| - | - filters are not set correctly. Most common reason for " | ||
| - | - If the tables still contain " | ||
| - | </ | ||
| - | |||
| ---- datatable ---- | ---- datatable ---- | ||
| cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, | ||
| Line 54: | Line 39: | ||
| ---- | ---- | ||
| - | /* If no unsupported functions known, comment out the following datatable or delete it. */ | ||
| - | ---- datatable ---- | ||
| - | cols : Unsupported Functions_unsupporteds | ||
| - | filter | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| - | ===== Experimental Versions ===== | ||
| - | |||
| - | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
| - | |||
| - | //None at this time.// | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| Line 80: | Line 47: | ||
| filter | filter | ||
| filter | filter | ||
| - | filter | + | filter |
| ---- | ---- | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | /* stable release */ | ||
| - | /* uncomment once stable release is available | ||
| ---- datatable ---- | ---- datatable ---- | ||
| cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| Line 93: | Line 58: | ||
| filter | filter | ||
| filter | filter | ||
| - | filter | + | filter |
| ---- | ---- | ||
| - | */ | ||
| - | |||
| - | |||
| - | /* snapshot */ | ||
| - | /* delete once stable release is available */ | ||
| - | ---- datatable ---- | ||
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url | ||
| - | headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock | ||
| - | align : c,c,c | ||
| - | filter | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| -> [[docs: | -> [[docs: | ||
| Line 115: | Line 66: | ||
| ==== Flash Layout ==== | ==== Flash Layout ==== | ||
| - | <WRAP BOX> | + | |
| Please check out the article [[docs: | Please check out the article [[docs: | ||
| Line 129: | Line 80: | ||
| mtd6: 00430000 00010000 " | mtd6: 00430000 00010000 " | ||
| </ | </ | ||
| - | </ | + | |
| ==== GL.iNet Web Upgrade Process ==== | ==== GL.iNet Web Upgrade Process ==== | ||
| Line 158: | Line 109: | ||
| ==== Upgrade via uboot ==== | ==== Upgrade via uboot ==== | ||
| - | Please refer to the link: https:// | + | Please refer to the link: [[https:// |
| ===== Failsafe mode ===== | ===== Failsafe mode ===== | ||
| -> [[docs: | -> [[docs: | ||
| Line 174: | Line 126: | ||
| If you want a clean slate, there’s no need to flash again; just enter the following commands. Your device' | If you want a clean slate, there’s no need to flash again; just enter the following commands. Your device' | ||
| - | Issuing | + | Issuing |
| < | < | ||
| - | firstboot && reboot | + | firstboot && reboot |
| </ | </ | ||
| Line 186: | Line 139: | ||
| < | < | ||
| - | firstboot -y && reboot | + | firstboot -y && reboot |
| </ | </ | ||
| + | |||
| ===== Basic configuration ===== | ===== Basic configuration ===== | ||
| -> [[docs: | -> [[docs: | ||
| Line 193: | Line 147: | ||
| ===== Specific Configuration ===== | ===== Specific Configuration ===== | ||
| + | ==== Network interfaces ==== | ||
| - | <WRAP BOX> | ||
| - | ==== Network interfaces ==== | ||
| Base on the OpenWrt firmware, the default network configuration is: | Base on the OpenWrt firmware, the default network configuration is: | ||
| ^ Interface Name ^ Description ^ Default configuration | ^ Interface Name ^ Description ^ Default configuration | ||
| | br-lan | LAN & WiFi | 192.168.1.1/ | | br-lan | LAN & WiFi | 192.168.1.1/ | ||
| - | | eth0 | WAN port | 192.168.1.1/ | + | | eth0 | WAN port | DHCP client |
| - | | eth1 | WAN port | DHCP | | + | | eth1 | LAN port | 192.168.1.1/ |
| - | | wlan0 | WiFi 5G | Disable | + | | wlan0 | WiFi 2.4G | Disable |
| - | | wlan1 | WiFi 2.4G | Disable | + | |
| Base on the OEM(GL.iNet) firmware, the default network configuration is: | Base on the OEM(GL.iNet) firmware, the default network configuration is: | ||
| Line 211: | Line 163: | ||
| | wlan0 | WiFi 2.4G | GL-X300B-xxx | | wlan0 | WiFi 2.4G | GL-X300B-xxx | ||
| - | </ | ||
| - | |||
| - | ==== Switch Ports (for VLANs) ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs | ||
| - | |||
| - | Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. | ||
| - | ^ Port ^ Switch port ^ | ||
| - | | Internet (WAN) | EXAMPLE 4 | | ||
| - | | LAN 1 | EXAMPLE 3 | | ||
| - | | LAN 2 | EXAMPLE 2 | | ||
| - | | LAN 3 | EXAMPLE 1 | | ||
| - | | LAN 4 | EXAMPLE 0 | | ||
| - | |||
| - | </ | ||
| ==== Buttons ==== | ==== Buttons ==== | ||
| -> [[docs: | -> [[docs: | ||
| Here, we merely name the buttons, so we can use them in the above Howto. | Here, we merely name the buttons, so we can use them in the above Howto. | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs | ||
| The GL.iNet GL-X300B has the following buttons: | The GL.iNet GL-X300B has the following buttons: | ||
| - | ^ BUTTON | + | ^ BUTTON |
| - | | EXAMPLE | + | | Reset | reset | |
| - | | EXAMPLE Secure Easy Setup | | + | |
| - | | EXAMPLE No buttons at all. | + | |
| - | </ | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME | ||
| - | - This table is automatically generated, **once the correct filters for Brand and Model are set.** | ||
| - | - If you see " | ||
| - | - If you still don't see a table here, or a table filled with ' | ||
| - | - If you see a table with the desired device data, everything is OK and you can delete this text and the ''< | ||
| - | - If it still doesn' | ||
| - | </ | ||
| - | |||
| ---- datatemplatelist dttpllist ---- | ---- datatemplatelist dttpllist ---- | ||
| template: meta: | template: meta: | ||
| Line 259: | Line 181: | ||
| filter | filter | ||
| filter | filter | ||
| - | filter | + | filter |
| ---- | ---- | ||
| Line 299: | Line 221: | ||
| </ | </ | ||
| - | ^ Serial connection parameters\\ for GL.iNet GL-X300B | + | ^ Serial connection parameters\\ for GL.iNet GL-X300B | EXAMPLE 115200, 8N1 | |
| ==== JTAG ==== | ==== JTAG ==== | ||
| Line 594: | Line 516: | ||
| ==== OpenWrt bootlog ==== | ==== OpenWrt bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | [ 0.000000] Linux version 4.14.221 (linux@ubuntu) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11306-c4a6851c72)) #0 Mon Feb 15 15:22:37 2021 | ||
| + | [ 0.000000] bootconsole [early0] enabled | ||
| + | [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) | ||
| + | [ 0.000000] MIPS: machine is GL.iNet GL-X300B (NOR) | ||
| + | [ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 | ||
| + | [ 0.000000] Determined physical RAM map: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initrd not found or empty - disabling initrd | ||
| + | [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. | ||
| + | [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes | ||
| + | [ 0.000000] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] | ||
| + | [ 0.000000] On node 0 totalpages: 32768 | ||
| + | [ 0.000000] free_area_init_node: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] random: get_random_bytes called from start_kernel+0x90/ | ||
| + | [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | ||
| + | [ 0.000000] pcpu-alloc: [0] 0 | ||
| + | [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 | ||
| + | [ 0.000000] Kernel command line: console=ttyS0, | ||
| + | [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) | ||
| + | [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) | ||
| + | [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) | ||
| + | [ 0.000000] Writing ErrCtl register=00000000 | ||
| + | [ 0.000000] Readback ErrCtl register=00000000 | ||
| + | [ 0.000000] Memory: 122800K/ | ||
| + | [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] NR_IRQS: 51 | ||
| + | [ 0.000000] CPU clock: 650.000 MHz | ||
| + | [ 0.000000] clocksource: | ||
| + | [ 0.000009] sched_clock: | ||
| + | [ 0.008236] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688) | ||
| + | [ 0.074858] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.079928] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.086897] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.098442] clocksource: | ||
| + | [ 0.108865] futex hash table entries: 256 (order: -1, 3072 bytes) | ||
| + | [ 0.115363] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 0.121377] NET: Registered protocol family 16 | ||
| + | [ 0.149654] clocksource: | ||
| + | [ 0.156075] NET: Registered protocol family 2 | ||
| + | [ 0.161437] TCP established hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.168797] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.175567] TCP: Hash tables configured (established 1024 bind 1024) | ||
| + | [ 0.182426] UDP hash table entries: 256 (order: 0, 4096 bytes) | ||
| + | [ 0.188594] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) | ||
| + | [ 0.195504] NET: Registered protocol family 1 | ||
| + | [ 0.200164] PCI: CLS 0 bytes, default 32 | ||
| + | [ 0.204210] Crashlog allocated RAM at address 0x3f00000 | ||
| + | [ 0.211087] workingset: timestamp_bits=30 max_order=15 bucket_order=0 | ||
| + | [ 0.222892] squashfs: version 4.0 (2009/ | ||
| + | [ 0.229037] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 0.249545] io scheduler noop registered | ||
| + | [ 0.253739] io scheduler deadline registered (default) | ||
| + | [ 0.261287] pinctrl-single 1804002c.pinmux: | ||
| + | [ 0.269309] gpio-export gpio-export: | ||
| + | [ 0.275613] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled | ||
| + | [ 0.282931] Serial port to 485 enable, | ||
| + | [ 0.289120] console [ttyS0] disabled | ||
| + | [ 0.292979] 18020000.uart: | ||
| + | [ 0.302099] console [ttyS0] enabled | ||
| + | [ 0.309663] bootconsole [early0] disabled | ||
| + | [ 0.333791] m25p80 spi0.0: w25q128 (16384 Kbytes) | ||
| + | [ 0.338705] 4 fixed-partitions partitions found on MTD device spi0.0 | ||
| + | [ 0.345296] Creating 4 MTD partitions on " | ||
| + | [ 0.350264] 0x000000000000-0x000000040000 : " | ||
| + | [ 0.356193] 0x000000040000-0x000000050000 : " | ||
| + | [ 0.362515] 0x000000050000-0x000000060000 : " | ||
| + | [ 0.368083] 0x000000060000-0x000001000000 : " | ||
| + | [ 0.376707] 2 uimage-fw partitions found on MTD device firmware | ||
| + | [ 0.382882] Creating 2 MTD partitions on " | ||
| + | [ 0.388014] 0x000000000000-0x0000001b0000 : " | ||
| + | [ 0.393902] 0x0000001b0000-0x000000fa0000 : " | ||
| + | [ 0.399766] mtd: device 5 (rootfs) set to be root filesystem | ||
| + | [ 0.405654] 1 squashfs-split partitions found on MTD device rootfs | ||
| + | [ 0.412068] 0x0000003d0000-0x000000fa0000 : " | ||
| + | [ 0.420792] spi-nand: unknown raw ID 00000000 | ||
| + | [ 0.425306] spi-nand: Failed to detect a SPI NAND (err = -19). | ||
| + | [ 0.432058] libphy: Fixed MDIO Bus: probed | ||
| + | [ 0.770758] ag71xx 19000000.eth: | ||
| + | [ 1.450038] libphy: ag71xx_mdio: | ||
| + | [ 1.740120] mdio-bus.0: | ||
| + | [ 1.745962] libphy: ar7240sw_mdio: | ||
| + | [ 1.807266] ag71xx 1a000000.eth: | ||
| + | [ 1.817218] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: gmii | ||
| + | [ 1.825642] NET: Registered protocol family 10 | ||
| + | [ 1.834859] Segment Routing with IPv6 | ||
| + | [ 1.838744] NET: Registered protocol family 17 | ||
| + | [ 1.843453] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 2.191847] ag71xx 19000000.eth: | ||
| + | [ 2.202543] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii | ||
| + | [ 2.214700] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. | ||
| + | [ 2.229381] Freeing unused kernel memory: 1204K | ||
| + | [ 2.234096] This architecture does not have kernel memory protection. | ||
| + | [ 2.529667] random: fast init done | ||
| + | [ 2.967222] init: Console is alive | ||
| + | [ 2.971075] init: - watchdog - | ||
| + | [ 3.982783] kmodloader: loading kernel modules from / | ||
| + | [ 4.058301] usbcore: registered new interface driver usbfs | ||
| + | [ 4.064103] usbcore: registered new interface driver hub | ||
| + | [ 4.069713] usbcore: registered new device driver usb | ||
| + | [ 4.084458] ehci_hcd: USB 2.0 ' | ||
| + | [ 4.092626] ehci-platform: | ||
| + | [ 4.098267] ehci-platform 1b000000.usb: | ||
| + | [ 4.104214] ehci-platform 1b000000.usb: | ||
| + | [ 4.112435] ehci-platform 1b000000.usb: | ||
| + | [ 4.139690] ehci-platform 1b000000.usb: | ||
| + | [ 4.146892] hub 1-0:1.0: USB hub found | ||
| + | [ 4.151241] hub 1-0:1.0: 1 port detected | ||
| + | [ 4.156615] kmodloader: done loading kernel modules from / | ||
| + | [ 4.174609] init: - preinit - | ||
| + | [ 4.740928] usb 1-1: new high-speed USB device number 2 using ehci-platform | ||
| + | [ 5.026674] random: jshn: uninitialized urandom read (4 bytes read) | ||
| + | [ 5.197323] random: procd: uninitialized urandom read (4 bytes read) | ||
| + | [ 5.245617] random: jshn: uninitialized urandom read (4 bytes read) | ||
| + | [ 5.583228] IPv6: ADDRCONF(NETDEV_UP): | ||
| + | [ 6.660920] eth1: link up (1000Mbps/ | ||
| + | [ 6.665739] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
| + | [ 8.784532] mount_root: loading kmods from internal overlay | ||
| + | [ 8.817074] kmodloader: loading kernel modules from // | ||
| + | [ 8.824885] kmodloader: done loading kernel modules from // | ||
| + | [ 9.139410] block: attempting to load / | ||
| + | [ 9.145180] block: unable to load configuration (fstab: Entry not found) | ||
| + | [ 9.152260] block: no usable configuration | ||
| + | [ 9.157252] mount_root: jffs2 not ready yet, using temporary tmpfs overlay | ||
| + | [ 9.190501] urandom-seed: | ||
| + | [ 9.221540] eth1: link down | ||
| + | [ 9.236815] procd: - early - | ||
| + | [ 9.239988] procd: - watchdog - | ||
| + | [ 9.913383] procd: - watchdog - | ||
| + | [ 9.916953] procd: - ubus - | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | </ | ||
| </ | </ | ||