ThinkPad can't se Ethernet PC Card

2005-04-28 Thread Kjell Midtseter
I am trying to install FreeBSD 5.4RC3 on my IBM ThinkPad iSeries, 
Type 2611 laptop.

Unfortunately my Kingston EtheRx IC PC Card is not detected.
When I boot a CD distribution like Knoppix, the card is detected as 
Kingston KNE-PC2
In the compatibility list the KNE-PC2 card is listed with the ed driver, 
but specifying  ifconfig_ed="inet 192.168. in rc.conf  does not help.

The following is fram my dmesg:
---
cbb0: <02Micro OZ6832/6833 PCI-CardBus Bridge> irq 9 at device 5.0 
on pci0
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0

cbb1: <02Micro OZ6832/6833 PCI-CardBus Bridge> irq 9 at device 5.1 
on pci0
cardbus1:  on cbb1
pccard1: <16-bit PCCard bus> on cbb1
.
plip0:  on ppbus0
..
unknown:  can't assign resources(memory)
unknown:  can't assign resources(port)
unknown:  can't assign resources(irq)
unknown:  can't assign resources(port)
unknown:  can't assign resources(port)
unknown:  can't assign resources(port)
.
pccard0: Card has no functions!
cbb0: PC Card card activation failed
-
Regards from Kjell

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


Re: daily security run output messages

2004-12-06 Thread Kjell Midtseter
On Sunday,  5 December 2004 at 11:33:23 -0500, Lowell Gilbert wrote:
> Kjell Midtseter <[EMAIL PROTECTED]> writes:
> 
> > List members!
> > 
> > My daily security run output contains lots of kernel log messages like the 
> > following:
> > > Connection attempt to UDP 10.0.0.10:1099 from 217.13.4.21:53
> > > Connection attempt to UDP 10.0.0.10:3204 from 193.75.75.193:53
> > --
> > What are the significanse of these messages?
> > 
> > My ipf firewall contains:
> > # domain name servers (dns)
> > pass in quick on rl0 proto udp from 217.13.4.21/32 to any port = 53 keep 
> > state
> > --
> > Should I make any changes to my firewall settings?
> 
> Looks like a NAT problem; is your 10.0.0.10 address supposed to be
> visible to the ISP's DNS server?

The ISP's DNS server should not be able to see my 10.0.0.10 address.
I am talking to my ISP through a Cisco 677i modem. The modem IP is 10.0.0.1
NATing can not be turned off (?) in the modem.
My R4.10 firewall talks to the modem using IP 10.0.0.10 and the firewall is 
doing NAT also.
My internal network is in the 192.168.1.nn range.

Regards from Kjell
> 
> -- 
> Lowell Gilbert, embedded/networking software engineer, Boston area
>   http://be-well.ilk.org/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


daily security run output messages

2004-12-02 Thread Kjell Midtseter
List members!

My daily security run output contains lots of kernel log messages like the 
following:
> Connection attempt to UDP 10.0.0.10:1099 from 217.13.4.21:53
> Connection attempt to UDP 10.0.0.10:3204 from 193.75.75.193:53
--
What are the significanse of these messages?

My ipf firewall contains:
# domain name servers (dns)
pass in quick on rl0 proto udp from 217.13.4.21/32 to any port = 53 keep state
--
Should I make any changes to my firewall settings?

Regards from Kjell

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


Re: PSK 31

2004-12-02 Thread Kjell Midtseter
On Thursday,  2 December 2004 at  8:07:00 -0800, Rem Roberti wrote:
> If there are any hams out there who have info on a good psk31 program 
> that will run on FreeBSD I would appreciate hearing about it.
>
You have comms/gmfsk
and comms/kpsk which runs under KDE
I have not tried kpsk

73s de LA3SG, Kjell

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


Re: will this update strategy work?

2004-11-19 Thread Kjell Midtseter
On Friday, 19 November 2004 at  1:03:55 -0800, Dino Vliet wrote:
> I have the following questions.
> 
> 1) Will this update strategy work?
> 2) Is the 1.6GB partition big enough for a basic
> FreeBSD 5.3 install?
This is the output of df -h after a recent basic 5.3R install:
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a124M 34M 79M30%/
/dev/ad0s1f 13G 40K 12G 0%/home
/dev/ad0s1e3.8G823M2.7G23%/usr
/dev/ad0s1d965M2.6M885M 0%/var
The ports and Linux comp are included, but no ports installed.
Kjell
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gimp help files

2004-11-18 Thread Kjell Midtseter
On Friday, 19 November 2004 at  0:09:44 -0700, Gary Aitken wrote:
> Hello all,
> 
> After installing gimp, I discovered the help files
> for the running program were not present.  Tried to
> add them using
>   make WITH_HTML_HELP_BROWSER=yes install
Maybe "make -DWITH_HTML_HELP_BROWSER install" works?
Kjell
> but they didn't show up.
> (I did a deinstall / clean but still no help)
> /usr/X11R6/share/gimp/help is never created.
> What am I missing?
> 
> Thanks for any hints,
> 
> Gary
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: postfix launch at system startup

2004-11-18 Thread Kjell Midtseter
On Thursday, 18 November 2004 at 10:08:51 -0600, Andrew L. Gould wrote:
> On Thursday 18 November 2004 09:46 am, Louis LeBlanc wrote:
> > On 11/18/04 03:31 PM, Kjell Midtseter sat at the `puter and typed:
> > > When I later went through a cvsup/portupgrade sequence, I had to
> > > answer "YES" to the question
> > > "Would you like to activate Postfix in /etc/mail/mailer.conf [n]?"
> > > If you answer "No" you will revert to sendmail.
> > >  Kjell
> >
> > I answered yes.  Always do.
> >
> > Lou
> 
> Answering yes results in changes /etc/mail/mailer.conf so that calls to 
> certain email executables will be mapped to postfix rather than 
> sendmail.  I am (fairly) certain that it does _not_ make the necessary 
> changes to ensure that:
> 
> 1) sendmail is not started at bootup
> 2) postfix is started at bootup
> 3) sendmail is not compiled during the next "make buildworld"

I agree. But according to this part that has been 'snipper out'
> At install, I specified postfix as the mta, and had it configured in
> /etc/mail/mailer.conf.  The /stand/sysinstall shell also added the
> following to /etc/rc.conf:
The three points should have been taken care of then
Kjell
 
> Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


acpi, apm and 5.3R

2004-11-18 Thread Kjell Midtseter
On my old 4.10 system I have set up the BIOS to turn the power on at 07:00, 
and this works fine ensuring that the system will come back on 
after a temporary mains failure when I am off on vacation.

No such luck om 5.3R 
When I enter a shutdown -p now command I am told
System halted.
Push any button to restart.

If I then stop the PC by pushing the Power Off button, 
the PC will not restart at 07:00 the next morning.

I have tried pulling the mains plug on a running system, 
then insering it again after a while:
It does not start at 07:00

I have experimented with disabling acpi, and compiling apm into my GENERIC 
kernel.

Thoughts appreciated
Kjell

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


Re: postfix launch at system startup

2004-11-18 Thread Kjell Midtseter
On Thursday, 18 November 2004 at  8:36:00 -0500, Louis LeBlanc wrote:
> On 11/17/04 09:47 PM, Andrew L. Gould sat at the `puter and typed:
> > On Wednesday 17 November 2004 08:36 pm, Louis LeBlanc wrote:
> > > Hey all.  I'm having a little trouble with postfix launch at startup
> > > in 5.3.
> > >
> > > At install, I specified postfix as the mta, and had it configured in
> > > /etc/mail/mailer.conf.  The /stand/sysinstall shell also added the
> > > following to /etc/rc.conf:
> > >
> > > sendmail_msp_queue_enable="NO"
> > > sendmail_outbound_enable="NO"
> > > sendmail_submit_enable="NO"
> > > sendmail_flags="-bd"
> > > sendmail_enable="YES"
> > 
> > This seems wrong, particularly the last line. Try:
> > 
> > sendmail_enable="NONE"
> > 
> > >
> > > I figured that would be the end of it.
> > >
> > > I can't find anything to indicate what should be done to make it
> > > start up at system boot.  Once the system is up, I simply execute
> > >
> > > postfix start
> > >
> > > as root and everything works as planned, but I wonder if I'm missing
> > > something?
> > >
> > > Anyone else have this problem?
> > >
> > > Thanks in advance
> > > Lou
> > 
> > Follow the instructions at the link below:
> > 
> > http://www.csua.berkeley.edu/~ranga/notes/freebsd_postfix.html
> > 
> > Best of luck,
> 
> Problem is this is for an "active" replacement - one where sendmail is
> already in place.  I did an installation replacement, where postfix
> was specified as the primary MTA during system install.
>
So did I
 
> And it just occurred to me that the install replacement might not
> disable building sendmail and installing it during a buildworld /
> installworld.
>
When I later went through a cvsup/portupgrade sequence, I had to
answer "YES" to the question 
"Would you like to activate Postfix in /etc/mail/mailer.conf [n]?"
If you answer "No" you will revert to sendmail.
 Kjekk

