The FreeBSD Diary: 2005-11-27 - 2005-12-17

2005-12-18 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Long delay when sending mail

2005-12-18 Thread Sasa Stupar

Hi!

I have configured mail server on FreeBSD 5.4 with sendmail 8.13.5 and 
cyrus-imapd v2. I am also using client Mulberry (but also tested with 
Tbird, Outlook Express, Outlook). I use IMAP access with all the clients, 
the server is on the same network as clients (100 Mbit network). The issue 
is when I try to send several messages one after another I get smtp delay 
message and this sometimes takes for 30 sec to a minute. My sendmail has 
configured a smart host and also to accept unqualified domains.

I have attached my sendmail config.
What am I missing here?

--
Sasa Stupar

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

Re: Adding lines to /etc/rc.conf during sysinstall wihout being REMOVED

2005-12-18 Thread Antony Mawer

On 17/12/2005 4:22 AM, Josh Endries wrote:

Does anyone know the correct way to add lines to rc.conf without
sysinstall commenting them out and prepending REMOVED to them,
during an automated install.cfg routine? Currently I have a pkg I
made that adds stuff like ntp.conf and rc.conf, but all the lines in
my custom rc.conf are removed after the script finishes.

I looked through the code for sysinstall but didn't see any way to
disable this behavior (my C isn't very good). What would be the
correct way to do this? I'm now having my pkg install a rc.d script
which cat's  /etc/rc.conf...


I hit this same problem in building a custom installation disc, and 
wound up extending sysinstall to have a shutdownNoRC that would function 
the same as the shutdown statement in an install.cfg, only without 
touching the rc.conf. This was useful for us, as we installed a custom 
rc.conf and did not want sysinstall to touch it.


I also added a poweroff and poweroffNoRC methods that function the 
same as the shutdown statement, only power off the machine instead. 
This can be quite handy in a production line environment, when used in 
conjunction with the cdcontrol(1) command to eject the CD, prior to 
powering off the completed system.


I've attached the patch if anyone is interested... perhaps if there is 
sufficient interest then someone could see about getting this committed. 
The attached patch is against 6.0-RELEASE.


Regards
Antony
Index: usr.sbin/sysinstall/dispatch.c
===
RCS file: /home/ncvs/src/usr.sbin/sysinstall/dispatch.c,v
retrieving revision 1.47
diff -u -r1.47 dispatch.c
--- usr.sbin/sysinstall/dispatch.c  30 Aug 2004 21:03:09 -  1.47
+++ usr.sbin/sysinstall/dispatch.c  18 Nov 2005 02:11:20 -
@@ -43,6 +43,9 @@
 #include list.h
 
 static int dispatch_shutdown(dialogMenuItem *unused);
+static int dispatch_shutdown_norc(dialogMenuItem *unused);
+static int dispatch_poweroff(dialogMenuItem *unused);
+static int dispatch_poweroff_norc(dialogMenuItem *unused);
 static int dispatch_systemExecute(dialogMenuItem *unused);
 static int dispatch_msgConfirm(dialogMenuItem *unused);
 static int dispatch_mediaClose(dialogMenuItem *unused);
@@ -111,6 +114,9 @@
 { addGroup,  userAddGroup},
 { addUser,   userAddUser },
 { shutdown,  dispatch_shutdown   },
+{ shutdownNoRC,  dispatch_shutdown_norc  },
+{ poweroff,  dispatch_poweroff   },
+{ poweroffNoRC,  dispatch_poweroff_norc  },
 { system,dispatch_systemExecute  },
 { dumpVariables, dump_variables  },
 { tcpMenuSelect, tcpMenuSelect   },
@@ -178,6 +184,27 @@
 }
 
 static int
+dispatch_shutdown_norc(dialogMenuItem *unused)
+{
+systemShutdownNow(0, SHUTDOWN_NO_RC_CONF);
+return DITEM_FAILURE;
+}
+
+static int
+dispatch_poweroff(dialogMenuItem *unused)
+{
+systemShutdownNow(0, SHUTDOWN_POWEROFF);
+return DITEM_FAILURE;
+}
+
+static int
+dispatch_poweroff_norc(dialogMenuItem *unused)
+{
+systemShutdownNow(0, SHUTDOWN_POWEROFF | SHUTDOWN_NO_RC_CONF);
+return DITEM_FAILURE;
+}
+
+static int
 dispatch_systemExecute(dialogMenuItem *unused)
 {
 char *cmd = variable_get(VAR_COMMAND);
Index: usr.sbin/sysinstall/sysinstall.8
===
RCS file: /home/ncvs/src/usr.sbin/sysinstall/sysinstall.8,v
retrieving revision 1.69.2.1
diff -u -r1.69.2.1 sysinstall.8
--- usr.sbin/sysinstall/sysinstall.89 Oct 2005 03:48:42 -   1.69.2.1
+++ usr.sbin/sysinstall/sysinstall.818 Nov 2005 01:55:58 -
@@ -813,6 +813,26 @@
 .Pp
 .Sy Variables :
 None
+.It shutdownNoRC
+Stop the script and terminate sysinstall, but do not touch
+.Pa /etc/rc.conf .
+.Pp
+.Sy Variables :
+None
+.It poweroff
+The same as
+.Pa shutdown ,
+only power off the system (if possible) rather than rebooting.
+.Pp
+.Sy Variables :
+None
+.It poweroffNoRC
+The same as
+.Pa shutdownNoRC ,
+only power off the system (if possible) rather than rebooting.
+.Pp
+.Sy Variables :
+None
 .It system
 Execute an arbitrary command with
 .Xr system 3
Index: usr.sbin/sysinstall/sysinstall.h
===
RCS file: /home/ncvs/src/usr.sbin/sysinstall/sysinstall.h,v
retrieving revision 1.264.2.1
diff -u -r1.264.2.1 sysinstall.h
--- usr.sbin/sysinstall/sysinstall.h7 Oct 2005 15:56:30 -   
1.264.2.1
+++ usr.sbin/sysinstall/sysinstall.h18 Nov 2005 02:09:31 -
@@ -395,6 +395,10 @@
 char extras[EXTRAS_FIELD_LEN];
 } DevInfo;
 
