RE: Qmail Vpopmail From Ports

2006-11-18 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rachel Florentine
Sent: Saturday, November 18, 2006 1:19 PM
To: freebsd-questions@freebsd.org
Subject: Qmail  Vpopmail From Ports

Hi;
I've installed both qmail and vpopmail from ports. Qmail is up and running
because of the great instructions provided. But I haven't figured out how to
get vpopmail up (and, of course, working with qmail). Please help.
Rachel


Hi Rachel,

Here is a simpler toaster howto, which worked perfectly for me :

http://www.bsdguides.org/guides/freebsd/mailserver/qmail+vpopmail+qmailadmin
.php


Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Content filtering

2006-06-19 Thread Andras Kende

Hello,

I use Dansguardian ( http://www.dansguardian.org ) with Squid Proxy
very easy to setup, and it works great 


Andras Kende
http://www.kende.com






- Original Message - 
From: Shawn Guillemette [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Monday, June 19, 2006 1:56 PM
Subject: Content filtering


Hello,

   I have recently been thinking about adding content filtering to
my FreeBSD fire wall at home as the kids are starting to use the internet
more and they are getting older too ;-)

I'm running FreeBSD 4.11 RELEASE using IPFW as my firewall. The system its
running on is an old alpha machine. I was wondering if anyone knew of a port
that I could use to filter some web content from my children. I do have the
X86 option as well Just have to reload the OS and start from scratch on
another system.

Thanks

Shawn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED] 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Apache ssl startup

2006-03-22 Thread Andras Kende

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Beech Rintoul
Sent: Wednesday, March 22, 2006 8:57 AM
To: freebsd-questions@freebsd.org
Subject: Apache ssl startup

I'm trying to get apache2 to start at boot in ssl mode. After reading
through 
the rc.d script I put apache2ssl_enable=YES in /etc/rc.conf, but it 
doesn't work. What is the proper way to start the server at boot?

The machine is running 6.1-PRERELEASE.

Beech
-- 


---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org

---

Beech,


Did you create, configure a ssl certificate?
Here is a good howto:

http://www.bsdguides.org/guides/freebsd/webserver/apache_ssl_php_mysql.php


Andras Kende
http://www.kende.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Dual Core vs HyperThreading vs Dual CPU

2006-01-10 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier
Sent: Tuesday, January 10, 2006 8:52 AM
To: freebsd-questions@freebsd.org
Subject: Dual Core vs HyperThreading vs Dual CPU


I'm going to assume that Dual Core is better (can't believe that they took 
a step back) ... but, is how does it rate?  I know that HyperThreading is 
definitely != Dual CPU ... but how close does Dual Core get?


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I think HyperThreading is more like 2 Logical CPU


Maybe some details here:
http://www.short-media.com/review.php?r=261



Best regards,


Andras Kende
http://www.kende.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: port installation

2006-01-10 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of je killen
Sent: Tuesday, January 10, 2006 7:35 PM
To: freebsd-questions@freebsd.org
Subject: port installation

I am trying to install apache 1.3.34. I cd to the apache13 dir and 
attempt make install and am told that apache 1.3.33 doesn't exist. I 
downloaded apache 1.3.34 and put it in the /usr/ports/distfiles dir but 
since make is looking for v 1.3.33 it doesn't see version 1.3.34. So 
What now? How wouid I tell it to use 1.3.34 instead of 1.3.33? Does it 
require ports upgrade?
What if the portupgrade utility has a different version number and when 
I try make install on it it looks for a different version (which is not 
on my system as a distfile)?
I'm not complaining. I'm just trying to learn as I go.
Thanks to who ever responds.
JEK
[EMAIL PROTECTED]
PS: general info I discovered on my own re configuration of X server 
with X.org (rather than xfree86):
the configuration file used to be xf86config and is now xorgconfig. I 
got some site posted data that
called the configuration process X.org -config, which it is not. It is 
just xorgconfig, virtually the same
script as the old xf86config script. I got my X server up after, as 
usual, asking stupid questions
and wasting someone's time, probably, and figuring it out my self in 
the meantime. There is some
thing magical about asking questions, even if you don't get an 
objective response; it's almost
like telepathy.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello,

You should update the Ports tree first, which will include the latest
Apache 1.3.34:

# cd /usr/ports/net/cvsup-without-gui
# make install
# make clean

Create /etc/cvsupfile:
*default  host=cvsup2.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=none
*default  delete use-rel-suffix
*default tag=.
ports-all
doc-all  

# /usr/local/bin/cvsup -g -L2 /etc/cvsupfile

# cd /usr/ports/www/apache13
# make install clean



Best regards,

Andras Kende
http://www.kende.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Forget Root Password

2006-01-10 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mamaj m
Sent: Sunday, January 08, 2006 2:16 PM
To: freebsd-questions@freebsd.org
Subject: Forget Root Password

Hi,

I forget the root password what can i do , so i cant log in to freebsd

Thanks
I

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello,


during boot up there's a prompt which says to hit enter to boot /kernel or
something like that. It times out after 10 seconds (default). Hit any other
key than enter and type boot-s to boot in single user mode. You should
then get a shell prompt where you run these commands: 


# fsck -p 
# mount -a -t ufs 
# swapon -a 
# passwd -l 
# exit



Best regards,


Andras Kende
http://www.kende.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: proxy server

2005-10-12 Thread Andras Kende
 Hi,

 I want to install a proxy server to manage these features: http cache,
 content filtering (forbidden words, ActiveX, java, url. etc), users,
 groups, ips' control access, time ranges to ie access.

 I want to hear some suggestions based on your experiences.

 Thanks...


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


Hello,

I installed squid proxy with dansguardian content filtering for a school
with 100+ users with great success..

Andras Kende
http;//www.kende.com





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First time gateway/router

2005-08-26 Thread Andras Kende
 Is there a walkthrough or something online to teach me how to make a
 freebsd box into a gateway/firewall? I've not ever run a FreeBSD box
 that wasn't already behind some other kind of firewall, and don't want
 to screw it up.

 Derrill


http://bsdguides.org/guides/freebsd/networking/ipfilter.php




Andras Kende
http://www.kende.com/



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Where is bsdnews.com?

2005-07-21 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Odhiambo
Washington
Sent: Thursday, July 21, 2005 6:23 AM
To: freebsd-questions@freebsd.org
Subject: Where is bsdnews.com?

Hi,

I am trying to access bsdnews.com for this document:
http://www.bsdnews.org/02/dummynet.php

But the site is down.

I want to refer to it for a project I am working on, to configure OS X
firewall with traffic shaping.

I have read the man pages anyway but I want to see an example to be
comfortable.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
She liked him; he was a man of many qualities, even if most of them
were bad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


You could access it from here:

http://web.archive.org/web/20041010152755/http://www.bsdnews.org/02/dummynet
.php

Best regards,
Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Port upgrade error

2005-07-13 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Beecher Rintoul
Sent: Tuesday, July 12, 2005 11:21 PM
To: freebsd-questions@freebsd.org
Subject: Port upgrade error

While trying to update phpMyAdmin I get the following error:

===  Vulnerability check disabled, database not found
===  Found saved configuration for phpMyAdmin-2.6.2.1
===  Extracting for phpMyAdmin-2.6.3.1
= Checksum OK for phpMyAdmin-2.6.3-pl1.tar.bz2.
===  Patching for phpMyAdmin-2.6.3.1
===  Configuring for phpMyAdmin-2.6.3.1
===  Installing for phpMyAdmin-2.6.3.1
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/include/php/main/php.h - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/mysql.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/pcre.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/bz2.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/gd.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/openssl.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/pdf.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/zlib.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/mcrypt.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/mbstring.so - found
===   phpMyAdmin-2.6.3.1 depends on file:
/usr/local/lib/php/20041030/mysqli.so - not found
===Verifying install for /usr/local/lib/php/20041030/mysqli.so in
/usr/ports/databases/php5-mysqli
===  php5-mysqli-5.0.4_2 Doesn't work with MySQL version : 50
(Doesn't support MySQL 323 40 50).
*** Error code 1

I have upgraded php and tried building that extension separately. No
joy. Anyone have a suggestion?

Beech
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




I usually just fetch the latest Phpmyadmin and extract to a web directory.
Only need to edit 3 things in config.inc.php


Best regards,

Andras Kende
http://www.kende.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dynamic Hosting Recommendation

2005-05-28 Thread Andras Kende
 My cable company wants $25. a month just for a static IP address.
 Personally, I think that is ridiculous.

 I have been looking for a solution. One I found was TZO,
  http://www.tzo.com . I was wondering if anyone had any experience with
 them?

 If someone can recommend another service, I would be glad to look into it.

 Thanks.


 --
 Gerard Seibert
 [EMAIL PROTECTED]

 The most important question when any new computer architecture is
 introduced is So what?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



dynds.org


Andras Kende
http://www.kende.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help w/ Dell PowerEdge sc420

2005-04-29 Thread Andras Kende

 I'm trying to bring FreeBSD up on a Dell PowerEdge sc420.

 The machine has a built-in (on the motherboard) Ethernet engine
 described as Broadcom NetXtreme Gigabit Ethernet Adaptor.  The
 BIOS screens accessible during booting don't provide much by
 way of additional useful information, afaict.

 I am bringing up a slightly old FreeBSD -- 5.2 -- with hopes of
 getting ethernet support up, plugging into a DSL line, and upgrading
 over the net.

 Alas, 5.2 does not seem to detect the Ethernet engine.  There is no
 /dev/bge, for example.   Thus, I can't even get to the upgrade
 step short of busting out an old modem :-)

 Help?  I'm unfamiliar with:

 (i) how FreeBSD autodetects this kind of hardware
 (ii) how to brute-force install a driver by hand and try to help
  it find this hardware

 I am competent to rebuild the kernel if there is some config file
 I ought to tweak although it's been a few years since I've done so --
 so hints about that process, if necessary, would be appreciated.

 Alternatively (but less desirably): if I scrape up my pennies and buy
 a more recent distro will I have better results?

 Thanks,
 -t

 p.s.: the *next* problem is about configuring X11 for:

 (a) The Intel Copper River Graphics Controller on this board.
 The X configurators on the 5.2 disk crash and burn here.
 I've been assuming that this *might* be easier to solve
 after successfully upgrading.

 (b) I've never had much luck getting `moused' to understand
 my Kensington ExpertMouse trackball as a four-button
 device.  On this new box, the situation is at this stage
 slightly worse --- it seems not to grok this device at all.


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


Download Freebsd 5.3 latest its available for free...
sc420 ethernet work perfectly on it...


Andras Kende
http://www.kende.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ...

2005-02-01 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Hawkins
Sent: Tuesday, February 01, 2005 2:16 PM
To: freebsd-questions@freebsd.org
Subject: apache13_modssl + mod_php4 + php4-extenstions + mysql323-*
+myphpadmin = ...

[Tue Feb  1 11:58:29 2005] [error] PHP Fatal error:  Call to undefined 
function:  preg_match() in 
/usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36


I have re-installed the above mentioned ports and everything is up and 
running however from phpmyadmin I am getting the above mentioned error 
when trying to use phpmyadmin from a webpage.

I have seen the various supposed fixes and have tried a few. I do not 
get the =20 after the error and have tried ripping out everything. 
installing php4-pear then apache13-modssl, mysql323-server / client and 
myphpadmin yet i still get this!

can someone please give me the definitive fix for this? is there one?

sorry to sound frustrated, loosing a day tracking this down is no fun

ken;

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello,

Looks like PHP missing the PCRE (Perl Compatible Regular Expressions)
Support 

?php phpinfo(); ?
Should have like:

PCRE (Perl Compatible Regular Expressions) Support | enabled 
PCRE Library Version | 4.5 01-December-2003

Its also here:
/usr/ports/devel/php4-pcre/



Best regards,

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Ftp behind firewall/nat

2005-01-31 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric wyzerski
Sent: Monday, January 31, 2005 2:11 PM
To: freebsd-questions@freebsd.org
Subject: Ftp behind firewall/nat

Hi,

For a whole day I tried to make an ftp who is behind the firewall to work 
but Im not able. My ipf rules are:

pass in quick from any to any
pass out quick from any to any

So it is not a ipf problem. My ipnat rules are:

map rl0 10.0.0.0/8 - 0/32

rdr rl0 X.X.X.X/32 port 21 - 10.1.1.6 port 21 tcp

where X.X.X.X is my external IP, rl0 my external interface and 10.1.1.6 the 
ftp server. I am able to login and when I do the dir command its freeze. I 
have do tcpdump and I see the SYN packet goes but its never get answer. I 
really need help/advise
Thank you and please CC me the answer because im not in the list
Eric

_
Take advantage of powerful junk e-mail filters built on patented MicrosoftR 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSNR Premium right now and get the 
first two months FREE*.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Hello,

This setup is only working with active ftp connections..
It's freezing at dir command because it's trying to do a passive connection

You would need to setup the ftp server for serve passive connections and
ipnat to redirect in a range of ports

something like:

PassivePortRange 5000 5010- ftpd config


rdr rl0 X.X.X.X/32 port 5000 - 10.1.1.6 port 5000 tcp
rdr rl0 X.X.X.X/32 port 5001 - 10.1.1.6 port 5001 tcp
rdr rl0 X.X.X.X/32 port 500x - 10.1.1.6 port 500x tcp

Or use only active ftp connections..

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 64bit Cpu

2005-01-30 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bikrant Neupane
Sent: Monday, January 31, 2005 12:41 AM
To: freebsd-questions@freebsd.org
Subject: 64bit Cpu

Hi 

I have Dell SC1420 with Intel Xeon em64T processor.
Any idea which is the best OS for this system??
I first installed FreeBSD 4.10 but that's for 32 bit. Now I am trying to 
install 5.3 but the system doesn't boot from the CD :(

I have been using 4.10 for more than years (in other 32 bit cpu) and it is 
very stable. But I don't know how good 5.3 is for the server environment. 

Any idea??

regards,
Bikrant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello,


What I heard is that FreeBSD/amd-64 runs fine on EM64T processors.

http://www.freebsd.org/platforms/amd64.html


Best regards,
Andras Kende
http://www.kende.com







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ipf rules for ftp server

2005-01-25 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dick hoogendijk
Sent: Tuesday, January 25, 2005 2:39 PM
To: freebsd-questions@freebsd.org
Subject: ipf rules for ftp server

I read the handbook and googled, but am still confused on the right
rules for my FTP server.

I use ipf. My ftp section in /etc/ipf.rules now is:

# FTP server out
pass out quick on rl0 proto tcp from any to any port = 21 flags S keep
state
pass out quick on rl0 proto tcp from any to any port  1024 flags S keep
state
# Allow in FTP from the Internet
pass in quick on rl0 proto tcp from any to any port = 21 flags S keep
state
pass in quick on rl0 proto tcp from any to any port = 20 flags S keep
state
## end

I don't feel these are right. But maybe they are. Can somebody give me
advice on this?

The ftp server needs to be up-and-running asap; my children want to
update there webpages ;-)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello,

Something like this would work:

pass in quick on rl0 proto tcp from any to any port 5  51000 flags S
keep state #PASV FTP

pass in quick on rl0 proto tcp from any to any port = 21 #FTP ACTIVE


Also if you need passive ftp working you'll need to specify the passive port
range in ftp server config.(pure-ftpd.conf: PassivePortRange = 5 51000)


Best regards,

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: samba printing

2005-01-23 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mikko Heiskanen
Sent: Sunday, January 23, 2005 12:34 PM
To: [EMAIL PROTECTED]
Subject: samba printing

Hi list,

I'm having hard time getting printing working from samba winXP client to
a printer parallelport connected to my FreeBSD-4.10-release box.
I have a HP Laserjet 1200 -printer, and am using LPD and apsfilter with
postscript driver as suggested by linuxprinting.org.