> I'll follow the directions there.
> 
> Thanks
> 
> Lou
> -- 
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org ԿԬ
> 
> boy, n:
>   A noise with dirt on it.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
>  ** CRM114 Whitelisted by: [EMAIL PROTECTED] **
>  
>  ** ACCEPT: CRM114 Whitelisted by: [EMAIL PROTECTED] **
>  
> 
> -=-Extra Stuff-=-
> 
>   From [EMAIL PROTECTED] Thu Nov 18 14:42:55 2004
> Received: from localhost (localhost.la3sg.net [IPv6:::1])
>   by tyven.la3sg.net (8.13.1/8.13.1) with ESMTP id iAIDgtic002974
>   for <[EMAIL PROTECTED]>; Thu, 18 Nov 2004 14:42:55 +0100 (CET)
>   (envelope-from [EMAIL PROTECTED])
> Received: from popc.c2i.net [212.247.156.1]
>   by localhost with POP3 (fetchmail-6.2.5)
>   for [EMAIL PROTECTED] (single-drop); Thu, 18 Nov 2004 14:42:55 +0100 
> (CET)
> Received: from mailfe06.swip.net ([130.244.240.106]) by fep37-svc.swip.net
>   with ESMTP
>   id <[EMAIL PROTECTED]>
>   for <[EMAIL PROTECTED]>; Thu, 18 Nov 2004 14:35:52 +0100
> Received: from mx2.freebsd.org ([216.136.204.119] verified)
>   by mailfe06.swip.net (CommuniGate Pro SMTP 4.2.6)
>   with ESMTP id 218966905 for [EMAIL PROTECTED]; Thu, 18 Nov 2004 14:36:19 
> +0100
> Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
>   by mx2.freebsd.org (Postfix) with ESMTP
>   id 5D19F55B3E; Thu, 18 Nov 2004 13:36:07 + (GMT)
>   (envelope-from [EMAIL PROTECTED])
> Received: from hub.freebsd.org (localhost [127.0.0.1])
>   by hub.freebsd.org (Postfix) with ESMTP
>   id 6FD5016A4D1; Thu, 18 Nov 2004 13:36:06 + (GMT)
> Delivered-To: [EMAIL PROTECTED]
> Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
>   by hub.freebsd.org (Postfix) with ESMTP id 3DDFC16A4CE
>   for <[EMAIL PROTECTED]>;
>   Thu, 18 Nov 2004 13:36:03 + (GMT)
> Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106])
>   by mx1.FreeBSD.org (Postfix) with ESMTP id B50B943D54
>   for <[EMAIL PROTECTED]>;
>   Thu, 18 Nov 2004 13:36:02 + (GMT)
>   (envelope-from [EMAIL PROTECTED])
> Received: from keyslapper.org ([68.163.166.57]) by out006.verizon.net
>   (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP
>   id <[EMAIL PROTECTED]>
>   for <[EMAIL PROTECTED]>;
>   Thu, 18 Nov 2004 07:36:01 -0600
> Received: from keyslapper.org (localhost [127.0.0.1])
>   by keyslapper.org (8.12.11/8.12.11) with ESMTP id iAIDa0Qk001700
>   for <[EMAIL PROTECTED]>;
>   Thu, 18 Nov 2004 08:36:00 -0500 (EST)
>   (envelope-from [EMAIL PROTECTED])
> Received: (from [EMAIL PROTECTED])
>   by keyslapper.org (8.12.11/8.12.11/Submit) id iAIDa0YY001699
>   for [EMAIL PROTECTED];
>   Thu, 18 Nov 2004 08:36:00 -0500 (EST)   (envelope-from leblanc)
> Date: T

Re: Installing zendstudio fails

2004-11-16 Thread Kjell Midtseter
On Saturday, 13 November 2004 at 14:23:40 +0100, Kjell Midtseter wrote:
> List members!
> I started out with a clean install from a 5.3R CD. Then I cvsup'ed and built 
> a new 
> GENERIC kernel and new ports followed by installing PHP5/Apache13
> After fetching the latest linux glib2.1 server/client zendstudio package  
> from the 
> zend.com site, I went through the make, make install sequence and ended up 
> with the 
> following:
> ==
> sexy# make install
> ===>  Installing for ZendStudio-3.5.2
> ===>   ZendStudio-3.5.2 depends on file: /compat/linux/etc/redhat-release - 
> found
> ===>   Generating temporary packing list
> ===>  Checking if devel/zendstudio already installed
> /usr/ports/devel/zendstudio/work/ZendStudio-3_5_2/ZendStudio-3_5_2.bin
> Preparing to install...
... snip ...
> This Application has Unexpectedly Quit: Invocation of this Java Application 
> has caused 
> an InvocationTargetException. This application will now exit. (LAX)
> *** Error code 255
> 
> Stop in /usr/ports/devel/zendstudio.
> 
zendstudio has to be installed from an xterm window.
Installing from the command line fails
Kjell
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I 'activate' mod_php5?

2004-11-15 Thread Kjell Midtseter
On Monday, 15 November 2004 at 14:33:02 -0600, Kevin D. Kinsey, DaleCo, S.P. 
wrote:
> Kjell Midtseter wrote:
> 
> >On Monday, 15 November 2004 at 10:20:32 -0600, Kevin D. Kinsey, DaleCo, 
> >S.P. wrote:
> > 
> >
> >>Kjell Midtseter wrote:
> >>
> >>   
> >>
> >>>After installing lang/php4-extensions with apache13, 
> >>>I can start using embedded php in my web pages right away. 
> >>>When installing lang/php5-extensions, the embedded php 
> >>>is passed as if it were html without being interpreted. 
> >>>Any initialization required fro php5?
> >>>The required modules seems to be in place in httpd.conf
> >>>I get the same results when I make a new clean and cvsup'ed install from 
> >>>the 5.3R CD Kjell
> >>> 
> >>>
> >>The procedure is the same for PHP5 as it was for PHP4,
> >>with no variations *that I have noticed*.
> >>
> >>So, the first question ... have you added/modified/created
> >>the necessary AddModule, LoadModule, and AddHandler
> >>(or is it AddType?) lines in your httpd.conf?
> >>
> >>   
> >>
> >What I have done is:
> >1) Loaded a system from the 5.3R CD, cvsup'ed and built world etc, 
> >cvsup'ed ports and upgraded. Then installed lang4-extensions/apache13
> >2) Repeated 1) on a second box, but installing lang5-extensions/apache13
> >3) Repeated 1) on the second box, but installing lang5-extensions/apache2
> >
> >Used the same options in all 3 cases. (slight diffs in the apache2 case)
> >
> >1) works as always. I find 
> >LoadModule php4_modulelibexec/apache/libphp4.so
> >AddModule mod_php4.c
> >in httpd.conf (No need to add anything)
> >
> >2) does not work. I find
> >LoadModule php5_modulelibexec/apache/libphp5.so
> >AddModule mod_php5.c
> >in httpd.conf 
> >
> >3) does not work. I find
> >LoadModule php5_modulelibexec/apache2/libphp5.so
> >in httpd.conf (no AddModule) 
> >
> > 
> >
> 
> 
> 
> Thanks for the detailed reply.
> 
> If the issue is really that you are seeing PHP source instead
> of the server "handling" the PHP code, then most likely it is
> the "AddType" directive that is wrong/missing/etc.
> 
> Here is that section of httpd.conf from a working PHP4
> installation:
> 
>
>AddType application/x-httpd-php3 .php3 .html
>AddType application/x-httpd-php3-source .php3s
>
>
>AddType application/x-httpd-php .php .html .asp .php3
>AddType application/x-httpd-php-source .phps
>  
> 
I inserted the following into the httpd.conf file for php5/apache2

AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and now the server is interpreting the php code!!!
...-.- de Kjell
===
>In this case, we use PHP to interpret everything as
> the server is low traffic and we use PHP in docs that
> are saved as *.html as well (I think we added *.asp as
> a jibe at M$ )  At the moment I've no shell at the
> PHP5 box, but I must assume it's the same there.
> 
> Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I 'activate' mod_php5?

