PFsense…
-
Http://FTP:// is not a valid link ;)
Remove the FTP:// part and try again
-
Hmm I thought this was supposed to be fixed in 2.0.1 but it isn't for me either (also an upgrade). I thought they were switching to a local repo mirror instead? :-\
@http://blog.pfsense.org/?p=633:
Fixed path to FreeBSD packages repo for 8.1
Anyway you need to use the FreeBSD ftp archive for 8.1 to ensure compatibilty:
pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/All/python-2.6,2.tbz
-
thank you for replying .. but once i press on pkg_add -r python
see this msgpkg_add -r python
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/python.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/python.tbz' by URLi entered to this website and i see that instead packages-8.1-release it was packages-8.2-release ,, so i guess i must updates the sources in pfsense , but i dont know how to do that ,,,,,,,
-
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
-
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 …...
-
Use the same pkg_add to install downloaded packages, just point to filesystem
pkg_add /path-to-package
-
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> -
any help to install the urlgrabber ..??:(
-
What are you trying to accomplish here?
Steve
-
python setup.py bdist_rpm <====this command
-
Yes, but what does that python script do?
Where did you get it?
Steve
-
i do cd urlgrabber-3.9.1
and then
python setup.py bdist_rpmafter 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> -
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
-
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 ?????
-
Where did you get this urlgrabber script from? What python version is it written for?
Steve
-
http://urlgrabber.baseurl.org/download/urlgrabber-3.9.1.tar.gz this version
-
@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_rpmOk, 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
-
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 howim new to use pfsense this's the first time to me :).. so thank you for your help
-
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-*
-
Ah! Well now we are getting somewhere. ;)
Have you added all the python packages in that link?
Steve