Everything works real well under BSD, but I am unable to get any output
to printer from the Windows box.

I have gathered different bits and pieces from around the net and
manuals, and have come up with the following:

/etc/printcap:
lp|PS;r=1200x1200;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
raw|hp|HP LaserJet 1200:\
:lp=/dev/lpt0:\
:sd=/var/spool/raw:\
:lf=/var/spool/raw/log:\
:af=/var/spool/raw/acct:\
:mx#0:\
:sf:\
:sh:

$ ls -ld /var/spool/lpd/lp
drwxr-xr-x  2 root  daemon  512 Jan 23 19:59 /var/spool/lpd/lp
$ ls -ld /var/spool/raw/  
drwxr-xr-x  2 root  wheel  512 Jan 23 19:57 /var/spool/raw/

/usr/local/etc/smb.conf:
[global]
hosts allow 10.0.0.
security = user
encrypt passwords = yes
socket options = TCP_NODELAY 
client code page=850
wins support = yes
printing = bsd
printcap name = /etc/printcap
[lp]
comment = Laserjet 1200
path = /var/spool/samba
printer name = raw
public = yes
writeable = no
printable = yes

$ ls -ld /var/spool/samba/
drwxrwxrwt  2 root  wheel  512 Jan 23 20:03 /var/spool/samba/

In the Windows box, I've added a local printer with the Add new printer
wizard pointing it to lpt1-port. After that, I have opened a command
prompt, and typed net use lpt1: \\10.0.0.1\lp.

I have filesharing also in samba, and that works without problems.

My windows username and password are same as samba username and
password.

However, as said, nothing gets printed. No files are in the
spooldirectories. I do not know how to proceed, and would love some
guidance. Thanks,
Mikko

ps. would hate to have to put it into windows box, as printer supports
PS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Hello,


Looks like the spool directories are different in /etc/printcap and
in smb.conf:

sd=/var/spool/raw:

path = /var/spool/samba

Try to set to the same path, also make sure windows user has
Enough privileges to write to spool directory...

Best regards,

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: samba printing

2005-01-23 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mikko Heiskanen
Sent: Sunday, January 23, 2005 4:44 PM
To: [EMAIL PROTECTED]
Subject: RE: samba printing

On Sun, 2005-01-23 at 23:06, Andras Kende wrote:
 Hello,
 
 
 Looks like the spool directories are different in /etc/printcap and
 in smb.conf:
 
 sd=/var/spool/raw:
 
 path = /var/spool/samba
 
 Try to set to the same path, also make sure windows user has
 Enough privileges to write to spool directory...
 
 Best regards,
 
 Andras Kende

Hi,
Appreciate the answer, but to my understanding, the two spool
directories need to be separate. From the samba documentation:

Successful printing from a Windows client via a Samba print server to a
UNIX printer involves six (potentially seven) stages:
3.Windows sends a copy of the print file over the network into Samba's
spooling area.
5. Samba invokes the print command to hand the file over to the UNIX
print subsystem's spooling area.

I am naturally with admin priviledges on windows side.
I am though almost certain it is some little configuration err.
As always.

Mikko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello,


Sorry for the definitely wrong answer... my mistake !!

Here is also a nice samba print howto maybe you can find something:
http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection
-3.0-PrintingChapter-11th-draft.html

Best regards,
Andras Kende
http://www.kende.com







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote hardware identification

2005-01-12 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Aslat
Sent: Wednesday, January 12, 2005 8:56 PM
To: freebsd-questions@FreeBSD.ORG
Subject: Remote hardware identification

Hi All,

I have a remote server which I inherited which I have no real
specifications for except the basic dmesg output.  This machine needs
more RAM and rather than buying 5 sticks of varying types for the job,
is there some way to identify the type of ram needed?  All I know is
that it's a P4 class machine with DDR ram, I'm just not sure of the
speed.  Or is it possible to mix'n'match the ram speeds?

Thinks in advance

Tim


-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Dear Tim,

I would get a brand name DDR400 PC3200 since its backward compatible with
lower speeds (PC2100 PC2700), unless it's more highend server motherboard
with ECC or Registered memory...

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Mrtg question

2005-01-11 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn Guillemette
Sent: Tuesday, January 11, 2005 8:40 AM
To: [EMAIL PROTECTED]
Subject: Mrtg question

Im using net-snmp-5.2.1 with mrtg on a Alpha CPU.

I want to monitor my memorry usage. However when I add the following to 
the mrtg.cfg file I find that SNMPD shuts down and I get these errors in 
the logs.


I add this to mrtg.cfg




LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt


### Memmory

Target[freemem]:.1.3.6.1.4.1.2021.4.11.0.1.3.6.1.4.1.2021.4.11.0:[EMAIL 
PROTECTED]
alhost
Options[freemem]: nopercent,growright,gauge,noinfo
Title[freemem]: Free Memory
PageTop[freemem]: H1 Free Memory /H1
MaxBytes[freemem]: 100
kMG[freemem]: k,M,G,T,P,X
YLegend[freemem]: bytes
ShortLegend[freemem]: bytes
LegendI[freemem]:  Free Memory:
LegendO[freemem]:
Legend1[freemem]: Free memory, not including swap, in bytes





I get this in the snmpd.log file


kvm_openfiles: Permission denied
kvm_openfiles: /dev/mem: Permission denied


I do see the file in /dev/mem


ls -la mem
crw-r-  1 root  kmem2,   0 Jan  6 17:45 mem

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello Shawn,

Try these OID:

ucd/net - Memory - Buffers:
.1.3.6.1.4.1.2021.4.14.0

ucd/net - Memory - Cache:
.1.3.6.1.4.1.2021.4.15.0

ucd/net - Memory - Free:
.1.3.6.1.4.1.2021.4.6.0

http://www.kende.com/cacti/graph.php?local_graph_id=14rra_id=all


Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Router setup with FreeBSD 5.3

2005-01-06 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Madden
Sent: Thursday, January 06, 2005 6:45 PM
To: freebsd-questions@freebsd.org
Subject: Router setup with FreeBSD 5.3

Does anyone have documentation and/or a
tutorial for setting a router with FreeBSD
5.3?  I want to share a broadband connection
with 5-10 Windows/Linux/FreeBSD boxes.  I
assume I'll need to setup the two interfaces,
gatewaying, and some type of firewall...

Thanks,
Mike

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Hello,

Here is one:
http://bsdguides.org/guides/freebsd/networking/ipfilter.php




Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ipfw question (FreeBSD 4.11)

2005-01-03 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerard Meijer
Sent: Monday, January 03, 2005 12:29 PM
To: freebsd-questions@freebsd.org
Subject: ipfw question (FreeBSD 4.11)

I run apache webserver on my server with FreeBSD 4.11

I have a question about ipfw. I have the following rules in my
/etc/ipfw.conf:

$cmd 00200 allow tcp from any to any 80 out via $pif setup keep-state
$cmd 00400 allow tcp from any to any 80 in via $pif setup keep-state

(with $pif being my NIC) Now, everything works fine for me, but I get a lot
(and I mean a lot) of these kind of messages in my log:

[Date] [time] [host] /kernel: ipfw: 299 Deny TCP a.b.c.d:80 e.f.g.h:4472 out
via em0
[Date] [time] [host] /kernel: ipfw: 499 Deny TCP e.f.g.h:1882 a.b.c.d:80 in
via em0

(with a.b.c.d being my ip and e.f.g.h being somebody elses ip).

I guess these people are not surfing through port 80??? Correct me if I'm
wrong. How can I change ipfw's rules so that these people aren't blocked
anymore?

Thanks in advance!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello,

Im not 100% sure, but if I remember correctly you need to put established
before the webserver rule :

# Allow TCP through if setup succeeded:
${fwcmd} add pass tcp from any to any established

# Allow setup of incoming http:
${fwcmd} add pass tcp from any to any 80 setup