2004-11-15 Thread Kjell Midtseter
On Monday, 15 November 2004 at 14:33:02 -0600, Kevin D. Kinsey, DaleCo, S.P. 
wrote:
> Kjell Midtseter wrote:
> 
> >On Monday, 15 November 2004 at 10:20:32 -0600, Kevin D. Kinsey, DaleCo, 
> >S.P. wrote:
> > 
> >
> >>Kjell Midtseter wrote:
> >>
> >>   
> >>
> >>>After installing lang/php4-extensions with apache13, 
> >>>I can start using embedded php in my web pages right away. 
> >>>When installing lang/php5-extensions, the embedded php 
> >>>is passed as if it were html without being interpreted. 
> >>>Any initialization required fro php5?
> >>>The required modules seems to be in place in httpd.conf
> >>>I get the same results when I make a new clean and cvsup'ed install from 
> >>>the 5.3R CD Kjell
> >>> 
> >>>
> >>The procedure is the same for PHP5 as it was for PHP4,
> >>with no variations *that I have noticed*.
> >>
> >>So, the first question ... have you added/modified/created
> >>the necessary AddModule, LoadModule, and AddHandler
> >>(or is it AddType?) lines in your httpd.conf?
> >>
> >>   
> >>
> >What I have done is:
> >1) Loaded a system from the 5.3R CD, cvsup'ed and built world etc, 
> >cvsup'ed ports and upgraded. Then installed lang4-extensions/apache13
> >2) Repeated 1) on a second box, but installing lang5-extensions/apache13
> >3) Repeated 1) on the second box, but installing lang5-extensions/apache2
> >
> >Used the same options in all 3 cases. (slight diffs in the apache2 case)
> >
> >1) works as always. I find 
> >LoadModule php4_modulelibexec/apache/libphp4.so
> >AddModule mod_php4.c
> >in httpd.conf (No need to add anything)
> >
> >2) does not work. I find
> >LoadModule php5_modulelibexec/apache/libphp5.so
> >AddModule mod_php5.c
> >in httpd.conf 
> >
> >3) does not work. I find
> >LoadModule php5_modulelibexec/apache2/libphp5.so
> >in httpd.conf (no AddModule) 
> >
> > 
> >
> 
> 
> 
> Thanks for the detailed reply.
> 
> If the issue is really that you are seeing PHP source instead
> of the server "handling" the PHP code, then most likely it is
> the "AddType" directive that is wrong/missing/etc.
> 
> Here is that section of httpd.conf from a working PHP4
> installation:
> 
>
>AddType application/x-httpd-php3 .php3 .html
>AddType application/x-httpd-php3-source .php3s
>
>
>AddType application/x-httpd-php .php .html .asp .php3
>AddType application/x-httpd-php-source .phps
>  
>
The above section is in my working php4/apache13 httpd.conf, 
but missing in the php5/apache2 httpd.conf
I do not think editing it into my php5/apache2 will help since the
AddModule mod_php5.c is missing. But I will reload my second box with
php5/apache13 and edit the above section into the httpd.conf file
to confirm that it works.
Kjell 
>In this case, we use PHP to interpret everything as
> the server is low traffic and we use PHP in docs that
> are saved as *.html as well (I think we added *.asp as
> a jibe at M$ )  At the moment I've no shell at the
> PHP5 box, but I must assume it's the same there.
> 
> Kevin Kinsey
> 
> ** CRM114 Whitelisted by: [EMAIL PROTECTED] **
> 
> ** ACCEPT: CRM114 Whitelisted by: [EMAIL PROTECTED] **
> 
> 
> -=-Extra Stuff-=-
> 
>  From [EMAIL PROTECTED] Mon Nov 15 21:33:20 2004
> Received: from localhost (localhost.la3sg.net [IPv6:::1])
>   by tyven.la3sg.net (8.13.1/8.13.1) with ESMTP id iAFKXJFg005392
>   for <[EMAIL PROTECTED]>; Mon, 15 Nov 2004 21:33:20 +0100 (CET)
>   (envelope-from [EMAIL PROTECTED])
> X-Original-To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Received: from mailfront.server.freewave.no [62.73.196.125]
>   by localhost with POP3 (fetchmail-6.2.5)
>   for [EMAIL PROTECTED] (single-drop); Mon, 15 Nov 2004 21:33:20 +0100 
>   (CET)
> Received: from storm.server.freewave.no (storm.server.freewave.no 
> [62.73.196.124])
>   by xavier.server.freewave.no (Postfix) with ESMTP id 35BD41B97A
>   for <[EMAIL PROTECTED]>; Mon, 15 Nov 2004 21:33:17 
>   +0100 (CET)
> Received: from localhost (localhost.localdomain [127.0.0.1])
>   by storm.server.freewave.no (Postfix) with ESMTP id AE49A5BA43
>   for <[EMAIL PROTECTED]>; Mon, 15 Nov 2004 21:32:49 
>   +0100 (CET)
> Received: from cyclops.server.freewave.no (cyclops.server.freewave.no 
> [62.73.196.122])
>   by storm.server.freewave.no 

Re: How do I 'activate' mod_php5?

2004-11-15 Thread Kjell Midtseter
On Monday, 15 November 2004 at 10:20:32 -0600, Kevin D. Kinsey, DaleCo, S.P. 
wrote:
> Kjell Midtseter wrote:
> 
> >After installing lang/php4-extensions with apache13, 
> >I can start using embedded php in my web pages right away. 
> >When installing lang/php5-extensions, the embedded php 
> >is passed as if it were html without being interpreted. 
> >Any initialization required fro php5?
> >The required modules seems to be in place in httpd.conf
> >I get the same results when I make a new clean and cvsup'ed install from 
> >the 5.3R CD Kjell
> >
> > 
> >
> 
> The procedure is the same for PHP5 as it was for PHP4,
> with no variations *that I have noticed*.
> 
> So, the first question ... have you added/modified/created
> the necessary AddModule, LoadModule, and AddHandler
> (or is it AddType?) lines in your httpd.conf?
>
What I have done is:
1) Loaded a system from the 5.3R CD, cvsup'ed and built world etc, 
cvsup'ed ports and upgraded. Then installed lang4-extensions/apache13
2) Repeated 1) on a second box, but installing lang5-extensions/apache13
3) Repeated 1) on the second box, but installing lang5-extensions/apache2

Used the same options in all 3 cases. (slight diffs in the apache2 case)

1) works as always. I find 
LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
in httpd.conf (No need to add anything)

2) does not work. I find
LoadModule php5_modulelibexec/apache/libphp5.so
AddModule mod_php5.c
in httpd.conf 

3) does not work. I find
LoadModule php5_modulelibexec/apache2/libphp5.so
in httpd.conf (no AddModule) 

In both steps 1) and 2) I find



DirectoryIndex index.php index.php3 index.html


DirectoryIndex index.php3 index.html




DirectoryIndex index.php index.html


DirectoryIndex index.html



in httpd.conf, but this (oversighth?) is probably not important for php5 to 
work,
and editing makes no difference.
Kjell
 
> When we moved from PHP v4 to v5, all we had to do was
> replace the "4" with the "5" in all those locations.
> 
> Of course, it could be something else ...
> <#include disclaimer.h>
> 
> Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How do I 'activate' mod_php5?

2004-11-15 Thread Kjell Midtseter
After installing lang/php4-extensions with apache13, 
I can start using embedded php in my web pages right away. 
When installing lang/php5-extensions, the embedded php 
is passed as if it were html without being interpreted. 
Any initialization required fro php5?
The required modules seems to be in place in httpd.conf
I get the same results when I make a new clean and cvsup'ed install from the 
5.3R CD 
Kjell

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


Re: kldload help please

2004-11-14 Thread Kjell Midtseter
On Sunday, 14 November 2004 at  2:46:17 +0100, Gert Cuykens wrote:
> 7rxI# kldload snd_driver.ko
Did you try kldload snd_driver
(without the .so extension?)
Kjell
> kldload: can't load snd_driver.ko: Exec format error
> 7rxI#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installing zendstudio fails