+/* systemShutdownNow bitfield flags */
+#define SHUTDOWN_POWEROFF  0x1 /* Power off after shutdown */
+#define SHUTDOWN_NO_RC_CONF0x2 /* Don't attempt to update rc.conf */
+
 
 /*** Externs ***/
 extern jmp_buf BailOut;/* Used to get the heck out 

RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Ted Mittelstaedt


-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Friday, December 16, 2005 5:25 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 16. december 2005 3:36 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 15, 2005 12:34 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)


 Ted

 Hmmm, here is test with iperf what I have done with and
without polling:
 **
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1088 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

 This is when I use Device polling option on m0n0.

 If I disable this option then my transfer is worse:
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1086 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
 ***

 BTW: my router is m0n0wall (FBSD 4.11).


 what are the cpu speeds and operating systems of all devices
 in the packet path, what is the make and model of switchs in
 use, provide dmesg output of the bsd box, a network diagram
 of the setup, etc. etc. etc.

 The above test results are not replicatable and thus, worthless.
 Useful test results would allow a reader to build an exact
 duplicate of your setup, config it identically, and get identical
 results.

 Ted


OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C

The 3com 3c905 is not a very good card under FreeBSD the driver was
written
without support from 3com and is shakey on a lot of hardware.  I would
say
there's a big question that your server is actually saturating the
ethernet.
Probably that is why your only getting 90Mbt.

NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
Pro/100S Nics and
Celeron 433; The user computer (192.168.10.249) is Celeron 2400
with winxp
and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.


Once again, the winxp+realtek 8139 is not a particularly steller combo,
I would question that this system could saturate the ethernet, either.

Diagram: http://me.homelinux.net/network.pdf

dmesg from the router:

$ dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x665  Stepping = 5

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 201326592 (196608K bytes)
avail memory = 179142656 (174944K bytes)
Preloaded elf kernel kernel at 0xc1006000.
Preloaded mfs_root /mfsroot at 0xc100609c.
Pentium Pro MTRR support enabled
md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c
md1: Malloc disk
Using $PIR table, 8 entries at 0xc00fdef0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device
1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at
device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port
0xd000-0xd01f irq 11
at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: Intel 82371AB Power management controller port
0x5000-0x500f at
device 7.3 on pci0
pci0: unknown card (vendor=0x1274, dev=0x1371) at 8.0 irq 11
fxp0: Intel 82550 Pro/100 Ethernet port 0xd800-0xd83f mem
0xd040-0xd041,0xd046-0xd0460fff irq 10 at device
15.0 on pci0
fxp0: Ethernet address 00:02:b3:62:f6:06
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Intel 

RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danial Thom
Sent: Friday, December 16, 2005 7:36 AM
To: Sasa Stupar; freebsd-questions@freebsd.org
Subject: Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




--- Sasa Stupar [EMAIL PROTECTED]
wrote:

 
 
 --On 15. december 2005 6:33 -0800 Drew
 Tomlinson [EMAIL PROTECTED] 
 wrote:
 
  On 12/15/2005 12:33 AM Sasa Stupar wrote:
 
 
 
  --On 14. december 2005 20:01 -0800 Ted
 Mittelstaedt
  [EMAIL PROTECTED] wrote:
 
 
 
  -Original Message-
  From: Danial Thom
 [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, December 14, 2005 11:14
 AM
  To: Ted Mittelstaedt; Drew Tomlinson
  Cc: freebsd-questions@freebsd.org
  Subject: RE: Polling For 100 mbps
 Connections? (Was Re: Freebsd Theme
  Song)
 
 
  Well, if polling does no good for fxp,
 due to
  the
  hardware doing controlled interrupts,
 then why
  does
  the fxp driver even let you set it as an
  option?
  And why have many people who have enabled
 it on
  fxp seen an improvement?
 
 
  They haven't, freebsd accounting doesn't
 work
  properly with polling enabled, and they
 don't
  have the ability to know if they are
 getting
  better performance, because they, like
 you,
  have no clue what they're doing. How about
 all
  the idiots running MP with FreeBSD 4.x,
 when we
  know its just a waste of time? they all
 think
  they're getting worthwhile performance,
 because
  they are clueless.
 
 
  I would call them idiots if they are
 running MP under
  FreeBSD and assuming that they are getting
 better
  performance without actually testing for
 it.  But
  if they are just running MP because they
 happen to be
  using an MP server, and they want to see if
 it will
  work or not, who cares?
 
  Maybe its tunable because they guy who
 wrote the
  driver made it a tunable? duh. I've yet to
 see
  one credible, controlled test that shows
 polling
  vs properly tuned interrupt-driven.
 
 
  Hm, OK I believe that.  As I recall I asked
 you earlier to
  post the test setup you used for your own
 tests
  proving that polling is worse, and you
 haven't
  done so yet.  Now you are saying you have
 never seen
  a credible controlled test that shows
 polling vs
  interrupt-driven.  So I guess either you
 were blind
  when you ran your own tests, or your own
 tests
  are not credible, controlled polling vs
 properly
  tuned interrupt-driven.  As I have been
 saying
  all along.  Now your agreeing with me.
 
  The only advantage of polling is that it
 will
  drop packets instead of going into
 livelock. The
  disadvantage is that it will drop packets
 when
  you have momentary bursts that would
 harmlessly
  put the machine into livelock. Thats about
 it.
 
 
  Ah, now I think suddenly I see what the
 chip on your
  shoulder is.  You would rather have your
 router based
  on FreeBSD go into livelock while packets
 stack up,
  than drop anything.  You tested the polling
 code and found
  that yipes, it drops packets.
 
  What may I ask do you think that a Cisco or
 other
  router does when you shove 10Mbt of traffic
 into it's
  Ethernet interface destined for a host
 behind a T1 that
  is plugged into the other end?  (and no,
 source-quench
  is not the correct answer)
 
  I think the scenario of it being better to
 momentary go into
  livelock during an overload is only
 applicable to one scenario,
  where the 2 interfaces in the router are
 the same capacity.
  As in ethernet-to-ethernet routers.  Most
 certainly not
  Ethernet-to-serial routers, like what most
 routers are
  that aren't on DSL lines.
 
  If you have a different understanding then
 please explain.
 
 
  I've read those datasheets as well and
 the
  thing I
  don't understand is that if you are
 pumping
  100Mbt
  into an Etherexpress Pro/100 then if the
 card
  will
  not interrupt more than this throttled
 rate you
  keep
  talking about, then the card's interrupt
  throttling
  is going to limit the inbound bandwidth
 to
  below
  100Mbt.
 
 
  Wrong again, Ted. It scares me that you
 consider
  yourself knowlegable about this. You can
 process
  # interrupts X ring_size packets; not one
 per
  interrupt. You're only polling 1000x per
 second
  (or whatever you have hz set to), so why
 do you
  think that you have to interrupt for every
 packet
  to do 100Mb/s?
 
 
  I never said anything about interrupting
 for every
  packet, did I?  Of course not since I know
 what
  your talking about.  However, it is you who
 are throwing
  around the numbers - or were in your prior
 post -
  regarding the fxp driver and hardware.  Why
 should
  I have to do the work digging around in the
 datasheets
  and doing the math?
 
  Since you seem to be wanting to argue this
 from a
  theory standpoint, then your only option is
 to 
=== message truncated ===

message too large for stupid Yahoo mailer

Unfortunately your test is not controlled,
which is pretty typical of most OS testers.
Firstly, 

Re: Question about PHP5 vs mod_php5

2005-12-18 Thread Matthew Seaman

Jose Borquez wrote:
I am currently running FreeBSD 5.4 with Apache+mod_ssl 1.3.34 and I am 
attempting to configure group office which is a project management 
suite.  I need php support and I am confused about what the difference 
is between PHP5 and mod_php5.  If I just install mod_php5 will that be 
enough to allow php support?


The www/mod_php5 port gives you just the Apache loadable module, no
standalone php executable.

The lang/php5 port gives you both the Apache loadable module and the
standalone php executable.

The lang/php5-cli port gives you just the standalone php executable.

Finally, the www/php5-cgi port gives you a version of PHP *without*
fastcgi support -- ie. it's tied to using the traditional CGI interface.
(The php5-cgi port exists principally to be used with the www/suphp port) 


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


signature.asc
Description: OpenPGP digital signature


Re: foobarred installation?

2005-12-18 Thread David Gerard
RW wrote:

 From what I've read I wouldn't recommend amd64 for a desktop, as two many 
 things are broken, for example 3-d support for your nvidia card. 


That's a pity ... I was thinking in terms of an uber-l33t dual-AMD64
beast machine running FreeBSD 6 (or maybe 7 by the time I get around to
it) for my next desktop.

(Not that I ever sit at my desktop any more, and am about to repurpose
my FBSD 5 desktop as FBSD 6 and very much a household *server*.)

Is there a list or project page on precisely what needs fixing on amd64?

(I could always run Ubuntu, but I have my laptop for that ...)


- d.


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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Sasa Stupar



--On 18. december 2005 1:33 -0800 Ted Mittelstaedt [EMAIL PROTECTED] 
wrote:






-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Friday, December 16, 2005 5:25 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 16. december 2005 3:36 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:





-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 12:34 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)



Ted


Hmmm, here is test with iperf what I have done with and

without polling:

**

Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 8.00 KByte (default)

[1816] local 192.168.10.249 port 1088 connected with
192.168.1.200 port 5001
[ ID] Interval   Transfer Bandwidth
[1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

This is when I use Device polling option on m0n0.

If I disable this option then my transfer is worse:

Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 8.00 KByte (default)

[1816] local 192.168.10.249 port 1086 connected with
192.168.1.200 port 5001
[ ID] Interval   Transfer Bandwidth
[1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
***

BTW: my router is m0n0wall (FBSD 4.11).



what are the cpu speeds and operating systems of all devices
in the packet path, what is the make and model of switchs in
use, provide dmesg output of the bsd box, a network diagram
of the setup, etc. etc. etc.

The above test results are not replicatable and thus, worthless.
Useful test results would allow a reader to build an exact
duplicate of your setup, config it identically, and get identical
results.

Ted



OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C


The 3com 3c905 is not a very good card under FreeBSD the driver was
written
without support from 3com and is shakey on a lot of hardware.  I would
say
there's a big question that your server is actually saturating the
ethernet.
Probably that is why your only getting 90Mbt.


NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
Pro/100S Nics and
Celeron 433; The user computer (192.168.10.249) is Celeron 2400
with winxp
and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.



Once again, the winxp+realtek 8139 is not a particularly steller combo,
I would question that this system could saturate the ethernet, either.


Diagram: http://me.homelinux.net/network.pdf

dmesg from the router:

$ dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
   [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x665  Stepping = 5

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 201326592 (196608K bytes)
avail memory = 179142656 (174944K bytes)
Preloaded elf kernel kernel at 0xc1006000.
Preloaded mfs_root /mfsroot at 0xc100609c.
Pentium Pro MTRR support enabled
md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c
md1: Malloc disk
Using $PIR table, 8 entries at 0xc00fdef0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device
1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at
device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port
0xd000-0xd01f irq 11
at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: Intel 82371AB Power management controller port
0x5000-0x500f at
device 7.3 on pci0
pci0: unknown card (vendor=0x1274, dev=0x1371) at 8.0 irq 11
fxp0: Intel 82550 Pro/100 Ethernet port 0xd800-0xd83f mem
0xd040-0xd041,0xd046-0xd0460fff irq 10 at device
15.0 on pci0
fxp0: Ethernet address 00:02:b3:62:f6:06
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 

Re: CardBus problems. $PIR: ROUTE_INTERRUPT Failed.

2005-12-18 Thread Björn König

Andrew Walker schrieb:

[...]
cbb0: TI1250 PCI-CardBus Bridge mem 0x20822000-0x20822fff at device
2.0 on pci0
cardbus0: CardBus bus on cbb0
cbb0: TI1250 PCI-CardBus Bridge mem 0x20821000-0x20821fff at device
2.1 on pci0
cardbus0: CardBus bus on cbb1
$PIR: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_attach: cbb1 attach returned 12
[...]


I had similar errors with my Thinkpad 760XL. Try FreeBSD 4.11 and if 
this work you can mostly use 5.x by using a custom kernel with


 device  pcic
 device  card

instead of

 device  cbb
 device  pccard
 device  cardbus


This is because a new pccard bus driver infrastructure was added in 
FreeBSD 5 and the old was removed as alternative in 6. The new one 
doesn't work with old ISA hardware.


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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
Sent: Sunday, December 18, 2005 2:21 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 18. december 2005 1:33 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 16, 2005 5:25 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)




 --On 16. december 2005 3:36 -0800 Ted Mittelstaedt
 [EMAIL PROTECTED]
 wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 15, 2005 12:34 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)


 Ted

 Hmmm, here is test with iperf what I have done with and
 without polling:
 **
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1088 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

 This is when I use Device polling option on m0n0.

 If I disable this option then my transfer is worse:
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1086 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
 ***

 BTW: my router is m0n0wall (FBSD 4.11).


 what are the cpu speeds and operating systems of all devices
 in the packet path, what is the make and model of switchs in
 use, provide dmesg output of the bsd box, a network diagram
 of the setup, etc. etc. etc.

 The above test results are not replicatable and thus, worthless.
 Useful test results would allow a reader to build an exact
 duplicate of your setup, config it identically, and get identical
 results.

 Ted


 OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900
and 3C905C

 The 3com 3c905 is not a very good card under FreeBSD the driver was
 written
 without support from 3com and is shakey on a lot of hardware.  I would
 say
 there's a big question that your server is actually saturating the
 ethernet.
 Probably that is why your only getting 90Mbt.

 NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
 Pro/100S Nics and
 Celeron 433; The user computer (192.168.10.249) is Celeron 2400
 with winxp
 and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.


 Once again, the winxp+realtek 8139 is not a particularly
steller combo,
 I would question that this system could saturate the ethernet, either.

 Diagram: http://me.homelinux.net/network.pdf

 dmesg from the router:
 
 $ dmesg
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,
1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
 Timecounter i8254  frequency 1193182 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x665  Stepping = 5

 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P
 GE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 real memory  = 201326592 (196608K bytes)
 avail memory = 179142656 (174944K bytes)
 Preloaded elf kernel kernel at 0xc1006000.
 Preloaded mfs_root /mfsroot at 0xc100609c.
 Pentium Pro MTRR support enabled
 md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c
 md1: Malloc disk
 Using $PIR table, 8 entries at 0xc00fdef0
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
 pci0: PCI bus on pcib0
 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device
 1.0 on pci0
 pci1: PCI bus on pcib1
 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at
 device 7.1 on
 pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: Intel 82371AB/EB (PIIX4) USB controller port
 0xd000-0xd01f irq 11
 at device 7.2 on pci0
 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 chip1: Intel 82371AB Power 

Re: webmail solution

2005-12-18 Thread Thomas Linton
I played with http://www.squirrelmail.org/ in combination with
postfix, which was to me pretty good. My ISP (www.inode.at) is
porviding their webmail service also via squirrelmail  (they changed
the look and feel-but it's still squirrelmail).


On 12/18/05, Olivier Nicole [EMAIL PROTECTED] wrote:
  I'm looking for experiences with a webmail solution. I want to use
  postfix as my mta and on a freebsd6 machine. The users who will be using
 the
  server probably would do better with a webmail package so they can get to
 it
  from anywhere. The box already has apache and php so i don't think that'll
  be an issue. One thing i'm uncertain is whether to offer direct pop/imap
 or
  their equivalent encrypted counterparts or just do it all through webmail.

 I am using imp from the ports. It need some pop/imap to access the
 mailboxes.

 Olivier
 ___
 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: How to make init(8) run a daemon to me??

2005-12-18 Thread Björn König

Gustavo Parrini schrieb:


I'm having a pretty hard time trying to figure out how
can I get init(8) to run a daemon and respawn it if it
crashes. By the time I was a Linux user, it was done by
adding a line in /etc/inittab and it was all...

I know that it must be done in /etc/ttys but I couldn't
find any syntax example after searching the FreeBSD manpages,
maillists, Handbook and Google.


This is an example for /etc/ttys:

  /bin/sleep 12 unknown on  secure


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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Sasa Stupar



--On 18. december 2005 2:32 -0800 Ted Mittelstaedt [EMAIL PROTECTED] 
wrote:






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
Sent: Sunday, December 18, 2005 2:21 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 18. december 2005 1:33 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:





-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Friday, December 16, 2005 5:25 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 16. december 2005 3:36 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:





-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 12:34 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)



Ted


Hmmm, here is test with iperf what I have done with and

without polling:

**

Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 8.00 KByte (default)

[1816] local 192.168.10.249 port 1088 connected with
192.168.1.200 port 5001
[ ID] Interval   Transfer Bandwidth
[1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

This is when I use Device polling option on m0n0.

If I disable this option then my transfer is worse:

Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 8.00 KByte (default)

[1816] local 192.168.10.249 port 1086 connected with
192.168.1.200 port 5001
[ ID] Interval   Transfer Bandwidth
[1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
***

BTW: my router is m0n0wall (FBSD 4.11).



what are the cpu speeds and operating systems of all devices
in the packet path, what is the make and model of switchs in
use, provide dmesg output of the bsd box, a network diagram
of the setup, etc. etc. etc.

The above test results are not replicatable and thus, worthless.
Useful test results would allow a reader to build an exact
duplicate of your setup, config it identically, and get identical
results.

Ted



OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900

and 3C905C


The 3com 3c905 is not a very good card under FreeBSD the driver was
written
without support from 3com and is shakey on a lot of hardware.  I would
say
there's a big question that your server is actually saturating the
ethernet.
Probably that is why your only getting 90Mbt.


NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
Pro/100S Nics and
Celeron 433; The user computer (192.168.10.249) is Celeron 2400
with winxp
and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.



Once again, the winxp+realtek 8139 is not a particularly

steller combo,

I would question that this system could saturate the ethernet, either.


Diagram: http://me.homelinux.net/network.pdf

dmesg from the router:

$ dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,

1992, 1993, 1994

The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
   [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x665  Stepping = 5

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 201326592 (196608K bytes)
avail memory = 179142656 (174944K bytes)
Preloaded elf kernel kernel at 0xc1006000.
Preloaded mfs_root /mfsroot at 0xc100609c.
Pentium Pro MTRR support enabled
md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c
md1: Malloc disk
Using $PIR table, 8 entries at 0xc00fdef0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device
1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at
device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port
0xd000-0xd01f irq 11
at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: Intel 82371AB Power management 

Re: How to make init(8) run a daemon to me??

2005-12-18 Thread Matthew Seaman

Gustavo Parrini wrote:

Hi All,

I'm having a pretty hard time trying to figure out how
can I get init(8) to run a daemon and respawn it if it
crashes. By the time I was a Linux user, it was done by
adding a line in /etc/inittab and it was all...

I know that it must be done in /etc/ttys but I couldn't
find any syntax example after searching the FreeBSD manpages,
maillists, Handbook and Google.

man init gives me this:

...
The *init* utility can also be used to keep arbitrary daemons running,
automatically restarting them if they die.  In this case, the first field
in the ttys(5) 
http://www.freebsd.org/cgi/man.cgi?query=ttyssektion=5apropos=0manpath=FreeBSD+6.0-RELEASE+and+Ports 
file must not reference the path to a configured device

node and will be passed to the daemon as the final argument on its com-
mand line.  This is similar to the facility offered in the ATT System V
UNIX //etc/inittab/.
...

Sounded a little cryptic to me... sorry...

Can anyone help me? If so, An example line would be fine.


Lets take sendmail as an example here -- just for something concrete to
write about, and not because sendmail needs this sort of treatment.

Now, you need 4 fields to go into the /etc/ttys file to make this work:

  name -- which terminal device to use

  getty -- the program to attach to that terminal

  type -- the terminal type

  status -- on or off

(See the comments in the /etc/ttys file for more detail on this)

So as an example /etc/ttys line try:

  sendmail /usr/sbin/sendmail -L sm-mta -bB -q30m network on

The first field here is an arbitrary name -- anything will do so long
as it doesn't collide with any of the terminal device names from /dev.

The second field is the command and arguments to run, encased in double
quotes.  Note the '-bB' flag -- that's important and tells sendmail to
stay in the foreground.  You definitely don't want '-bd' here.

The third field -- terminal type -- is really irrelevant here, so just
choose something vaguely appropriate.

The fourth field tells init yes, please do run the sendmail process.

Your confusion stems from the fact that what you are doing is running
a daemon process -- i.e. a process /without/ a controlling terminal --
from the configuration file for setting up the processes that manage
terminals.  Yes, it's a hack.  The SysV-ish /etc/inittab mechanism has
been better thought out in this regard.

Note too that when we say 'daemon' we don't mean a process that forks
itself on startup, which is part of the standard mechanism for a process
to dissociate itself from any controlling terminal (see daemon(3)). All
programs in the base system intended to run as daemons will do that, which
makes them completely unsuitable for running through this mechanism --
you'll just end up with init(8) spinning madly as it continually tries to
restart the process.  You can only use the /etc/ttys trick with a program
that stays in the foreground.  Many system daemons have a debug mode which
prevents them from doing the initial fork to dissociate themselves from the
terminal.

You might wish to investigate the sysutils/daemontools port, which is a 
set of programs developed by Dan Bernstein for doing (inter alia) pretty

much exactly this job: http://cr.yp.to/daemontools.html

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


signature.asc
Description: OpenPGP digital signature


Re: IBM xSeries 226 ips problem

2005-12-18 Thread Thomas Linton
You have a problem with the ServeRaid Driver. I'm not sure, which
ServeRaid Adapter is integtrated on the systemboard of the x226.

Have a look on the man page of the ips driver. Following ServeRaid
Adapter should work:

  ·   IBM ServeRAID 3H
  ·   ServeRAID 4L/4M/4H
  ·   ServeRAID Series 5
  ·   ServeRAID 6i/6M


man page IPS(4):

http://www.freebsd.org/cgi/man.cgi?query=ipssektion=4manpath=FreeBSD+6.0-RELEASE



On 12/12/05, Tsakhlai Baatar [EMAIL PROTECTED] wrote:
 i got a problem during boot of FreeBSD 6.0 Release on my new IBM @Server
 xSeries 226.
   there is something like resetting ips driver it will take a 5 minute
 message occurs and system not continue to other process.
   What is wrong with that. How do I install FreeBSD in this situation?




   
 -
 Yahoo! Shopping
  Find Great Deals on Holiday Gifts at Yahoo! Shopping
 ___
 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: Long delay when sending mail

2005-12-18 Thread Matthew Seaman

Sasa Stupar wrote:

Hi!

I have configured mail server on FreeBSD 5.4 with sendmail 8.13.5 and 
cyrus-imapd v2. I am also using client Mulberry (but also tested with 
Tbird, Outlook Express, Outlook). I use IMAP access with all the 
clients, the server is on the same network as clients (100 Mbit 
network). The issue is when I try to send several messages one after 
another I get smtp delay message and this sometimes takes for 30 sec to 
a minute. My sendmail has configured a smart host and also to accept 
unqualified domains.

I have attached my sendmail config.
What am I missing here?


30s delays sounds like DNS timeouts.  Check that the host running sendmail
can do a reverse lookup on the IP number of the clients connecting to it.
Simply putting IPs and hostnames of all your client boxes into /etc/hosts
should fix the problem.

Alternatively, that delay could be due to the ident protocol.  Ident is
trivially easy to spoof which makes it a pointless waste of time.  Putting:

define(`confTO_IDENT', `0')dnl

in your .mc file will stop ident getting in your hair.

The third possibility is that you've got quite a few milters set up there
and sendmail simply needs a bit of time to run each message through all of
them.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


signature.asc
Description: OpenPGP digital signature


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Ted Mittelstaedt

what does the CPU of the router do when your doing that?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
Sent: Sunday, December 18, 2005 3:00 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




--On 18. december 2005 2:32 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
 Sent: Sunday, December 18, 2005 2:21 AM
 To: Ted Mittelstaedt; freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)




 --On 18. december 2005 1:33 -0800 Ted Mittelstaedt
 [EMAIL PROTECTED]
 wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 16, 2005 5:25 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)




 --On 16. december 2005 3:36 -0800 Ted Mittelstaedt
 [EMAIL PROTECTED]
 wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 15, 2005 12:34 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)


 Ted

 Hmmm, here is test with iperf what I have done with and
 without polling:
 **
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1088 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

 This is when I use Device polling option on m0n0.

 If I disable this option then my transfer is worse:
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1086 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
 ***

 BTW: my router is m0n0wall (FBSD 4.11).


 what are the cpu speeds and operating systems of all devices
 in the packet path, what is the make and model of switchs in
 use, provide dmesg output of the bsd box, a network diagram
 of the setup, etc. etc. etc.

 The above test results are not replicatable and thus, worthless.
 Useful test results would allow a reader to build an exact
 duplicate of your setup, config it identically, and get identical
 results.

 Ted


 OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900
 and 3C905C

 The 3com 3c905 is not a very good card under FreeBSD the driver was
 written
 without support from 3com and is shakey on a lot of
hardware.  I would
 say
 there's a big question that your server is actually saturating the
 ethernet.
 Probably that is why your only getting 90Mbt.

 NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
 Pro/100S Nics and
 Celeron 433; The user computer (192.168.10.249) is Celeron 2400
 with winxp
 and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.


 Once again, the winxp+realtek 8139 is not a particularly
 steller combo,
 I would question that this system could saturate the
ethernet, either.

 Diagram: http://me.homelinux.net/network.pdf

 dmesg from the router:
 
 $ dmesg
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,
 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
 Timecounter i8254  frequency 1193182 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x665  Stepping = 5

 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P
 GE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 real memory  = 201326592 (196608K bytes)
 avail memory = 179142656 (174944K bytes)
 Preloaded elf kernel kernel at 0xc1006000.
 Preloaded mfs_root /mfsroot at 0xc100609c.
 Pentium Pro MTRR support enabled
 md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c
 md1: Malloc disk
 Using $PIR table, 8 entries at 0xc00fdef0
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
 pci0: PCI bus on pcib0
 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device
 1.0 on pci0
 pci1: PCI bus on pcib1
 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX4 ATA33 controller port 

Re: how to dual boot

2005-12-18 Thread Gerard Seibert
On Saturday, December 17, 2005 11:00:25 PM
Jerry McAllister [EMAIL PROTECTED]
Subject: Re: how to dual boot
Wrote these words of wisdom:

  At 07:39 PM 12/16/2005, Jerry McAllister wrote:
  
  You need to read the documentation better.
  
  Or at all. :)  Was hoping it would just magically guide me through it. Not 
  a critical box of mine of course.
  
  It tells you that you should install Microsloth first and then FreeBSD.
  
  Did that, lost MS so reinstalled it.
  
  But, FreeBSD is more sophisticated and also more friendly to the rest
  of the world and, first of all, asks if you want an MBR installed in
  the sector 0 and then if you go ahead and write FreeBSD's MBR, it will
  give you a choice of bootable slices to boot, including MS if present.
  
  Ok, I'll read the docs and reinstall FBSD. That's no problem, I hope.
  
  Here is the problem. This is my kids' computer and they insist on 
  installing XP. So we keep doing 30 day trials. On the bright side they've 
  all learned to install the OS. Sounds like I'll have problems though 
  keeping a FreeBSD install on there if Windows has to be reinstalled every 
  30 days.
 
 Oh well, such is life in the fast lane.
 Have fun.
 
 jerry
 
  Yuck.
  
  Marty
  


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Why do you have to reinstall Microsoft every thirty day? I am not
familiar with this trial scenario you mentioned. Do you have some
pirated copy of the software and are attempting to defeat the required
registration of it?

I am just curious, that is all.

-- 
Gerard Seibert
[EMAIL PROTECTED]


Buffet is a French term, It means get up and get it yourself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bootloader not reading kernel.conf

2005-12-18 Thread Richard Klingler

Hello...

Does someone know what to do that the bootloader reads in
/boot/kernel.conf?

Otherwise have to do to always a boot -c and issue
di psm0 and q...


thanx inadvance
rick

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


bootloader not reading kernel.conf

2005-12-18 Thread Richard Klingler

Hello...

Does someone know what to do that the bootloader reads in
/boot/kernel.conf?

Otherwise have to do to always a boot -c and issue
di psm0 and q...


thanx inadvance
rick


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


Re: FreeBSD 6, WPA-PSK, wpa_supplicant and a IBM a31p

2005-12-18 Thread Uwe Laverenz
On Sat, Dec 17, 2005 at 05:04:03PM -0700, Daniel Hanson wrote:

 Thoughts, ideas? directions. From my reading of the man pages, ap_scan

Yes, probably WPA-encryption is simply not supported by your wireless
card/chipset. AFAIK there is no way to use WPA with a wi-card. You either
stick to WEP-encryption or buy a newer wireless card (ath or iwi would
do WPA-PSK).

Uwe

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


setting sysctl net.inet6.ip6.fw.deny.unknown.extension.headers off crashes R51

2005-12-18 Thread Wolfgang Lausenbart
Hello List,

Now using FreeBSD 6.0-STABLE.
If I disable net.inet6.ip6.fw.deny_unknown_exthdrs,
then Thinkpad R51 crashes. 
Has this been fixed in HEAD?

using standard ip6fw allow from any to any rules...


kldstat

Id Refs AddressSize Name
 1   16 0xc040 462e4c   kernel
 21 0xc0863000 1bd9cc   w22n50_sys.ko
 31 0xc0a21000 590d0acpi.ko
 41 0xc26f2000 3000 fdescfs.ko
 51 0xc26fe000 6000 linprocfs.ko
 61 0xc2751000 15000linux.ko
 71 0xc28a2000 3000 snp.ko
 81 0xc2b4a000 5000 ip6fw.ko


Routing tables

Internet6:
Destination   Gateway   Flags  
Netif Expire
::1   ::1   UH  lo0
fe80::%em0/64 link#1UC  em0
fe80::211:25ff:fe82:95b5%em0  00:11:25:82:95:b5 UHL lo0
fe80::%lo0/64 fe80::1%lo0   U   lo0
fe80::1%lo0   link#4UHL lo0
fe80::%vlan1/64   link#6UCvlan1
fe80::211:25ff:fe82:95b5%vlan100:11:25:82:95:b5 UHL lo0
fe80::%vlan2/64   link#7UCvlan2
fe80::211:25ff:fe82:95b5%vlan200:11:25:82:95:b5 UHL lo0
fe80::%vlan3/64   link#8UCvlan3
fe80::211:25ff:fe82:95b5%vlan300:11:25:82:95:b5 UHL lo0
fe80::%vlan4/64   link#9UCvlan4
fe80::211:25ff:fe82:95b5%vlan400:11:25:82:95:b5 UHL lo0
fe80::%vlan5/64   link#10   UCvlan5
fe80::211:25ff:fe82:95b5%vlan500:11:25:82:95:b5 UHL lo0
fe80::%wo0/64 link#14   UC  wo0
fe80::209:5bff:fe54:82a5%wo0  00:09:5b:54:82:a5 UHL lo0
ff01:1::/32   link#1UC  em0
ff01:4::/32   ::1   UC  lo0
ff01:6::/32   link#6UCvlan1
ff01:7::/32   link#7UCvlan2
ff01:8::/32   link#8UCvlan3
ff01:9::/32   link#9UCvlan4
ff01:a::/32   link#10   UCvlan5
ff01:e::/32   link#14   UC  wo0
ff02::%em0/32 link#1UC  em0
ff02::%lo0/32 ::1   UC  lo0
ff02::%vlan1/32   link#6UCvlan1
ff02::%vlan2/32   link#7UCvlan2
ff02::%vlan3/32   link#8UCvlan3
ff02::%vlan4/32   link#9UCvlan4
ff02::%vlan5/32   link#10   UCvlan5
ff02::%wo0/32 link#14   UC  wo0

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
104link#14UC  00wo0
127.0.0.1  127.0.0.1  UH  02lo0

wo0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 104.129.0.63 netmask 0xff00 broadcast 104.255.255.255
inet6 fe80::209:5bff:fe54:82a5%wo0 prefixlen 64 scopeid 0xe 
ether 00:09:5b:54:82:a5
media: IEEE 802.11 Wireless Ethernet DS/11Mbps adhoc
status: associated
ssid olsr.freifunk.net channel 10 bssid 02:09:0b:66:82:a5
stationname foobar-e0
authmode OPEN privacy OFF txpowmax 100 bintval 100

net.wlan.debug had before set been to 1
then this causes the os to freeze:
sysctl net.inet6.ip6.fw.deny_unknown_exthdrs1-0

any ideas?

ip6fw show
00100407  10596 allow ipv6 from any to any
00200  0  0 allow log ipv6 from any to any
65535 43   1068 deny ipv6 from any to any


greetz  
Wolfgang Lausenbart
--
E7AC 1E9B 87D8 5BD2 E2F2 6F4A 3177 ED68 8185 480C
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sawmill

2005-12-18 Thread Darrel

I have not been abled to spend much time with any mailing lists
recently, but think that noone answered my question from a couple of
months ago.  This might be of interest to someone:

The precompiled binaries of Sawmill did not work on FreeBSD 6, but the
encrypted source code did.  Sawmill does not support Konqueror, but the
graphical interface opened in Firefox.

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


wireless server | AMD64

2005-12-18 Thread Darrel

I had no interest in wireless networking until recently.  Google
searches turned up some interesting information, but most of it was
specific to Linux.  Also, I did not have much luck figuring out which
chipsets were on the wireless cards.

Does someone have a suggestion of which card to get for making a
FreeBSD 6 wireless server on AMD64?

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


FreeBSD/Apache/DNS- Problem accessing virtual hosts from external network

2005-12-18 Thread Edwin D. Vinas
Hi,

I am using DNS(Bind)/Apache(virtual hosting) in a FreeBSd machine which is
connected via a static IP in a DSL provider. I want to setup mulitple
websites under my domain. I have been able to get a domain from GoDaddy and
was able to setup so that it will point to my IP address when my domain is
accessed. I also have configured DNS and Apache virtual hosting.

 Questions:
1) Is it a problem of DNS, Apache virtual hosting or my domain name
provider?
2) Is anyone have tried to configure multiple virtual hosting in Apache with
DNS in one FreeBSD machine? Can you give me your sample config for DNS,
Apache, /etc/hosts/, /etc/resolv.conf etc etc that are related to this
setup?

---
Observations:
1) If the computer accessing the virtual domains  is from the LAN, it works
fine. I can access
all the virtual domains (i.e., www.mydomain.com, vhost1.mydomain.com,
vhost2.mydomain.com, vhost3.mydomain.com)
2) But if the virtual domain was accessed from outside (Internet or at my
office), it doesn't work and all virtual domains
resolve to www.mydomain.com. All I can see is the main default page for
www.mydomain.com.  For example, when I access www.mydomain.com, it works
fine. But when I access the virtual hosts
such as vhost1.mydomain.com, vhost2.mydomain.com, vhost3.mydomain.com; it
only display the main website www.mydomain.com.


Here are my configurations:

* httpd.conf  virtual hosts
#--
Listen 80
BindAddress 203.xxx.xxx.xxx
Port 80
#ServerName www.mydomain.com (commented it out but doesn't have any effect
when uncommented)

DocumentRoot /usr/local/apache/www

Directory /usr/local/apache/www

NameVirtualHost 203.xxx.xxx.xxx:80

VirtualHost 203.xxx.xxx.xxx:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/apache/www/
ServerName www.mydomain.com
ErrorLog logs/virtual_host.www.com-error_log
CustomLog logs/virtual_host.www.com-access_log common
/VirtualHost


VirtualHost 203.xxx.xxx.xxx:80
ServerAdmin [EMAIL PROTECTED]
ServerName vhost1.mydomain.com
DocumentRoot /usr/local/apache/www_virtual/vhost1/
ErrorLog logs/virtual_host.vhost1.com-error_log
CustomLog logs/virtual_host.vhost1.com-access_log common
/VirtualHost

VirtualHost 203.xxx.xxx.xxx:80
ServerAdmin [EMAIL PROTECTED]
ServerName vhost2.mydomain.com
DocumentRoot /usr/local/apache/www_virtual/vhost2/
ErrorLog logs/virtual_host.vhost2.com-error_log
CustomLog logs/virtual_host.vhost2.com-access_log common
/VirtualHost
#---

* DNS configs
#---
; Machine Names
localhost   IN A127.0.0.1
dns IN A203.xxx.xxx.xxx
@   IN A203.xxx.xxx.xxx

; Aliases
www IN CNAME@
vhost1 IN CNAME@
vhost2  IN CNAME@
vhost3   IN CNAME@
vhost4 IN CNAME@
#---


* Traceroutes from external network
I can traceroute www.mydomain.com and resolves to 203.xxx.xxx.xxx
I can also traceroute vhost1.mydomain.com and resolves to 203.xxx.xxx.xxx
I can also traceroute all vhosts and they find my IP address 203.xxx.xxx.xxx
.

* GoDaddy COnfig
- I have set Custom Name Servers and added my IP address/hostname as the DNS
server
Thanks!
Edwin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Sasa Stupar

Nothing. From the GUI view it is at 0% of utilisation.

Sasa

--On 18. december 2005 3:51 -0800 Ted Mittelstaedt [EMAIL PROTECTED] 
wrote:




what does the CPU of the router do when your doing that?

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
Sent: Sunday, December 18, 2005 3:00 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)




--On 18. december 2005 2:32 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
Sent: Sunday, December 18, 2005 2:21 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 18. december 2005 1:33 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:





-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Friday, December 16, 2005 5:25 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)




--On 16. december 2005 3:36 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:





-Original Message-
From: Sasa Stupar [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 12:34 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
Cc: freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
Theme Song)



Ted


Hmmm, here is test with iperf what I have done with and

without polling:

**

Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 8.00 KByte (default)

[1816] local 192.168.10.249 port 1088 connected with
192.168.1.200 port 5001
[ ID] Interval   Transfer Bandwidth
[1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

This is when I use Device polling option on m0n0.

If I disable this option then my transfer is worse:

Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 8.00 KByte (default)

[1816] local 192.168.10.249 port 1086 connected with
192.168.1.200 port 5001
[ ID] Interval   Transfer Bandwidth
[1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
***

BTW: my router is m0n0wall (FBSD 4.11).



what are the cpu speeds and operating systems of all devices
in the packet path, what is the make and model of switchs in
use, provide dmesg output of the bsd box, a network diagram
of the setup, etc. etc. etc.

The above test results are not replicatable and thus, worthless.
Useful test results would allow a reader to build an exact
duplicate of your setup, config it identically, and get identical
results.

Ted



OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900

and 3C905C


The 3com 3c905 is not a very good card under FreeBSD the driver was
written
without support from 3com and is shakey on a lot of

hardware.  I would

say
there's a big question that your server is actually saturating the
ethernet.
Probably that is why your only getting 90Mbt.


NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
Pro/100S Nics and
Celeron 433; The user computer (192.168.10.249) is Celeron 2400
with winxp
and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.



Once again, the winxp+realtek 8139 is not a particularly

steller combo,

I would question that this system could saturate the

ethernet, either.



Diagram: http://me.homelinux.net/network.pdf

dmesg from the router:

$ dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,

1992, 1993, 1994

The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
   [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x665  Stepping = 5

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 201326592 (196608K bytes)
avail memory = 179142656 (174944K bytes)
Preloaded elf kernel kernel at 0xc1006000.
Preloaded mfs_root /mfsroot at 0xc100609c.
Pentium Pro MTRR support enabled
md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c
md1: Malloc disk
Using $PIR table, 8 entries at 0xc00fdef0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device
1.0 on pci0
pci1: PCI bus on pcib1
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: 

Printing problems with Mozilla and Firefox on Freebsd 5.3

2005-12-18 Thread Steven Lake
Ok, got a weird one here.  Got cups setup with our new office lan 
printer and I can print just fine from any program, EXCEPT Mozilla and Firefox. 
 They go through the motions, but nothing happens.  Nothing shows up in the que 
or the access or error logs or anything.  Am I missing something?  My 
research via google into this found me several pages that mentioned something 
about 'msttcorefonts', but after some playing with this they don't seem to be 
installable on freebsd.  Any suggestions?

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


sony erricson pccard on FreeBSD 5.4

2005-12-18 Thread winter kf
Hi,
  
I'm trying to get the sony erricson GC85 pccard with GPRS/EDGE connection 
working on my Toshiba Satelite M40 Laptop. I manage to get it worked in SUSE 
Linux 10.0 but not in  FreeBSD 5.4 (no idea how to start).
   
  I've been searching for documentation on the internet but those are either 
too specific/ not very helpful (tried various recommendations; nothing worked). 
   
  Is anyone get this card working? kindly please provide some hints/ guidance.
   
  Thank You Very Much.
  
rgds,
winter
  
p/s some data about my laptop
   
  Toshiba Satelite M40, Pentium M 1.6GHz, 1GHz DDR SDRAM
  tribooting: Windows XP Home, SUSE Linux 10.0, FreeBSD 5.4- 
  release
Sony Erricson GC85 Type II pccard
connection: GPRS/ EDGE
from dmesg, pccard detected (I think :-) as: 
   
  pccard0 on cbb0 
cbb0 bad vcc request status 0x
cbb-power: 0V
  
another occurence(sorry can't remember very well the actual messages) :

  sio0 (blah.)
 .
 .
 .
 .
sio1 at port.
sio1: type 16550A
  

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to make init(8) run a daemon to me??

2005-12-18 Thread Gustavo Parrini

Man!

I couldn't ask for better answers to my question. Big thanks to Björn 
König and Mathew Seaman.


It worked like a charm.

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


Re: Printing problems with Mozilla and Firefox on Freebsd 5.3

2005-12-18 Thread Andrew P.
On 12/18/05, Steven Lake [EMAIL PROTECTED] wrote:
 Ok, got a weird one here.  Got cups setup with our
 new office lan printer and I can print just fine from any
 program, EXCEPT Mozilla and Firefox.  They go through
 the motions, but nothing happens.  Nothing shows up in
 the que or the access or error logs or anything.  Am I
 missing something?  My research via google into this
 found me several pages that mentioned something about
 'msttcorefonts', but after some playing with this they don't
 seem to be installable on freebsd.  Any suggestions?

I think x11-fonts/webfonts may be referenced as msttcorefonts
in other distributions. I can't explain why, but try to install the
print/gtklp port and change the print command in firefox to
gtklp.

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


Re: bootloader not reading kernel.conf

2005-12-18 Thread Andrew P.
On 12/18/05, Richard Klingler [EMAIL PROTECTED] wrote:
 Hello...

 Does someone know what to do that the bootloader reads in
 /boot/kernel.conf?

 Otherwise have to do to always a boot -c and issue
 di psm0 and q...


 thanx inadvance
 rick


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


loader.conf is probably the file to do such customization in.
Have a look at its manpage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printing problems with Mozilla and Firefox on Freebsd 5.3

2005-12-18 Thread Steven Lake

At 07:30 PM 12/18/2005 +0300, Andrew P. wrote:

On 12/18/05, Steven Lake [EMAIL PROTECTED] wrote:
 Ok, got a weird one here.  Got cups setup with our
 new office lan printer and I can print just fine from any
 program, EXCEPT Mozilla and Firefox.  They go through
 the motions, but nothing happens.  Nothing shows up in
 the que or the access or error logs or anything.  Am I
 missing something?  My research via google into this
 found me several pages that mentioned something about
 'msttcorefonts', but after some playing with this they don't
 seem to be installable on freebsd.  Any suggestions?

I think x11-fonts/webfonts may be referenced as msttcorefonts
in other distributions. I can't explain why, but try to install the
print/gtklp port and change the print command in firefox to
gtklp.


Installed webfonts and gtklp and restarted x and no go 
still.  :(  One thing I did notice is that all the others go to a normal 
print window, but the two browsers go to some custom printing screen and 
say something about postscript/printer_name instead of the normal KDE 
cups installed printer.  Would that possibly cause part of the issue? 


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


gvinum: adding plex and subdisks to existing volume

2005-12-18 Thread Ludo Koren


Hi,

I'm using 5.4-STABLE. One of the mirrored disks died. I want to add
new disk, which has not the same size as the died one.

The output of the gvinum l is the following:
# gvinum l
4 drives:
D rd2   State: up   /dev/da2s1h   A: 0/1023 MB (0%)
D d2State: up   /dev/da2s1f   A: 0/15452 MB (0%)
D d3State: up   /dev/da3s1A: 0/70001 MB (0%)
D d4State: up   /dev/da1s1A: 0/70001 MB (0%)

2 volumes:
V root  State: up   Plexes:   1 Size:   1023 MB
V usr   State: up   Plexes:   2 Size: 83 GB

4 plexes:
P usr.p0  C State: down Subdisks: 1 Size: 68 GB
P usr.p1  C State: up   Subdisks: 2 Size: 83 GB
P root.p1 C State: up   Subdisks: 1 Size:   1023 MB
P root.p0 C State: down Subdisks: 0 Size:  0  B

6 subdisks:
S usr.p0.s0 State: down D: d1   Size: 15 GB
S usr.p1.s0 State: up   D: d2   Size: 15 GB
S root.p1.s0State: up   D: rd2  Size:   1023 MB
S root.p0.s0State: down D: rd1  Size:   1023 MB
S usr.p0.s1 State: up   D: d3   Size: 68 GB
S usr.p1.s1 State: up   D: d4   Size: 68 GB

and 

# camcontrol devlist -v
scbus0 on ahd0 bus 0:
SEAGATE ST373207LW 0004  at scbus0 target 3 lun 0 (pass0,da0)
IBM IC35L073UWDY10-0 S25Fat scbus0 target 9 lun 0 (pass1,da1)
HP C5683A C005   at scbus0 target 10 lun 0 (sa0,pass2)
 at scbus0 target -1 lun -1 ()
scbus1 on ahd1 bus 0:
IBM IC35L018UWD210-0 S5BSat scbus1 target 1 lun 0 (pass3,da2)
IBM IC35L073UWDY10-0 S23Cat scbus1 target 8 lun 0 (pass4,da3)
 at scbus1 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

I want to have the whole new disk a one vinum slice so the

# disklabel da0s1
# /dev/da0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 143363700  2814.2BSD0 0 0 
  c: 1433639970unused0 0 # raw part, don't 
edit
  h: 143363981   16 vinum

The old one was:

# disklabel da2s1
# /dev/da2s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  2096855  2814.2BSD 2048 16384 0 
  b:  2097152  2097152  swap
  c: 358409520unused0 0 # raw part, don't edit
  f: 31646648  4194304 vinum
  h:  2097136   16 vinum 


When I try to do:
# gvinum create gvinum.conf

it ends up in immediate panic (page fault). The gvinum.conf file:

drive d1b device /dev/da0s1h
plex name usr.p2 org concat vol usr
plex name root.p2 org concat vol root
sd name root.p2.s0 drive d1b len 2096871s driveoffset 265s plex root.p2 
plexoffset 0s
sd name usr.p2.s0 drive d1b len 31646383s driveoffset 2097136s plex usr.p2 
plexoffset 0s

Am I doing something wrong? How can be added a new disk to existing
mirror in gvinum?

Any help appreciated, I cannot find useful hints.

Regards,

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


Re: Printing problems with Mozilla and Firefox on Freebsd 5.3

2005-12-18 Thread Micah

Steven Lake wrote:

At 07:30 PM 12/18/2005 +0300, Andrew P. wrote:


On 12/18/05, Steven Lake [EMAIL PROTECTED] wrote:
 Ok, got a weird one here.  Got cups setup with our
 new office lan printer and I can print just fine from any
 program, EXCEPT Mozilla and Firefox.  They go through
 the motions, but nothing happens.  Nothing shows up in
 the que or the access or error logs or anything.  Am I
 missing something?  My research via google into this
 found me several pages that mentioned something about
 'msttcorefonts', but after some playing with this they don't
 seem to be installable on freebsd.  Any suggestions?

I think x11-fonts/webfonts may be referenced as msttcorefonts
in other distributions. I can't explain why, but try to install the
print/gtklp port and change the print command in firefox to
gtklp.



Installed webfonts and gtklp and restarted x and no go still.  
:(  One thing I did notice is that all the others go to a normal print 
window, but the two browsers go to some custom printing screen and say 
something about postscript/printer_name instead of the normal KDE cups 
installed printer.  Would that possibly cause part of the issue?


Firefox isn't a KDE app, so by default is uses /usr/bin/lpr unless you 
specifically set it to use another print interface.  Unfortunately 
Firefox 1.5's whole printing system is pretty buggy right now - almost 
to the point of unusability on my system.  If it was working properly 
you'd go File-Print select the printer you want to edit, click 
Properties and set the command to either /usr/local/bin/lpr (for the lpr 
interface to CUPS) or kprinter (for the KDE interface to CUPS). 
Unfortunately this official method is not working for me.  I've had to 
edit the prefs.js directly in order to maintain printing ability.


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


Running qmail

2005-12-18 Thread Gojyo
I've some problem making qmail work.
I've installed qmail (with smtp auth support), ucspi-tcp and daemontools
from the ports tree (I'm using Freebsd 6.0).

I've disabled sendmail running the enable-qmail script after qmail
installation (and I can see it's not running), I've copied the maildir
start script from /var/qmail/boot to /var/qmail/rc and added
qmail_enable=YES to /etc/rc.conf.
Now I can't exactly understand what I have to do: I think I have to run
qmail from the svscan service, but I really cannot figure out how to do it.
I need some help
thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running qmail

2005-12-18 Thread Michael P. Soulier
On 12/18/05, Gojyo [EMAIL PROTECTED] wrote:
 I've disabled sendmail running the enable-qmail script after qmail
 installation (and I can see it's not running), I've copied the maildir
 start script from /var/qmail/boot to /var/qmail/rc and added
 qmail_enable=YES to /etc/rc.conf.
 Now I can't exactly understand what I have to do: I think I have to run
 qmail from the svscan service, but I really cannot figure out how to do it.
 I need some help

I don't know how qmail is set up on BSD, but if you're using
daemontools, bringing qmail up should be as simple as svc -u service
directory. Check its current status with svscan service directory.

Mike
--
Michael P. Soulier [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: foobarred installation?

2005-12-18 Thread RW
On Sunday 18 December 2005 10:17, David Gerard wrote:
 RW wrote:
  From what I've read I wouldn't recommend amd64 for a desktop, as two many
  things are broken, for example 3-d support for your nvidia card.

 That's a pity ... I was thinking in terms of an uber-l33t dual-AMD64
 beast machine running FreeBSD 6 (or maybe 7 by the time I get around to
 it) for my next desktop.

 (Not that I ever sit at my desktop any more, and am about to repurpose
 my FBSD 5 desktop as FBSD 6 and very much a household *server*.)

 Is there a list or project page on precisely what needs fixing on amd64?

 (I could always run Ubuntu, but I have my laptop for that ...)

What's wrong with running i386? Aside from a limited number of activities, 
such as OGG encoding, there's not much difference in performance. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SPF Startup and P5-Mail-SPF-Query

2005-12-18 Thread Jason C. Wells
I am a little confused about starting Sender Policy Framework on 
FreeBSD.  One doc in samples/ says the milter will plug right in. 
Some docs say you don't need to run spfd.  Other docs say you need to 
run sendmail-milter.pl but that script isn't in the packing list.  One 
doc states I should edit my sendmail rc script to start and stop spf-milter.


I would have thought that this milter would be started much like 
spamass-milter.


I have modified my sendmail.cf.  When I start sendmail I get the error:
WARNING: Xspf-milter: local socket name /var/spf-milter/spf-milter.sock 
missing


How do I run SPF using p5-Mail-SPF-Query?  Where is the startup script?

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


SPF Startup and P5-Mail-SPF-Query

2005-12-18 Thread Jason C. Wells
I am a little confused about starting Sender Policy Framework on 
FreeBSD.  One doc in samples/ says the milter will plug right in. 
Some docs say you don't need to run spfd.  Other docs say you need to 
run sendmail-milter.pl but that script isn't in the packing list.  One 
doc states I should edit my sendmail rc script to start and stop spf-milter.


I would have thought that this milter would be started much like 
spamass-milter.


I have modified my sendmail.cf.  When I start sendmail I get the error:
WARNING: Xspf-milter: local socket name /var/spf-milter/spf-milter.sock 
missing


How do I run SPF using p5-Mail-SPF-Query?  Where is the startup script?

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


Re: Printing problems with Mozilla and Firefox on Freebsd 5.3

2005-12-18 Thread Steven Lake

At 10:58 AM 12/18/2005 -0800, Micah wrote:

Steven Lake wrote:

At 07:30 PM 12/18/2005 +0300, Andrew P. wrote:


On 12/18/05, Steven Lake [EMAIL PROTECTED] wrote:
 Ok, got a weird one here.  Got cups setup with our
 new office lan printer and I can print just fine from any
 program, EXCEPT Mozilla and Firefox.  They go through
 the motions, but nothing happens.  Nothing shows up in
 the que or the access or error logs or anything.  Am I
 missing something?  My research via google into this
 found me several pages that mentioned something about
 'msttcorefonts', but after some playing with this they don't
 seem to be installable on freebsd.  Any suggestions?

I think x11-fonts/webfonts may be referenced as msttcorefonts
in other distributions. I can't explain why, but try to install the
print/gtklp port and change the print command in firefox to
gtklp.


Installed webfonts and gtklp and restarted x and no go still.
:(  One thing I did notice is that all the others go to a normal print 
window, but the two browsers go to some custom printing screen and say 
something about postscript/printer_name instead of the normal KDE cups 
installed printer.  Would that possibly cause part of the issue?


Firefox isn't a KDE app, so by default is uses /usr/bin/lpr unless you 
specifically set it to use another print interface.  Unfortunately Firefox 
1.5's whole printing system is pretty buggy right now - almost to the 
point of unusability on my system.  If it was working properly you'd go 
File-Print select the printer you want to edit, click Properties and set 
the command to either /usr/local/bin/lpr (for the lpr interface to CUPS) 
or kprinter (for the KDE interface to CUPS). Unfortunately this official 
method is not working for me.  I've had to edit the prefs.js directly in 
order to maintain printing ability.


HTH,
Micah


WOOT!  I used kprinter and it's working!  Thanks!!  :)




Steven Lake
Business Support Representative
CoreComm Business Services
Contact Number: 1-877-557-2724
Direct Line: 1-517-664-8176

Duct Tape takes over where skill leaves off
- Larry the Cucumber from Veggie Tales.

A bird I am, but a penguin I am not. - Haku

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


Re: FreeBSD 6, WPA-PSK, wpa_supplicant and a IBM a31p

2005-12-18 Thread Daniel Hanson
-- [EMAIL PROTECTED] said --

Yes, probably WPA-encryption is simply not supported by your wireless
card/chipset. AFAIK there is no way to use WPA with a wi-card. You either
stick to WEP-encryption or buy a newer wireless card (ath or iwi would
do WPA-PSK).

It was my understanding that WPA could be used on any network card, and is a 
function of the driver rather than the underlying card. I could be mistaken on 
that, but I havne't been able to find anything definitive that the wi driver 
doesn't allow this, and the card (using a different prism2 driver than 
available from ibm) works under windows (just got it working to see if it was 
the card). I got it working with WPA-PSK TKIP and I still fail under freebsd, 
so I figure it's either a bug or I am missing some configuration parameter. 

So. works under windows, anyone have an idea of how I might try and isolate if 
this is a driver issue or a config issue? 

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


Re: Running qmail

2005-12-18 Thread Shantanoo Mahajan
+++ Michael P. Soulier [freebsd] [18-12-05 14:39 -0500]:
| On 12/18/05, Gojyo [EMAIL PROTECTED] wrote:
|  I've disabled sendmail running the enable-qmail script after qmail
|  installation (and I can see it's not running), I've copied the maildir
|  start script from /var/qmail/boot to /var/qmail/rc and added
|  qmail_enable=YES to /etc/rc.conf.
|  Now I can't exactly understand what I have to do: I think I have to run
|  qmail from the svscan service, but I really cannot figure out how to do it.
|  I need some help
| 
| I don't know how qmail is set up on BSD, but if you're using
| daemontools, bringing qmail up should be as simple as svc -u service
| directory. Check its current status with svscan service directory.

sockstat -4l | grep 25

will tell you what is running on port 25 (default smtp port).
Also /var/log/maillog maybe be useful along with /var/log/messages.

Daemontools can be found out by:

cd /usr/ports  make search name=daemontools

if you have installed ports tree. When I tried, I didn't have
installation problem. It was very smooth through ports. It took time
for me to configure it.

Regards,
Shantanoo
-- 


pgpWm6LXwamOb.pgp
Description: PGP signature


sshd not giving plogin prompt

2005-12-18 Thread Dave

Hello,
   I have a jailed ssh server among other things on a freebsd 5.4 box. I 
had to change the IP on it from 192.168.9.10 to 192.168.2.10. And now sshd 
on the jail won't let me log in. I've changed the ListenOn directive in the 
jails' sshd_config file from 192.168.9.10 to 192.168.2.10, as well as the 
jails ip in rc.conf. Trying to connect from windows securecrt just times 
out. Trying to connect from a unix box gives me the error: connection closed 
by 192.168.2.10. Any ideas? The jail is up, has been restarted and shows up 
in the jls output. I am stumped.
   On the subject of jails what devfs settings rules file should i use in 
rc.conf?

Thanks.
Dave.

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


Compacting the pf -v -s rules output similar to ipfstat -ionh

2005-12-18 Thread Parv
I am currently trying pf instead of ipf; rules were brought over
easily besides the user errors.  I am still in the process of to be at
ease w/ pf logging  statistics.

Before i write it myself, has anybody got a already prepared way to
compact the pfctl -v -s rules output ...

  pass in on lo0 all
[ Evaluations: 22188 Packets: 10925 Bytes: 8392463 States: 0
 ]
  pass out on lo0 all
[ Evaluations: 21850 Packets: 10925 Bytes: 8392463 States: 0
 ]
  block drop in on em0 all
[ Evaluations: 22188 Packets: 6 Bytes: 360 States: 0
 ]
  block drop in quick on em0 inet proto tcp from 192.168.2.0/24 to any port 
137:139
[ Evaluations: 19Packets: 0 Bytes: 0   States: 0
 ]


... to something like ...

  22188 pass in on lo0 all
  21850 pass out on lo0 all
  22188 block drop in on em0 all
  19 block drop in quick on em0 inet proto tcp from 192.168.2.0/24 to any port 
137:139


  - Parv

-- 

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


Re: Compacting the pf -v -s rules output similar to ipfstat -ionh

2005-12-18 Thread Frank Steinborn
Parv wrote:
 I am currently trying pf instead of ipf; rules were brought over
 easily besides the user errors.  I am still in the process of to be at
 ease w/ pf logging  statistics.
 
 Before i write it myself, has anybody got a already prepared way to
 compact the pfctl -v -s rules output ...
 
   pass in on lo0 all
 [ Evaluations: 22188 Packets: 10925 Bytes: 8392463 States: 0  
]
   pass out on lo0 all
 [ Evaluations: 21850 Packets: 10925 Bytes: 8392463 States: 0  
]
   block drop in on em0 all
 [ Evaluations: 22188 Packets: 6 Bytes: 360 States: 0  
]
   block drop in quick on em0 inet proto tcp from 192.168.2.0/24 to any port 
 137:139
 [ Evaluations: 19Packets: 0 Bytes: 0   States: 0  
]
 
 
 ... to something like ...
 
   22188 pass in on lo0 all
   21850 pass out on lo0 all
   22188 block drop in on em0 all
   19 block drop in quick on em0 inet proto tcp from 192.168.2.0/24 to any 
 port 137:139

Don't use -v, just pfctl -s rules. That, however, won't give you a
number of packets/bytes passed to the rules.

Frank


pgpAHRBeRxC9x.pgp
Description: PGP signature


PHP startup error in Apache error log

2005-12-18 Thread Jose Borquez
I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, 
mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and 
php5-mysql-5.1.1.  I see the following error messages every time I 
attempt to access a php page:


PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20
050922-debug/mysql.so' - Cannot open 
quot;/usr/local/lib/php/20050922-debug/mys

ql.soquot; in Unknown on line 0
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/l
ib/php/20050922-debug/mysql.so' - Cannot open 
quot;/usr/local/lib/php/20050922-

debug/mysql.soquot;
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20
050922-debug/mysql.so' - Cannot open 
quot;/usr/local/lib/php/20050922-debug/mys

ql.soquot; in Unknown on line 0
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library 
'/usr/local/l
ib/php/20050922-debug/mysql.so' - Cannot open 
quot;/usr/local/lib/php/20050922-

debug/mysql.soquot;

Could someone please let me know if I have configured something 
improperly or what I need to look for?


Thanks in advance,
Jose

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


RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)

2005-12-18 Thread Ted Mittelstaedt

In looking at this again, I didn't realize you were pinging from
Win2K

Win2K uses the -f option to set the Do Not Fragment bit, UNIX uses
the -f option to flood ping.  Win2k ping does not have a flood ping
option.  You can download a ping for Windows from Microsoft here:

http://research.microsoft.com/barc/mbone/mping.aspx

that does have an option for flooding traffic. ( set the milliseconds
between packets very low) but I have not tested it.  Doubtless
others are available on the Internet.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
Sent: Sunday, December 18, 2005 6:07 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
Song)


Nothing. From the GUI view it is at 0% of utilisation.

Sasa

--On 18. december 2005 3:51 -0800 Ted Mittelstaedt
[EMAIL PROTECTED]
wrote:


 what does the CPU of the router do when your doing that?

 Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar
 Sent: Sunday, December 18, 2005 3:00 AM
 To: Ted Mittelstaedt; freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme
 Song)




 --On 18. december 2005 2:32 -0800 Ted Mittelstaedt
 [EMAIL PROTECTED]
 wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
Sasa Stupar
 Sent: Sunday, December 18, 2005 2:21 AM
 To: Ted Mittelstaedt; freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)




 --On 18. december 2005 1:33 -0800 Ted Mittelstaedt
 [EMAIL PROTECTED]
 wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 16, 2005 5:25 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)




 --On 16. december 2005 3:36 -0800 Ted Mittelstaedt
 [EMAIL PROTECTED]
 wrote:



 -Original Message-
 From: Sasa Stupar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 15, 2005 12:34 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd
 Theme Song)


 Ted

 Hmmm, here is test with iperf what I have done with and
 without polling:
 **
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1088 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec   108 MBytes  90.1 Mbits/sec

 This is when I use Device polling option on m0n0.

 If I disable this option then my transfer is worse:
 
 Client connecting to 192.168.1.200, TCP port 5001
 TCP window size: 8.00 KByte (default)
 
 [1816] local 192.168.10.249 port 1086 connected with
 192.168.1.200 port 5001
 [ ID] Interval   Transfer Bandwidth
 [1816]  0.0-10.0 sec  69.7 MBytes  58.4 Mbits/sec
 ***

 BTW: my router is m0n0wall (FBSD 4.11).


 what are the cpu speeds and operating systems of all devices
 in the packet path, what is the make and model of switchs in
 use, provide dmesg output of the bsd box, a network diagram
 of the setup, etc. etc. etc.

 The above test results are not replicatable and thus, worthless.
 Useful test results would allow a reader to build an exact
 duplicate of your setup, config it identically, and get
identical
 results.

 Ted


 OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900
 and 3C905C

 The 3com 3c905 is not a very good card under FreeBSD the
driver was
 written
 without support from 3com and is shakey on a lot of
 hardware.  I would
 say
 there's a big question that your server is actually saturating the
 ethernet.
 Probably that is why your only getting 90Mbt.

 NIC; router is m0n0wall (FreeBSD 4.11) with three Intel
 Pro/100S Nics and
 Celeron 433; The user computer (192.168.10.249) is Celeron 2400
 with winxp
 and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600.


 Once again, the winxp+realtek 8139 is not a particularly
 steller combo,
 I would question that this system could saturate the
 ethernet, either.

 Diagram: http://me.homelinux.net/network.pdf

 dmesg from the router:
 
 $ dmesg
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,
 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 4.11-RELEASE-p11 #0: Wed Sep  7 13:49:09 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC
 Timecounter i8254  frequency 1193182 

Re: PHP startup error in Apache error log

2005-12-18 Thread Riemer Palstra
On Sun, Dec 18, 2005 at 01:58:57PM -0800, Jose Borquez wrote:
 I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, 
 mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and 
 php5-mysql-5.1.1.  I see the following error messages every time I 
 attempt to access a php page:
 
 PHP Warning:  PHP Startup: Unable to load dynamic library 
 '/usr/local/lib/php/20050922-debug/mysql.so' - Cannot open 
 quot;/usr/local/lib/php/20050922-debug/mysql.soquot; in Unknown on line 0

That's quite strange actually. What's the contents of your
/usr/local/etc/php/extensions.ini, and what does the extension_dir
directive in your /usr/local/etc/php.ini say?

My installation of Apache 2.2.0 and PHP 5.1.1 just takes the mysql.so
from /usr/local/lib/php/20050922/mysql.so - did you specify any extra
debugging options at compile time?
 
-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Bulk] Re: PHP startup error in Apache error log

2005-12-18 Thread Jose Borquez

Riemer Palstra wrote:


On Sun, Dec 18, 2005 at 01:58:57PM -0800, Jose Borquez wrote:
 

I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, 
mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and 
php5-mysql-5.1.1.  I see the following error messages every time I 
attempt to access a php page:


PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20050922-debug/mysql.so' - Cannot open quot;/usr/local/lib/php/20050922-debug/mysql.soquot; in Unknown on line 0
   



That's quite strange actually. What's the contents of your
/usr/local/etc/php/extensions.ini, and what does the extension_dir
directive in your /usr/local/etc/php.ini say?

My installation of Apache 2.2.0 and PHP 5.1.1 just takes the mysql.so
from /usr/local/lib/php/20050922/mysql.so - did you specify any extra
debugging options at compile time?

 


The contents of my extensions.ini file are:
extension=mysql.so

; Directory in which the loadable extensions (modules) reside.
; extension_dir = ./

It looks like that is commented out.  I am assuming I need to uncomment 
this as well as extension=msql.so in the Dynamic Extensions section 
below.  Am I correct?


;;
; Dynamic Extensions ;
;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so



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


ATA problems on Supermicro X6DHE motherboards

2005-12-18 Thread Simon Crosby
Hello,

I have a a machine with a Supermicro X6DHE-XG2 motherboard and one with
a X6DHE-G2 motherboard. When I try to install FreeBSD 5.4 on these
machines I get FAILURE - ATA_IDENTIFY timed out messages while the
installer is booting. The installer does manage to start, but when you
go to the fdisk screen it says there are no disks to install to. The
installation can be done in safe mode however.

When the installation is finished these machines hang during startup
unless booted in safe mode. I have seen instructions on the web for
creating a safe mode kernel that can boot without problems, but since
these these machines will be used for testing so it is important to have
the normal kernel.

I have also tried FreeBSD 6.0, with the same problems.

Here are some screen captures of the messages:
Error messages on the machines while booting the installer:
X6DHE-G2 http://www.baud-bandit.com/x6dhe-g2-install.png  
X6DHE-XG2 http://www.baud-bandit.com/x6dhe-xg2-install.png

Error messages on the machines while booting the installation:
X6DHE-G2 http://www.baud-bandit.com/x6dhe-g2-boot.png
X6DHE-XG2 http://www.baud-bandit.com/x6dhe-xg2-boot-page1.png
  http://www.baud-bandit.com/x6dhe-xg2-boot-page2.png

Another similar case i've seen:
http://lists.freebsd.org/pipermail/freebsd-bugs/2005-February/011693.html

Any advice or help appreciated.

Simon Crosby


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


Re: gvinum: adding plex and subdisks to existing volume

2005-12-18 Thread Arno Beekman


On 18 dec 2005, at 18:24, Ludo Koren wrote:




Any help appreciated, I cannot find useful hints.




http://www.vinumvm.org/
http://www.freebsddiary.org/vinum.php
man 4 vinum
man 8 vinum
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- 
vinum.html

http://devel.reinikainen.net/docs/how-to/Vinum/

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


Re: Running qmail

2005-12-18 Thread Svein Halvor Halvorsen
On 12/18/05, Gojyo [EMAIL PROTECTED] wrote:
 I've some problem making qmail work.
 I've installed qmail (with smtp auth support), ucspi-tcp and daemontools
 from the ports tree (I'm using Freebsd 6.0).

 I've disabled sendmail running the enable-qmail script after qmail
 installation (and I can see it's not running), I've copied the maildir
 start script from /var/qmail/boot to /var/qmail/rc and added
 qmail_enable=YES to /etc/rc.conf.
 Now I can't exactly understand what I have to do: I think I have to run
 qmail from the svscan service, but I really cannot figure out how to do it.
 I need some help

You shouldn't need daemontools and the svscan utility (though it is
useful for a number of reasons). The qmail port should have installed
a symlink in /usr/local/etc/rc.d/qmail.sh pointing to /var/qmail/rc.
This link is broken by default, but by moving or copying a file from
the /var/qmail/boot directory to this location, the link should
resolve and the script executed at startup. The scripts are non-rcng
so you shouldn't need anything in /etc/rc.conf to make things work.
You may need to edit the startup script /var/qmail/rc though.

I would, however, recomend that you install daemontools also. This
would require a little more initial work on your part, but is far
easier to maintain, and makes sure that qmail keep running.

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


Re: wireless server | AMD64

2005-12-18 Thread Darrel


Does someone have a suggestion of which card to get for making a
FreeBSD 6 wireless server on AMD64?



After some more searching, I think that this is the document:
http://www.fsf.org/campaigns/hardware.html

I am planning to set up a server for notebook computers to connect 
through.  I am going to test it on AMD64 first and move the 
configuration to an old Intel later.  Authentication will be over 
Microsoft CHAP to a Radius server.


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


make targets, was: Running qmail

2005-12-18 Thread Michael P. Soulier
On 12/18/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote:
 Daemontools can be found out by:

 cd /usr/ports  make search name=daemontools

Where are these make options in ports documented? I'd like to know all
of the options available in ports. I usually just cd /usr/ports  ls
-d */*daemontools*

