OpenWrt Forum Archive

Topic: TL-WR1043ND v1.8 After flashed WAN port does not work.

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello
I have 2 TL-WR1043ND v1.8
One of them, I flashed Backfire 10.03.1-rc6.
After that he ceased to light up the LED WAN and WAN port does not work.
Replacement of SPI-Flash router with a working restores his work.
Back SPI-Flash and Flash Backfire 10.03.1-rc4 and trunk - not working WAN port.
Features SPI-Flash to flash outside the router I have not.
Do not tell that it is possible to be done.

Execute "uci export network ; ifconfig".

root@OpenWrt:/# ifconfig -a
br-lan    Link encap:Ethernet  HWaddr F8:D1:11:39:25:E0
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1249 errors:0 dropped:0 overruns:0 frame:0
          TX packets:781 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:133028 (129.9 KiB)  TX bytes:108379 (105.8 KiB)

eth0      Link encap:Ethernet  HWaddr F8:D1:11:39:25:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1318 errors:0 dropped:0 overruns:94662 frame:0
          TX packets:859 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:161712 (157.9 KiB)  TX bytes:143885 (140.5 KiB)
          Interrupt:4

eth0.1    Link encap:Ethernet  HWaddr F8:D1:11:39:25:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1249 errors:0 dropped:0 overruns:0 frame:0
          TX packets:781 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:138024 (134.7 KiB)  TX bytes:111503 (108.8 KiB)

eth0.2    Link encap:Ethernet  HWaddr F8:D1:11:39:25:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:31339 (30.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

wlan0     Link encap:Ethernet  HWaddr F8:D1:11:39:25:E0
          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:32
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


---------------------------------------------------------------------------------------------------------------------

root@OpenWrt:/# uci export network
package 'network'

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'ifname' 'eth0.1'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.1'
        option 'netmask' '255.255.255.0'

config 'interface' 'wan'
        option 'ifname' 'eth0.2'
        option 'proto' 'dhcp'

config 'switch'
        option 'name' 'rtl8366rb'
        option 'reset' '1'
        option 'enable_vlan' '1'

config 'switch_vlan'
        option 'device' 'rtl8366rb'
        option 'vlan' '1'
        option 'ports' '1 2 3 4 5t'

config 'switch_vlan'
        option 'device' 'rtl8366rb'
        option 'vlan' '2'
        option 'ports' '0 5t'

Upgrade to Backfire 10.03.1 or at least 10.03.1-rc5.

Wan is configured as eth0.2. There might be a LAN port that contains the vlan 2 as untagged. eth1, your wan port, might just be unassigned for any interface.
You can change/add from eth0.2 to eth1. Take a look at the "switch" configuration to see what this vlan2 (eth0.2) is doing there.

Regards,

The discussion might have continued from here.