2004-11-13 Thread Kjell Midtseter
List members!
I started out with a clean install from a 5.3R CD. Then I cvsup'ed and built a 
new 
GENERIC kernel and new ports followed by installing PHP5/Apache13
After fetching the latest linux glib2.1 server/client zendstudio package  from 
the 
zend.com site, I went through the make, make install sequence and ended up with 
the 
following:
==
sexy# make install
===>  Installing for ZendStudio-3.5.2
===>   ZendStudio-3.5.2 depends on file: /compat/linux/etc/redhat-release - 
found
===>   Generating temporary packing list
===>  Checking if devel/zendstudio already installed
/usr/ports/devel/zendstudio/work/ZendStudio-3_5_2/ZendStudio-3_5_2.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. 
This 
application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown 
Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.f(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.g(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
This Application has Unexpectedly Quit: Invocation of this Java Application has 
caused 
an InvocationTargetException. This application will now exit. (LAX)
*** Error code 255

Stop in /usr/ports/devel/zendstudio.

Any hints of what causes the "InvocationTargetException" are much appreciated!
Kjell

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


Re: EPIA ME-6000

2004-10-28 Thread Kjell Midtseter
On Thursday, 28 October 2004 at 14:21:32 +0200, Walter C. Pelissero wrote:
> Kjell Midtseter writes:
>  > On Thursday, 28 October 2004 at  3:21:26 +0200, Walter C. Pelissero wrote:
>  > > I'm trying to run FreeBSD 5.3 on a Via EPIA ME-6000, but there are
>  > > still a couple of things that don't work.
>  > > 
>  > > First.  The PXE loading process is quite slow because it gets stuck
>  > > for a half a minute here and there while loading the KLD modules.  No
>  > > network activity while the rotating bar on the screen freezes.  I
>  > > tried to work around this problem compiling a monolithic kernel, but
>  > > still the PXE has to load at least three files (acpi.ko, loader.conf,
>  > > kernel), giving the chance to delay the boot.  I don't know if this is
>  > > a problem related to the PXE rom or to pxeboot.
>  > > 
>  > > The second problem is the sound.  The device is recognised and the
>  > > via8233 driver is properly loaded; 12 dsp devices appear in /dev
>  > > (dsp0.[0-5] and dspW0.[0-5]) and the user programs work as nothing was
>  > > wrong, unfortunately no sound is produced.
>  > > 
>  > > Is there anyone who has succeeded to run FreeBSD on one of these cute
>  > > Mini-ITX?
>  > I am running 6.3 on a M-1 without any problems except that there
>  > are no X-11 support for the 'vga' chip so I can not run a windows manager
> 
> You mean 5.3, don't you?
Sorry, R5.3RC1
> My M-6000's video chip works flawlessly with Xorg.
What driver did you specify in the Device Secton of your /etc/X11/xorg.conf file?
Kjell
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: EPIA ME-6000

2004-10-27 Thread Kjell Midtseter
On Thursday, 28 October 2004 at  3:21:26 +0200, Walter C. Pelissero wrote:
> I'm trying to run FreeBSD 5.3 on a Via EPIA ME-6000, but there are
> still a couple of things that don't work.
> 
> First.  The PXE loading process is quite slow because it gets stuck
> for a half a minute here and there while loading the KLD modules.  No
> network activity while the rotating bar on the screen freezes.  I
> tried to work around this problem compiling a monolithic kernel, but
> still the PXE has to load at least three files (acpi.ko, loader.conf,
> kernel), giving the chance to delay the boot.  I don't know if this is
> a problem related to the PXE rom or to pxeboot.
> 
> The second problem is the sound.  The device is recognised and the
> via8233 driver is properly loaded; 12 dsp devices appear in /dev
> (dsp0.[0-5] and dspW0.[0-5]) and the user programs work as nothing was
> wrong, unfortunately no sound is produced.
> 
> Is there anyone who has succeeded to run FreeBSD on one of these cute
> Mini-ITX?
I am running 6.3 on a M-1 without any problems except that there
are no X-11 support for the 'vga' chip so I can not run a windows manager
Kjell
> 
> -- 
> walter pelissero
> http://www.pelissero.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I downloaded everything to no avail! ISO's fail to burn

2004-07-12 Thread Kjell Midtseter
On 12 Jul 2004 at 20:25, Bill Moran wrote:

> Jerry Schromm <[EMAIL PROTECTED]> wrote:
> > hi Bill thanks for writing.
> > bootonly.iso  ---I burned this one and it seems to be working. I booted up with it
> > but the box with the options only stay for a few seconds. I selected Enter for 
> > default
> > but didn't do anything. Maybe it's something to do with choosing TRACK AT ONCE,
> > or DISC AT ONCE, and there is DISC AT ONCE/96(I just noticed on NERO they have
> > a mode for Boot Discs. I didn't use it for this iso burn. Maybe I should use that 
> > one)
> >  
> > disc1.iso -I tried to burn this one and it errored. I couldn't burn it on Nero.
I am using NERO6 to burn the ISOs When it starts, select new compilation, then drag 
your ISO to the 'to be burned' column and select 'Recorder->Burn Image..' Then accept 
all defaults.
This is from the Mandrake docs:
---
Open Nero.
Close the wizard if it is started automatically.
Go to "File"
then to "Burn Image...".
In the next dialog, click on "Image Files (*.nrg)" and select 
"All files
(*.*)". 
Choose the .iso file and accept.
In the following dialog make sure:
- Type of Image is: Data Mode 1
- Block size: 2048
- Image header: 0
- Image trailer: 0
- All the checkboxes are unactive.
Click "OK". 
In the next dialog check that the "write" and "finalize" option 
are active.
Click on "Write".
-
It is for an earlier version of NERO, but you will see the same information. Most of 
the 
options have been 'grayed' in NERO6, so you can not change them.
GL and keep at it...
Kjell

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


Re: Newbieish Desktop Questions

2004-07-10 Thread Kjell Midtseter
On 10 Jul 2004 at 10:03, Kristian Holdich wrote:

> Speaking of root, i'm so used to Bash i'd like to switch to it for the
> root user - is there any gotchas with moving bash to /bin and updating
> /etc/shells to allow it?
>From my notes:

Use FreeBSD's password file manipulation utility, vipw, to 
modify root's default shell. At a root prompt, type vipw. A copy 
of the /etc/passwd file will be displayed. Use standard vi 
editing commands to change root's default shell from /bin/csh 
(all of the way at the end of the first line) to 
/usr/local/bin/bash. While you're already editing the file, go 
ahead and change root's unofficial name 'Charlie &' to 'Super-
Nina' or any other name that envisions Superman, etc. When you 
get mail from root (e.g. from the cron jobs that run every 
night), it'll now be maked as coming from 'Super-Nina' and not 
'Charlie &'...just a little bit nicer. Save & exit. 
---
GL from kjell

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


Re: Network configuration in FreeBSD

2004-07-08 Thread Kjell Midtseter
On 8 Jul 2004 at 1:52, Miguel Cardenas wrote:

> Hello
> 
> Am new to FreeBSD... just installed it for 2nd time today, but don't know what 
> I did that it didn't ask me for the network configuration (ip, domain, 
When you got to the HD partitioning in the beginning of setup you should have deleted 
the entire disk, then repartitioned it. If you kept the partitioning from your first 
install the 
setup routine will look in the excisting folders and use what it finds there
> etc)... once installed, is there a command to perform that task?
It all goes into the /etc/rc.conf file. Use your editor to make changes if you do not 
like 
what you find.
> 
> I'm linux user, so am familiar to *nix systems, but don't know how to 
> configure the network specifically on freebsd...
> 
> Thanks for any comment,
> Mike
kjell

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


Re: [REPOST] Compatibility with certain VIA and Realtek NICs

2004-07-06 Thread Kjell Midtseter
On 6 Jul 2004 at 10:21, Bill Moran wrote:

> 
> I got a few responses regarding this post, but I'm really looking for
> some positive, "yes, I'm using it" or "I tried and failed":
> 
> Having a little trouble ensuring hardware compatibility.
> 
> Some of the units we're considering have one of the following NIC chipsets:
> VIA 6103
> VIA 6303
> VIA 6306
> Realtek 8201
I am using a VIA M-1 card where my dmsg.boot shows:
fwohci0: 
vr0: 
No support for the graphics chip to run an X server though.
Kjell




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


Re: mini itx

2004-06-30 Thread Kjell Midtseter
On 30 Jun 2004 at 23:30, arden wrote:

> im collecting some bits to start a mini itx project
> http://www.mini-itx.com/projects.asp
> i have the need for a small silent pc 
> 
> has anyone used these boards with bds?
> 
I am using the MII 6000 and M1 boards, and they work fine.
But there are no support for the graphics chipset, so you can not run an X server 
(yet)
Kjell


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


Re: setting a disk read only

2004-06-29 Thread Kjell Midtseter
On 26 Jun 2004 at 10:44, Matthew Seaman wrote:

> On Sat, Jun 26, 2004 at 02:38:28AM +0200, MICSKO Viktor wrote:
> 
> > Is it possible to setting a *whole* disk read only? I mean the way linux
> > does it with "hdparm -r 1 device". So adding an -o ro parameter to mount
> > isn't enough, I want to be sure that the disk is unmodified.
> > 
> > (I have to access an existing raid of 8 disks using vinum without any
> > modified bit, because of the highly sensitive data. Any idea doing this
> > absolutely securely is welcome too)
> 
> Hmmm... SCSI disks can be physically jumpered to be read-only.  I
> should think that ATA drives can be treated the same way.  Consult the
> manufacturers' data sheets for details.
> 
Some time ago there was an article in the Elektor Magazine. 
They broke a line in the ATA cable and brought it to a switch on the front, 
with a pullup resistor on the disk side. 
The switch was labeled 'normal operation' and 'read only'
Could be the hard way to do it. Literally.
Kjell

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


Re: mysql install problem Continued

2004-06-19 Thread Kjell Midtseter
On 19 Jun 2004 at 0:26, LW Ellis wrote:

> OK force didn't work, but I renamed hostname to localhost,
> until the install was done.
> When I rebooted it showed mysql started.
First you have to let the SQL server know what databases and users you want to use:
1) Set password for root user after initial load
# mysqladmin -u root password 'verysecret'

2) During subsequent user updates or adding new DataBase info:
# mysql -u root -p mysql
Enter password: (enter "verysecret" or whatever you entered in step 1)

Users:
insert into user 
(host,user,password,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv)
 
values ('localhost','us_allprivileges',password('verysecret'),'Y','Y','Y','Y','Y','Y');

insert into user (host,user,password,Select_priv,Insert_priv,Update_priv,Delete_priv) 
values 
('localhost','us_readandwrite',password('verysecret'),'Y','Y','Y','Y');

insert into user (host,user,password,Select_priv) values 
('localhost','us_readonly',password('verysecret'),'Y');

(You may want to select different database and user names)

Databases and their users:

insert into db 
(host,db,user,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv) 
values 
('localhost','db_one','us_allprivileges','Y','Y','Y','Y','Y','Y');

insert into db (host,db,user,Select_priv,Insert_priv,Update_priv,Delete_priv) values 
('localhost','db_one','us_readandwrite','Y','Y','Y','Y');

insert into db (host,db,user,Select_priv) values 
('localhost','db_one','us_readonly','Y');


3) Create new data base
# mysqladmin -u root -p create db25872a
Enter password: 

SQL server must be restarted for changes to take effect:
mysqladmin -p -u root reload