A target that tells me what a port has in the way of options would be nice too.

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


a31p, wi driver, and WPA (followup)

2005-12-18 Thread Daniel Hanson
Well, I know the problem now. The wi driver doesn't support WPA, even though 
the firmware on the card in question (and probably a few other prism based 
cards) does support WPA. I found a thread in the FreeBSD-Stable mailing list 
from just a few days ago that clarifies this. 

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=632961+0+archive/2005/freebsd-stable/20051218.freebsd-stable
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=401367+0+archive/2005/freebsd-stable/20051218.freebsd-stable

As the second link indicates, it doesn't look like Sam has the time or energy 
to resolve the situation, seems like it's back to WeP for me 

I should have paid closer attention to the capabilities that the driver was 
reporting instead of assuming that because the card supported it... well live 
and learn. 

Thanks

D

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


Value too large to be stored in data type -- gzipped tarball

2005-12-18 Thread TuxGirl
I have a gzipped tarball that I created on my box when i was running
Linux, and I burned it, along with some other files, onto a dvd.  I'm
now trying to extract the tarball, but it appears that it must be over
some sort of filesystem limit or something.  None of the commands that
I have tried seem to like the file.  Each of them gives the same
error:

/cdrom/music.tgz: Value too large to be stored in data type

It doesn't complain about another gzipped tarball on the same disk
which is around 1.3 GB, but this one is, I think around 2.4 GB.  I've
tried copying the file, and tarring it in place, and a number of other
things,and I just can't seem to figure out how to resolve the problem.