[Cc][Ll][Ii][Ee][Nn][Tt])

# This is a prototype setup that will protect your system somewhat
# against people from outside your own network.


# set these to your network and netmask and ip
ip=aaa.bbb.ccc.ddd

setup_loopback

# Allow TCP through if setup succeeded
${fwcmd} add pass tcp from any to any established

# Allow IP fragments to pass through
${fwcmd} add pass all from any to any frag

# Allow setup of incoming services
${fwcmd} add pass tcp from any to ${ip}
21,22,25,53,80,110,143,443,993,1 setup

# Allow setup of PASV FTP
${fwcmd} add pass tcp from any to ${ip} 10001-10100 setup

# Allow setup of outgoing TCP connections only
${fwcmd} add pass log tcp from ${ip} to any setup

# Disallow setup of all other TCP connections
${fwcmd} add deny log tcp from any to any setup

# Allow DNS queries
${fwcmd} add pass udp from any to any 53
${fwcmd} add pass udp from any 53 to any

# Allow NTP
${fwcmd} add pass udp from any to any 123

#ICMP
${fwcmd} add pass log icmp from any to any icmptypes 3,4,11,12

# Everything else is denied by default, unless the
# IPFIREWALL_DEFAULT_TO_ACCEPT option is set in your kernel
# config file.
;;


Best regards,

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 5.3-STABLE crashes on Dell PowerEdge 2850

2004-12-28 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christian R.
Sent: Tuesday, December 28, 2004 5:47 PM
To: freebsd-questions@freebsd.org
Subject: FreeBSD 5.3-STABLE crashes on Dell PowerEdge 2850

I have installed FreeBSD 5.3-STABLE i386 on a new Dell PowerEdge 2850,
but it crashes under load. I can't figure why. Has anyone succeeded
running FreeBSD 5.3 on this hardware?

Following is the output from console made by two random crashes.

Crash #1:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id  = 00
fault virtual address   = 0x24
fault code  = supervisor read, page not present
instruction pointer =   0x8:0xc039733e
stack pointer   = 0x10:0xee15dc44
frame pointer   =   0x10:0xee15dc6c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 122 (pagedaemon)
trap number = 12
panic: page fault
cpuid = 0
boot() called on cpu#0
Uptime: 4m58s
Cannot dump. No dump device definded.
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
cpu_reset called on cpu#0
cpu_reset: Stopping other CPUs
spin lock sched lock held by 0xc8b97190 for  5 seconds

Crash #2:

fault virtual address   = 0x24
fault code  = supervisor read, page not present
instruction pointer = 0x8:xc3555da
stack pointer   = 0x10:0xf08adaa4
frame pointer   = 0x10:0xf08adacc
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 610 (sshd)
trap number = 12
panic: page fault
cpuid = 1

Fatal double fault:
eip = 0xc032674a
esp = 0xec564ff8
ebp = 0xec565010
cpuid = 2; apic id = 06

Fatal double fault:
eip = 0xc032674a
esp = 0xee46eff4
ebp = 0xee46f00c
cpuid = 3; apic id = 07
spin lock sched lock held by 0xc8ad97d0 for  5 seconds


Running for example make buildworld or rsync could make the server
crash, but it doesn't seems to crash, when it runs the distributed.net
client (100% CPU load), so I don't think it is a overheating problem.

The server has following configuration: 2x Intel Xeon 3.4 GHz (800 MHz
FSB), 6x 1 GB DDR2 ECC RAM and Perc 4e/Di (LSI Logic/amr driver).

I have compiled the kernel with SMP of course and PAE because of 4 GB
memory. I have removed all the unnecessary devices.

I have been running memtest (http://www.memtest.org/) without any
errors.

Would it maybe be better to run the AMD64 version of FreeBSD 5.3? I
think the i386 version should be more stable?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




I think this could be a ACPI problem 
I had similar errors with P4 HTT cpu on intel 865 desktop board but was
working perfectly on asus 875..

Did you try without ACPI ??


Best regards,

Andras Kende
http://www.kende.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DNS TTL problem

2004-12-22 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Frasa
Sent: Wednesday, December 22, 2004 5:48 AM
To: freebsd-questions@freebsd.org
Subject: DNS TTL problem

Hello,

I am using a djbdns DNS server which operates almost perfect.

There is 1 small problem, i have for my domain frasa.net 2 namservers:

frasa.net.  3600IN  NS  ns1.frasa.net.
frasa.net.  3600IN  NS  ns2.frasa.net.

This is when i resolve directly on ns1.frasa.net or ns2.frasa.net

When I resolve on my ISP's nameserver and serveral others:

frasa.net.  172800  IN  NS  ns1.frasa.net.
frasa.net.  172800  IN  NS  ns2.frasa.net.

The problem is that this is a TTL of 2 days. When i Trace the dig, is see
that
the root servers are providing the 2 days TTL:

;; Received 512 bytes from 198.32.64.12#53(l.root-servers.net) in 169 ms

frasa.net.  172800  IN  NS  ns1.frasa.net.
frasa.net.  172800  IN  NS  ns2.frasa.net.
;; Received 95 bytes from 192.42.93.30#53(G.GTLD-SERVERS.net) in 154 ms

Can anyone explain this behaviour?

Cheers Mark.
_
This mail sent using V-webmail - http://www.v-webmail.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello Mark,

This is absolutely normal... The 172800 is the parent servers
(G.GTLD-SERVERS.net) for your NS records which is default... while 3600 is
at your nameserver.

Take a look here:
http://www.dnsstuff.com/tools/dnstime.ch?name=frasa.nettype=A
http://www.dnsreport.com/tools/dnsreport.ch?domain=frasa.net

Try dnsreport.com with some other domains you will see...


Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: problem with IPFILTER

2004-12-22 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dott. Surricani
Sent: Wednesday, December 22, 2004 10:42 AM
To: [EMAIL PROTECTED]
Subject: problem with IPFILTER

Hello everybody.

I've succesfully set up an Inclusive Firewall for my small Lan, how
explained in Chapter 24 of the Handbook,
with IPFILTER and ipnat (Either with kld modules).
I've included in rc.conf the lines neeeded and i've written custom
ipf.rules and ipnat.rules...

It's super, and work great, but I've got a problem/question:

each time I restart the server the rules are cleared and It leave all
packets enter and exit
an I have to type in the shell

ipf -Fa -f /etc/ipf.rules and
ipnat -CF -f /etc/ipnat.rules

It's very boring

What I can do to automate this task?


Thanks all very much
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello 

/etc/rc.conf :

#Enable routing packets between interfaces
gateway_enable=YES
#Bring up the ipfilter software
ipfilter_enable=YES
#Tell ipfilter where to get its rules
ipfilter_rules=/etc/ipf.rules
#Enable ipnat
ipnat_enable=YES
#Tell ipnat where to get its rules
ipnat_rules=/etc/ipnat.rules


Best regards,

Andras Kende
http://www.kende.com



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: phpMyAdmin 2.6.1-rc1 cant create database

2004-12-21 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Noah
Sent: Tuesday, December 21, 2004 12:31 AM
To: [EMAIL PROTECTED]
Subject: phpMyAdmin 2.6.1-rc1 cant create database



phpMyAdmin 2.6.1-rc1
freeBSD-4.9

phpMyAdmin claims that there are no priviledges to create a database even as
root.  how do I fix this?

cheers,

Noah

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello Noah,

That's probably more like a mysql privilege problem...
Welcome to phpMyAdmin 2.6.1-rc1  MySQL 4.0.22 running on localhost as
[EMAIL PROTECTED], tested to create new db works fine here...

Do you have something like this in your privileges:

phpMyAdmin - Home - Privileges  :

root localhost Yes ALL PRIVILEGES  Yes




Best regards,

Andras Kende
http://www.kende.com




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: [OT] rrdtool examples

2004-12-21 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jorn Argelo
Sent: Tuesday, December 21, 2004 5:18 AM
To: [EMAIL PROTECTED]
Subject: [OT] rrdtool examples

Hi all,

I've been playing around with rrdtool for quite a while, but I still don't 
really get it. I've been trying to find some example scripts for rrdtool,
but 
I really can't find much of them. I have found Erik de Mare's perl scripts 
already. However, the author does not reply to his mail, and only a few of 
his scripts work. Unfortunately I don't have any perl knowledge, so I cannot

fix them myself.

So my question is, do you guys know where I can find some other RRDtool 
example scripts? Preferably something involving with CPU load, apache stats 
and MySQL stats. All examples are welcome though :)

