Installing on GL-B1300 With Uboot

I follow the instructions here to install OpenWRT on my GL-B1300, but I use the glinet_gl-b1300-initramfs-fit-uImage.itb image instead of the factory image, but when I go to 192.168.1.1, I get the error This site can’t be reached.

Is the itb image the one I'm supposed to use? Or am I doing something else wrong? Or is the image possibly broken?

1 Like

You are using a snapshot that doesn't come with GUI.

Try logging in to the router using SSH (you will need PuTTy if you are on Windows.

If successful, then you should use sysupgrade to install the upgrade image (from the same location you got your image) because the image you installed is memory FS and doesn't retain files.

Then you can install the GUI using

opkg update
opkg install luci

Thank you for the reply. I actually tried that, and putty gives me the error Network error: Network error: No route to host (It really says network error twice)

Also, I tried the steps here, but they didn't work either. Pinging 192.168.1.1 times out.

This is the output of ipconfig:

Windows IP Configuration


Ethernet adapter Ethernet:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::d04c:3c65:d221:feea%13
   IPv4 Address. . . . . . . . . . . : 192.168.56.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet 3:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::8ce:7ff9:2ec2:c5c3%50
   IPv4 Address. . . . . . . . . . . : 192.168.1.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

Wireless LAN adapter Local Area Connection* 10:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . : hsd1.tn.comcast.net
   IPv6 Address. . . . . . . . . . . : 2601:840:8300:1cf4:5557:9203:124e:e88
   Temporary IPv6 Address. . . . . . : 2601:840:8300:1cf4:acf2:1ad3:7474:30c9
   Link-local IPv6 Address . . . . . : fe80::5557:9203:124e:e88%20
   IPv4 Address. . . . . . . . . . . : 192.168.1.33
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : fe80::1691:82ff:fea5:6f2%20
                                       192.168.1.1

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 

Did you shutdown the router after flashing?

Also do you have any other router connected to this device at the moment?

If "Ethernet 3" is the adapter connected to the device, try setting a static IP if you haven't already.

That you've got several interfaces on the 192.168.1.0/24 subnet looks very problematic to me as well (in general). It is likely that you will need to shut down those interfaces and only have a single, wired connection to the GL-B1300.

Once you have the GL-B1300 configured, you should consider putting your Comcast modem into "bridged", "transparent", or "pass-through" mode so that the primary router gets the DHCP assignment (not the modem itself) and configure things so that you don't have the same subnet on multiple interfaces.

I did try restarting my router @Hegabo

Ok, I disabled the virtualbox interface, and it looks like that was intercepting the traffic, because now, I can ping 192.168.1.1 if I set my static IP to 192.168.1.2 as @jeff said.

Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms                                                                                                                      

But now I get an error Network error: Connection timed out when I try to ssh to root@192.168.1.1 .

I don't know your network topology, in particular if the GL-B1300 is the only other device on the 192.168.1.0/24 subnet. I don't know how to get the ARP table under Windows, but I would confirm that it shows the same MAC address for 192.168.1.1 as the sticker on the GL-B1300 (at least within the last "digit").

This is the arp output

Interface: 192.168.1.2 --- 0xe
  Internet Address      Physical Address      Type
  192.168.1.1           e4-95-6e-4d-24-9b     dynamic
  224.0.0.22            01-00-5e-00-00-16     static
  224.0.0.251           01-00-5e-00-00-fb     static
  224.0.0.252           01-00-5e-00-00-fc     static
  239.255.255.250       01-00-5e-7f-ff-fa     static

And on the back it says MAC: E4:95:6E:4D:24:9B

1 Like

And I don't know if this helps you, but this a screenshot of my network connections

You used the wrong file, the glinet_gl-b1300-initramfs-fit-uImage.itb image is not used on this device but other devices in the download folder use that type of image.

That device has no factory image because stock firmware is based on OpenWrt.

Do the same procedure again with the glinet_gl-b1300-squashfs-sysupgrade.bin instead and wait 5 minutes before trying to connect to the router. Flashing process is slow.

1 Like

I tried this, but the manufacturer said that won't work (and it wouldn't accept the file when I tried to upload)

This is directly from the manufacturer:

Hello,

Thank you, if you want to upgrade openwrt official 18.06 firmware , you will need to upgrade via uboot, here is guide https://docs.gl-inet.com/en/3/troubleshooting/debrick/

I've just decided to return this, and I've already gotten a TP-Link router working. But if you want me to try to diagnose the problem for other people, I can do that.

The firmware update webpage in my B1300 (yes I have one) says in the WARNINGS box that it will accept only files with "lede" or "qsdk" in the name. I thought yours also did that, did you read it?

I renamed the " glinet_gl-b1300-squashfs-sysupgrade.bin" into "lede.bin" and it worked.

See here in the wiki the screenshot I took when I installed OpenWrt https://openwrt.org/toh/gl.inet/installation

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.