> Now please can you tell me how to access it.
> In Dreamweaver, I need a SQL (server) generally an IP address.
Start with a index.html page containing a "hello Leon" 
When this is working try the same in a index.php page.
This working you are ready to access your SQL server through the MySQL PHP API to 
Apache. You connect to your database using the following piece of coding:

Now you are ready to issue your select, update, insert, etc. statements in your PHP 
code. A bit of Googling will produce several introductions to PHP/MySQL coding.
> I have named running on my machine, do I need to configure
> this to point to mysql server.
No
> I downloaded mysql handbook, which should handle that end.
> (I know sql language, but I am an ASP kind of guy)
> Thanx for all your help.
> 
> Leon


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


Re: mysql install problem

2004-06-18 Thread Kjell Midtseter
On 18 Jun 2004 at 23:20, LW Ellis wrote:

> thanks, I couldn't find it in the man pages.
> Been reading,
> should I put my mysql server in a 'virtual host'
> or is it seperate from my apache server
> 
No connection to apache and "virtual host"
Just install it and the startup scripts will be installed for you.
The next time you reboot you will see a startup message saying that is has been 
started.
> >
> - Original Message - 
> From: "Kjell Midtseter" <[EMAIL PROTECTED]>
> To: "LW Ellis" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, June 18, 2004 11:15 PM
> Subject: Re: mysql install problem
> 
> 
> > On 18 Jun 2004 at 22:08, LW Ellis wrote:
> >
> > > I get the following error when I try to install mysql40-server from the
> > > ports.
> > > Neither host '192' or 'localhost' could be resolved with
> > > usr/local/bin/resolveip
> > > I went thru something similar when I was configuring apache.
> > > I had to resolve it by setting the host name to the name assigned by my
> > > router
> > > (also a dhcp server)
> > > It says I can resolve this later by installing with the --force option.
> > > I looked in the man pages, and the handbook.
> > > Could someone please tell me how to invoke the force option.
> > > I used make install command.
> > make -D FORCE_INSTALL
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> 


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


Re: mysql install problem

2004-06-18 Thread Kjell Midtseter
On 18 Jun 2004 at 22:08, LW Ellis wrote:

> I get the following error when I try to install mysql40-server from the
> ports.
> Neither host '192' or 'localhost' could be resolved with
> usr/local/bin/resolveip
> I went thru something similar when I was configuring apache.
> I had to resolve it by setting the host name to the name assigned by my
> router
> (also a dhcp server)
> It says I can resolve this later by installing with the --force option.
> I looked in the man pages, and the handbook.
> Could someone please tell me how to invoke the force option.
> I used make install command.
make -D FORCE_INSTALL


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


Re: Starting Apache on 4.10 stable at boot time

2004-06-18 Thread Kjell Midtseter
On 18 Jun 2004 at 10:42, Michael W. Oliver wrote:

> On 2004-06-18T16:37:47+0200, Gareth Bailey wrote:
> > Hi all,
> > 
> > I moved our work server over from 5.2 release to 4.10
> > stable. All seems fine except for some reason apache
> > (apache-1.3.31_2) doesn't sart automatically at boot time.
> > 
> > Does starting apache at boot time differ on 4.10 to 5.2? I
> > have the apache.sh script in rc.d/ and it has correct
> > privileges.
> > 
> > What am in missing?
> 
> cd /usr/ports/www/apache13 
> cat pkg-message
> 
> -- 
> Mike
> perl -e 'print unpack("u","88V]N=&%C=\"!I;F9O(&EN(&AE861E 
Do you have apache_start="YES" in /etc/rc.conf ?



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


Re: [FreeBSD]

2004-06-18 Thread Kjell Midtseter
On 18 Jun 2004 at 0:48, LW Ellis wrote:

Good morning!
> I'm trying to configure my ftpd so I can access the http server from
> another computer. (for uploading web pages) According to The Complete
> FreeBSD (I am a complete newby) I need to add a line to my
> /etc/rc.local file I don't have one. I have a /etc/rc.conf Are  they
> the same? Or do I need a new file?
> 
I do not think this applies any more.
The only thing you have got to do after a fresh install (if you did not do it during 
the 
install) is to edit /etc/inetd.conf
On line 7, remove the # (comment) on the line starting with #ftp stream tcp
and your ftp server should be up and running after a restart.
You may also check that your /etc/rc.conf contains the line
inetd_enable="YES"
> Next question
> The line I need to add ???
> echo " ftpd" && ftpd -a -D xxx.xxx.xxx
> (to restrict address to only one)
> (from what I gleaned from ftpd(8) of the manual)
> 
Seems like some fine tuning you can safely save for a later time.
-Kjell
> Later,
> Leon



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


Re: Apache config error log

2004-06-16 Thread Kjell Midtseter
On 17 Jun 2004 at 0:29, Lee Ellis wrote:

> The error log is as follows:
> 
> [Sun Jun 13 18:18:32 2004] [alert] mod_unique_id: getaddrinfo failed
> for "Ginger.Osoleon" (hostname nor servname provided, or not known)

> [Mon Jun 14 04:53:41 2004] [alert] mod_unique_id: unable to
> gethostbyname("Ginger.Osoleon") [Tue Jun 15 17:19:21 2004] [alert]
> mod_unique_id: unable to gethostbyname("Ginger.Osoleon") [Tue Jun 15
> 17:23:58 2004] [alert] mod_unique_id: unable to
> gethostbyname("Ginger.Osoleon") [Tue Jun 15 17:28:40 2004] [alert]
> mod_unique_id: unable to gethostbyname("Ginger.Osoleon") [Tue Jun 15

Seems like the ServerName you selected is unknown to the DNS system. 
Maybe the answer to your question is in the comments to the ServerName definition in 
httpd.conf
>  # If your host doesn't have a registered DNS name, enter its IP address here.
Otherwise if you prefer to use your "invented" host name, you may try to set up a 
local 
DNS server that will resolve it for you.
- Kjell

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


Re: Apache config question

2004-06-16 Thread Kjell Midtseter
On 16 Jun 2004 at 0:50, LW Ellis wrote:

> Ok I installed Apache and when I try to start apache I get
> the following error message.
> Could not determine services fully qualified domain name, 
> using 127.0.0.1 for service name.
> apache_1.3.29 HTTPD could not be started.
> 
> I am on DSL (not static) and have a netgear router, which functions as
> a DHCP server. Do I have my network card configured wrong or is it
> something else.
> 
Try editing /usr/local/etc/apache/httpd.conf
What is your "ServerName"?

Kjell


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


Re: "Live" CD Mounting file systems

2003-08-18 Thread Kjell Midtseter
On 18 Aug 2003, at 16:48, [EMAIL PROTECTED] wrote:

> 
> Hello all,
>  I am trying to build a FreeBSD 5.1-RELEASE-i386 based "live" cd and I am having
> trouble getting the filesystems mounted.  The kernel boots but then tells me
> that it cannot find the root file system.  From what I have read it appears
> that I need to make a memory filesystem to load part of file system on. 
>  
> Does anyone have samples on how to actually accomplish this?
>  
Maybe http://www.freesbie.org/ could be of help?
Kjell



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


Re: softwarefor instant workstation in cd

2003-07-28 Thread Kjell Midtseter
On 28 Jul 2003, at 19:33, Paredes Sánchez Martín A. wrote:

> Hi:
>
> I burn 2 CD of FreeBSD 4.8-STABLE, can i install the software form them
> not from the internet.
>
If you downloaded the ISO images, you can use the first CD to
install FreeBSD. After you have installed FreeBSD you may update
the sources for the kernel and the applications using CVSUP. Then
recompile the kernel and those applications that you have installed.
You will probably find that by doing your initial install from the CD
is faster than doing the full install over the internet.
Kjell


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


Re: how to add color text in bash shell

2003-07-28 Thread Kjell Midtseter
On 28 Jul 2003, at 14:02, Lowell Gilbert wrote:

> marlon corleone <[EMAIL PROTECTED]> writes:
> 
> > is there any script or package in ports, that make a
> > colorful bash.
> 
> That depends on what you want to add color to.
> If you want a colorful prompt, you just add ANSI 
> color sequences to your prompt definition.
> If you want ls output to be colored, just read 
> the manual for ls(1).
>
You can look at my notes on the subject at http://freebsd.la3sg.net/
Select   Instalation->Post install->bash  from the menu.
Kjell




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


Re: cant power off, using shutdown -p now

2003-07-21 Thread Kjell Midtseter
On 21 Jul 2003, at 7:48, marlon corleone wrote:

> im running 5.1-RELEASE, my problem is when i try to
> execute the command: shutdown -p now, the error
> message that i received is:
> 
> POWER SYSTEM off using, ACPI.. ACPI POWER-OFF
> failed-timeout the operating system halted. press any
> key to reboot
> 
I had exactly the same error message. Then I moved the HD to 
another box using the same motherboard and CPU chip, and the 
error message went away.
I compared the BIOS setup for the two, adjusted the APM setup for 
the first box, moved the HD back and it would shut down without 
any protest.
Try play around with the BIOS and see!

> as you can see, the problem is with the ACPI POWER,
> but i did enable ACPI in cmos, i have no problem
> shutting off the system running 4.7 and 4.8, is this
> because, i forgot to add some entry in my customed
> kernel to support the autoshutdown, like in 4.8 i just
> enable APM in the kernel:
Exactly my experience too!
> 
> # Power management support (see LINT for more options)
> device  apm0at nexus? disable flags 0x20 #
> Advanced Power Management
> 
> but here in 5.1-RELEASE, what should i add in the
> kernel?
None required. GENERIC will do fine.

GL from Kjell

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


Headless and r5.1

2003-07-16 Thread Kjell Midtseter
On Release 4.x I used to recompile the kernel with the apropriate 
options, and I could disconnect and reconnect my keyboard as 
need arose.

What changes should I make to to GENERIC for this to work under 
Release 5.1?

Kjell

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


Re: Looking for a fetchmail tutorial

2003-06-17 Thread Kjell Midtseter
On Wednesday, 18 June 2003 at  0:29:52 -0400, Dragoncrest wrote:
>   You will have to forgive me for this.  I had a fetchmail tutorial at 
>   one point in time that someone had posted for me but I have somehow since 
> then lost the silly thing.  What I'm doing now is running fetchmail on the 
> user level.  I'd like to switch to running fetchmail on a system wide level 
> and have it scan each individual users home directory for their respective 
> fetchmailrc files and execute them accordingly and then pass the mail off 
> to procmail for spam and virus filtering.
> 
>   Can someone point me over to where I can find this tutorial again?  
>   Much apreciated.  And I promise not to loose it this time.  :)
>
maybe: http://cfm.gs.washington.edu/email/fetchmail/ 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc.conf in 5.1?