Is there a setting someplace that I can change to make it play nicely
with large files?  I would think that having a limit on the size of
files would cause problems not only with files like this, but also
with databases and such, so there must be some way to find the
necessary information.

Obligatory system info:
[amon-re erins] uname -a
FreeBSD amon-re 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Currently running the default kernel...

I'm fairly certain that the tarball is fine, because it worked fine on
my server last week, when i opened it up there...

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


httpd_flags=-DSSL?

2005-12-18 Thread Jeff D. Hamann
I've searched plenty looking for the proper method to get apache2 to start 
up at boot time with little success. I've tried the various combinations of 
httpd_flags/apache2_flags/apache_flags= to my rc.conf file to no avail:


bobby# cat rc.conf
blah, blah, blah...
apache_enable=YES
httpd_flags=-DSSL
blah, blah, blah...
bobby#

What's the trick? I've fixed the cert file to not require the dialog on 
startup and have been able to start apache2 using the command:


/usr/local/sbin/apachectl startssl

and then it starts without the dialog.

Ideas?

Jeff. 



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


acpi_perf0: invalid _PSS package?

2005-12-18 Thread Jeff D. Hamann

I've been noticing this message on startup (using dmesg)

acpi_perf0: invalid _PSS package

and can't figure out what it is, what it's for and why there are so many?

