Connected to the router, but no Internet connection

I have an ISP-supplied modem and router. These are working fine (but the router is on proprietary software, and is locked down, so no OpenWRT on that for me)

I have a GL.iNet MT6000 (Flint 2) router, which I have connected to the working router via an Ethernet cable
I set the LAN address to 192.168.2.1 (to distinguish it from the ISP-supplied router), set a router password, and set the Theme to BootstrapDark. I reboot the router, and I log back in via 192.168.2.1
I then set the 5Gz WiFi to my country code, set the encryption to WPA2-PSK, set a WiFi key, and enable it

I wait five minutes, and while I can connect to the OpenWRT wireless network, I cannot connect to the Internet
When I go to Network -> Diagnostics, IPv4 Ping gives me "bad address" for openwrt.org
I have plugged the Ethernet cables that I have been using into a laptop and the working router, and my laptop can ping and access websites without issue
I infer that my router is not able to connect to the Internet

I managed to get this router to connect to the Internet with OpenWRT yesterday, but I ended up rebooting it
What logs and other things do I need to supply for support please?

what IP do you get on the MT6000's wan interface ?

1 Like

ifconfig does not yield a WAN IP address

uci set network.wan.ipaddr="100.64.0.3" and service network restart did not yield any improvement

on which interface ?

is 100.64.0 the LAN subnet of your upstream modem ?

How is the WAN interface configured?

on which interface ?

Um...all of them?

br-lan    Link encap:Ethernet  HWaddr   
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fd68:cac0:cf5b::1/60 Scope:Global
          inet6 addr: fe80::9683:c4ff:fea3:ff5b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1647 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1227 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:236758 (231.2 KiB)  TX bytes:984984 (961.8 KiB)

eth0      Link encap:Ethernet  HWaddr   
          inet6 addr: fe80::9683:c4ff:fea3:ff5b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:6385 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5971 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1362685 (1.2 MiB)  TX bytes:3318104 (3.1 MiB)
          Interrupt:119 

eth1      Link encap:Ethernet  HWaddr   
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:119 

lan1      Link encap:Ethernet  HWaddr   
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6385 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5000 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1337145 (1.2 MiB)  TX bytes:3204094 (3.0 MiB)

lan2      Link encap:Ethernet  HWaddr   
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr   
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr   
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan5      Link encap:Ethernet  HWaddr   
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:932 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:74743 (72.9 KiB)  TX bytes:74743 (72.9 KiB)

phy1-ap0  Link encap:Ethernet  HWaddr   
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:602 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:76247 (74.4 KiB)

is 100.64.0 the LAN subnet of your upstream modem ?

How do I figure that out please?

How is the WAN interface configured?

There is no Ethernet carrier on eth1. Check that the modem is powered up, the cable is good and plugged into the correct wan port, which I think is the one all the way to the left as you look at the back of the MT6000.

ifconfig has been deprecated for many years, use ip link, ip addr etc instead. Also OpenWrt has a high level command to check the status of an interface, ifstatus wan which is used to generate the report on the front web page.

1 Like

Yup, cables in the wrong ports :man_facepalming:

My mistake. Thank you all

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