Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    2.1.5 widescreen patch - multiple columns on dashboard

    Scheduled Pinned Locked Moved webGUI
    41 Posts 13 Posters 13.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      charlie0440
      last edited by

      I read the documentation a while ago about packages and I got really confused  :o

      If someone wants to do it then i'll happily provide the files.

      1 Reply Last reply Reply Quote 0
      • RonpfSR
        RonpfS
        last edited by

        So could I get widescreen under 2.1.4 by just appling the patch https://github.com/CharlieMarshall/pfsense/commit/7a775e8bf1a4771ee8d0217a2f66d415f9abc302 ?

        2.4.5-RELEASE-p1 (amd64)
        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

        1 Reply Last reply Reply Quote 0
        • AhnHELA
          AhnHEL
          last edited by

          @charlie0440:

          Yes. As I said in my opening post. I have not included all he changes here which are in 2.2.

          Totally missed that part.

          Much appreciated for your fix, thank you sir.  Works perfectly.  8)

          AhnHEL (Angel)

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            So could I get widescreen under 2.1.4 by just appling the patch

            Yes.  I'm running it under 2.1.4.

            1 Reply Last reply Reply Quote 0
            • RonpfSR
              RonpfS
              last edited by

              @KOM:

              So could I get widescreen under 2.1.4 by just appling the patch

              Yes.  I'm running it under 2.1.4.

              I did a test and it says it can not be reverted ?

              Patch can be applied cleanly (detail)

              	Output of full patch apply test:
              
              /usr/bin/patch --directory=/ -t -p1 -i /var/patches/54133c3584947.patch --check --forward --ignore-whitespace
              
              Hmm...  Looks like a unified diff to me...
              The text leading up to this was:
              --------------------------
              |From 7a775e8bf1a4771ee8d0217a2f66d415f9abc302 Mon Sep 17 00:00:00 2001
              |From: Charlie Marshall 
              |Date: Thu, 11 Sep 2014 14:10:25 +0100
              |Subject: [PATCH] Fix picture widget size & improve browse button
              |
              |---
              | usr/local/www/widgets/widgets/picture.widget.php | 4 ++--
              | 1 file changed, 2 insertions(+), 2 deletions(-)
              |
              |diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php
              |index 12aacae..40ecee8 100644
              |--- a/usr/local/www/widgets/widgets/picture.widget.php
              |+++ b/usr/local/www/widgets/widgets/picture.widget.php
              --------------------------
              Patching file usr/local/www/widgets/widgets/picture.widget.php using Plan A...
              Hunk #1 succeeded at 73.
              Hunk #2 succeeded at 81.
              done
              
              

              Patch can NOT be reverted cleanly (detail)

              	Output of full patch revert test:
              
              /usr/bin/patch --directory=/ -f -p1 -i /var/patches/54133c3584947.patch --check --reverse --ignore-whitespace
              
              Hmm...  Looks like a unified diff to me...
              The text leading up to this was:
              --------------------------
              |From 7a775e8bf1a4771ee8d0217a2f66d415f9abc302 Mon Sep 17 00:00:00 2001
              |From: Charlie Marshall 
              |Date: Thu, 11 Sep 2014 14:10:25 +0100
              |Subject: [PATCH] Fix picture widget size & improve browse button
              |
              |---
              | usr/local/www/widgets/widgets/picture.widget.php | 4 ++--
              | 1 file changed, 2 insertions(+), 2 deletions(-)
              |
              |diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php
              |index 12aacae..40ecee8 100644
              |--- a/usr/local/www/widgets/widgets/picture.widget.php
              |+++ b/usr/local/www/widgets/widgets/picture.widget.php
              --------------------------
              Patching file usr/local/www/widgets/widgets/picture.widget.php using Plan A...
              Hunk #1 failed at 73.
              Hunk #2 failed at 81.
              2 out of 2 hunks failed--saving rejects to usr/local/www/widgets/widgets/picture.widget.php.rej
              done
              
              

              So I should backup picture.widget.php before in case something goes wrong .

              I guess I have to get the tar file first !

              2.4.5-RELEASE-p1 (amd64)
              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                I should have mentioned that I used to original method from the beginning of the thread:

                fetch -o /tmp https://dl.dropboxusercontent.com/u/12367642/2.1.5_widescreen.tar.gz
                tar -zxvf /tmp/2.1.5_widescreen.tar.gz -C /
                
                1 Reply Last reply Reply Quote 0
                • RonpfSR
                  RonpfS
                  last edited by

                  I fetch your tar ball (couldn't fetch doktornotor's one from mega)
                  Then I applied the patch for picture.widget.php
                  Once the patch is applied, it show I can revert it …  ;D

                  2.4.5-RELEASE-p1 (amd64)
                  Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                  Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                  1 Reply Last reply Reply Quote 0
                  • C
                    charlie0440
                    last edited by

                    About patches in pfsense gui. Someone correct me if I'm wrong but I belive when you click test it will only show if it can be applied cleanly. Once applied it will show if it can now be reverted cleanly. It can't be both and you can't revert something which hasn't been changed.

                    I found this confusing at first because the message makes it look like you can apply a patch and not revert it.

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gerard64
                      last edited by

                      @kcallis:

                      I have tried it and I am still getting an issue where the Help tab is right below the System tab. Is there any way that I could just remove help for the time being? This is preventing me from accessing option on the System menu.

                      Go to /etc/inc open globals.inc and find "disablehelpmenu" => false, and change it to "disablehelpmenu" => true,

                      Untitled-1.png
                      Untitled-1.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • RonpfSR
                        RonpfS
                        last edited by

                        Did and upgrade from 2.1.4 to 2.1.5

                        Reinstall the tar ball, widescreen is back but there is no Add/Delete button, so I am stuck with 2 columns display

                        2.4.5-RELEASE-p1 (amd64)
                        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                        1 Reply Last reply Reply Quote 0
                        • KOMK
                          KOM
                          last edited by

                          I had the same problem, and it's ongoing.  If I hammer the F5 key quickly twice, my original 4-column layout appears.  A single F5 refresh puts it back into dual-column mode.  Totally bizarre.

                          1 Reply Last reply Reply Quote 0
                          • RonpfSR
                            RonpfS
                            last edited by

                            Nice trick … twice F5 bring back the buttons  :o  ;D

                            F5 and CTRL-F5 doesn't do it  :(

                            2.4.5-RELEASE-p1 (amd64)
                            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                            1 Reply Last reply Reply Quote 0
                            • KOMK
                              KOM
                              last edited by

                              Like I said, totally bizarre.  But it works consistently, so at least there's that.

                              1 Reply Last reply Reply Quote 0
                              • RonpfSR
                                RonpfS
                                last edited by

                                Since the last reboot … no more issues with the widescreen patch, I always get 3 columns display  ;D

                                2.4.5-RELEASE-p1 (amd64)
                                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                                1 Reply Last reply Reply Quote 0
                                • KOMK
                                  KOM
                                  last edited by

                                  Ah, well there you go.  I haven't rebooted since the 2.1.5 upgrade.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    firefox
                                    last edited by

                                    @charlie0440:

                                    If your issues with the menu wrapping on pfsense (not caused by the patch but code adding in 2.1.5). Go to system > patches and apply this commit:

                                    https://github.com/CharlieMarshall/pfsense/commit/2b5c16b9c6ee3dcb9a1333b44949f48024eb3cd0
                                    

                                    I do not have this option under system
                                    I use pfsense 2.1.5

                                    Where it goes ?

                                    1 Reply Last reply Reply Quote 0
                                    • RonpfSR
                                      RonpfS
                                      last edited by

                                      @firefox:

                                      I do not have this option under system
                                      I use pfsense 2.1.5

                                      Where it goes ?

                                      Maybe you need to install the Package System Patches.

                                      2.4.5-RELEASE-p1 (amd64)
                                      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        firefox
                                        last edited by

                                        Thank you
                                        I installed it

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          spillemw
                                          last edited by

                                          My pfSense file system is read-only.  When I ssh to the machine and select shell, I am in the root directory, but obviously not a root user.  Note that I bought a Stonegate firewall with pfSense 2.1.5 pre-installed.
                                          I am new to pfSense but not new to ubuntu.
                                          Any suggestion?

                                          –-------------------------

                                          Update that may help other people : the file system was read-only so I had to remount it in the shell with rw enabled.  Then I could get the new them and apply it.
                                          Do not forget to reboot the machine afterwards so that the ro is in place again for added security.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            phil.davis
                                            last edited by

                                            @spillemw:

                                            My pfSense file system is read-only.  When I ssh to the machine and select shell, I am in the root directory, but obviously not a root user.  Note that I bought a Stonegate firewall with pfSense 2.1.5 pre-installed.
                                            I am new to pfSense but not new to ubuntu.
                                            Any suggestion?

                                            –-------------------------

                                            Update that may help other people : the file system was read-only so I had to remount it in the shell with rw enabled.  Then I could get the new them and apply it.
                                            Do not forget to reboot the machine afterwards so that the ro is in place again for added security.

                                            I have no idea what your post has to do with widescreen patch. But:

                                            1. pfSense is built on top of FreeBSD (not Ubuntu)
                                            2. It is all configured from the webGUI - so do not use the shell to change anything unless you know what and why you are changing it.
                                            3. "disk" can be switched between ro and rw and back with:
                                              /etc/rc.conf_mount_rw
                                              /etc/rc.conf_mount_ro
                                              No need to find the right mount commands yourself, no need to reboot to put it back.
                                              Diagnostics->nanoBSD also has a button to switch to RW then switch back to RO.

                                            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.