FreeBSD bobby.somewhere.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Sun Nov 27 
14:07:55 PST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64


and


bobby# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #2: Sun Nov 27 14:07:55 PST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: A M I  OEMAPIC 
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1995.01-MHz K8-class CPU)
 Origin = AuthenticAMD  Id = 0xf4a  Stepping = 10
 
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 1576271872 (1503 MB)
avail memory = 1511051264 (1441 MB)
ioapic0 Version 1.4 irqs 0-23 on motherboard
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNKA irq 0 on acpi0
pci_link1: ACPI PCI Link LNKB irq 11 on acpi0
pci_link2: ACPI PCI Link LNKC irq 10 on acpi0
pci_link3: ACPI PCI Link LNKD irq 10 on acpi0
pci_link4: ACPI PCI Link LNKE irq 5 on acpi0
pci_link5: ACPI PCI Link LNKF irq 10 on acpi0
pci_link6: ACPI PCI Link LNKG irq 5 on acpi0
pci_link7: ACPI PCI Link LNKH irq 5 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package
acpi_perf0: invalid _PSS package

Re: httpd_flags=-DSSL?

2005-12-18 Thread Don Hinton
Hi Jeff:

On Sunday 18 December 2005 21:03, Jeff D. Hamann wrote:
 I've searched plenty looking for the proper method to get apache2 to start
 up at boot time with little success. I've tried the various combinations of
 httpd_flags/apache2_flags/apache_flags= to my rc.conf file to no avail:

 bobby# cat rc.conf
 blah, blah, blah...
 apache_enable=YES
 httpd_flags=-DSSL
 blah, blah, blah...
 bobby#

 What's the trick? I've fixed the cert file to not require the dialog on
 startup and have been able to start apache2 using the command:

 /usr/local/sbin/apachectl startssl

 and then it starts without the dialog.

 Ideas?

