Fw_upgrade version 8.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Fw_upgrade version 8.1

Roadrunnere42
Sorry for another release so soon, but found a logic bug in code which would skip updating the web filter if any box was ticked.

I have also included showing fw_upgrade version in the status overview page, this involves updating  2 more files, since the old post has been closed because of it's size i have include all the files again.

instructions

Copy all files over to the Shield into the tmp folder  and make sure they are name correctly

dnsmasq
e2guardian.lua
fw_upgrade
index.htm
update_fw_upgrade8_files.sh
write-categories.sh
.version

also the file version has a . at the front, this is correct and just tells the Shield to hide the file from view. It just contain the version number to list just type ls -a

once the files are copied across to the Shield  and renamed if needed
type
cd /tmp
sh  ./update_fw_upgrade8_files.sh

This will copy the files to the correct places.

 
e2guardian.lua
fw_upgrade.fw_upgrade
index.htm
update_fw_upgrade8_files.sh
write-categories.sh

Not sure why when i upload the files, two get named twice dnsmasq.dnsmasq and fw_upgrade.fw_upgrade  just rename as i said above.

Enjoy

roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

Roadrunnere42
Hold fire with this update as i think one of the files has been corrupted in the upload

will try to sort tonight.

roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

user8446
Administrator
Thanks - what is the advantage of using tempfs over ramdisk?
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
In reply to this post by Roadrunnere42
Thanks Roadrunnere42 for letting everyone know I'm going to do factory reset,  what hotfix and fw_upgrade script. should I use?

Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

user8446
Administrator
Use hotfix 160309, it has a later (not latest) fw upgrade script included. Let's get you working again and then we can update to the latest fw upgrade script.
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
Thank you user8446 I'm going to do the update on Saturday I will update you  

Take care
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

Roadrunnere42
In reply to this post by Roadrunnere42
somehow the fw_upgrade script had git currupted in the upload process, so here the corrected verion.

fw_upgrade.fw_upgrade

roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

Roadrunnere42
In reply to this post by user8446
user8446

If you google tempfs versus  ramdisk it will tell you all  about the difference, in short both use the internal memory to hold the data  ( this is what we want to reduce wear ) and since the Shield has already a tempfs set-up it makes sense to use that. When web filter is unziped the data is temporary held there, as the initial ramdisk is fixed in size, once it full the script may fail or not continue to unzip the web filters, where as tempfs is already large and if it fills up will be allocated additional storage.

As the Shield is for tech and non tech people I believe that using tempfs will avoid issues in the future.


roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
In reply to this post by Roadrunnere42
Hi, Roadrunnere42 I just ran the Fw_upgrade version 8.1  I seen a few can't open  here is the SSH output

SSH_output.txt

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
In reply to this post by user8446
Hi, user8446 can you confirm that is  the right file hotfix_160309-FINAL.tgz?  and does it have the fw upgrade script included ?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

Roadrunnere42
In reply to this post by breda
breda

the fw_upgrade did not work because it can't  get acces or the folder tmp is not there
can you confirm that tmp is on your shield
type at command prompt

cd ..
ls
 
and you should see the tmp folder

roadrunnere42

Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
Hi, Roadrunnere42 can you confirm the command is  cd ..  

I also installed this  hotfix_160309-FINAL.tgz not sure if this in the right one user8446 said I should try older one to see if that fixes the loss of internet  in bridge mode


root@Shield:~# cd..
-ash: cd..: not found
root@Shield:~# cd..is
-ash: cd..is: not found
root@Shield:~#
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

user8446
Administrator
Hi Breda,
Yes, use the latest hotfix you mentioned. I was referring to the latest fw upgrade script. Get your box up and running first then upgrade to the latest fw upgrade script.
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
Thanks user8446 I still can't get any internet I gong to try factory reset again  and install  did you need me to post any logs after the update and if so can you tell me what logs?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
In reply to this post by user8446
Here are  the system logs and cat /etc/config/network  and ifconfig -a after factory reset I have Shield back to Thu Nov 26 I cant get any internet in bridge mode  I see in the logs  DNS-rebind attack detected  


SSH_output_4-24-16.txt

System_Log_System_Log_after_reset.txt


------------------------------------------------------------------------------------------------------------------
Thu Nov 26 03:10:38 2015 daemon.warn dnsmasq[6566]: possible DNS-rebind attack detected:

yourhost.example.com
Thu Nov 26 03:10:38 2015 daemon.info dnsmasq[6566]: query[AAAA] yourhost.example.com from

127.0.0.1
Thu Nov 26 03:10:38 2015 daemon.info dnsmasq[6566]: forwarded yourhost.example.com to

192.168.1.1
Thu Nov 26 03:10:51 2015 daemon.info dnsmasq[6566]: query[A] openapi.meshare.com from

192.168.1.118
Thu Nov 26 03:10:51 2015 daemon.info dnsmasq[6566]: forwarded openapi.meshare.com to

192.168.1.1
Thu Nov 26 03:10:51 2015 daemon.warn dnsmasq[6566]: possible DNS-rebind attack detected:

openapi.meshare.com

--------------------------------------------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
In reply to this post by user8446
the Shield works in Router here is the system logs


System_Log_Router.txt
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

user8446
Administrator
Breda,
When you switch to bridge mode, are you using eth2 from the shield to your router WAN? If so, can you post the status page from your router showing the gateway, dns, etc.
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
Hi, user8446  yes I use the eth2 from the shield to your router WAN  before I make the switch to bridge mode do I have to power off the shield, router and the Modem?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

user8446
Administrator
Power off the shield, switch to bridge, then power back up.
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: Fw_upgrade version 8.1

breda
Thanks user8446 I will update you and to confirm I can leave the router and modem power on? When I make the switch to bridge
12