Login  Register

Re: Update script (fw_upgrade)

Posted by user8446 on Apr 01, 2016; 3:12am
URL: https://itus.accessinnov.com/Update-script-fw-upgrade-tp43p609.html

Your eth0 is in DHCP mode pulling an IP address from your modem instead of being unmanged. Change your WAN & LAN in /etc/config/network to the following:

 

config interface 'wan'
        option ifname 'eth0'
        option proto 'none'
        option enable '1'


config interface 'lan'
        option ifname 'eth1'
        option proto 'dhcp'
        option type 'bridge'
        option enable '1'
        option broadcast '1'
        option peerdns '0'
        option dns '208.67.222.222 208.67.220.220'


Reboot. After your shield comes up, double check under network>interfaces>wan make sure the protocol is "unmanaged", and under firewall settings it's set to "wan". The same for wan6.

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

Your errors:

eth0      Link encap:Ethernet  HWaddr 2C:26:5F:80:02:14  
          inet addr:66.234.213.165  Bcast:66.234.213.255  Mask:255.255.255.0  <--------- you should not have an IP address on eth0
          inet6 addr: fe80::2e26:5fff:fe80:214/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:259 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18798 (18.3 KiB)  TX bytes:9794 (9.5 KiB)


config interface 'wan'
        option ifname 'eth0'
        option _orig_ifname 'eth0'
        option _orig_bridge 'false'
        option proto 'dhcp'          <----------- protocol should not be dhcp
Running the latest OpenWrt stable release