Make sure your apache2.sh file exists and is executable, you probably need to 
rename if from apache2.sh.sample (or something like that), e.g.:

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

Also, it will contain the flags you need to set in rc.conf.

hth...
don


 Jeff.


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

-- 
Don Hinton don.hinton at vanderbilt.edu615.480.5667
ISIS, Vanderbilt University


pgpAttW2PKaJN.pgp
Description: PGP signature


Re: Compacting the pf -v -s rules output similar to ipfstat -ionh

2005-12-18 Thread Parv
in message [EMAIL PROTECTED],
wrote Frank Steinborn thusly...

 Parv wrote:
  
  Before i write it myself, has anybody got a already prepared way to
  compact the pfctl -v -s rules output ...
  
pass in on lo0 all
  [ Evaluations: 22188 Packets: 10925 Bytes: 8392463 States: 
  0 ]
pass out on lo0 all
  [ Evaluations: 19Packets: 0 Bytes: 0   States: 
  0 ]
...
  ... to something like ...
  
22188 pass in on lo0 all
21850 pass out on lo0 all
...
 Don't use -v, just pfctl -s rules. That, however, won't give you a
 number of packets/bytes passed to the rules.

Yes i am aware of that.  Without '-v' all i get only the
parsed/loaded rules which is not very useful to me.



  - Parv