Thanks alot,

Jorn.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]






Hello Jorn,

You may want to look into Cacti /usr/ports/net/cacti www.cacti.net ,
which is a frontend to rrdtool...

It has all what you need:
http://www.kende.com/cacti/graph_view.php?action=treetree_id=1



Best regards,

Andras Kende
http://www.kende.com




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: VPN poptop

2004-08-31 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of lycanthrope
Sent: Tuesday, August 31, 2004 8:02 AM
To: [EMAIL PROTECTED]
Subject: VPN poptop

Hello!

I'm using pptpd (PoPToP) on my server to enable clients on LAN to access
internet (DSL connected to ethernet card on server). That works perfectly.
Users dial VPN to the server,log in and can surf freely.
Now, I would like to enable internet users to access LAN resources. Server
has a registered DNS name, and is pingable from the internet. Simple VPN
connection doesnt work-internet clients connect to server,but can not access
(ping) LAN users.
This is pptpd configuration:

/usr/local/etc/pptpd.conf:

option /etc/ppp/ppp.conf
localip 172.16.99.1
remoteip 172.16.99.15-113
pidfile /var/run/pptpd.pid

-
/etc/ppp/ppp.conf

papchap:
set device PPPoE:ed0
set speed sync
set mru 1492
set mtu 1492
set ctsrts off

enable lqr

set log phase tun

add default HISADDR
enable dns

set authname [EMAIL PROTECTED]
set authkey KR24N8DE


pptp:
 set timeout 0
 set log phase chat connect lcp ipcp
 set dial
 set login
 set ifaddr 172.16.99.1 172.16.99.15-172.16.99.113 255.255.255.0
 set server /tmp/loop  0177
 enable chap
 disable pap
 enable proxy
 accept dns
 set dns 195.29.150.3 195.29.150.4
 set device !/etc/ppp/secure




papchap section of ppp.conf is DSL dialing portion, and pptp is the VPN
part.

So, how to enable internet users to access server LAN via VPN, and keep LAN
users's capability to access internet via VPN?

Thank You VERY much!

Regards, Marin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Hello,

Can the Internet VPN clients ping the LAN resources by IP address?
If yes then need to use a WINS server...



Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Config freebsd as getway

2004-08-18 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of lily
Sent: Tuesday, August 17, 2004 9:34 PM
To: [EMAIL PROTECTED]
Subject: Config freebsd as getway

Dear all:

I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES   in rc.conf,and then reboot.
[a pc][freebsd]---[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and b
pc can ping freebsd successful,why?
Please give me a hand.
Thanks!!

LILY
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



LILY,

There is a very easy guide:
http://bsdguides.org/guides/freebsd/networking/ipfilter.php



Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Intel PRO/1000 and Intel 865 PE, FreeBSD 5.2.1

2004-08-18 Thread Andras Kende

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ighor
Sent: Wednesday, August 18, 2004 4:18 AM
To: [EMAIL PROTECTED]
Subject: Intel PRO/1000 and Intel 865 PE, FreeBSD 5.2.1

Good day!

Sorry about my stupid questions, but i can't resolve my problem by
myself. I've read a lot of pages and FAQs but can't do this:

I have Intel PRO/1000 Network Card on Albatron motherb PX865PE ProII
oard with Inter 82865PE chipset.

After boot network card doesn't work. I think it's something with
interrupts. It only works when I disable ACPI in device.hints. The the
card uses IRQ18 and all is ok.

I've shitched resources in BIOS in thousands combinations - it's all
the same.

I need ACPI for HT pseudo-dual processing.

There are two logs attached - with ACPI and without

Thank you if you can help me.

-- 
With Best regards/wishes
 Ighor

 mailto:[EMAIL PROTECTED]
 ICQ 65975280, phone +7-916-7219187



Hello Ighor,

I had an Intel 865PERL Board + P4 3.0 800 HTT CPU
5.2.1 always crashed because some ACPI compatibility problem...

I upgraded to a 5.2 Current which solved the ACPI issues.

Replaced that board to a ASUS p4c800-e deluxe which never had any problem
since..

Try firmware upgrade on the motherboard or try test with Current



Best regards,

Andras Kende
http://www.kende.com






___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ProFTPd: 229 Entering Extended Passive Mode

2004-08-16 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Dalton
Sent: Monday, August 16, 2004 4:05 PM
To: [EMAIL PROTECTED]
Subject: Re: ProFTPd: 229 Entering Extended Passive Mode

As a follow-up, this happens even if I replace ProFTPd with the built-in
ftpd 
via inetd.  How do I eliminate this delay?

Cheers!
-- 
Aaron Dalton
http://aaron.daltons.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]






Aaron,



Is there a firewall running on that system or between server and client?



Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to start clean install again?

2004-08-16 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jay O'Brien
Sent: Monday, August 16, 2004 8:21 PM
To: FreeBSD - questions
Subject: How to start clean install again?

What's the best way to erase an installation of FreeBSD 
completely from a HD and start over? I'm installing 4.10 
from am ISO CD, and it installs fine. However, I would 
like to start over from scratch and it remembers some 
of what was on the HD from the last install. If I were 
in Windows/DOS I would just format C: but that doesn't 
seem to be an option here.

Jay O'Brien
Rio Linda, CA  USA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]






Jay,


Boot from CD as usual at 
When displaying the hard disk with FreeBSD slice click on Delete key...
Then just recreate the partition as before...

Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ProFTPd: 229 Entering Extended Passive Mode

2004-08-16 Thread Andras Kende


