Re: Update script (fw_upgrade)
Posted by
hans2 on
Apr 15, 2016; 9:17pm
URL: https://itus.accessinnov.com/Update-script-fw-upgrade-tp43p697.html
Hi Breda
not sure what is going on with your configuration. You are working in bridge mode, correct?
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd30:1d37:4e69::/48'
config interface 'wan'
option ifname 'eth0'
option proto 'none'
option enable '1'
option auto '1' <--------------
config interface 'wan6'
option ifname 'eth2'
option proto 'none'
option enable '1'
option auto '1' <--------------
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option enable '1'
option proto 'static'
option ipaddr '192.168.?.111'
option netmask '255.255.255.0'
option gateway '192.168.?.107' <------------ ip address router
option broadcast '192.168.?.255'
option dns '192.168.?.107' <------------- ip address router
config interface 'blockdomain'
option ifname 'br-lan'
option proto 'static'
option ipaddr '192.168.?.112'
option netmask '255.255.255.0'
if you get this to work, make a backup of the configuration (LuCI > System > Backup config). Next time you loose your settings, you can copy (WinSCP to /tmp folder) the backup file to shield, and then restore it. This applies to both reouter & bridge setups.
cd /
tar -zxvf /tmp/backup_filename_whatever.tgz
reboot
No more: Shield Pro v1, Chaos Calmer, FW 1.51 SP1