-- 

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


Re: Value too large to be stored in data type -- gzipped tarball

2005-12-18 Thread Nikolas Britton
On 12/18/05, TuxGirl [EMAIL PROTECTED] wrote:
 I have a gzipped tarball that I created on my box when i was running
 Linux, and I burned it, along with some other files, onto a dvd.  I'm
 now trying to extract the tarball, but it appears that it must be over
 some sort of filesystem limit or something.  None of the commands that
 I have tried seem to like the file.  Each of them gives the same

[snip]

 I'm fairly certain that the tarball is fine, because it worked fine on
 my server last week, when i opened it up there...

Might want try a different implementation of tar then
cd /usr/ports/archivers; make search name=tar| more
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipnat and ipf with active ftp issues

2005-12-18 Thread Mitch



I am just trying to setup a 2nd ip address to use active ftp. Active
FTP works on the ext-add1 but not ext-add2 below.  IF someone could
please point me in the right directions. This is something I have done
before, it is 2 different ftp servers from 1 freebsd firewall.

4.10-RELEASE FreeBSD 4.10-RELEASE #2:

[EMAIL PROTECTED]:/etc# ipf -V

ipf: IP Filter: v3.4.31 (336)

Kernel: IP Filter:
v3.4.31 


Running: yes

Log Flags: 0 = none set

Default: block all, Logging: available

Active list: 0

+++

[EMAIL PROTECTED]/etc# vi ipnat.rules

map dc1 192.168.1.0/24 - ext-add1/32 portmap tcp/udp 1:6

map dc1 192.168.1.0/24 - ext-add1/32

map dc1 0.0.0.0/0 - 0/32 proxy port 21 ftp/tcp

map dc1 0.0.0.0/0 - 0/32 portmap tcp/udp auto

map dc1 0.0.0.0/0 - 0/32

rdr dc1 ext-add1/32 port 22 - 192.168.1.99 port 22 tcp #test

rdr dc1 ext-add1/32 port 21 - 192.168.1.165 port 21 tcp #ftp01

rdr dc1 ext-add1/32 port 80 - 192.168.1.199 port 80 tcp #http://test



rdr dc1 ext-add2/32 port 20 - 192.168.1.196 port 20 tcp #ftp02

rdr dc1 ext-add2/32 port 21 - 192.168.1.196 port 21 tcp #ftp02

rdr dc1 ext-add2/32 port 22 - 192.168.1.196 port 22 tcp #ftp02

+

[EMAIL PROTECTED]:/etc# vi ipf.rules

block in quick from any to any with short

block in quick from any to any with ipopt

pass in quick on lo0 from any to any

block in quick on dc0 from any to any head 100

pass in quick proto tcp from 192.168.1.0/24 to any flags S/FSRA keep state
group 100

pass in quick proto udp from 192.168.1.0/24 to any keep state group 100

pass in quick proto icmp from 192.168.1.0/24 to any keep state group 100

pass in quick proto esp from 192.168.1.0/24 to any keep state keep frags
group 100

pass in quick proto gre from 192.168.1.0/24 to any keep state group 100

block in log quick on dc1 from any to any head 200

block in quick from 10.0.0.0/8 to any group 200

block in quick from 127.0.0.0/8 to any group 200

block in quick from 172.16.0.0/12 to any group 200

block in quick from 192.168.0.0/16 to any group 200

pass in quick proto udp from any to 192.168.1.225/32 port = 5060 keep
state group 200

pass in quick proto udp from any to 192.168.1.225/32 port = 5061 keep
state group 200

pass in quick proto tcp from any to any port = 20 keep state group 200

pass in quick proto tcp from any to any port = 21 keep state group 200

pass in quick proto tcp from any to any port = 22 keep state group 200

pass in quick proto tcp from any to 192.168.1.165/32 port = 25 keep state
group 200

pass in quick proto tcp from any to any port = 80 keep state group 200

pass in quick proto tcp from any to any port = 443 keep state group 200

pass in quick proto tcp from any to any port = 1433 keep state group 200

pass in quick proto tcp from any to any port = 3389 keep state group 200

pass in quick proto tcp from any to any port = 5900 keep state group 200

pass in quick proto tcp from any to 192.168.1.196/32 port 60001 
60050 keep state group 200

block in quick from any to any

pass out quick on lo0 from any to any

block out quick on dc0 from any to any head 150

pass out quick proto icmp from 192.168.1.99/32 to 192.168.1.0/24 keep
state group 150

pass out quick proto tcp from 192.168.1.99/32 to 192.168.1.0/24 keep state
group 150

pass out quick proto udp from 192.168.1.99/32 to 192.168.1.0/24 keep state
group 150

pass out quick proto gre from any to any keep state group 150

block out quick on dc1 from any to any head 250

pass out quick proto tcp from any to any keep state group 250

pass out quick proto udp from any to any keep state group 250

pass out quick proto icmp from any to any keep state group 250

pass out quick proto gre from any to any keep state group 250

block out quick from any to any

 

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


Re: Value too large to be stored in data type -- gzipped tarball

2005-12-18 Thread TuxGirl
  I have a gzipped tarball that I created on my box when i was running
  Linux, and I burned it, along with some other files, onto a dvd.  I'm
  now trying to extract the tarball, but it appears that it must be over
  some sort of filesystem limit or something.  None of the commands that
  I have tried seem to like the file.  Each of them gives the same

 [snip]

  I'm fairly certain that the tarball is fine, because it worked fine on
  my server last week, when i opened it up there...

 Might want try a different implementation of tar then
 cd /usr/ports/archivers; make search name=tar| more

I will try this, however, when I mentioned that other commands were
also not playing nicely with the file, I was referring to commands
such as cp, mv, and ls.  I'll see if another tar command will work,
though.  thanks for the reply!
~Erin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flash plugin in 6.0

2005-12-18 Thread Ross Adams Lippert
Where is the latest documentation on this continually vexing
problem?  Why do I feel like this is the hardest part of any
upgrade?

(not subbed)


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


Re: Compacting the pf -v -s rules output similar to ipfstat -ionh