-Original Message-
From: Aaron Dalton [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 16, 2004 8:56 PM
To: Andras Kende
Cc: [EMAIL PROTECTED]
Subject: Re: ProFTPd: 229 Entering Extended Passive Mode

On August 16, 2004 07:24 pm, Andras Kende wrote:
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Dalton
 Sent: Monday, August 16, 2004 4:05 PM
 To: [EMAIL PROTECTED]
 Subject: Re: ProFTPd: 229 Entering Extended Passive Mode

Is there a firewall running on that system or between server and client?

There is indeed and I finally found an article that speaks about it.  The 
solution was for me to manually enter the passive command before 
transferring.  This is odd seeing as it says it's entering some form of 
passive mode, but it's really not.  What's even more odd is that for me to 
make Konqueror work with this server, I had to go to KControl and turn PASV 
ftp mode OFF!  Go figure.  Anyway, it seems to work now.

Cheers!
-- 
Aaron Dalton
http://aaron.daltons.ca




Aaron,

You could do it like:

Proftpd.conf:
PassivePorts 1 10100

And open ports 1-10100 on the firewall config..

This way both passive and active client could connect..

http://slacksite.com/other/ftp.html
http://slacksite.com/other/ftp-appendix1.html




Best regards,

Andras Kende
http://www.kende.com








___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote backup hosting setup?

2004-08-03 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Crist
Sent: Tuesday, August 03, 2004 6:56 PM
To: [EMAIL PROTECTED]
Subject: Remote backup hosting setup?

Hello list,

I was recently contacted by a lawfirm that needs a remote backup
solution to help bring their insurance rates down.  I've decided to go
ahead and do this, as their needs are not that great.

What I'm asking, is how best to setup this situation.  I've never played
with jails or anything, but I'm not sure if I really need to go that
far.  I'm considering building a server that has ssh and sftp access.
The plan is to allow them to upload at their pace, and provide next-day
DVD/CD copies of their entire directory structure.

Any advice on how to go about this?

Thanks!

Eric F Crist

Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Hello,

Maybe something like this? :
http://www.bsdnews.org/02/rsync_windows.php



Best regards,

Andras Kende
http://www.kende.com




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: no subject (file transmission)

2004-07-24 Thread Andras Kende

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Chan
Sent: Saturday, July 24, 2004 2:09 PM
To: [EMAIL PROTECTED]
Subject: no subject (file transmission)

1.  I  am running  freeBSd ssd 5.2.1 on ~ntel
motherboard (D865GBL)  with a intel 3.2 GHZ
pentium 4  cpu (BX80546GP320).
Intel tells  me that the motherboard follows
Intel MP specification version 1.4.
The rerelease notes in HARDWARWE.TXT on
the installation  cdrom says the kernel
automatically detects hperthreading capability
and enables option smp.
When I logon, I  have  the  option of enabling
or disabling acpi.

There is no  way I can get the system to function
in a hyperthreading mode.  I can only operate
the computer by disabling hyperthreading on
the BIOS and by not enabling acpi when I logon.

This  seems paradoxical since the literature says
that freeBSD 5.2.1 supports hyperthreading,
since I have all the  appropriate hardware,
and since I am enabling the proper option
during logon.

Do you have a solution?

2. My full email address is
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello,

I had some grief with the similar Intel 865 Perl board 
with p4 3.0 prescott cpu...

I used 5.2.1, hyperthreading mode was working 
but if ACPI was enabled the system just crash at reboot..

Workaround was to disable acpi or upgrade to 5.2 current...

Luckily I could replace this motherboard to an ASUS P4C800-E Deluxe


Andras


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Apache log rotation problems

2004-07-08 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham North
Sent: Thursday, July 08, 2004 9:32 PM
To: [EMAIL PROTECTED]; Matthew Seaman
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Matthew Seaman
Subject: Apache log rotation problems

Hello all:

There has to be a simple fix to this problem - I am using newsyslog and cron
to rotate my Apache logfiles.They get rotated and Apache keeps working
however after a log rotation takes place Apache will not longer log my
accesses.   It does continue to serve pages but I need to do an apachectl
restart in order for it to continue logging properly.

newsyslog.conf and crontab files are attached for reference.

Any help and suggestions greatly appreciated.
Regards,  Graham/


Hello,

Try something like this:

newsyslog.conf:
/var/log/httpd-access.log  644  2   *   @T00   B   /var/run/httpd.pid 30


More info:
http://www.freebsddiary.org/rotatelogs.php


Best regards,

Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Postnuke install probs - any advice appreciated.

2004-07-04 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham Bentley
Sent: Sunday, July 04, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: Postnuke install probs - any advice appreciated.

Hello All,

I have 5.2.1 freshly installed and updated / built.

I have installed Postnuke (Rogue) using the ports system.
I have a running Apache which displays a PHP test page fine.
I have a running MySQL server in which I have created a root 
password for both localhost and the host/domain.

I have created a database called rogue and a user called rogue 
and a password for rogue.

I have imported the Rogue.sql schema e.g. 
3bsd# mysql -u rogue -p rogue  /usr/local/www/data-dist/postnuke
/sql/rogue.sql

When I come to run webconfig install.php I only get so far and then 
get a blank page. I enter language, the database name and user and 
password. I click proceed and what comes up next is a mostly blank 
page with red text the words No database made

If I tick the option to create the database I get a completely blank page.
I have also noticed that if I leave all these fields balnk I get exactly the

same results.

Here is a sample from my httpd-error log :-

[error] PHP Warning: main(pnadodb/adodb.inc.php): failed to open stream: 
Permission denied in /usr/local/www/data-dist/postnuke/html/install.php 
on line 48

[error] PHP Fatal error: main(): Failed opening required
'pnadodb/adodb.inc.php' (include_path='.:/usr/local/share/pear') in
/usr/local/www/data-dist/postnuke/
html/install.php on line 48

--- snip from install.php ---

48  require_once (pnadodb/adodb.inc.php);

--- snip ---

[error] PHP Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/
www/data-dist/postnuke/html/install/newinstall.php on line 36

--- snip from newinstall.php  

30   *** This function creates the DB on new installs ***
31function make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix,
$dbtype, 
$dbmake)
32   {
33global $dbconn;
34echo centerbrbr;
35if ($dbmake) {
36mysql_pconnect($dbhost, $dbuname, $dbpass);

--- snip ---

[notice] Apache/1.3.31 (Unix) PHP/4.3.7 configured -- resuming normal
operations
[notice] Accept mutex: flock (Default: flock)
[error] PHP Fatal error: Call to undefined function: mysql_connect() in
/usr/local/www/
data-dist/postnuke/html/pnadodb/drivers/adodb-mysql.inc.php on line 108

--- snip from adodb-mysql.inc.php ---

108 $this-_connectionID = mysql_connect($argHostname,$argUsername,
$argPassword);

--- snip ---

[error] PHP Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/www/
data-dist/postnuke/html/install/newinstall.php on line 36

Wondering if calls to the database server are being denied or the DB server
is just 
unavailable for some reason.

Any help really appreciated.

Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]






Hello,

On the phpinfo(); test page do you see the MySQL Support enabled ??

PHP Fatal error: Call to undefined function: mysql_connect()



Andras Kende
http://kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: web serving

2004-06-14 Thread Andras Kende
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Goodleaf, John
Sent: Monday, June 14, 2004 11:22 AM
To: [EMAIL PROTECTED]
Subject: OT: web serving


   Please reply to [EMAIL PROTECTED]
   So I have a FreeBSD server at home serving some web pages, mostly web
   mail (Apache). It's running on a DSL line behind a gateway that
   forwards port 80 requests to it. Now here's the problem. I need to
   serve also from an IIS .NET server (it's for my girlfriend; don't bug
   me). So my question: How do I serve some things from the IIS server
   and some from the BSD server?  Do I set up some kind of proxying?
   I'm sure there are three hundred solutions, but this is not something
   I've ever had to learn about. I'm willing to RTFM; I just want to be
   pointed in the right direction.
   Thanks,
   John
 _

   This e-mail message is for the sole use of the intended recipient(s)
   and may contain confidential and privileged information. Any
   unauthorized review, use, disclosure or distribution is prohibited. If
   you are not the intended recipient, please contact the sender by reply
   e-mail and destroy all copies of the original message.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hello,

You could probably do something like:

Forward port 80 to freebsd apache and set 
A proxy from there to the IIS at 192.168.1.50 

Location /iis/
ProxyPass http://192.168.1.50:80/
ProxyPassReverse http://192.168.1.50:80/
/Location

This would work like www.yourserver.com/iis

But probably you could put inside a virtualhost too if needed...

Here in detail:
http://www.zope.org/Members/regebro/Zope_and_Apache




Best regards,

Andras Kende
http://www.kende.com




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SNMP in FreeBSD

2004-05-25 Thread Andras Kende
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alper Yurdakul
Sent: Tuesday, May 25, 2004 8:41 AM
To: [EMAIL PROTECTED]
Subject: SNMP in FreeBSD

Hi,
How can I enable SNMP in FreeBSD 5.2.1 ?
I am trying to monitor bandwidth usage via MRTG but I always get SNMP
Error: no response received

Thanks in advance,
Alper
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Hello,

Here is a nice howto to configure Snmpd:
http://silverwraith.com/papers/freebsd-snmp.php





Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IPF/IPNat router/gateway

2004-05-23 Thread Andras Kende
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Zimmer
Sent: Sunday, May 23, 2004 7:08 PM
To: [EMAIL PROTECTED]
Subject: IPF/IPNat router/gateway


   Hello.  I apologize for asking a question which has been asked several
   dozen times before, but none of the prior-offered solutions seem to
   work.

   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for my
   network.  I've got a static IP range for the network, but can't get
   things running.  (...the local machines are all running Windows XP
   Pro)

   The local machines can connect to my ISP when they're plugged in to
   the uplink, whether individually or through a hub, and the freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is unable
   to ping the BSD box and vice versa.

   IPF is set to pass in/out quick all from any to any

   IPNat has the following rules set:

   map rl0 192.168.1.0/24 - x.x.x.254/32 portmap tcp/udp 1:4
   map rl0 192.168.1.0/24 - x.x.x.254/32

   IP of the BSD box is x.x.x.254, mask 255.255.255.224 on the external
   NIC
   IP of the BSD box is 192.168.1.1, mask 255.255.255.224 on the internal
   NIC

   the lone machine connected to it at the moment is set on
   IP 192.168.1.2,
   mask 255.255.255.224,
   gateway 192.168.1.1

   ...and rc.conf has gateway_enable, ipfilter_enable and ipnat_enable
   all set to YES

   thanks.
 _



Hello,

I used this great howto to get my ipfilter gateway going:
http://bsdguides.org/guides/freebsd/networking/ipfilter.php


however, a machine plugged into the BSD box 
is unable to ping the BSD box and vice versa.

When you connect a XP to the Freebsd you still using Hub right?
Or crossover cable?


Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd gateway: 3 networks - 3 nic

2004-05-14 Thread Andras Kende
Hello,

I have the following setup in a school:

Freebsd 5.2.1 with ipfilter ipnat.

Network card 1 = fxp0 fractional T1 line (512kb) 64.140.xxx.xxx static
public ip
Network card 2 = xl1 10.1.1.2 internal lan

/etc/rc.conf
ifconfig_fxp0=inet 64.140.xxx.xxx netmask 255.255.255.224
ifconfig_xl0=inet 10.1.1.2  netmask 255.255.255.0
defaultrouter=64.140. xxx.yyy

/etc/ipnat.conf
map fxp0 10.1.1.0/24 - 0.0.0.0/32 proxy port ftp ftp/tcp 
map fxp0 10.1.1.0/24 - 0.0.0.0/32 portmap tcp/udp 1025:65000
map fxp0 10.1.1.0/24 - 0.0.0.0/32

/etc/ipf.conf
pass out quick on fxp0 proto tcp all keep state
pass out quick on fxp0 proto udp all keep state
pass out quick on fxp0 proto icmp all keep state
pass in quick on fxp0 proto tcp from any to any port = 22
pass in quick on fxp0 proto tcp from any to any port = 25
pass in quick on fxp0 proto tcp from any to any port = 80
block in quick on fxp0 all


The problem is the fractional shadow T1 bandwidth is maxes out during
daytime usage...

I have a fast internet connection Comcast cable dhcp 3000Kb what I would
like to also use,
But need to keep the t1 too because its static ip needed for incoming mail
and web...

Any idea how this should done?

Maybe:
Install new nic with connection to Comcast cable modem..
ifconfig_newcard=DHCP
defaultrouter=??? and this will update automatically when the 


Thanks,

Andras Kende




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Apache 2 / PHP Installation

2004-05-14 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hunter
Sent: Friday, May 14, 2004 2:01 PM
To: [EMAIL PROTECTED]
Subject: Apache 2 / PHP Installation

Hi all,
I installed Apache 2 from the ports collection. Does apache2 come with 
php support? Probably not, but not sure. I want to install php on the 
system. I'm not sure what port I need to install?? All the pre recks.. 
are for 1.* versions of Apache. What's the deal?

Thanks so much,
Bruce
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Bruce,

Cvsup the latest ports tree...

cd /usr/ports/lang/php4 ; make install clean

add this 2 lines to /usr/loca/etc/apache2/httpd.conf :
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

/usr/local/etc/rc.d/apache2.sh stop
/usr/local/etc/rc.d/apache2.sh start

Create a php test file and see if its working



Andras Kende
http://www.kende.com




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Transfering Files

2004-05-13 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hunter
Sent: Thursday, May 13, 2004 9:12 PM
To: [EMAIL PROTECTED]
Subject: Transfering Files

I have two computer systems. 1 windows 2k system where I do web 
development work, specifically php development. The other system is a 
FBSD headless system that I control via ssh, from my windows system. The 
FBSD system is my local webserver where I do my testing before 
transfering to another server.

My question is this. What is the best way to get my files from my 
windows system over to the FBSD webserver. FTP? Samba? or someting else?
Also, I  want to make this webserver a file server wher I can save my 
downloads and mp3's. Not sure what which direction to go with these two 
tasks?

Thanks so much,
Bruce
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Bruce,

I assuming both system is local behind firewall.

I would install both samba and ftp server like pure_ftpd...

For fileserver: use samba for mp3's file's

Web dev test: you could share the apache document root folders too with
samba and copy the files there.

Or just upload with windows ftp client...


Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: maximum number of addresses/networks on 5.0-Release fxp driver?

2004-04-06 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Isaac Hopkins
Sent: Tuesday, April 06, 2004 11:31 AM
To: [EMAIL PROTECTED]
Subject: maximum number of addresses/networks on 5.0-Release fxp driver?

Hello All, I ran into a weird problem today, basically I can only have
four IP's on my fxp0 card if I try to add a fifth it's like it
overwrites the 1st address.  Any suggestions?  please cc:email  thanks

Isaac Hopkins
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hello Isaac,

This is rc.conf on my Freebsd 5.1 with Intel Nic Fxp driver:


ifconfig_fxp0=inet 11.22.33.94  netmask 255.255.255.0
ifconfig_fxp0_alias0=inet 11.22.33.95  netmask 0x
ifconfig_fxp0_alias1=inet 11.22.33.96  netmask 0x
ifconfig_fxp0_alias2=inet 11.22.33.97  netmask 0x
ifconfig_fxp0_alias3=inet 11.22.33.98  netmask 0x
ifconfig_fxp0_alias4=inet 11.22.33.99  netmask 0x


Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Internet gateway

2004-04-04 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jose Arnel Rimando
Sent: Sunday, April 04, 2004 4:57 PM
To: [EMAIL PROTECTED]
Subject: Internet gateway

Hello,

I just installed a freebsd stable on an old pentium. I want to ask if 
you guys have additional reading materials in deploying FreeBSD as an 
internet gateway. I am currently working on a project for a non-profit 
organization. Thank you very much for your time.


Jose Arnel Rimando  
Toronto, Canada
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



http://www.freebsddiary.org/ipfw.php
http://bsdguides.org/guides/freebsd/networking/ipfilter.php



Andras Kende
http://www.kende.com




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Apache2 crashing

2004-03-31 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nelis Lamprecht
Sent: Thursday, April 01, 2004 12:05 AM
To: FreeBSD Questions Mail List
Subject: Apache2 crashing

Hi,

After upgrading to Apache 2.0.49 and PHP4.3.5_7, Apache now crashes
every time I do a graceful restart or if I send it a kill 1. I first
noticed this last night after the upgrade during log rotation when I got
this error message:

[Thu Apr 01 00:00:20 2004] [notice] seg fault or similar nasty error
detected in the parent process

My guess is this is a PHP bug or a really bad April fools joke ;-)
Anybody else have the same problem ?

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.




