Jump to content

Problem to get an Internet connection, wrong default route


Recommended Posts


Here I have a mk7 with the latest firmware, v1.1.1.
The internet connections should be established by an ASIX AX88179 device which is connected
and got an ip address:

root@mk7:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet addr:  Bcast:  Mask:
          inet6 addr: XXXX::XXXX:XXXX:XXX:XXXX/64 Scope:Link
          RX packets:281 errors:0 dropped:158 overruns:0 frame:0
          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20367 (19.8 KiB)  TX bytes:8620 (8.4 KiB)

But unfortunately the default route is set to the br-lan

root@mk7:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         UG    0      0        0 br-lan
default         wpad.fritz.box         UG    210    0        0 eth1     *          U     202    0        0 eth0     *          U     206    0        0 br-lan     *          U     309    0        0 wlan0     *        U     0      0        0 br-lan     *        U     210    0        0 eth1

Therefore it is not possible to get an internet connections by the eth1.
If I add the route by hand:

root@mk7:~# route add default gw eth1

The connection is working.

Best regards,

Link to comment
Share on other sites

I normally don't use any added USB Ethernet NIC in this way with my Mk7, but I tested it out now and I experience the same issue.

Tried with the following adapters:

Noname USB Type A NIC
0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

Hak5 "branded" USB Type A NIC (i.e. bought from the Hak5 shop)
0b95:772b ASIX Electronics Corp. AX88772B

Hak5 Plunder Bug (as per instructions in the Hak5 docs for the Mk7)
0b95:772b ASIX Electronics Corp. AX88772B


Route always defaults to having the USB-C interface on top (or br-lan really)
default         UG    0      0        0 br-lan

The USB NIC is following the above route line and looks like this
default         OpenWrt.lan         UG    211    0        0 eth1


eth1 (the USB Type A Ethernet NIC) has received an IP address from the local network that it is connected to
ping to local network = OK
ping internet addresses = not OK (obviously)
No computer attached to the USB-C onboard interface (just a power adapter)
No wireless client mode configured for wlan2
Always getting the "Connect to the Internet?" popup when logging in to the Mk7 web GUI using this setup
When clicking "USB Ethernet Adapter" in the "Connect to the Internet?" popup, it redirects to the Hak5 docs pages (which obviously fails since there is no route that allows that)
Attaching the Type A USB NIC before or after booting the Mk7 doesn't matter
When connecting as a wireless client using wlan2 the routing table automatically (without reboot) puts the wlan2 based address on top of the route, the same is not happening when the Type A USB Ethernet NIC is attached.

So, it seems as if an attached USB Type A Ethernet NIC never gets priority over the br-lan interface when the two are "competing" about routing supremacy

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...