2003-06-14 Thread Kjell Midtseter
On Saturday, 14 June 2003 at 21:38:41 +0200, Markus Svensson wrote:
> Hi all!
> 
> I've just finished src upgrading my 5.0R box to 5.1R.
> I've got one small problem though. After the upgrade, the system no
> longer seems to use /etc/rc.conf during startup. This means that my
> ADSL-connection does not start, and that the correct keymap isn't
> loaded. Is this handled differently in 5.1 than in 5.0, or have I just
> missed something very basic?
>
My rc.conf is being read as expected on both 5.0 and 5.1 here...
Hei fra Kjell
 
> Best Regards,
> Markus Svensson
> [EMAIL PROTECTED] 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


R5.0 without keyboard

2003-06-09 Thread Kjell Midtseter
On 4.8 I recompiled the kernel with appropriate options and I could 
unplug and reconnect the keyboard at will and it worked. Not so on 5.0 
What is the apropriate kernel options for this to work on 5.x?

Help appreciated, Kjell

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


Re: OpenOffice.org Linux binary works (was OpenOffice.org 1.0.2andFreeBSD 4.8-RELEASE)

2003-06-06 Thread Kjell Midtseter
On Thursday,  5 June 2003 at 15:57:03 -0500, Chris wrote:
> I agree here. On make install clean, I never really got OOo to install. I
> grabbedn the bins off the OOo site, run the tar in /home/me, and ran the
> install. Bingo! instant OOo.

I have made an attempt at this but failed. 
If I pkg_add openoffice-1.1Beta.tbz I get an error.
If I try tar on openoffice-1.1Beta.tbz I also get an error.
What did you do?
Tnx from Kjell

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


shutdown -p now and 5.0-RELEASE

2003-06-05 Thread Kjell Midtseter
After I moved from 4.8 to 5.0 (installed from scratch, 
not upgraded) 'shutdown -p now' will not work.

After issuing 'shutdown -p now' I get the following messages:
Power system off using ACPI...
ACPI power-off failed - timeout
Hit any button to restart

My kernel config file contains:
# Power management support (see NOTES for more options)
device  apm
(In 4.8 I used to have: device apm0)

My rc.conf contains:
apm_enable="YES"

>From dmesg.boot:
FreeBSD 5.0-RELEASE-p7 #0: Thu May 29 20:30:44 CEST 2003
CPU: VIA C3 Samuel 2 (799.74-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x678  Stepping = 8
  Features=0x803035
..
acpi0:  on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 6 entries at 0xc00fdf10
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0:  on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
..
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%


Help appreciated, Kjell

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


Re: cvsup collection question

2003-05-30 Thread Kjell Midtseter
On Friday, 30 May 2003 at 11:57:47 +0100, Tom Stockton wrote:
> Apologies for stupidity, I've read the documentation a million times and 
> I've got a headache.
> 
> I've installed 4.7 release from an ftp server, I want to get the latest 
> ports collection to match this release.  It looks like I want to specify 
> 'ports-all' in my cvsup file, however a note in the documentation says that
> 
> "The ports tree does not have any tag associated with it, it is always 
> CURRENT."
> 
> I dont like the look of this...I'd like to specify the tag RELENG_4_7 but 
> this note seems to make that redundant ?
>
The only thing you should change in the ports template file is the cvsup
server. The ports are the same regardless of what release you are running.

ds 
> Also what is the src-all collection ?  How does it differ from ports-all ?
>
The 'src-all collection' is all the sources for the kernel and supporting functions.
The 'ports-all collection' is a collection of some 8000 programs that have been
adapted (ported) to the FreeBSD environment. The ports are optional, and you 
load only those applications you need.
If you look at http://freebsd.la3sg.net/index.php?to=mtn_cvs_p you will see
how I go about updating my ports.
Regards from Kjell

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


boot error on R5.0

2003-05-29 Thread Kjell Midtseter
When booting the boot sequence ends with:
-
mounting root from ufs: /dev/ad0s1a
setrootbyname failed
ffs_mount root: can't find rootvp
Root mount failed: 6
mountroot>
--
When I enter 'ufs:ad0a' after the prompt I get a login prompt.
When I log in as root I receive a '%' prompt, and I
can enter commands etc..
---
Background:
I want to update my firewall to use the new pf packet filter port. 
This requires FreeBSD 5.0 It is not practical to recompile kernel & world 
on the firewall box. So I do all the work on a more powerfull box and
transfer the new system to a disk that I then move to the firewall
where I then get the above error message.

After building and testing the new system I
- move all required files to directories under /mybsd
- build a disk image with bootstrap and partitioning
- insert my files from /mybsd into the disk image
- use dd to copy the image to the firewall disk

The only difference from FreeBSD 4.x that I can see is that my
/mybsd/dev is not populated. In 4.x I copied MAKEDEV from /dev
to /mybsd/dev and used 'sh MAKEDEV all' to populate my new
/dev 

So what is this rootvp?

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


Re: Incoming mail refused by sendmail

2003-03-03 Thread Kjell Midtseter
On Monday,  3 March 2003 at 13:06:05 +0200, Giorgos Keramidas wrote:
> On 2003-03-03 09:51, Kjell Midtseter <[EMAIL PROTECTED]> wrote:
> >>>/etc/mail/local-host.names
> >>>la3sg.net
> >>>sexy.la3sg.net
> >>>tina.la3sg.net
> >>>
> >>>/etc/mail/virtusertable
> >>>[EMAIL PROTECTED]  [EMAIL PROTECTED]
> >>>[EMAIL PROTECTED]  [EMAIL PROTECTED]
> >>>@la3sg.net  [EMAIL PROTECTED]
> >>>
> >>>What am I missing?
> >>
> >> The name of the config file should be /etc/mail/local-host-names,
> >> not /etc/mail/local-host.names
> >
> > Now [EMAIL PROTECTED] works!!!
> > But [EMAIL PROTECTED] is returned to sender with the message:
> > <[EMAIL PROTECTED]>: host sexy.la3sg.net said: 550.1.1
> > <[EMAIL PROTECTED]>... user unknown
> 
> This is because there is no local user called 'tina'.
> 
> > Then I removed the la3sg.net entry from local-host-names, and the
> > message changed to
> > <[EMAIL PROTECTED]>.. Relaying denied
> 
> Why did you remove la3sg.net from local-host-names?  It *is* your
> local host's name after all.
> 
> Try adding it again and removing the rest of the stuff you have there.
>
"Removing the rest of the stuff" did it!
Thanks from Kjell
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Incoming mail refused by sendmail

2003-03-03 Thread Kjell Midtseter
On Monday,  3 March 2003 at  9:59:06 +0200, Konrad Neitzel wrote:
> "Roger 'Rocky' Vetterberg" <[EMAIL PROTECTED]> wrote:
> 
> > Kjell wrote:
> 
> > > /etc/mail/local-host.names
> > > tina.la3sg.net
> 
> > > /etc/mail/virtusertable
> > > [EMAIL PROTECTED]  [EMAIL PROTECTED]
> > > @la3sg.net  [EMAIL PROTECTED]
> 
> If you tell sendmail, that it is also tina.la3sg.net, then mails to 
> that host will be stored localy. If you want, that tina receives its 
> mails, you should remove that entry in the list of local names.
>
I removed the tina@ entry from virtusertable, and now sexy.la3sg.net tells me:
<[EMAIL PROTECTED]> ... Relaying denied (in reply to RCPT TO command)

Gruesse Kjell
 
> With kind regards,
> 
> Konrad Neitzel
> 
> --
> SoftMediaTec GmbH
> Tel: 0172 / 689 31 45
> Fax: 069 / 90 50 99 53
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Incoming mail refused by sendmail

2003-03-03 Thread Kjell Midtseter
On Monday,  3 March 2003 at  9:23:54 +0100, Roger 'Rocky' Vetterberg wrote:
> 
> Kjell wrote:
> >I have a gateway (sexy.la3sg.net) connected to my 
> >ISP through a ADSL line. On my LAN I have a 
> >workstation (tina.la3sg.net) I would like to set up 
> >sendmail so that external mail to [EMAIL PROTECTED] 
> >arrives at user sexy on sexy.la3sg.net, and mail to 
> >[EMAIL PROTECTED] ends up at user tina on box 
> >tina.la3sg.net
> >
> >What works: External mail to [EMAIL PROTECTED] 
> >ends up at user sexy.
> >
> >What does not work: External mail to 
> >[EMAIL PROTECTED], [EMAIL PROTECTED] or 
> >[EMAIL PROTECTED] are all returned to sender with 
> >a message from my ISPs mailer-daemon saying that
> ><[EMAIL PROTECTED]>: host sexy.la3sg.net[217.13.29.172] said: 550 5.7.1
> ><[EMAIL PROTECTED]>... Relaying denied (in reply to RCPT TO command)
> >
> >My config files contains:
> >
> >/etc/mail/access
> >217.13.29.172   RELAY
> >192.168.1   RELAY
> >mail.broadpark.no   OK
> >
> >/etc/mail/local-host.names
> >la3sg.net
> >sexy.la3sg.net
> >tina.la3sg.net
> >
> >/etc/mail/virtusertable
> >[EMAIL PROTECTED]  [EMAIL PROTECTED]
> >[EMAIL PROTECTED]  [EMAIL PROTECTED]
> >@la3sg.net  [EMAIL PROTECTED]
> >
> >What am I missing?
> >Kjell
> >
> 
> The name of the config file should be /etc/mail/local-host-names, not 
> /etc/mail/local-host.names
>
Now [EMAIL PROTECTED] works!!!
But [EMAIL PROTECTED] is returned to sender with the message:
<[EMAIL PROTECTED]>: host sexy.la3sg.net said: 550.1.1
<[EMAIL PROTECTED]>... user unknown
Then I removed the la3sg.net entry from local-host-names, and the message changed to
<[EMAIL PROTECTED]>.. Relaying denied
Kjell
 
> --
> R
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ADSL modem and Security

2003-03-02 Thread Kjell Midtseter
On Monday,  3 March 2003 at  9:08:18 +1300, Defryn, Guy wrote:
> 
> Hi there,
> 
> I am thinking about getting an ADSL connection and I would like to know
> which (internal) ADSL modems work well with Freebsd.
> 
> Although I have very good knowledge of NT I have decided to use a
> Freebsd box to connect my network to the internet. I want host my own
> website and ftp.
> 
> I only have basic knowledge of Freebsd and I would like to get some
> security tips.
> 
> I'll start with implementing a firewall and closing risky services :-)
> 
>  
> 
> Are there any good guidelines available?
>
You may find http://www.schlacter.net useful
Cheers from Kjell 
>  
> 
> Cheers
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail refuses incoming mail

2003-02-27 Thread Kjell Midtseter
On Thursday, 27 February 2003 at  9:03:52 -0600, Kevin Kinsey, DaleCo, S.P. wrote:
> From: "Kjell" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 27, 2003 2:20 AM
> Subject: Sendmail refuses incoming mail
> 
> 
> > I am trying to set up my mail system.
> > 
> > I am running a network with a R4.6-RELEASE gateway 
> > (sexy.la3sg.net) with Sendmail and ipf, and a R4.7-
> > RELEASE workstation (syvert.la3sg.net) with 
> > postfix, fetchmail and mutt.
> > 
> Have you checked your firewall rules?  If
> everything else is working
>
My ipf.rules contains:
pass in quick on rl0 proto tcp from any to any port =25 flags S keep state keep frags
Should be OK?
Kjell
 
> Kevin Kinsey
> DaleCo, S.P.
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: IPFW and IPFiLTER commands

2003-02-27 Thread Kjell Midtseter
On Thursday, 27 February 2003 at  8:56:04 -, Abdul Hakeem wrote:
> Hello,
> Can anyone direct me to the source of commands and documentations for
> setting up Vlan, Switching, Policy based routing commands and
> documentations ?
For ipfilter look at http://www.pir.net/pir/ipf/ipf-howto.html
Kjell

> Regards,
> A. Hakeem, esq.
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ATA/IDE Controller question

2003-02-26 Thread Kjell Midtseter
On Wednesday, 26 February 2003 at 23:02:57 -0800, Ron Andreasen wrote:
> I just looked at the FreeBSD hardware list and saw all
> those contollers there.  Are any of those ISA devices
> or are they all PCI?
> 
> I only have 3 PCI slots and they're all being used by
> stuff I can't give up (video card, sound card, and
> modem).  So if they are all PCI devices will ISA
> contollers still get the job done?  I'd be using it in
> FreeBSD 5.0.
>
I am sorry, but your question does not make sense, and I
doubt that anyone will be able to give you an answer that
will be meaningful to you based on your question.
Seems like you have gotten mixed up on some basics.
Suggest you google around to find out more about
ISA and PCI, then return with a restated question.
Cheers from Kjell
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: IDE LiteON CD-RW supported by burncd?