2005-12-18 Thread Parv
in message [EMAIL PROTECTED],
wrote Parv thusly...

 Before i write it myself, has anybody got a already prepared way
 to compact the pfctl -v -s rules output ...
 
   pass in on lo0 all
 [ Evaluations: 22188 Packets: 10925 Bytes: 8392463 States: 0  
]
   pass out on lo0 all
 [ Evaluations: 21850 Packets: 10925 Bytes: 8392463 States: 0  
]
...
 ... to something like ...
 
   22188 pass in on lo0 all
   21850 pass out on lo0 all
...

I think i found /a solution/ in pflogd(8) man page via use of
tcpdump.  I just have to get used to pf way of doing things like use
of bpf device  use of tcpdump to view rules statistics i suppose.
Ugh! (but what else can i do if i will be using pf?)


  - Parv

-- 

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


Re: flash plugin in 6.0

2005-12-18 Thread Dev Tugnait
What vexing problem? Care to share it... install www/linuxpluginwrapper
WITH_PLUGINS=YES

On Sun, 2005-12-18 at 22:57 -0500, Ross Adams Lippert wrote:
 Where is the latest documentation on this continually vexing
 problem?  Why do I feel like this is the hardest part of any
 upgrade?
 
 (not subbed)
 
 
 -r
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Dev Tugnait [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: flash plugin in 6.0

2005-12-18 Thread Beecher Rintoul
On Sunday 18 December 2005 06:57 pm, Ross Adams Lippert wrote:
 Where is the latest documentation on this continually vexing
 problem?  Why do I feel like this is the hardest part of any
 upgrade?

That port is borked, here's what you have to do to get it working:

## Workaround for broken port linuxpluginwrapper.

## Before building linuxpluginwrapper:

rm -R /usr/X11R6/lib/browser_linux_plugins

ln -s /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins


## Build linuxpluginwrapper:

cd /usr/ports/www/linuxpluginwrapper

make -DWITH_PLUGINS install clean

## or upgrade:

portupgrade -vm -DWITH_PLUGINS linuxpluginwrapper

## Remove symlink (will break Mozilla).

rm -rf /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins


## Fix acroread:

rm -rf /usr/local/bin/acroread  # If upgrade.

mv  /usr/local/bin/acroread7  /usr/local/bin/acroread

rm -rf /usr/X11R6/lib/browser_plugins/nppdf.so

ln 
-s  
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so 
/usr/X11R6/lib/browser_plugins/nppdf.so

## Change path to nppdf.so in /etc/libmap.conf:

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
 
libc.so.6   pluginwrapper/acrobat.so


## Acroread now works properly in browser.
## Helix plugin does not work with Firefox or Mozilla at this time. 
## Flash 6.0 works without modification.
## Flash7 is VERY unstable and will crash Firefox (possibly Mozilla).

## Launch browser and type about:plugins without the quotes to check that 
plugins are enabled.

Beech

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgphsBcNNn6Ei.pgp
Description: PGP signature


Re: Value too large to be stored in data type -- gzipped tarball

2005-12-18 Thread Nikolas Britton
On 12/18/05, TuxGirl [EMAIL PROTECTED] wrote:
   I have a gzipped tarball that I created on my box when i was running
   Linux, and I burned it, along with some other files, onto a dvd.  I'm
   now trying to extract the tarball, but it appears that it must be over
   some sort of filesystem limit or something.  None of the commands that
   I have tried seem to like the file.  Each of them gives the same
 
  [snip]
 
   I'm fairly certain that the tarball is fine, because it worked fine on
   my server last week, when i opened it up there...
 
  Might want try a different implementation of tar then
  cd /usr/ports/archivers; make search name=tar| more

 I will try this, however, when I mentioned that other commands were
 also not playing nicely with the file, I was referring to commands
 such as cp, mv, and ls.  I'll see if another tar command will work,
 though.  thanks for the reply!
 ~Erin


There is nothing wrong with tar and large files, it's synonymous with
what tar is used for. I think your problem is just a Linux tar to
FreeBSD tar quirk. I had no problems with the 3.3GB testfile I made
for tar and gzip to play with:

 uname -a
FreeBSD spectra.intranet 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Dec
11 02:56:58 CST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/Info-Matic  i386

 cat /dev/random  testfile

 ls -al testfile
-rw-r--r--  1 nbritton  nbritton  3526029312 Dec 18 22:12 testfile

 md5 testfile
MD5 (testfile) = 83e574c15a7daf44f063d140d3577630

 tar -czf testfile.tar.gz testfile

 ls -al testfile*
-rw-r--r--  1 nbritton  nbritton  3526029312 Dec 18 22:12 testfile
-rw-r--r--  1 nbritton  nbritton  3527105097 Dec 18 22:32 testfile.tar.gz

 rm testfile; tar -xf testfile.tar.gz; md5 testfile
MD5 (testfile) = 83e574c15a7daf44f063d140d3577630
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash plugin in 6.0 (Fixed Typo)

2005-12-18 Thread Beecher Rintoul
On Sunday 18 December 2005 07:47 pm, Beecher Rintoul wrote:
 On Sunday 18 December 2005 06:57 pm, Ross Adams Lippert wrote:
  Where is the latest documentation on this continually vexing
  problem?  Why do I feel like this is the hardest part of any
  upgrade?

 That port is borked, here's what you have to do to get it working:

 ## Workaround for broken port linuxpluginwrapper.

 ## Before building linuxpluginwrapper:

 rm -R /usr/X11R6/lib/browser_linux_plugins

 ln -s /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins


 ## Build linuxpluginwrapper:

 cd /usr/ports/www/linuxpluginwrapper

 make -DWITH_PLUGINS install clean

 ## or upgrade:

 portupgrade -vm -DWITH_PLUGINS linuxpluginwrapper

 ## Remove symlink (will break Mozilla).

rm -rf /usr/X11R6/lib/browser_linux_plugins  - Typo in last 
email. This is the proper command.


 ## Fix acroread:

 rm -rf /usr/local/bin/acroread# If upgrade.

 mv  /usr/local/bin/acroread7  /usr/local/bin/acroread

 rm -rf /usr/X11R6/lib/browser_plugins/nppdf.so

 ln
 -s 
 /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf
.so /usr/X11R6/lib/browser_plugins/nppdf.so

 ## Change path to nppdf.so in /etc/libmap.conf:

 # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 [/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppd
f.so] libc.so.6pluginwrapper/acrobat.so


 ## Acroread now works properly in browser.
 ## Helix plugin does not work with Firefox or Mozilla at this time.
 ## Flash 6.0 works without modification.
 ## Flash7 is VERY unstable and will crash Firefox (possibly Mozilla).

 ## Launch browser and type about:plugins without the quotes to check that
 plugins are enabled.


Beech

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgpD0Vwg0Q8l9.pgp
Description: PGP signature


Re: flash plugin in 6.0

2005-12-18 Thread Dev Tugnait
On Sun, 2005-12-18 at 19:47 -0900, Beecher Rintoul wrote:
 On Sunday 18 December 2005 06:57 pm, Ross Adams Lippert wrote:
  Where is the latest documentation on this continually vexing
  problem?  Why do I feel like this is the hardest part of any
  upgrade?
 
 That port is borked, here's what you have to do to get it working:
 
The port is not broken cvsup your tree

 ## Workaround for broken port linuxpluginwrapper.
 
 ## Before building linuxpluginwrapper:
 
 rm -R /usr/X11R6/lib/browser_linux_plugins
 
 ln -s /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins
 
 
 ## Build linuxpluginwrapper:
 
 cd /usr/ports/www/linuxpluginwrapper
 
 make -DWITH_PLUGINS install clean
 
 ## or upgrade:
 
 portupgrade -vm -DWITH_PLUGINS linuxpluginwrapper
 
 ## Remove symlink (will break Mozilla).
 
 rm -rf /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins
 

I advice not to remove /usr/X11R6/lib/browser_plugins
 
 ## Fix acroread:
 
 rm -rf /usr/local/bin/acroread# If upgrade.
 
 mv  /usr/local/bin/acroread7  /usr/local/bin/acroread
 
 rm -rf /usr/X11R6/lib/browser_plugins/nppdf.so
 
 ln 
 -s  
 /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so
  /usr/X11R6/lib/browser_plugins/nppdf.so
 
 ## Change path to nppdf.so in /etc/libmap.conf:
 
 # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
 [/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
  
 libc.so.6 pluginwrapper/acrobat.so
 
 
 ## Acroread now works properly in browser.
 ## Helix plugin does not work with Firefox or Mozilla at this time. 
 ## Flash 6.0 works without modification.
 ## Flash7 is VERY unstable and will crash Firefox (possibly Mozilla).
 
 ## Launch browser and type about:plugins without the quotes to check that 
 plugins are enabled.
 
 Beech
 

Refrain from giving bad advice please

 ---
 Beech Rintoul - System Administrator - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | NorthWind Communications
 \ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
  X  - NO Word docs in e-mail | Anchorage, AK 99501
 / \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
 ---
 
 
 
 
 
 
 
 
 
 
 
-- 
Dev Tugnait [EMAIL PROTECTED]

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


how do I ... burn an audio CD from .WAV files _and_ add cd-text ?

2005-12-18 Thread user

I have wav files.

The wav files come from cds that did not have cd-text information on them,
so I have no cd-text examples or source files for these wav files.

I want to burn an audio cd with some wav files (I know how to do this with
burncd and cdrecord) BUT I also want to add cd-text to the newly created,
custom audio CD.

cdrecord seems as if it is able to do this, but after a night of
searching, I do not see how to create the file of text necessary to do
this.

I am wondering if anyone out there already does this and could share their
workflow / work-description ?

thanks.

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


Re: make targets, was: Running qmail

2005-12-18 Thread Erik Trulsson
On Sun, Dec 18, 2005 at 08:10:04PM -0500, Michael P. Soulier wrote:
 On 12/18/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote:
  Daemontools can be found out by:
 
  cd /usr/ports  make search name=daemontools
 
 Where are these make options in ports documented? I'd like to know all
 of the options available in ports. I usually just cd /usr/ports  ls
 -d */*daemontools*

Most of the make targets available are documented in the ports(7) manpage.

 
 A target that tells me what a port has in the way of options would be nice 
 too.



-- 
Insert your favourite quote here.
Erik Trulsson
[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: flash plugin in 6.0

2005-12-18 Thread James Bailie

Dev Tugnait wrote:

 The port is not broken cvsup your tree

Yes it is.  While some things work, it still does not create the
proper symbolic link for the acrobat plugin, nor is the path
for it correct in the sample libmap.confs.  Beecher's fix will correct.

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


Re: how do I ... burn an audio CD from .WAV files _and_ add cd-text ?

2005-12-18 Thread Andrew P.
On 12/19/05, user [EMAIL PROTECTED] wrote:

 I have wav files.

 The wav files come from cds that did not have cd-text information on them,
 so I have no cd-text examples or source files for these wav files.

 I want to burn an audio cd with some wav files (I know how to do this with
 burncd and cdrecord) BUT I also want to add cd-text to the newly created,
 custom audio CD.

 cdrecord seems as if it is able to do this, but after a night of
 searching, I do not see how to create the file of text necessary to do
 this.

 I am wondering if anyone out there already does this and could share their
 workflow / work-description ?

 thanks.

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


I haven't tried it, but sysutils/cdrdao supports CD-Text.
You can specify the text info right in its TOC files. Just
have a glance at its manpage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Req: Video Caching Solution

2005-12-18 Thread altu faltuz
Hello,

I would like to know how to go about setting up a video caching solution.

I have a Video streaming server, and 3 geographically distant locations.
I want to be able to use the caching facility to provide video on demand
to all my users. Full or part caching of videos could be done at their
locations, so that they would not feel the lag. Another option would be
to have the videos synchronised at each of servers at the different
locations.

The main issue is the users base. I have currently 500 users. My videos
are DVD quality and therefore require a 10Mbit/s bandwidth per user per
video. Worst case scenario, all users watching the complete set of 50
videos at the same time. How do I go about doing this?

Anyone done this before? Or maybe you could point me in the right
direction.

Thank you all.

-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: flash plugin in 6.0

2005-12-18 Thread Dev Tugnait
On Mon, 2005-12-19 at 01:06 -0500, James Bailie wrote:
 Dev Tugnait wrote:
 
   The port is not broken cvsup your tree
 
 Yes it is.  While some things work, it still does not create the
 proper symbolic link for the acrobat plugin, nor is the path
 for it correct in the sample libmap.confs.  Beecher's fix will correct.
 

The only thing it doesnt do is create symbolic links which does not mark
a port as BROKEN for one, secondly why would you remove your
browser_plugins dir?

-- 
Dev Tugnait [EMAIL PROTECTED]

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