Netgate SG-1000 microFirewall

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - jeroen234

Pages: [1]
Development / how to get php to use a mysql server on pfsense ???
« on: January 06, 2007, 10:53:14 am »

i try to use mysql on pfsense from php
but php don't get the mysql
i think i missed somting this is wat i have done :

pkg_add -r
chmod 777 /var/db/mysql
chmod 777 /var/db/mysql/mysql
chmod 777 /var/db/mysql/mysql/*.*
mv /usr/local/etc/rc.d/mysql-server /usr/local/etc/rc.d/
vi /usr/local/etc/rc.d/

: ${mysql_enable="NO"}
: ${mysql_enable="YES"}
save the file

vi /usr/local/lib/php.ini
save the file

cd /tmp
mkdir php
cd php
tar -xjvf php4-mysql-4.4.4_1.tbz
cd lib/php/20020429/
cp /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
chmod 755 /usr/local/lib/php/extensions/no-debug-non-zts-20020429/

but afther a reboot still no mysql suport in php
the mysql server is started

Packages / making a package turn op on Diagnostics: Package logs
« on: December 25, 2006, 04:32:24 am »

iam trying to get the freeradius package to show on the Diagnostics: Package logs
i have started freeradius with
radiusd -sxxyz > /var/log/freeradius.log &

to config.xml i have added the logcommands to the freeradius part

Code: [Select]
<descr>A free implementation of the RADIUS protocol.</descr>

but on Diagnostics: Package logs i still get:
No packages with logging facilities are currently installed.

do i need more to get this to work ?

Development / how to make a diff file for pfsense ???
« on: December 06, 2006, 12:32:49 pm »
how do you make a diff file for pfsense ???
i have downloaded diff from
witch option are needed to make the diff for pfsense ?

# diff --help
Usage: diff [OPTION]... FILE1 FILE2

  -i  --ignore-case  Consider upper- and lower-case to be the same.
  -w  --ignore-all-space  Ignore all white space.
  -b  --ignore-space-change  Ignore changes in the amount of white space.
  -B  --ignore-blank-lines  Ignore changes whose lines are all blank.
  -I RE  --ignore-matching-lines=RE  Ignore changes whose lines all match RE.
  -a  --text  Treat all files as text.

  -c  -C NUM  --context[=NUM]  Output NUM (default 2) lines of copied context.
  -u  -U NUM  --unified[=NUM]  Output NUM (default 2) lines of unified context.
    -NUM  Use NUM context lines.
    -L LABEL  --label LABEL  Use LABEL instead of file name.
    -p  --show-c-function  Show which C function each change is in.
    -F RE  --show-function-line=RE  Show the most recent line matching RE.
  -q  --brief  Output only whether files differ.
  -e  --ed  Output an ed script.
  -n  --rcs  Output an RCS format diff.
  -y  --side-by-side  Output in two columns.
    -W NUM  --width=NUM  Output at most NUM (default 130) characters per line.
    --left-column  Output only the left column of common lines.
    --suppress-common-lines  Do not output common lines.
  -DNAME  --ifdef=NAME  Output merged file to show `#ifdef NAME' diffs.
  --GTYPE-group-format=GFMT  Similar, but format GTYPE input groups with GFMT.
  --line-format=LFMT  Similar, but format all input lines with LFMT.
  --LTYPE-line-format=LFMT  Similar, but format LTYPE input lines with LFMT.
    LTYPE is `old', `new', or `unchanged'.  GTYPE is LTYPE or `changed'.
    GFMT may contain:
      %<  lines from FILE1
      %>  lines from FILE2
      %=  lines common to FILE1 and FILE2
      %[-][WIDTH][.[PREC]]{doxX}LETTER  printf-style spec for LETTER
        LETTERs are as follows for new group, lower case for old group:
          F  first line number
          L  last line number
          N  number of lines = L-F+1
          E  F-1
          M  L+1
    LFMT may contain:
      %L  contents of line
      %l  contents of line, excluding any trailing newline
      %[-][WIDTH][.[PREC]]{doxX}n  printf-style spec for input line number
    Either GFMT or LFMT may contain:
      %%  %
      %c'C'  the single character C
      %c'\OOO'  the character with octal code OOO

  -l  --paginate  Pass the output through `pr' to paginate it.
  -t  --expand-tabs  Expand tabs to spaces in output.
  -T  --initial-tab  Make tabs line up by prepending a tab.

  -r  --recursive  Recursively compare any subdirectories found.
  -N  --new-file  Treat absent files as empty.
  -P  --unidirectional-new-file  Treat absent first files as empty.
  -s  --report-identical-files  Report when two files are the same.
  -x PAT  --exclude=PAT  Exclude files that match PAT.
  -X FILE  --exclude-from=FILE  Exclude files that match any patter
  -S FILE  --starting-file=FILE  Start with FILE when comparing dir

  --horizon-lines=NUM  Keep NUM lines of the common prefix and suff
  -d  --minimal  Try hard to find a smaller set of changes.
  -H  --speed-large-files  Assume large files and many scattered sm

  -v  --version  Output version info.
  --help  Output this help.

If FILE1 or FILE2 is `-', read standard input.

Traffic Shaping / pfsense 1.0 rc2h pf rules + ipfw dummynet traficshaping
« on: September 24, 2006, 12:59:19 am »

will this break the pf rules ?
i have a 8000/1024 cable connection
i want to shape that with dummynet for my lan network (
i used these commands

#kldload dummynet.ko
#pfctl -d
#ipfw add pipe 1 ip from to any out
#ipfw add pipe 2 ip from any to in
#ipfw pipe 1 config mask src-ip 0x000000ff bw 1024Kbit/s queue 20
 #ipfw pipe 2 config mask dst-ip 0x000000ff bw 8000Kbit/s queue 20
#pfctl -e

i can see with
#ipfw pipe show | head -n 20
that dummynet is working how can i test if pf is still working ?

Development / error making full-update
« on: February 24, 2006, 01:14:57 pm »
i got a error about a key that can't be loaded
see picture

Just thought it is about time to set up some basic rules for the forum usage (and other communication channels as well)

    * Allways search forum, FAQ and WIKI before asking, We do have them so that we will not have to answer every question over and over.

> gebruik altijd eerst de zoek functie van het forum,faq en wiki voor je wat vraagt, we hebben ze zo dat we niet iedere vraag steeds opnieuw moeten beantwoorden

    * Do not crosspost ! if you are looking for quick answers try IRC first. If you do not get any answers there, try either Forum or mailing lists. NEVER both.

>   post je bericht niet op meedere forum gedeeltes. als je snel een antwoord zoekt probeer dan eerst IRC. als je daar geen antwoordt krijgt, probeer dan forum of mailing lijst maar nooit beide

    * Do not post just to post, if you have nothing informative to say, keep quiet. If your post gets deleted, take the hint !

> ga posten alleen maar voor het posten, als je niks zinnigs tezeggen heb hou je dan stil, wordt een bericht van je verwijderd begrijp de hint dan!!

    * Keep a nice tone !

> blijf beleeft tegen elkaar!


> over deze regels kan niet gediscuseerd worden

Nederlands / Welkom in het nederlands talige pfsense suport forum
« on: January 08, 2006, 03:36:16 am »
De officele pfsense taal is engels omdat bijna het hele pfsense ontwikkelings team uit de usa komt
wil je dus wat vragen aan het pfsense team dan zal je dit  in het engels  moeten doen

hier in dit forum gedeelte kan je gewoon nederlands type en dingen vragen
en zal indien nodig in het engels aan het pfsense team worden doorgegeven

veel plezier met posten

Nederlands / zijn er nog nederlanders/belgen hier ???
« on: January 08, 2006, 03:26:11 am »
zijn er nog meer nederlanders of belgen hier ??

ik kom uit lelystad

Packages / how to make pfsense packages ??
« on: December 14, 2005, 05:22:34 pm »

for a free wireless hotspot vpn mesh project
i need  info on how to make pfsense packages for using with pfsense
is there a how to some where on wat pfsense needs in it's packages?
to get it show up in pfsense gui

greetz Jeroen

Pages: [1]