Hi Nelis,

Same problem here, after php 4.3.5 upgrade apache 2.0.49 segfaulted after
logrotate script at night :( 

Couldn't find any solutions on google either:
http://www.google.com/search?sourceid=navclientie=UTF-8oe=UTF-8q=seg+faul
t+or+similar+nasty+error+detected+in+the+parent+process


Reconfigured php a few times with different extensions until it was working
(maybe without curl, but not sure...) http://www.kende.com/php.php


Andras Kende
http://www.kende.com/




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Remote Administration Problem

2004-03-26 Thread Andras Kende

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hamed Abangar
Sent: Friday, March 26, 2004 2:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Remote Administration Problem

Dear members
 
I'm new to this list and also  I'm new to FreeBSD environment .I'm network
administrator in an isp.Recently i have changed our Internet servers from
Linux to freebsd ( cache servers , dns servers , firewall , mail servers) .
Every things works well , but i have a problem.I can't control my servers
remotely.I have activated SSH and telnet but i can't login to my server with
root account from my home or every other where. Each time i want to check my
servers , i must go to my server's room and this is not good for a network
administrator , i didn't have this problem with Linux.
 
Any one can help me?
 
thanks 
Hamed Abangar


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Hamed,

You can't ssh into as root by default..

Create a new user in the wheel group...  
ssh as user then su to root

Or

/etc/ssh/sshd_config 
PermitRootlogin yes



Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SNMP FreeBSD as a router.

2004-03-26 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Viruena
Silva
Sent: Friday, March 26, 2004 8:00 AM
To: [EMAIL PROTECTED]
Subject: SNMP  FreeBSD as a router.


Hello, FreeBSD gurus!

I have a FreeBSD 5.2.1 box that I'm using as a
router and I would like to watch how its interfaces
are being used.

I would like to use MRTG in another FreeBSD box
to graph the use of the interfaces, but I do not
how to make my router an SNMP agent.

How do I do that?

Any pointers will be appreciated.

Thanks in advance.

Eduardo.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Eduardo,


cd /usr/ports/net/net-snmp 
make install clean
snmpconf -i
/etc/rc.conf : snmpd_enable=YES
/usr/local/etc/rc.d/snmpd.sh start


Andras Kende
http://www.kende.com



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problems using natd to access internal webserver

2003-11-25 Thread Andras Kende


I think it's your firewall's keep state is the problem.
Here is some examples which works great for me:


This is working example:

/etc/rc.conf
gateway_enable=YES
natd_enable=yes
natd_interface=fxp0
natd_flags=-f /etc/rc.natd
firewall_enable=YES
firewall_script=/etc/rc.firewall

/etc/rc.natd
redirect_port tcp 10.1.1.18:80 8000

/etc/rc.firewall
$fwcmd add allow log tcp from any to any 8000 setup

/ kernel
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPDIVERT


Best regards,

Andras Kende
http://www.kende.com




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clayton F
Sent: Tuesday, November 25, 2003 3:12 AM
To: [EMAIL PROTECTED]
Subject: Problems using natd to access internal webserver

I am having trouble using natd to redirect incoming http requests to an 
internal web server. My ISP blocks incoming port 80 (the dogs!), so the 
browser needs to send its request on an unprivileged port - I chose 
port 5500

So in my web browser I enter url http://www.mydomain.com:5500/

My rc.conf sets up the natd redirect as as follows:

natd_enable=YES
natd_interface=fxp0
natd_flags=-redirect_port tcp 192.168.1.99:80 5500

my firewall explicitly allows port 5500 entry as follows:

pass in quick on fxp0 proto tcp from any to any port = 5500 keep
state


But when I point my web browser at port 5500, I get the following: 
Could not open the page http://www.mydomain.com:5500/; because Safari 
couldn't connect to the server www.mydomain.com.


With tcpdump set to listen on port 5500 I get the following output:

01:06:19.345827 e-66-117-83-2.empnet.net.12488  
bc120155.bendcable.com.5500: S 3657164703:3657164703(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.345988 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.12488: R 0:0(0) ack 3657164704 win 0
01:06:19.390964 e-66-117-83-2.empnet.net.4458  
bc120155.bendcable.com.5500: S 2671871142:2671871142(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.391015 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.4458: R 0:0(0) ack 2671871143 win 0
01:06:19.434339 e-66-117-83-2.empnet.net.55900  
bc120155.bendcable.com.5500: S 2109062641:2109062641(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.434390 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.55900: R 0:0(0) ack 2109062642 win 0
01:06:19.479086 e-66-117-83-2.empnet.net.33048  
bc120155.bendcable.com.5500: S 1018302934:1018302934(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.479130 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.33048: R 0:0(0) ack 1018302935 win 0
01:06:19.522875 e-66-117-83-2.empnet.net.60586  
bc120155.bendcable.com.5500: S 26968154:26968154(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.523022 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.60586: R 0:0(0) ack 26968155 win 0
01:06:19.578958 e-66-117-83-2.empnet.net.57944  
bc120155.bendcable.com.5500: S 1035247753:1035247753(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.578993 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.57944: R 0:0(0) ack 1035247754 win 0
01:06:19.623151 e-66-117-83-2.empnet.net.57938  
bc120155.bendcable.com.5500: S 1144796038:1144796038(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916522 0 (DF)
01:06:19.623189 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.57938: R 0:0(0) ack 1144796039 win 0
01:06:19.666940 e-66-117-83-2.empnet.net.27714  
bc120155.bendcable.com.5500: S 347489487:347489487(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916523 0 (DF)
01:06:19.666985 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.27714: R 0:0(0) ack 347489488 win 0
01:06:19.709585 e-66-117-83-2.empnet.net.40754  
bc120155.bendcable.com.5500: S 1869973581:1869973581(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916523 0 (DF)
01:06:19.709612 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.40754: R 0:0(0) ack 1869973582 win 0
01:06:19.756122 e-66-117-83-2.empnet.net.18348  
bc120155.bendcable.com.5500: S 3628283803:3628283803(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916523 0 (DF)
01:06:19.756152 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.18348: R 0:0(0) ack 3628283804 win 0
01:06:19.804295 e-66-117-83-2.empnet.net.52446  
bc120155.bendcable.com.5500: S 3652608703:3652608703(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916523 0 (DF)
01:06:19.804377 bc120155.bendcable.com.5500  
e-66-117-83-2.empnet.net.52446: R 0:0(0) ack 3652608704 win 0
01:06:19.847865 e-66-117-83-2.empnet.net.18192  
bc120155.bendcable.com.5500: S 238075128:238075128(0) win 65535 mss 
1460,nop,wscale 0,nop,nop,timestamp 2239916523 0 (DF)
01:06:19.847897 bc120155

RE: Complicated ipfw/ipf forwarding.

2003-10-28 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lewis Thompson
Sent: Tuesday, October 28, 2003 8:36 AM
To: FreeBSD-questions
Subject: Complicated ipfw/ipf forwarding.

Hi,

I have a public IP address and a couple of machines sitting behind a
FreeBSD router doing NAT.  I'm using ipnat and ipf right now (although I
used to use natd/ipfw so I don't mind switching -- I started using
ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching
back to 4.9 now) and wondered if it was possible to do forwarding based
on DNS.

  For example Apache is clever enough to support virtual hosts based on
the address requested.  Is there any way at all to do this for
forwarding on the router?  For example if I had three CNAMES for the
same IP red, pink and blue.  Could I have red.foo.bar forwarded to
192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar
go to the local machine (i.e. the router)?

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


--

Im not 100% sure but:
If you want to forward traffic from 1 public ip to multiple internal http
servers on the same port to red, pink and blue
You could setup name based hosts at apache to do proxy redirect to the
inside http servers on the freebsd router firewall machine...

Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Dell 400SC

2003-08-14 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gregory Norman
Sent: Monday, August 11, 2003 10:10 PM
To: [EMAIL PROTECTED]
Subject: Dell 400SC


Hello all,

I am considering buying a Dell 400SC to install FreeBSD 4.8-Stable useing it
as a webserver and gateway. I notice that it is sold with a Red Hat
configuration options. I was wondering if anyone here have installed FreeBSD
on this machine. Any other thoughts/ideas about this machine as an entry
level server would be appreciated.

Thanks

Gregory Norman
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Gregory,

I using this Dell 400SC with 5.1 release, its works just fine...
Use it for: Web Content filtering server, PHP4.3, Apache2, MYSQL4, etc...
It has Intel 875 Chipset, Intel/1000 Network, ATI Pci graphics..
Its not a typical Server Hardware It has onboard sound :)) (can be used as
a good desktop too:))
But the low price is great.. It should be a good choice for entry level
server..


Andras Kende


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache2 with modssl from ports on 5.1.

2003-06-16 Thread Andras Kende
Hello,

I would like to configure apache2 with modssl from ports on 5.1.
Thanks for any info.

Andras


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]