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

    PFsense…

    Scheduled Pinned Locked Moved pfSense Packages
    32 Posts 5 Posters 11.5k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      You need to specify the complete URL because it has changed like I outlined above.

      Alternatively you can change the variable that pfSense uses to know where to look. I can't remember off hand what that is though. Hold on….

      OK. First run:

      
      setenv PACKAGESITE "ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/"
      
      

      Then you can load packages as normal: pkg_add -r python

      Steve

      1 Reply Last reply Reply Quote 0
      • A
        afamnu
        last edited by

        still can't add the packages :s.. im tryng to fetch them manual ,,,and i downloaded the packages but also the rpm command not found :s how to install the rpm packages also …...

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          Use the same pkg_add to install downloaded packages, just point to filesystem

          pkg_add /path-to-package

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • A
            afamnu
            last edited by

            thank you all i made same as u said and its work ,, im trying now to install the url grabber and the video cache , once i put the command python setup.py bdist_rpm  in the urlgrabber

            python setup.py bdist_rpm

            Traceback (most recent call last):
              File "setup.py", line 3, in <module>import urlgrabber as _urlgrabber
              File "/root/urlgrabber-3.9.1/urlgrabber/init.py", line 54, in <module>from grabber import urlgrab, urlopen, urlread
            ImportError: No module named grabber</module></module>

            1 Reply Last reply Reply Quote 0
            • A
              afamnu
              last edited by

              any help to install the urlgrabber ..??:(

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                What are you trying to accomplish here?

                Steve

                1 Reply Last reply Reply Quote 0
                • A
                  afamnu
                  last edited by

                  python setup.py bdist_rpm    <====this command

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yes, but what does that python script do?

                    Where did you get it?

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • A
                      afamnu
                      last edited by

                      i do  cd urlgrabber-3.9.1
                      and then
                      python setup.py bdist_rpm

                      after that this error appearing

                      Traceback (most recent call last):
                        File "setup.py", line 3, in <module>import urlgrabber as _urlgrabber
                        File "/root/urlgrabber-3.9.1/urlgrabber/init.py", line 54, in <module>from grabber import urlgrab, urlopen, urlread
                      ImportError: No module named grabber</module></module>

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmmm, well I can't comment on python script. Wrong python version perhaps?
                        Why are you trying to run URLGrabber on your firewall? It seems unwise.  ;)

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • A
                          afamnu
                          last edited by

                          @stephenw10:

                          Hmmm, well I can't comment on python script. Wrong python version perhaps?
                          Why are you trying to run URLGrabber on your firewall? It seems unwise.  ;)

                          Steve

                          but what i have to do ?????

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Where did you get this urlgrabber script from? What python version is it written for?

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • A
                              afamnu
                              last edited by

                              http://urlgrabber.baseurl.org/download/urlgrabber-3.9.1.tar.gz  this version

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                @http://urlgrabber.baseurl.org/:

                                It's really easy to build an RPM from the tarball. Simply unpack the tarball, cd into it, and do
                                python setup.py bdist_rpm

                                Ok, so you're trying to build an RPM file.
                                Do you realise that RPMs are not a FreeBSD format and hence not supported by pfSense?

                                Why are you trying to do this. What do you need URLGrabber for? If you tell us why you are doing all this we may be able to suggest an easier option.  ::)

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • A
                                  afamnu
                                  last edited by

                                  indeed i want to use the pfsense for Video cache,, nd plz see this

                                  http://doc.pfsense.org/index.php/Setup_VideoCache_with_Squid
                                  if there's another way to do that i wll be thankfull to show me how

                                  im new to use pfsense this's the first time to me :).. so thank you for your help

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

                                    Sorry I may be being thick here but there is a FreeBSD 8.1 package for urlgrabber so why not just install that.

                                    I should also add that it depends on ca_root_nss-3.12.11_2, curl-7.21.3_2, py27-curl-7.19.0_1, python27-2.7.2_3

                                    Just read that link you posted to a pfsense how-to. Please be aware that it is now py27-*

                                    Never underestimate the power of human stupidity

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Ah! Well now we are getting somewhere.  ;)

                                      Have you added all the python packages in that link?

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        afamnu
                                        last edited by

                                        yes steve already i did it ,,,

                                        #pkg_add -r python

                                        pkg_add -r py25-bsddb

                                        pkg_add -r py25-gdbm

                                        pkg_add -r py25-sqlite3

                                        pkg_add -r py25-tkinter

                                        but  everything i did it manualy,,
                                        same as    pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/databases/py26-gdbm-2.6.6.tbz

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

                                          Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong  version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.

                                          Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.

                                          Never underestimate the power of human stupidity

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            afamnu
                                            last edited by

                                            @Gloom:

                                            Those packages you added are based on python25 the urlgrabber package you are using is based on python26. So the first thing that springs to mind is your dependencies are the wrong  version. If you take a look at http://www.freebsd.org/ports and do a search for urlgrabber you can view the changes for each package and it's dependencies.

                                            Just to confuse things even further the most recent port/package, which also runs on FreeBSD 8.1 is based on python27 but I suggest you stick to the python26 tree.   
                                            [/quote

                                            thank you gloom :)..
                                            1 another question plz.. i have 4 hardisk each 500GB ,, how can i make the subpartitions to use them for cache,, how do i edit the fstab and mount the hardrive,,,

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