2003-02-26 Thread Kjell Midtseter
On Wednesday, 26 February 2003 at 12:42:30 -0500, Michael Sharp wrote:
> I understand ALL IDE CD-RWs are supported under FreeBSD, but has anyone
> actually used a CD-RW by LiteON ( http://liteonit.com ) and had sucess
> with it under burncd?
>
Yes, I am using one, 48x12x48x. Works fine.
Kjell
 
> Michael
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Mutt, Postfix and port 512

2003-02-23 Thread Kjell Midtseter
List members!
On my LAN I have a FreeBSD R4.7p4 workstation where I fetch 
my mail for this list from my ISP using fetchmail, and reading
it with mutt.
After I switched from using sendmail to postfix I started getting messages on ttyv0 
like:
Feb 23 07:26:33 tina /kernel: Connection attempt to UDP 127.0.0.1:512 from 
127.0.0.1:1054
each time a mail is arrives. 
A second or three after the above message is shown, the mail pops up in mutt.

What causes the message, and how do I eliminate it?

Regards from Kjell


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Compiling Question

2003-02-22 Thread Kjell Midtseter
On Saturday, 22 February 2003 at 21:52:48 -0500, Terry J Dunlap Jr wrote:
> Hi all!
> 
> Tonight I synced my source with Release 4.7 and recompiled. Prior to
> recompiling, I modified the make.conf file to NOT compile a number of items,
> like games, sendmail, etc. I'd like to try to build a lean system from
> source.
> 
> After the entire source compilation process, I still found those items on my
> system. A review of the man page for make.conf leads me to believe that
> those items did not compile, yet the old versions still remain on the
> system. Am I correct?
> 
> If this is true, how does one go about compiling a lean system with the
> essentials only? Can the make.conf file be modified in such a way to remove
> items from the system, like sendmail, games, etc.? I read the man page for
> make.conf then searched it for the word "remove", but nothing is there.
>
I do not have the answer, but may be you would find 
http://people.freebsd.org/~picobsd interesting reading?
There was a thread about someone compiling it using R4.7

Kjell

> Thanks for the help!
> 
> Terry
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Problems with in the ipf setup in an FreeBSD 4.7 router

2003-02-21 Thread Kjell Midtseter
On Friday, 21 February 2003 at 20:08:17 +0200, Jim Xochellis wrote:
> Hi List,
> 
> I have a FreeBSD 4.7(i386) Release router I am trying to make it run
> with the ipf firewall on.
> 
> I have compiled and installed a new kernel with ipf support and then I
> put the following lines inside my rc.conf file:
> 
> ...
> ipfilter_enable="YES"
> ipfilter_program="/sbin/ipf -Fa -f"
Try removing the above line

> ipfilter_rules="/etc/ipf.rules"
> ipfilter_flags=""
> ...
> 
> The problem is that, when I boot, ipf does not work. It seems like is
> not using the rules.
> 
> If I enter "ipf -Fa -f /etc/ipf.rules" from the command line, then it
> starts working as expected. 
> 
> What do I have to do to make ipf start automatically on boot? Any tips
> or pointers to manuals will be greatly appreciated.
> 
> TIA,
> 
> Jim Xochellis
> Escape Information Services
> 
> 
> P.S.Note that I am running with security level set to 2. (I also tried
> running with  security level set to 1 and -1 without any luck.)
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: up dating the portstree

2003-02-19 Thread Kjell Midtseter
On Wednesday, 19 February 2003 at 16:24:45 -0600, kitsune wrote:
> How do I update /usr/ports?
>
You will find step by step instructions of you look at
freebsd.la3sg.net
Cheers from Kjell 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Same BIOS for FreeBSD and Windows?

2003-02-19 Thread Kjell Midtseter
On Wednesday, 19 February 2003 at 17:14:49 +0530, Shantanu Mahajan wrote:
> if i understand you correctly, you want to turn off the ATX enable
> computer. for that apmd should be enable. otherwise the computer's
> power won't turn off.
>
If I put a Windows 2000 disk into the disk drawer and select
Shutdown from the Start menu, the computer turns off, and it will
turn itself back on at 06:00 the next morning according to my BIOS setup.

If I put a Windows 2000 disk in the disk drawer and select 
Shutdown from the Start menu, remove the Windows 2000 disk and
insert a FreeBSD R4.7r4 disk into the drawer the computer
will turn itself on at 06:00 the next morning.

If I put the FreeBSD disk into the disk drawer and issue a
shutdown -p command the computer will turn itself off OK.
But the next morning it does not turn itself back on at 06:00!!!
 
Regards from Kjell

> Regards,
> Shantanu
> +++ Kjell Midtseter [freebsd] [19-02-03 07:26 +0100]:
> | Date: Wed, 19 Feb 2003 07:26:40 +0100
> | From: Kjell Midtseter <[EMAIL PROTECTED]>
> | Subject: Same BIOS for FreeBSD and Windows?
> | 
> | One of my boxes are using a mb with a VIA PLE133T chipset.
> | In the BIOS I have ACPI enabled and the box is set to wake
> | up at 06:00 in the morning. I am using a disk drawer to
> | easily change operating systems.
> | When I am using a disk with Windows 2000 or Linux and 
> | turn the box off at night, it will turn back on at 06:00
> | as expected. When using the disk with R4.7p4 and doing a
> | shutdown -p the box will not turn itself on the next 
> | morning!
> | I realize that the ACPI functions are not fully implemented
> | yet, but I fail to see how it should influence a cold
> | boot. Any ideas?
> | What I am attempting is to have the box turn on, do its
> | thing and turn itself off until the next morning.
> | Kjell
> | 
> | --
> 
> -- 
> Everyone is a genius.  It's just that
> some people are too stupid to realize it. 
> 
> PGP keyID  :  137AFD9E
> PGP keyID fingerprint:C7DA 3350 1DEA F371 37DC  D92A F0D4 C2ED 137A FD9E

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Same BIOS for FreeBSD and Windows?

2003-02-18 Thread Kjell Midtseter
One of my boxes are using a mb with a VIA PLE133T chipset.
In the BIOS I have ACPI enabled and the box is set to wake
up at 06:00 in the morning. I am using a disk drawer to
easily change operating systems.
When I am using a disk with Windows 2000 or Linux and 
turn the box off at night, it will turn back on at 06:00
as expected. When using the disk with R4.7p4 and doing a
shutdown -p the box will not turn itself on the next 
morning!
I realize that the ACPI functions are not fully implemented
yet, but I fail to see how it should influence a cold
boot. Any ideas?
What I am attempting is to have the box turn on, do its
thing and turn itself off until the next morning.
Kjell


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ipf ftp proxy problem?

2003-02-18 Thread Kjell Midtseter
On Monday, 17 February 2003 at 22:08:41 -0700, Shane Hickey wrote:
> Howdy all,
>   I have a freebsd firewall and I want to be able to do make both passive
> and active ftp client connections from my inside network to the outside
> world.  I'm using ipf and ipnat compiled into the kernel.  I followed
> the IPF HOWTOs that I've read and I'm hitting a brick wall.
>   My outside interface is dc0 and let's say my outside IP is 1.1.1.1. 
> I've tried both of the following rules in my /etc/ipnat.rules file with
> no success.
> 
> map dc0 0/0 -> 1.1.1.1/32 proxy port 21 ftp/tcp
> map dc0 0/0 -> 0/32 proxy port ftp ftp/tcp
> 
>   When I say no success, I mean that I am able to establish a remote ftp
> connection, but when I do a 'ls' I get a
> 
> 425 Can't build data connection: No route to host
> 
> I'm sure I'm doing something foolish, so any advice would be greatly
> appreciated.  Oh yeah, I'm running FreeBSD5.0-release and IPF version
> 3.4.29.
>
My ipf.rules for passive FTP contains:
pass in quick on rl0 proto tcp from any to any port = 21 flags S keep state keep frags
pass in quick on rl0 proto tcp from any to any port > 1023 flags S keep state
And ipnat.rules:
map rl0 192.168.1.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
Kjell

> Thanks in advance for any help.
> 
> --
> Shane Hickey : Network/System Consultant
> GPG KeyID: 777CBF3F
> Key fingerprint: 254F B2AC 9939 C715 278C DA95 4109 9F69 777C BF3F
> Listening to: MC5 - 12 I Can Only Give you Everyth
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: shell prompt question

2003-02-16 Thread Kjell Midtseter
On Sunday, 16 February 2003 at 15:25:24 -0500, David Banning wrote:
> My normal prompt is;
> 
> david $
> 
> and my superuser prompt is;
> 
> #
> 
> How do I get the super-user prompt when I just use the "su" command
> rather than the full "su -" command?
> 
> I want to stay in the same directory I am in sometimes but have su
> authority. The problem is that my prompt doesn't change, so I forget
> that I am su.
>
When you do a su the contents of your ~/.bash_profile should be read.
While the contents of ~/.bashrc is ignored. Do you have a ~/.bash_profile ?
Kjell 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Problem booting new kernel

2003-02-13 Thread Kjell Midtseter

> Hi!
> 
> > I'm just trying to install 4.7 onto a new PC and have compiled a customer
> > kernel so that I can get the Prism II card working. However on reboot I'm
> > getting
> > 
> > VIA C3 CPU
> > CPU Class not configured
> 
> 
> you have wrong "cpu" option in your custom kernel
> 
> --
>From my dmesg:
-
CPU: VIA C3 Samuel 2 (799.73-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x678  Stepping = 8
  Features=0x803035
---
You need 686 class cpu
Kjell



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Is it possible to install PHP4 as a CGI module on R4.7?

2003-02-13 Thread Kjell Midtseter
I am trying to install PHP4 as a CGI module.
When doing the install from ports, it seems like 
make -D STANDALONE
is ignored during the install, as the Apache API module gets installed  instead.
What would be the proper procedure?

Kjell

(using  R4.7p4)


To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message 

Windows login to Samba share

2003-02-13 Thread Kjell Midtseter
On my Samba server I have 3 shares that I want to acces from other 
machines. When I start up my Windows 2000 PC it connects to the 
web and syvert shares, but when it comes to the public share I get the 
following:
Incorrect password or user name for \\Syvert\public
You last connected to this computer as: TOVE\syvert
Password: (here I enter 'syvert' as password)

web and syvert are name of accounts on the samba server.

Does W2k use some configuration or is some trimming of my smb.conf 
file required? Part of my smb.conf file:

[global]
   workgroup = KMNET
netbios name = SYVERT
   os level = 64
   preferred master = Yes
local master = yes
domain master = yes
security = share
   encrypt passwords = Yes
domain logons = yes
   guest account = smbuser
###
(irelevants removed: full smb.conf attached)
###

[public]
comment = Syvert's public folder
path = /music
writeable = Yes
create mask = 0664
directory mask = 0775
guest ok = Yes
hide dot files = yes

[web]
comment = Syvert's web folder
path = /home/www/htdocs
writeable = Yes
#  valid users = web
   guest ok = Yes

[syvert]
comment = Syvert's folder
path = /home/syvert/samba
writeable = Yes
#   valid users = syvert
   guest ok = Yes

Regards from Kjell



# Samba config file

# Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.

# To restart samba: 
# /usr/local/etc/rc.d/samba.sh stop
# /usr/local/etc/rc.d/samba.sh start

#  Start Global parameters 
[global]

#  Basic server settings
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = KMNET
# netbios name = host name
netbios name = SYVERT
# Fully Qualified Domain Name becomes SYVERT.LA3SG.NET

# server string is the equivalent of the NT Description field
server string = Syvert's Samba Server %v

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY
#  =

#  Browser Control Settings
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
os level = 64

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
preferred master = Yes

# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = yes

# Domain Master specifies Samba to be the Domain Master Browser.
# This allows Samba to collate browse lists between subnets.
# Don't use this if you already have a Windows NT domain controller doing this job.
domain master = yes
#  

#  Security and Logging Settings
# Security mode.
# Most people will want user level security.
# See security_level.txt for details.

#   security = user
#   Win98se setup as follows:
#   Network -> Primary Network Logon -> Client for Microsoft Networks
#   Network -> Client for Microsoft Network/Properties ->
#  Check Logon to Windows NT domain
#   Log in to win98 as user syvert and with syvert's password
#   Fill in Windows NT domain: (la3sg.net)

security = share#this is the easy way...
#   The win98se old setup was as follows:
#   Network -> Primary Network Logon -> Microsoft Family Logon
#   Network -> Client for Microsoft Network/Properties ->
#  Uncheck Logon to Windows NT domain

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = Yes

# Support domain logons on this machine
domain logons = yes

# Tell Samba to use a separate log file for each machine that connects
log file = /var/log/sambalog.%m

# Verbosity of the information logged on a scale of 1 to 10.
# Log level >3 will collect lots of data and slow down performance.
log level = 2

# Put a capping on the size of the log files (in Kb).
max log size = 50

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 127. 192.168.1.
#  ==

#  Start Global Printer Section =
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes

# you may wish