wi0 (4.11) = rum0 (7.0)

2008-02-21 Thread Lystopad Oleksandr
Hi!

I have two FreeBSD boxes. One with 4.11 and wi0 device, and another
with 7.0-PRE with rum0 device. I need to connect wi0 and rum0 via
adhoc mode. 7.0 cant find wi0 device with ifconfig rum0 scan. 

Please, help me to connect this two networks together.

ifconfig rum0:
rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:c0:a8:f4:53:18
media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b adhoc
status: no carrier
ssid MYNET channel 1 (2412 Mhz 11b) bssid 00:02:2d:30:2d:22
authmode OPEN privacy OFF txpower 50 scanvalid 60 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1
roaming MANUAL

ifconfig wi0:
wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.xx.xx.10 netmask 0xfffc broadcast 10.xx.xx.11
ether 00:02:2d:30:2d:22
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps adhoc)
status: associated
ssid MYNET 1:RS
stationname my-name
channel 1 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1

Thanks

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


Re: Mounting FS read-only for specific user (or root)

2008-02-21 Thread Erik Norgaard

Andrew Bradford wrote:

I'm trying to set up a mounted filesystem that is read-write for root, 
but read-only for anyone else.  It will be mounted as a backup 
directory, so files listed in that directory will be owned by current 
users on the system but can't be writeable, regardless of the file 
permissions.


hd2 mounted rw in /root/backup-rw
hd2 mounted ro in /backups

Is this possible?


Have you tried? ;)

I assume the reasoning for this is you want to preserve permissions and 
attributes on your backup, so you can't solve this simply by setting 
permissions appropriately.


But then, do users need frequent access to their backup? Then you could 
simply mount it on a mount point which only has root access.


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


Re: DJ500 dead after = 16 years.

2008-02-21 Thread perryh
   Guys, I need some input about what kind of _new_ printer to buy
   for my desktops.  I'd like to hang the printer off my FBSD box;
   my Ubuntu platform is probably too far away. At least 3 meters.
 
  A few months ago I got a Samsung ML-2571N for well under $100 at
  Fry's.  It is small, light, fast; has a built-in 10/100 network
  port, handles PostScript, and speaks native lpr 
 
  What is lpr?

see man lpr and its see also entries.

  Usually printers speak Post Script or PCL printer command 
  language

As I said, this one speaks PostScript.

  in which case you need a driver.

Not in this case :)

  LPD, LPRng, and CUPS are different spooling systems.
  Did you attach the printer to a computer or is acting as a free 
  standing printer server.

It is freestanding.

 There is a lpr driver by Brother for Linux. Brother and Canon have 
 binary blob drivers. Did you use that driver may be?

I didn't install any drivers, just added it to printcap and hosts:

lp|Samsung ML-2571N PostScript network printer:\
:sh:\
:rm=ml2571n:sd=/var/spool/output/ml2571n:lf=/var/log/lpd-errs:

192.168.200.201 ml2571n

and it Just Works (TM).  I suppose apps like OpenOffice might need
to be told it is a PostScript printer.  If I needed to do that, and
didn't have anything more specific handy, I would just configure it
as a LaserWriter NTX.  I have yet to find a monochrome PostScript
printer for which that does not work well enough.

 Does anyone know if those binary blobs can be useful for anything
 on FreeBSD. They appear to be wrappers for standard Ghost Script
 drivers. I noticed also that some drivers for older Brother 
 printers are removed from Ghost Script 7.0 and 8.0.

AFAIK GS is only needed if you want to print PostScript files on a
printer that does not contain a PostScript interpreter.  It's not
needed when dealing with a PostScript printer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mount_msdosfs options with mp3 player

2008-02-21 Thread Dave

Hello,
   I've got a Zen Stone mp3 player that i plugged in to my freebsd 6.2 
machine. It was detected fine as da0 and i mounted it with:


mount_msdosfs /dev/da0s1 /mnt

   I'm wanting to make modifications, add/remove files and directories 
under fbsd, as opposed to windows. My question is with this mp3 player or a 
player in general with the msdosfs filesystem is there any special mount 
options i have to pass and failing to do so will corrupt the unit?
   I'd also like this player to always show up as da0 no matter which port 
i plug it in to.

Thanks.
Dave.

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


Re: GELI encryption and HDD critical temperature

2008-02-21 Thread cpghost
On Tue, Feb 19, 2008 at 11:41:18AM +0300, s.g. wrote:
 According to smartctl -a, the temperature of the encrypted drives is ~59C. 
 The temperature of the unencrypted drive is, however,  ~41C, according to 
 the same smartctl -a.

The CPU has to work extra hard to encrypt/decrypt, and it is possible
that the extra heat this generates is absorbed by the HDDs. But since
the only drive that's overheating is the encrypted one, it seems to be
something else.

 Am I right assuming  GELI encryption is the reason for such a global 
 warming?

I don't know. But I've noticed that when drives access GBDE-encrypted
partitions (I didn't try with GELI yet), they are much louder (head
seeking). It seems they seek more often on encrypted than non-encrypted
partitions. Perhaps caching is turned off at some point up the chain?
If that's the case, it is no wonder that encrypted partitions tend to
result in higher drive temps (and faster drive wear).

Is there a way to measure the number of head seeks in near real-time
to confirm or disprove this?

 Grigorian

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_msdosfs options with mp3 player

2008-02-21 Thread Mel
On Thursday 21 February 2008 11:38:23 Dave wrote:

 I'd also like this player to always show up as da0 no matter which port
 i plug it in to.

No can do, but there is glabel(8). Label the disk with whatever tool you want 
as for example ZEN_STONE and it will always be available 
as: /dev/msdosfs/ZEN_STONE.

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


Re: IP Aliasing

2008-02-21 Thread Siraj Shaikh
On 29/01/2008, Olivier Nicole [EMAIL PROTECTED] wrote:
  1) is there an upper limit to configuring a number of alias addresses?

 I have a machine with 200+ IP without any problem.

   2) if an interface is configured with an alias address, then what
   address is shown on the traffic leaving this interface? So, for
   example, if I were to ping this machine on its primary address, I
   expect to get a response from the primary address of the interface.
   What happens if I ping an alias address, would I get a response from

 By default exiting traffic is using the primary address (the one
  defined with no keyword alias in the ifconfig). I think there is a way
  to choose the exiting IP.

  When a paket is responding, it use the same IP that was used in the
  query (else any firewall would be confused in the way).


   3) In the above scenario, all traffic leaving the interface
   (regardless of the source IP on it) will have the same MAC address
   (the one of the interface) - is that right?


 Right except maybe some NIC that allow several MAC addresses? That
  could be used in hi availability?


   4) Does anyone know if there are there any other network
   characteristics or behaviour by which we can distinguish a machine
   having more than one IP address (primary plus alias) configued on one
   of its interface?


 Once you cross a router, you don't see the MAC of the machine anymore,
  MAC is local to your LAN anyway.

  Olivier




One last thing I wanted to know (sorry to email after a long delay),
in order for me to add aliases that I want to remain configured on the
machine at every boot, I can simply add, for exmaple, the following
lines to the rc.conf file?

ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x

Just want to know, as I want to configure about 253 addresses as an
alias on a single machine (along with the primary address, this will
be 254 address, a whole C-class subnet) - and would like these entries
to hold when I boot. Also, is there any shortcut to adding a range of
net/host address or would I have to add a line for each address?

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


Re: IP Aliasing

2008-02-21 Thread Mel
On Thursday 21 February 2008 13:07:08 Siraj Shaikh wrote:

 ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
 ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
 ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x

 Just want to know, as I want to configure about 253 addresses as an
 alias on a single machine (along with the primary address, this will
 be 254 address, a whole C-class subnet) - and would like these entries
 to hold when I boot. Also, is there any shortcut to adding a range of
 net/host address or would I have to add a line for each address?

Yes and yes. Yes it needs one line per alias and yes, there's a shortcut:

for i in $(jot - 0 254); do
  echo ifconfig_ed0_alias${i}=\inet 127.0.0.$((i+1)) netmask 0x\
done /etc/rc.conf

Wouldn't do this with 127.0.0 btw, but I figured you wouldn't. You'd also have 
to make a provision for the main IP, but then again, it's easier to remove 
the specific line by hand.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Aliasing

2008-02-21 Thread Siraj Shaikh
On 21/02/2008, Mel [EMAIL PROTECTED] wrote:
 On Thursday 21 February 2008 13:07:08 Siraj Shaikh wrote:

   ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
   ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
   ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x
  
   Just want to know, as I want to configure about 253 addresses as an
   alias on a single machine (along with the primary address, this will
   be 254 address, a whole C-class subnet) - and would like these entries
   to hold when I boot. Also, is there any shortcut to adding a range of
   net/host address or would I have to add a line for each address?


 Yes and yes. Yes it needs one line per alias and yes, there's a shortcut:

  for i in $(jot - 0 254); do
   echo ifconfig_ed0_alias${i}=\inet 127.0.0.$((i+1)) netmask 0x\
  done /etc/rc.conf

  Wouldn't do this with 127.0.0 btw, but I figured you wouldn't. You'd also 
 have
  to make a provision for the main IP, but then again, it's easier to remove
  the specific line by hand.
  --

 Mel


Thanks Mel - very helpful indeed

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


HP LaserJet not uploading firmware permission denied ulpt0

2008-02-21 Thread Paul Belair
I'm using 6.3 FreeBSD

Is there a fix that works.

I have a hp laserjet 1000 printer. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount_msdosfs options with mp3 player

2008-02-21 Thread Wojciech Puchar



Hello,
  I've got a Zen Stone mp3 player that i plugged in to my freebsd 6.2 
machine. It was detected fine as da0 and i mounted it with:


mount_msdosfs /dev/da0s1 /mnt


yes it is enough.

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


FreeBSD 6.3 on PowerMac G5

2008-02-21 Thread Alaor Barroso de Carvalho Neto
Hi guys, does the release for the powerpc arch. runs fine in a PowerMac G5
box? Anyone have already tried this?
Cheers,
Alaor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unicode Console?

2008-02-21 Thread Robert Huff

Dominic Fandrey writes:


  It won't work for the console, but in a terminal emulator (I
  prefer rxvt-unicode, but uxterm should also work.) it works
  fine. My FreeBSD system uses UTF-8 and I never encountered
  problems because of this.

Have I missed the announcement, or is it still the case the
filesystem is not UTF compatible?


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


Re: FreeBSD Linux distro

2008-02-21 Thread Heiko Wundram (Beenic)
Am Donnerstag, 21. Februar 2008 15:58:51 schrieb James Harrison:
   8. Most extensive collection of third party software (over 18000 ) only
   second to Debian.
 
  Looking back at it, I'm surprised I didn't mention that.

 Gentoo has over 24 thousand ebuilds, where an ebuild is their equivalent
 of a port:

Err, don't confuse ebuilds with packages. A package is a piece of software 
(which is the equivalent of a port), whereas an ebuild is an install script 
for a specific version of a package. Normally, there's more than one version 
of a package (more than one ebuild) available for a package, which makes the 
ebuild count higher than the FreeBSD ports count, but the package count lower 
(somewhere above 12000).

This doesn't count slotted ebuilds: for example, Gentoo has just one gtk 
package, which contains several ebuilds for slot 12 which is gtk-1.2.x and 
several ebuilds for slot 20, which is gtk-2.x (different slots are treated as 
different packages by the system internally), whereas FreeBSD has a gtk12 and 
a gtk20 port, which installs the respective versions.

So, basically whatever numbers you take, they can't be compared directly 
anyway, but I guess that the number of ports is still higher than the Gentoo 
amortized package count would be.

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


Re: Unicode Console?

2008-02-21 Thread Dominic Fandrey

Robert Huff wrote:

Dominic Fandrey writes:



 It won't work for the console, but in a terminal emulator (I
 prefer rxvt-unicode, but uxterm should also work.) it works
 fine. My FreeBSD system uses UTF-8 and I never encountered
 problems because of this.


Have I missed the announcement, or is it still the case the
filesystem is not UTF compatible?


Robert Huff


UFS works fine with any kind of 8-Bit Encoding. UTF-8 is not an exception. 
I'm using this since 5.3, when I started using FreeBSD.



# touch Français
# touch 日本語
# ls
Français日本語
# rm *
# ls
#

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


6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Forrest Aldrich
I recently recomplied the apache20 port (updated) with no compile-time 
changes.  Since that time, I noticed it was hogging 98% of the CPU and 
hanging.  I adjusted the various Max/Min server levels and that seemed 
to fix it - except at midnight when the logs are rotated and the server 
is sent a HUP signal.  When that happens, all the processes die except 
one and it hangs at 90% CPU.  I kill it off, restart it manually and it 
behaves fine.


Here's a recent output of top :

PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
94711 www 1 1170 41036K 13852K RUN0   1:43 98.69% httpd

The only thing that has changed on the system is an upgrade from 
MySQL-4.1 to MySQL-5.1, which I wouldn't expect httpd to be affected by, 
but I could be wrong.  To be sure, I recompiled it, PHP and any 
dependencies that PHP has, but I'm still seeing the same result.


I tried compiling MySQL-5.1 with and without pthreads and see the same 
CPU consumption issue.


I wonder if I've hit a bug or if I've possibly messed something up (as 
careful as I've been anyway).




Thanks,

Forrest




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


Re: FreeBSD Linux distro

2008-02-21 Thread James Harrison

 
  
  8. Most extensive collection of third party software (over 18000 ) only 
  second to Debian.
 
 Looking back at it, I'm surprised I didn't mention that.
 

Gentoo has over 24 thousand ebuilds, where an ebuild is their equivalent
of a port:

http://en.wikipedia.org/wiki/Ebuild

http://packages.gentoo.org/categories/ is the page that lists the
current number of ebuilds.

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


7.0 RC2 usb problems

2008-02-21 Thread Paul Schmehl
I just installed 7.0 RC2 on a brand new Dell - dual processor dual core Intel 
(so four processors), and I'm losing the keyboard and mouse after taking 
certain actions.  For example, I started setting up X (Xorg --configure) and 
then launched it (X -config /root/xorg.conf-new), and when I get to the GUI the 
mouse and keyboard are gone.  Sometimes I can restore functionality by 
unplugging the devices and then plugging them back in.  This is happening in 
the console as well, not just in the GUI.


I've fetched the latest sources using cvsup.  Will rebuilding the kernel solve 
this problem?  Is this a known issue?


usbhidctl shows ums0, ums1, ukbd0 and ukbd1 to be busy.

[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums0
usbhidctl: /dev/ums0: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums1
usbhidctl: /dev/ums1: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd
ukbd0  ukbd1
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd0
usbhidctl: /dev/ukbd0: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd1
usbhidctl: /dev/ukbd1: Device busy

This is what I see after unplugging both devices and plugging them in to 
different usb receptacles.


usbdevs
addr 1: UHCI root hub, Intel
addr 2: product 0x2105, vendor 0x413c
addr 3: product 0x4d15, vendor 0x0461
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 3: product 0x2105, vendor 0x413c
addr 2: product 0x4d15, vendor 0x0461
addr 1: EHCI root hub, Intel

FreeBSD utd65257.utdallas.edu 7.0-RC2-p1 FreeBSD 7.0-RC2-p1 #0: Tue Feb 12 
22:23:33 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


grep usb /var/run/dmesg.boot
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
usb2: waiting for BIOS to give up control
usb2: EHCI version 1.0
usb2: wrong number of companions (3 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: EHCI (generic) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
usb3: UHCI (generic) USB controller on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
usb4: UHCI (generic) USB controller on uhci3
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb4
usb5: UHCI (generic) USB controller on uhci4
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb5
usb6: waiting for BIOS to give up control
usb6: timed out waiting for BIOS
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: EHCI (generic) USB 2.0 controller on ehci1
usb6: USB revision 2.0
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb6

Any clues or help would be appreciated.

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Derek Ragona

At 08:34 AM 2/21/2008, Forrest Aldrich wrote:
I recently recomplied the apache20 port (updated) with no compile-time 
changes.  Since that time, I noticed it was hogging 98% of the CPU and 
hanging.  I adjusted the various Max/Min server levels and that seemed to 
fix it - except at midnight when the logs are rotated and the server is 
sent a HUP signal.  When that happens, all the processes die except one 
and it hangs at 90% CPU.  I kill it off, restart it manually and it 
behaves fine.


Here's a recent output of top :

PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
94711 www 1 1170 41036K 13852K RUN0   1:43 98.69% httpd

The only thing that has changed on the system is an upgrade from MySQL-4.1 
to MySQL-5.1, which I wouldn't expect httpd to be affected by, but I could 
be wrong.  To be sure, I recompiled it, PHP and any dependencies that PHP 
has, but I'm still seeing the same result.


I tried compiling MySQL-5.1 with and without pthreads and see the same CPU 
consumption issue.


I wonder if I've hit a bug or if I've possibly messed something up (as 
careful as I've been anyway).




Thanks,

Forrest


What is showing in the apache logs when this happens?

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: IP Aliasing

2008-02-21 Thread Jerry McAllister
On Thu, Feb 21, 2008 at 12:07:08PM +, Siraj Shaikh wrote:

 On 29/01/2008, Olivier Nicole [EMAIL PROTECTED] wrote:
   1) is there an upper limit to configuring a number of alias addresses?
 
  I have a machine with 200+ IP without any problem.
 
2) if an interface is configured with an alias address, then what
address is shown on the traffic leaving this interface? So, for
example, if I were to ping this machine on its primary address, I
expect to get a response from the primary address of the interface.
What happens if I ping an alias address, would I get a response from
 
  By default exiting traffic is using the primary address (the one
   defined with no keyword alias in the ifconfig). I think there is a way
   to choose the exiting IP.
 
   When a paket is responding, it use the same IP that was used in the
   query (else any firewall would be confused in the way).
 
 
3) In the above scenario, all traffic leaving the interface
(regardless of the source IP on it) will have the same MAC address
(the one of the interface) - is that right?
 
 
  Right except maybe some NIC that allow several MAC addresses? That
   could be used in hi availability?
 
 
4) Does anyone know if there are there any other network
characteristics or behaviour by which we can distinguish a machine
having more than one IP address (primary plus alias) configued on one
of its interface?
 
 
  Once you cross a router, you don't see the MAC of the machine anymore,
   MAC is local to your LAN anyway.
 
   Olivier
 
 
 
 
 One last thing I wanted to know (sorry to email after a long delay),
 in order for me to add aliases that I want to remain configured on the
 machine at every boot, I can simply add, for exmaple, the following
 lines to the rc.conf file?
 
 ifconfig_ed0_alias0=inet 127.0.0.251 netmask 0x
 ifconfig_ed0_alias1=inet 127.0.0.252 netmask 0x
 ifconfig_ed0_alias2=inet 127.0.0.253 netmask 0x
 

Looks right.  The main nasty thing is in the aliasnn, the nn must
start at 0 and be sequential - like you have it here.  But, you can't
just take one out of the middle without moving the others up to fill in.

 Just want to know, as I want to configure about 253 addresses as an
 alias on a single machine (along with the primary address, this will
 be 254 address, a whole C-class subnet) - and would like these entries
 to hold when I boot. Also, is there any shortcut to adding a range of
 net/host address or would I have to add a line for each address?

Not that I know of.
But, maybe someone has written something.

jerry

 
 Thanks
 ___
 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: wi0 (4.11) = rum0 (7.0)

2008-02-21 Thread John Nielsen
On Thursday 21 February 2008 02:46:09 am Lystopad Oleksandr wrote:
 Hi!

 I have two FreeBSD boxes. One with 4.11 and wi0 device, and another
 with 7.0-PRE with rum0 device. I need to connect wi0 and rum0 via
 adhoc mode. 7.0 cant find wi0 device with ifconfig rum0 scan.

 Please, help me to connect this two networks together.

 ifconfig rum0:
 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500 ether 00:c0:a8:f4:53:18
 media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b adhoc
 status: no carrier
 ssid MYNET channel 1 (2412 Mhz 11b) bssid 00:02:2d:30:2d:22
 authmode OPEN privacy OFF txpower 50 scanvalid 60 bgscan
 bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1
 roaming MANUAL

 ifconfig wi0:
 wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 10.xx.xx.10 netmask 0xfffc broadcast 10.xx.xx.11
 ether 00:02:2d:30:2d:22
 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps
 adhoc) status: associated
 ssid MYNET 1:RS
 stationname my-name
 channel 1 authmode OPEN powersavemode OFF powersavesleep 100
 wepmode OFF weptxkey 1

I'm pretty sure you only want one of the adapters in ad-hoc mode. The 
other one can just be in station mode.

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


ipfw pipe show

2008-02-21 Thread Jim Flowers
I'm struggling to understand pipes.  Most of it I get or know how to find the
answer but there is one thing that is still a puzzle.

I have a pipe configured as:

ipfw pipe 2 config bw 768Kbit/s queue 20Kbytes

When I use `ipfw -s 4 pipe 2 show, one bucket is shown:

2: 768.000 Kbit/s0 ms  20 KB 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 tcp 12.###.##.77/80  88.###.##.175/2200  10565  8421549  00 103

I understand that there is only one bucket but how are the source and
destination ip addresses and ports chosen to be displayed from all that are
routed to the pipe?  Do they have any significance?

While I'm at it this pipe has a 768 Kbps bw limit and is currently running at
less than 250 Kbps.  Why are packets still being dropped at the rate of about
1%, fairly consistently?

Thanks.
--
Jim Flowers [EMAIL PROTECTED]


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: ipfw pipe show

2008-02-21 Thread Wojciech Puchar

answer but there is one thing that is still a puzzle.

I have a pipe configured as:

ipfw pipe 2 config bw 768Kbit/s queue 20Kbytes

When I use `ipfw -s 4 pipe 2 show, one bucket is shown:

2: 768.000 Kbit/s0 ms  20 KB 1 queues (1 buckets) droptail
   mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
 0 tcp 12.###.##.77/80  88.###.##.175/2200  10565  8421549  00 103

I understand that there is only one bucket but how are the source and
destination ip addresses and ports chosen to be displayed from all that are


yes. use queues through this pipe for implementing smart traffic control 
(best of a kind i must say).




While I'm at it this pipe has a 768 Kbps bw limit and is currently running at


what kind of traffic is it? single or lots of tcp connections? looks like 
a single connection



less than 250 Kbps.  Why are packets still being dropped at the rate of about
1%, fairly consistently?


turn off the pipe and check the traffic again. it looks like your pipe is 
setup correctly.


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


ionCube PHP Encoder / Loader on FreeBSD 6 / 7

2008-02-21 Thread Doug Poland

Hello,

I'm having problems getting ionCube's PHP loader working on either 
6.3-RELEASE or 7.0-RC2 (both i386).  I've followed the install 
instructions, edited php.ini, installed compat5x and compat6x libraries, 
but just cannot get the loader to work.  Both boxes are running PHP 5.2.5.


Have googled and read the ioncube forums.  I must be missing something 
obvious.


Thanks in advance...

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


Re: Shutdown anomaly

2008-02-21 Thread Steven Friedrich
On Wednesday 20 February 2008 03:37:29 pm Brent Jones wrote:
   -Original Message-
 
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Tore Lund
  Sent: Thursday, 21 February 2008 9:32 a.m.
  To: Steven Friedrich; freebsd-questions@freebsd.org
  Subject: Re: Shutdown anomaly
 
  Steven Friedrich wrote:
iStyinncgi n(gm adxi s6k0s ,s evcnoonddess)  rfeomra
 
  isnyisntge.m. .pr0o
 
   cess 'syncer' to stop...0 0 done
   All buffers synced.
   Uptime: 8m9s
 
  I don't know if this is relevant.  Anyway, I used to see this error on
  7.0-RC1, at any rate when using xdm.  I no longer see it on 7.0-RC2.

 I see it on my RC2 machine.  It comes and goes on my machine, and isn't
 always present on shutdown.  Not running xdm, just a plain vanilla box
 with no X.

The previously suggested kernel config option PRINTF_BUFR_SIZE=128 appears 
to work around the issue on my machine, an HP zd8215us.  I'm running 
7.0-RC3 (no, really, that's what it sez), built Wed Feb 20.

I could RELIABLY reproduce it with single-user mode, mergemaster -p, make 
installworld, mergemaster, halt, before I added the kernel option.

I'm not using xdm.  I do use kdm, but it's the FIRST thing I turn off before 
troubleshooting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


amd64 kernel installed on i386 machine?

2008-02-21 Thread David T

I am worried that I installed the 64 bit version of FreeBSD with an amd kernel 
on an Intel i386 box.   
 
Is there something wrong when I see the following:
 
[EMAIL PROTECTED] /usr/local]# uname -aFreeBSD web1.machine.net 6.2-RELEASE 
FreeBSD 6.2-RELEASE #0: Sun Jan  6 22:37:33 CST 2008 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/web1  amd64
 
[EMAIL PROTECTED] /usr/local]# grep -i cpu /var/run/dmesg.bootCPU: Intel(R) 
Xeon(R) CPU   E5345  @ 2.33GHz (2333.43-MHz K8-class CPU)FreeBSD/SMP: 
Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID:  0 cpu1 (AP): APIC 
ID:  1 cpu2 (AP): APIC ID:  2 cpu3 (AP): APIC ID:  3cpu0: ACPI CPU on 
acpi0acpi_throttle0: ACPI CPU Throttling on cpu0cpu1: ACPI CPU on 
acpi0acpi_throttle1: ACPI CPU Throttling on cpu1cpu2: ACPI CPU on 
acpi0acpi_throttle2: ACPI CPU Throttling on cpu2cpu3: ACPI CPU on 
acpi0acpi_throttle3: ACPI CPU Throttling on cpu3SMP: AP CPU #1 Launched!SMP: 
AP CPU #3 Launched!SMP: AP CPU #2 Launched!
 
 
When I install new packages from ports,  do I install the i386 versions of 
these packages or the amd versions of these packages?Quite confused and would 
appreciate any concrete help,
 
David
 
_
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Did Microsoft give up?

2008-02-21 Thread NetOpsCenter

Aloha,

I just saw on TV news that Micro$oft has announced that it is opening 
its code for development of its operating system.
Does this mean the Open Source Community has proved itself the best way 
to go?


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: where is the new kernel(GENERIC) file?

2008-02-21 Thread Erich Dollansky

Hi,

if nothing has changed, the file stayed the same.

You can make a simple test. Delete or rename it and start csup again.

If it reappears, it has to be the old file.

Erich

Efren Bravo wrote:
Hi there.  
  
I downloaded the sources of freebsd 6.3 via
cvsup.  
  
Where the new kernel file is copied? I've checked

into /usr/src/sys/i386/conf/ and the GENERIC file
has the old date.  
  
Thanks in advance.



   
__ 
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome

___
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: Did Microsoft give up?

2008-02-21 Thread Erich Dollansky

Hi,

NetOpsCenter wrote:

Aloha,

I just saw on TV news that Micro$oft has announced that it is opening 
its code for development of its operating system.
Does this mean the Open Source Community has proved itself the best way 
to go?


they use this just as another form of outsourcing.

As long as they get the work done and still can charge for their 
programs, why not?


Isn't Microsoft doing some kind of open source stuff since some time?

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


Re: port net/acx100 for usr5410 pcmcia wireless FBSD 6.3

2008-02-21 Thread Anton Shterenlikht
On 19/02/2008, Anton Shterenlikht [EMAIL PROTECTED] wrote:
Is anybody using usr5410? With what driver? And what version of FBSD?
   
   On Wed, Feb 20, 2008 at 12:21:22PM +, Kemian Dang wrote:
   Try ndis, it works for my broadcom wireless adapter.
 
  On 20/02/2008, Anton Shterenlikht [EMAIL PROTECTED] wrote:
  I added ndis to the kernel and built the kernel module using
  http://www.linuxant.com/usr11gv40q.zip driver.
 
  However, when I load the module:
  I get errors. From dmesg:
 
  cardbus1: Expecting link target, got 0xed
  cardbus1: Resource not specified in CIS: id=10, size=2000
  cardbus1: Resource not specified in CIS: id=14, size=2
  ndis0: U.S. Robotics 802.11g Wireless Turbo Adapter mem 
  0x8802-0x88021fff,0x8800-0x8801 irq 11 at device 0.0 on cardbus1
  ndis0: NDIS API version: 5.1
  ndis0: init handler failed
  device_attach: ndis0 attach returned 6
 
  What am I doing wrong?

 On Wed, Feb 20, 2008 at 04:39:22PM +, Kemian Dang wrote:
 Try add it to the /boot/loader.conf and restart to see whether it works.
 My ndis0 can not get response from ifconfig ndis0 scan, but I can
 give it the ssid manually and make it work.

thanks, it seems to be detected now, from dmesg:

cardbus1: Expecting link target, got 0xfd
cardbus1: Resource not specified in CIS: id=10, size=2000
cardbus1: Resource not specified in CIS: id=14, size=2
ndis0: U.S. Robotics 802.11g Wireless Turbo Adapter mem 0x8802-0x88021fff,
0x8800-0x8801 irq 11 at device 0.0 on cardbus1
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:c0:49:a9:22:59

I still cannot connect to the wireless network, but this
is probably another problem..

# ifconfig ndis0 up scan
SSIDBSSID  CHAN RATE  S:N   INT CAPS
UoB-Wireless00:16:c7:71:9d:631   52M 18:0   100 E
#

# tail /etc/rc.conf
ifconfig_ndis0=DHCP

# /etc/rc.d/netif start
ndis0: no link .. giving up
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:c0:49:a9:22:59
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid  channel 1
authmode OPEN privacy OFF txpowmax 100 bmiss 7
#

I also tried

# ifconfig ndis0 ssid UoB-Wireless

but that didn't help.

I'll try to update the driver version from 4.0q to 6.0b15, but
the latter is not working fine yet. I think it is because I mixed
different versions of inf, sys and firmware.

many thanks
anton
 
-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw pipe show

2008-02-21 Thread Jim Flowers
On Thu, 21 Feb 2008 17:53:55 +0100 (CET), Wojciech Puchar wrote
  answer but there is one thing that is still a puzzle.
 
  I have a pipe configured as:
 
  ipfw pipe 2 config bw 768Kbit/s queue 20Kbytes
 
  When I use `ipfw -s 4 pipe 2 show, one bucket is shown:
 
  2: 768.000 Kbit/s0 ms  20 KB 1 queues (1 buckets) droptail
 mask: 0x00 0x/0x - 0x/0x
  BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes
Pkt/Byte Drp
   0 tcp 12.###.##.77/80  88.###.##.175/2200  10565  8421549  00 
  103
 
  I understand that there is only one bucket but how are the source and
  destination ip addresses and ports chosen to be displayed from all that are
 
 yes. use queues through this pipe for implementing smart traffic 
 control 
 (best of a kind i must say).

I'll get to queues eventually.  Right now I precede this pipe with a pipe that
reports overall statistics for tcp/udp/other and one that develops statistics
and applies 128kbps bw limits on a per source host basis.  All pipes are
sequential.

 
 
  While I'm at it this pipe has a 768 Kbps bw limit and is currently running 
  at
 
 what kind of traffic is it? single or lots of tcp connections? looks 
 like a single connection

Traffic is multiple simultaneous connections (outbound http from 20 to 30
webservers).
 
  less than 250 Kbps.  Why are packets still being dropped at the rate of 
  about
  1%, fairly consistently?
 
 turn off the pipe and check the traffic again. it looks like your 
 pipe is setup correctly.

Yes, when I do this with an 8 sec delay to reading, I sometimes catch a
dropped packet.  Calculated bw is ~200kbps.  After some minutes it goes to the
1% level and stays there.

 
 are other rules ok?

Yes, everything seems to be consistent and counts match closely.

It's not so much a problem but that I am curious.  And, I still don't
understand the significance of the ip addresses/ports shown in the single
bucket pipe?

Thanks for the response.


--
Jim Flowers [EMAIL PROTECTED]


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


command df just hangs

2008-02-21 Thread David Banning
I first noticed that I was not able to access a windows box mounted using
mount_smbfs. While checking the drive status with the 'df' command I noticed
that the command just hangs.

I could probably resolve this by simply rebooting, but I don't like to
use that solution if I don't have to. Any ideas to resolve this without
a reboot?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: [SDBUG] Did Microsoft give up?

2008-02-21 Thread Jeremiah Gowdy
Super massive cross-post activate!


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
NetOpsCenter
Sent: Thursday, February 21, 2008 9:21 AM
To: freebsd-questions@FreeBSD.org; LUAU; [EMAIL PROTECTED]; San Diego's BSD
Users Group
Subject: [SDBUG] Did Microsoft give up?

Aloha,

I just saw on TV news that Micro$oft has announced that it is opening 
its code for development of its operating system.
Does this mean the Open Source Community has proved itself the best way 
to go?

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


___
SDBUG mailing list
[EMAIL PROTECTED]
http://lists.sdbug.org/mailman/listinfo/sdbug

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


Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Forrest Aldrich



Derek Ragona wrote:

At 08:34 AM 2/21/2008, Forrest Aldrich wrote:
I recently recomplied the apache20 port (updated) with no 
compile-time changes.  Since that time, I noticed it was hogging 98% 
of the CPU and hanging.  I adjusted the various Max/Min server levels 
and that seemed to fix it - except at midnight when the logs are 
rotated and the server is sent a HUP signal.  When that happens, all 
the processes die except one and it hangs at 90% CPU.  I kill it off, 
restart it manually and it behaves fine.


Here's a recent output of top :

PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
94711 www 1 1170 41036K 13852K RUN0   1:43 98.69% httpd

The only thing that has changed on the system is an upgrade from 
MySQL-4.1 to MySQL-5.1, which I wouldn't expect httpd to be affected 
by, but I could be wrong.  To be sure, I recompiled it, PHP and any 
dependencies that PHP has, but I'm still seeing the same result.


I tried compiling MySQL-5.1 with and without pthreads and see the 
same CPU consumption issue.


I wonder if I've hit a bug or if I've possibly messed something up 
(as careful as I've been anyway).




Thanks,

Forrest


What is showing in the apache logs when this happens?

-Derek


The only thing I see are multiple lines of these errors in error_log:

[Thu Feb 21 00:00:12 2008] [error] child process 63633 still did not 
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63634 still did not 
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63635 still did not 
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63636 still did not 
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63637 still did not 
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63983 still did not 
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 64048 still did not 
exit, sending a SIGKILL



Which is correct, as the process is not exiting.  For some reason it's 
hanging.  The old binary did not do this.


I could try another system update today (make/build/install world and 
recompile the apache executable and dependencies) to see if this solves 
the problem...



Thanks,

Forrest


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


Re: Did Microsoft give up?

2008-02-21 Thread Wojciech Puchar
I just saw on TV news that Micro$oft has announced that it is opening its 
code for development of its operating system.
Does this mean the Open Source Community has proved itself the best way to 
go?


yes. look at linux as an example.
this will make windows even slower, even more buggy - thats exactly what 
hardware producers like.

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


Re: amd64 kernel installed on i386 machine?

2008-02-21 Thread RW
On Thu, 21 Feb 2008 12:08:31 -0500
David T [EMAIL PROTECTED] wrote:

 
 I am worried that I installed the 64 bit version of FreeBSD with an
 amd kernel on an Intel i386 box. 
 Is there something wrong when I see the following:

Intel produce CPUs that are compatible with amd64. If yours wasn't one
of these you wouldn't have got this far.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: amd64 kernel installed on i386 machine?

2008-02-21 Thread Wojciech Puchar

[EMAIL PROTECTED] /usr/local]# uname -aFreeBSD web1.machine.net 6.2-RELEASE 
FreeBSD 6.2-RELEASE #0: Sun Jan  6 22:37:33 CST 2008 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/web1  amd64


you did all right. you installed 64-bit kernel on 64-bit capable machine.

amd64 is just a standard for 64-bit extension of x86, not AMD processors.

i run FreeBSD/amd64 on core2 duo for example
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port net/acx100 for usr5410 pcmcia wireless FBSD 6.3

2008-02-21 Thread Kemian Dang
Is your wireless network a non-authentication one, if it is wpa, wep,
you may want to try follow the handbook[1].

I am not using rc.conf to start my wireless, but I think give the ssid
in rc.conf may help, because there may be more wireless network in
your area if it is a non-authentication one.
ifconfig_ath0=ssid your_ssid_here DHCP

After you give the ssid, what the ifconfig output?
Does the status change to associate?
If yes, you can try:
#dhclient ndis0
to get the ip from DHCP.

Kemian
[1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html


On 21/02/2008, Anton Shterenlikht [EMAIL PROTECTED] wrote:
 On 19/02/2008, Anton Shterenlikht [EMAIL PROTECTED] wrote:

 Is anybody using usr5410? With what driver? And what version of FBSD?
 

On Wed, Feb 20, 2008 at 12:21:22PM +, Kemian Dang wrote:
 Try ndis, it works for my broadcom wireless adapter.
   

   On 20/02/2008, Anton Shterenlikht [EMAIL PROTECTED] wrote:

   I added ndis to the kernel and built the kernel module using
http://www.linuxant.com/usr11gv40q.zip driver.
   
However, when I load the module:

   I get errors. From dmesg:
   
cardbus1: Expecting link target, got 0xed
cardbus1: Resource not specified in CIS: id=10, size=2000
cardbus1: Resource not specified in CIS: id=14, size=2
ndis0: U.S. Robotics 802.11g Wireless Turbo Adapter mem 
 0x8802-0x88021fff,0x8800-0x8801 irq 11 at device 0.0 on cardbus1
ndis0: NDIS API version: 5.1
ndis0: init handler failed
device_attach: ndis0 attach returned 6
   
What am I doing wrong?
  

  On Wed, Feb 20, 2008 at 04:39:22PM +, Kemian Dang wrote:
   Try add it to the /boot/loader.conf and restart to see whether it works.
   My ndis0 can not get response from ifconfig ndis0 scan, but I can
   give it the ssid manually and make it work.


 thanks, it seems to be detected now, from dmesg:

  cardbus1: Expecting link target, got 0xfd

 cardbus1: Resource not specified in CIS: id=10, size=2000
  cardbus1: Resource not specified in CIS: id=14, size=2
  ndis0: U.S. Robotics 802.11g Wireless Turbo Adapter mem 
 0x8802-0x88021fff,
  0x8800-0x8801 irq 11 at device 0.0 on cardbus1
  ndis0: NDIS API version: 5.1

 ndis0: Ethernet address: 00:c0:49:a9:22:59

  I still cannot connect to the wireless network, but this
  is probably another problem..

  # ifconfig ndis0 up scan
  SSIDBSSID  CHAN RATE  S:N   INT CAPS
  UoB-Wireless00:16:c7:71:9d:631   52M 18:0   100 E
  #

  # tail /etc/rc.conf
  ifconfig_ndis0=DHCP

  # /etc/rc.d/netif start
  ndis0: no link .. giving up
  ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 ether 00:c0:49:a9:22:59
 media: IEEE 802.11 Wireless Ethernet autoselect
 status: no carrier
 ssid  channel 1
 authmode OPEN privacy OFF txpowmax 100 bmiss 7
  #

  I also tried

  # ifconfig ndis0 ssid UoB-Wireless

  but that didn't help.

  I'll try to update the driver version from 4.0q to 6.0b15, but
  the latter is not working fine yet. I think it is because I mixed
  different versions of inf, sys and firmware.

  many thanks
  anton


  --

 Anton Shterenlikht
  Room 2.6, Queen's Building
  Mech Eng Dept
  Bristol University
  University Walk, Bristol BS8 1TR, UK
  Tel: +44 (0)117 928 8233
  Fax: +44 (0)117 929 4423

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


Re: Question urgent!!!

2008-02-21 Thread David Alanis

Veronica:

Tu pregunta viene siendo un poquitito muy general. Por la mayoria Dell  
y HP son conocidos por ser estables. Claro que hay problemas que se  
conocen pero por la mayoria Dell tienes mejor servicio ahorita  
corremos freeBSD 7.0 amd64 en un Dell y FreeBSD 7.0 i686 en un Dell.


Lo que yo recomiendo que de que compares los precios de Dell y HP en  
mente con el tipo de RAM, processor, espacio de disco, pero lo mas  
importante va ser el tipo de aplicacion que este server va servir.


A bueno, si tu pregunta entonce FreeBSD 6.2 es el mas estable pero 7.0  
incluye mas opciones por esto tenemos que saber que aplicacion va a  
servir to server.


David Alanis

Quoting Odeth Solano [EMAIL PROTECTED]:


Hi

Can you suggest us, what kind of servers are supported to run if   
Free Free BSD 6.2?

HP? Dell? ]IBM?
Could you suggest a model of this servers and processors please?

Thanks


Odeth Verónica Solano P.
Clientes Estratégicos
Diveo Internet de México
Tel.: 5093-8058
Cel.: 04455-5506-3474
E-mail: [EMAIL PROTECTED]


** Este mensaje contiene información privilegiada/confidencial. Si  
usted no es el destinatario indicado en este mensaje (o responsable  
para entregarlo a tal persona), usted no puede copiar, difundir o  
entregar este mensaje a cualquier otra persona, dado que esta  
prohibido y se puede considerar ilegal. En tal caso, usted debe  
destruir este mensaje y amablemente notifique al remitente por  
e-mail el error existente. Las opiniones, conclusiones y otra  
información en este mensaje que no se relacione al negocio oficial  
de esta empresa se entenderá como no dado ni endosado**




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






This message was sent using IMP, the Internet Messaging Program.

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


Question urgent!!!

2008-02-21 Thread Odeth Solano
Hi

Can you suggest us, what kind of servers are supported to run if Free Free BSD 
6.2?
HP? Dell? ]IBM?
Could you suggest a model of this servers and processors please?

Thanks


Odeth Verónica Solano P.
Clientes Estratégicos
Diveo Internet de México
Tel.: 5093-8058
Cel.: 04455-5506-3474
E-mail: [EMAIL PROTECTED] 

 
** Este mensaje contiene información privilegiada/confidencial. Si usted no es 
el destinatario indicado en este mensaje (o responsable para entregarlo a tal 
persona), usted no puede copiar, difundir o entregar este mensaje a cualquier 
otra persona, dado que esta prohibido y se puede considerar ilegal. En tal 
caso, usted debe destruir este mensaje y amablemente notifique al remitente por 
e-mail el error existente. Las opiniones, conclusiones y otra información en 
este mensaje que no se relacione al negocio oficial de esta empresa se 
entenderá como no dado ni endosado**
 


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


Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Derek Ragona

At 11:57 AM 2/21/2008, Forrest Aldrich wrote:



Derek Ragona wrote:

At 08:34 AM 2/21/2008, Forrest Aldrich wrote:
I recently recomplied the apache20 port (updated) with no compile-time 
changes.  Since that time, I noticed it was hogging 98% of the CPU and 
hanging.  I adjusted the various Max/Min server levels and that seemed 
to fix it - except at midnight when the logs are rotated and the server 
is sent a HUP signal.  When that happens, all the processes die except 
one and it hangs at 90% CPU.  I kill it off, restart it manually and it 
behaves fine.


Here's a recent output of top :

PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
94711 www 1 1170 41036K 13852K RUN0   1:43 98.69% httpd

The only thing that has changed on the system is an upgrade from 
MySQL-4.1 to MySQL-5.1, which I wouldn't expect httpd to be affected by, 
but I could be wrong.  To be sure, I recompiled it, PHP and any 
dependencies that PHP has, but I'm still seeing the same result.


I tried compiling MySQL-5.1 with and without pthreads and see the same 
CPU consumption issue.


I wonder if I've hit a bug or if I've possibly messed something up (as 
careful as I've been anyway).




Thanks,

Forrest


What is showing in the apache logs when this happens?

-Derek


The only thing I see are multiple lines of these errors in error_log:

[Thu Feb 21 00:00:12 2008] [error] child process 63633 still did not exit, 
sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63634 still did not exit, 
sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63635 still did not exit, 
sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63636 still did not exit, 
sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63637 still did not exit, 
sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63983 still did not exit, 
sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 64048 still did not exit, 
sending a SIGKILL



Which is correct, as the process is not exiting.  For some reason it's 
hanging.  The old binary did not do this.


I could try another system update today (make/build/install world and 
recompile the apache executable and dependencies) to see if this solves 
the problem...



Thanks,

Forrest


I would try to see if there's an update, otherwise you might need to post a 
bug report to apache.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Hardware compatability.

2008-02-21 Thread Bill Moran
In response to Odeth Solano [EMAIL PROTECTED]:

 Hi
 
 Can you suggest us, what kind of servers are supported to run if Free Free 
 BSD 6.2?
 HP? Dell? ]IBM?

http://www.freebsd.org/releases/6.3R/hardware-i386.html

 Could you suggest a model of this servers and processors please?

We've had mostly good experiences with Dell's servers.

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


qemu coredumps on any network activity

2008-02-21 Thread Steve Franks
The only relevant info in dmesg is that pid qemuexitied on signal
11 (core dump).

It runs fine until I access the network (either with ftp or iexplore),
then cores.  Just built from source 2 days ago (qemu 0.9.0_3).  System
is a vanilla amd64 7.0-RC2.  Ssytem network access is fine.

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


Re: Hardware compatability.

2008-02-21 Thread Wojciech Puchar


http://www.freebsd.org/releases/6.3R/hardware-i386.html


Could you suggest a model of this servers and processors please?


We've had mostly good experiences with Dell's servers.

while i have one IBM and 2 self-assembled servers recently, both works 
fine. just check the hardware (by chipset, embedded devices etc) if it's 
supported. most are.

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


Re: DJ500 dead after = 16 years.

2008-02-21 Thread Philip M. Gollucci

Gary Kline wrote:

Guys, I need some input about what kind of _new_ printer to buy
for my desktops.  I'd like to hang the printer off my FBSD box;
my Ubuntu platform is probably too far away. At least 3 meters.
We have a HP3005n, HP2605dn, Xerox Phasermfp8650 all network printers 
that I print to with CUPS from freebsd flawlessly.



--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: where is the new kernel(GENERIC) file?

2008-02-21 Thread Efren Bravo
I did it and worked as you told me.


Thanks...



 Hi,
 
 if nothing has changed, the file stayed the
 same.
 
 You can make a simple test. Delete or rename it
 and start csup again.

 If it reappears, it has to be the old file.
 
 Erich
 
 Efren Bravo wrote:
  Hi there.  

  I downloaded the sources of freebsd 6.3 via
  cvsup.  

  Where the new kernel file is copied? I've
 checked
  into /usr/src/sys/i386/conf/ and the GENERIC
 file
  has the old date.  

  Thanks in advance.
  
  
 
 
 __ 
  ¿Con Mascota por primera vez? Sé un mejor
 Amigo. Entra en Yahoo! Respuestas
 http://es.answers.yahoo.com/info/welcome
 
 ___
  freebsd-questions@freebsd.org mailing list
 

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



   
__ 
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DJ500 dead after = 16 years.

2008-02-21 Thread Gary Kline
On Wednesday 20 February 2008 21:07:40 [EMAIL PROTECTED] wrote:
   Guys, I need some input about what kind of _new_ printer to buy
   for my desktops.  I'd like to hang the printer off my FBSD box;
   my Ubuntu platform is probably too far away. At least 3 meters.

 A few months ago I got a Samsung ML-2571N for well under $100 at
 Fry's.  It is small, light, fast; has a built-in 10/100 network
 port, handles PostScript, and speaks native lpr (so you don't
 need to bother with CUPS).

 I am still on the original 1000-page starter cartridge.  Replacements
 are rated 3000 sheets; I haven't priced them.

 That's black only.  The cheapest color-capable networked PostScript
 printer I've found so far is the Xerox 6130N, for which I've been
 quoted $375 including $380 worth of cartridges (C, M, Y, K @ $95 each)
 -- Xerox seems to have some promotional pricing this month.  IIRC the
 color cartridges are rated 1900 sheets and the black 2500.  This one
 is also supposed to handle lpr natively.  While I haven't got one (yet),
 I figure it is almost guaranteed to be good -- Xerox do not make junk.


Great; another printer heard about.SO far the Brother at = $200 with 7000 
pages at a $30 cartridge sounds better.I've done mostly the academic, 
plain bw over the years.   Hm, well, then I have had some papers returned 
with feedback marked in blue in OOo.  

There is a fancy Brother color printer [on sale] at Costco for like $700. (!)   
After my heart was shocked back to life, I double-checked.   I can't imagine 
what it does for 700 clams, but don't have room for it here anyway.   

Can you use any paper with the laser printers, or does it have to meet a 
certain spec?   I heard a severe warning about using junk paper.

Okay, so far, you guys have talked about the Brother and the Samsung.
[[ By default Xerox is a ++quality brand. ]]I'm looking at the 
OpenPrinting site that Predrag mentioned.Anybody else??   As much of a 
computer geek as I've been, I *still* can't stand too much reading online.  
That's why I'll quit tearing my hair left out, get a hardcopy and go to some 
far corner and just enjoy ink+paper :-)

gary



-- 
Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qemu coredumps on any network activity

2008-02-21 Thread Wojciech Puchar



The only relevant info in dmesg is that pid qemuexitied on signal
11 (core dump).

It runs fine until I access the network (either with ftp or iexplore),
then cores.  Just built from source 2 days ago (qemu 0.9.0_3).  System
is a vanilla amd64 7.0-RC2.  Ssytem network access is fine.


what type of qemu network do you use? the default one or something else?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.2+update and 6.3 difference

2008-02-21 Thread Wojciech Puchar
is there a difference between my 6.2 system updated to 6.2p11 by 
freebsd-update and 6.3?

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


FW: Did Microsoft give up?

2008-02-21 Thread Fidel Garcia
Why do you think hardware producers will like that?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wojciech Puchar
Sent: Thursday, February 21, 2008 1:09 PM
To: NetOpsCenter
Cc: [EMAIL PROTECTED]; San Diego's BSD Users Group;
freebsd-questions@freebsd.org; LUAU
Subject: Re: Did Microsoft give up?

 I just saw on TV news that Micro$oft has announced that it is opening its 
 code for development of its operating system.
 Does this mean the Open Source Community has proved itself the best way to

 go?

yes. look at linux as an example.
this will make windows even slower, even more buggy - thats exactly what 
hardware producers like.
___
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: OT - was Re: Question urgent!!!

2008-02-21 Thread David Alanis

Got it. Sorry I am not trying to offend anyone. I will no longer reply all.

Thank you,
David Alanis

Quoting Wojciech Puchar [EMAIL PROTECTED]:


is that list multilanguage? i think it's main function is to support
other users, that could read all posts and archives from that list, so
it would be good to keep it english only and use native languages on
private posts :)

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





This message was sent using IMP, the Internet Messaging Program.

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


Re: [LUAU] Did Microsoft give up?

2008-02-21 Thread Jim Thompson


On Feb 21, 2008, at 7:20 AM, NetOpsCenter wrote:


Aloha,

I just saw on TV news that Micro$oft has announced that it is  
opening its code for development of its operating system.
Does this mean the Open Source Community has proved itself the best  
way to go?



No.

Its more get the EU off our backs and control the message.
here are the key, tangible actions Microsoft details in their  
announcement:


* Ensuring open connections to Microsoft’s high-volume products, where  
high-volume means:


	Windows Vista (including the .NET Framework), Windows Server 2008,  
SQL Server 2008, Office 2007, Exchange Server 2007, and Office  
SharePoint Server 2007, and future versions of all these products.


Note that you'll need 'new software' to get the open connections.

* Documenting how Microsoft supports industry standards and extensions
* Enhancing Office 2007 to provide greater flexibility of document  
formats

* Launching the Open Source Interoperability Initiative
* Expanding industry outreach and dialogue.

Looking deeper into the announcement, much of what Microsoft’s doing  
is providing a more accessible platform for third-party developers to  
tap into their ecosystem of multi-billion dollar software franchises.  
For example, the company is launching APIs for Word, Excel, and  
Powerpoint, and publishing tens of thousands of pieces of  
documentation to its MSDN site.


They're playing the same game with a new mask.

They'll license their patented protocols to all comers at low,  
reasonable rates.


They have stated that they won't sue open source developers that make  
products that connect to theirs.


They have also stated that they won't sue open source developers or  
non-commercial  distributors of software that uses their protocols.
If you're RedHat, or a company that uses Debian or Ubuntu, you still  
have to license their patents.


They did not vet' Open Source as a development process.   They did  
not vet Free Software in any way, shape or form.


Don't believe anything you see on TV.  Here is the actual PR from  
MSFT: http://www.microsoft.com/presspass/press/2008/feb08/02-21ExpandInteroperabilityPR.mspx?rss_fdn=Press%20Releases 



Jim


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


Re: 7.0 RC2 usb keyboard and mouse problems

2008-02-21 Thread Paul Schmehl
--On Thursday, February 21, 2008 20:41:59 +0100 Nikolaj Thygesen 
[EMAIL PROTECTED] wrote:



Paul Schmehl wrote:

I just installed 7.0 RC2 on a brand new Dell - dual processor dual
core Intel (so four processors), and I'm losing the keyboard and mouse
after taking certain actions. For example, I started setting up X
(Xorg --configure) and then launched it (X -config
/root/xorg.conf-new), and when I get to the GUI the mouse and keyboard
are gone. Sometimes I can restore functionality by unplugging the
devices and then plugging them back in. This is happening in the
console as well, not just in the GUI.

I've fetched the latest sources using cvsup. Will rebuilding the
kernel solve this problem? Is this a known issue?

usbhidctl shows ums0, ums1, ukbd0 and ukbd1 to be busy.

[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums0
usbhidctl: /dev/ums0: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums1
usbhidctl: /dev/ums1: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd
ukbd0 ukbd1
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd0
usbhidctl: /dev/ukbd0: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd1
usbhidctl: /dev/ukbd1: Device busy

This is what I see after unplugging both devices and plugging them in
to different usb receptacles.

usbdevs
addr 1: UHCI root hub, Intel
addr 2: product 0x2105, vendor 0x413c
addr 3: product 0x4d15, vendor 0x0461
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 3: product 0x2105, vendor 0x413c
addr 2: product 0x4d15, vendor 0x0461
addr 1: EHCI root hub, Intel

FreeBSD utd65257.utdallas.edu 7.0-RC2-p1 FreeBSD 7.0-RC2-p1 #0: Tue
Feb 12 22:23:33 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

grep usb /var/run/dmesg.boot
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
usb2: waiting for BIOS to give up control
usb2: EHCI version 1.0
usb2: wrong number of companions (3 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: EHCI (generic) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
usb3: UHCI (generic) USB controller on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
usb4: UHCI (generic) USB controller on uhci3
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb4
usb5: UHCI (generic) USB controller on uhci4
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb5
usb6: waiting for BIOS to give up control
usb6: timed out waiting for BIOS
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: EHCI (generic) USB 2.0 controller on ehci1
usb6: USB revision 2.0
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb6

Any clues or help would be appreciated.



Hi Paul

I just spent about a week solving that very same issue. The thing is that in
order for the usb mouse and keyboard to work during the initial boot
sequence, ps/2 style devices are needed, so your bios is probably configured
for simulating ps/2 (legacy) devices on usb. Keep it that way!
As the kernel boots, usb devices are suddenly supported, but present ps/2
devices (even the simulated legacy ones) will hide the usb devices from the
kernel, so in order to get access to these the following lines must be added
to /boot/device.hints:

hint.atkbd.0.disable=1
hint.atkbdc.0.disable=1


I understand that only one of them is needed, but I have no idea which one.
It supposedly differs from machine to machine.
The last crucial point (and the one I really fought with) is the fact that
not all usb ports are created equal! If the above doesn't work, try switching
usb ports. It seems some usb ports/hubs are preferred over others. On my
machine the two front ports work, but the six ports on the rear of the
machine don't :o(
At least it works now, and I no longer need to have two keyboards attached.

br - N :o)



I found a post in stable describing the exact same issue.  The OP solved it 
by connecting a hub to a port on the back of the machine and then connecting 
the keyboard and mouse to the hub.  So, I plugged in one of my monitors and 
then connected the keyboard and mouse to the monitor, and they work fine.


I joined the stable list so I can report this and possibly help troubleshoot it.

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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

Re: Mounting FS read-only for specific user (or root)

2008-02-21 Thread Andrew Bradford

Erik Norgaard escribió:

Andrew Bradford wrote:

I'm trying to set up a mounted filesystem that is read-write for 
root, but read-only for anyone else.  It will be mounted as a backup 
directory, so files listed in that directory will be owned by current 
users on the system but can't be writeable, regardless of the file 
permissions.


hd2 mounted rw in /root/backup-rw
hd2 mounted ro in /backups

Is this possible?


Have you tried? ;)
Yes, and it seems to almost work (but not quite).  I can set the mount 
point to have 700 permissions, which excludes everyone from accessing 
the mounted filesystem but root.  If I then mount it again using nullfs, 
it inherits the permissions of the original mountpoint, and is 
unreadable by everyone.


I assume the reasoning for this is you want to preserve permissions 
and attributes on your backup, so you can't solve this simply by 
setting permissions appropriately.
Yes, exactly.  Users need to be able to see their own backups, and 
nobody else's. 


But then, do users need frequent access to their backup? Then you 
could simply mount it on a mount point which only has root access.
It would be preferable to not require root access to restore backups.  
Looks like nullfs isn't the answer.  How hard would it be to write a 
nullfs-clone that allowed different permissions on the destination mount 
point than the source mount point?


Cheers, Erik


Thanks,

Andrew

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


Which version of berkeley DB?

2008-02-21 Thread Erik Norgaard

Hi:

So far I have managed to keep all on version 43 of Berkeley DB, I see 
there is now 4.4, 4.5 and 4.6.


- Is there any way to find out which is the latest version all ports 
will build against?


- Is there any reason to upgrade?

Thanks, Erik

--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT - was Re: Question urgent!!!

2008-02-21 Thread Alphons Fonz van Werven

David Alanis wrote:


Got it. Sorry I am not trying to offend anyone. I will no longer reply all.


Thanks. By the way, I'm not sure what language that was, but becuase it
seemd like Spanish or Portuguese, I'd like to point out that there's
probably a FreeBSD mailing list in that language, see
http://www.freebsd.org/community/mailinglists.html

Not all of those lists are equally active, but they might be a nice
addition to this one. I'm on the Dutch list as well and although it's kind
of dead now, it has been quite useful in the past.

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Forrest Aldrich



Mel wrote:

On Thursday 21 February 2008 18:57:38 Forrest Aldrich wrote:

  

Here's a recent output of top :

PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
94711 www 1 1170 41036K 13852K RUN0   1:43 98.69% httpd




Is this memory rising? If the below suggestion doesn't narrow down the 
problem, could you look into ktrace(1) and see what it's doing all this time?
You could also try to narrow down the problem, by looking at what request was 
served last by that child. Enable mod_info for that.


  

The only thing I see are multiple lines of these errors in error_log:

[Thu Feb 21 00:00:12 2008] [error] child process 63633 still did not
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63634 still did not
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63635 still did not
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63636 still did not
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63637 still did not
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 63983 still did not
exit, sending a SIGKILL
[Thu Feb 21 00:00:12 2008] [error] child process 64048 still did not
exit, sending a SIGKILL


Which is correct, as the process is not exiting.  For some reason it's
hanging.  The old binary did not do this.

I could try another system update today (make/build/install world and
recompile the apache executable and dependencies) to see if this solves
the problem...



I doubt it would help. I've seen this lots of times when the php module exit 
code is hanging. At the same time, the php CLI binary should be crashing on 
exit.
Re-order your modules, there's a thread about it in the archives. If it wasn't 
for that useless piece of crap ht-dig, I'd have a link for you. :p


Anyway, to test if it's this problem, run php -v and see if you get coredump. 
If you don't have CLI available, you could try disabling php in apache and 
see if the problem persists.
  


THANK YOU.  I think this is definitely a good lead to where the problem 
exists.   I am including the output of php -v here.



[root]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/fileinfo.so' - Cannot open 
/usr/local/lib/php/20060613/fileinfo.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/imagick.so' - Cannot open 
/usr/local/lib/php/20060613/imagick.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/fileinfo.so' - Cannot open 
/usr/local/lib/php/20060613/fileinfo.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/imagick.so' - Cannot open 
/usr/local/lib/php/20060613/imagick.so in Unknown on line 0

PHP Warning:  Module 'zip' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/wddx.so' - Cannot open 
/usr/local/lib/php/20060613/wddx.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/sqlite.so' - 
/usr/local/lib/php/20060613/sqlite.so: Undefined symbol 
spl_ce_Countable in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/dba.so' - Cannot open 
/usr/local/lib/php/20060613/dba.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/bcmath.so' - Cannot open 
/usr/local/lib/php/20060613/bcmath.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/shmop.so' - Cannot open 
/usr/local/lib/php/20060613/shmop.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/readline.so' - Cannot open 
/usr/local/lib/php/20060613/readline.so in Unknown on line 0

PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
PHP Warning:  Module 'calendar' already loaded in Unknown on line 0
PHP Warning:  Module 'ctype' already loaded in Unknown on line 0
PHP Warning:  Module 'curl' already loaded in Unknown on line 0
PHP Warning:  Module 'pcre' already loaded in Unknown on line 0
PHP Warning:  Module 'SimpleXML' already loaded in Unknown on line 0
PHP Warning:  Module 'dom' already loaded in Unknown on line 0
PHP Warning:  Module 'exif' already loaded in Unknown on line 0
PHP Warning:  Module 'ftp' already loaded in Unknown on line 0
PHP Warning:  Module 'gd' already loaded in Unknown on line 0
PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
PHP Warning:  Module 'iconv' already loaded in Unknown on line 0
PHP Warning:  Module 'imap' already loaded in Unknown on line 0
PHP 

binat problem with jail loopback addresses

2008-02-21 Thread cali clarke
Hi.

I'm trying to set up a jail running on a loopback IP connected to the
outside world with pf and binat.

My interfaces are configured like this:

 ifconfig lo1 inet 127.1.0.1 netmask 0xff00 up
 ifconfig lo1 alias 127.1.0.2 netmask 0xff00
 ifconfig lo1 alias 127.1.0.3 netmask 0xff00

 ifconfig fxp0 inet 192.168.2.5 netmask 0xff00 up
 ifconfig fxp0 alias 192.168.2.9 netmask 0xff00

$ jls
  JID  IP Address  Hostname  Path
5  127.1.0.3   wwwproxy  /usr/jail/wwwproxy

The idea is to have wwwproxy running on 127.1.0.3, with an externally
visible IP of 192.168.2.9 using pf binat.

Now, I have a pf ruleset like this:

#--#

nic0 = fxp0
lo0 = lo0
lo1 = lo1

dns = 192.168.3.10
me = 192.168.2.5

wwwproxy = 127.1.0.3
wwwproxy_e = 192.168.2.9

table net_priv { 192.168.2.0/24 }
table net_dmz { 192.168.3.0/24 }
table proxy_users { $me, $wwwproxy_e }

#--#

binat on $nic0 from $wwwproxy to any - $wwwproxy_e

#--#

block in log all
block out log all

# allow loopback
pass log quick on $lo0 from 127.0.0.1 to 127.0.0.1 modulate state

# allow wwwproxy to connect out and allow some connections in
pass out log quick proto udp from $wwwproxy_e to $dns port 53 keep state
pass out log quick proto tcp from $wwwproxy_e to any modulate state
pass in log quick proto tcp from proxy_users to $wwwproxy_e port
8080 modulate state

# allow me to connect out
pass out log quick on $nic0 proto udp from $me to any keep state
pass out log quick on $nic0 proto tcp from $me to any modulate state

#--#

I have an HTTP proxy running inside the jail:

$ netstat -f inet -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  127.1.0.3.8080 *.*LISTEN

Inside the jail, I can connect to external sites:

wwwproxy% nc -z -v www.google.com 80
Connection to www.google.com 80 port [tcp/http] succeeded!

00 rule 8/0(match): pass out on fxp0: 192.168.2.9.62735 
192.168.3.10.53: UDP, length 32
001253 rule 8/0(match): pass out on fxp0: 192.168.2.9.61723 
192.168.3.10.53: UDP, length 32
000955 rule 9/0(match): pass out on fxp0: 192.168.2.9.64134 
66.249.91.104.80: tcp 0

Outside the jail (on the host machine), however, I cannot connect to the HTTP
proxy, despite pflog showing the connection being allowed:

$ nc -z -v 192.168.2.9 8080
nc: connect to 192.168.2.9 port 8080 (tcp) failed: Connection refused

3. 680214 rule 9/0(match): pass out on lo0: 192.168.2.9.60606 
192.168.2.9.8080: tcp 0
60 rule 10/0(match): pass in on lo0: 192.168.2.9.60606 
192.168.2.9.8080: tcp 0

It appears that binat isn't actually doing what I think it should (a connection
to 192.168.2.9:8080 should connect to 127.1.0.3:8080).

What am I doing wrong?

XW

(ps: please CC, I'm not subscribed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: GELI encryption and HDD critical temperature

2008-02-21 Thread Brent Jones
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of cpghost
 Sent: Thursday, 21 February 2008 11:42 p.m.
 To: s.g.
 Cc: freebsd-questions@freebsd.org
 Subject: Re: GELI encryption and HDD critical temperature
 
 On Tue, Feb 19, 2008 at 11:41:18AM +0300, s.g. wrote:
  According to smartctl -a, the temperature of the encrypted 
 drives is ~59C. 
  The temperature of the unencrypted drive is, however,  
 ~41C, according to 
  the same smartctl -a.
 
 I don't know. But I've noticed that when drives access GBDE-encrypted
 partitions (I didn't try with GELI yet), they are much louder (head
 seeking). It seems they seek more often on encrypted than 
 non-encrypted
 partitions. Perhaps caching is turned off at some point up the chain?
 If that's the case, it is no wonder that encrypted partitions tend to
 result in higher drive temps (and faster drive wear).

It was explained by another poster, I don't remember when or by whom,
that GBDE writes sectors to disk in a pseudorandom fashion to make
cryptanalysis more difficult.  This would explain the seeking/noise on a
GBDE disk.

A question I have which is related to all of this:  Does GELI write
sectors in this pseudorandom fashion as well?  And, if so is there a way
to turn this off so that things are written contiguously?  This could be
useful for those wishing to encrypt things for most normal threats,
such as your teenage neighbour breaking into your house and stealing
your bitchin computer, while minimising the performance hit of
pseudorandom sector writes.

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


Re: command df just hangs - answered

2008-02-21 Thread David Banning
As it turns out, my windows box was already mounted. Since my windows
firewall was turned on - df was hanging probably because it was trying
to read info on the windows drive mounted, but couldn't. Disabling the
win firewall fixed the problem - now I have to open up a port in that
firewall before re-enabling it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 RC2 usb keyboard and mouse problems

2008-02-21 Thread Nikolaj Thygesen

Paul Schmehl wrote:
I just installed 7.0 RC2 on a brand new Dell - dual processor dual 
core Intel (so four processors), and I'm losing the keyboard and mouse 
after taking certain actions. For example, I started setting up X 
(Xorg --configure) and then launched it (X -config 
/root/xorg.conf-new), and when I get to the GUI the mouse and keyboard 
are gone. Sometimes I can restore functionality by unplugging the 
devices and then plugging them back in. This is happening in the 
console as well, not just in the GUI.


I've fetched the latest sources using cvsup. Will rebuilding the 
kernel solve this problem? Is this a known issue?


usbhidctl shows ums0, ums1, ukbd0 and ukbd1 to be busy.

[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums0
usbhidctl: /dev/ums0: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ums1
usbhidctl: /dev/ums1: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd
ukbd0 ukbd1
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd0
usbhidctl: /dev/ukbd0: Device busy
[EMAIL PROTECTED] ~]# usbhidctl -a -f /dev/ukbd1
usbhidctl: /dev/ukbd1: Device busy

This is what I see after unplugging both devices and plugging them in 
to different usb receptacles.


usbdevs
addr 1: UHCI root hub, Intel
addr 2: product 0x2105, vendor 0x413c
addr 3: product 0x4d15, vendor 0x0461
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 3: product 0x2105, vendor 0x413c
addr 2: product 0x4d15, vendor 0x0461
addr 1: EHCI root hub, Intel

FreeBSD utd65257.utdallas.edu 7.0-RC2-p1 FreeBSD 7.0-RC2-p1 #0: Tue 
Feb 12 22:23:33 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


grep usb /var/run/dmesg.boot
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
usb2: waiting for BIOS to give up control
usb2: EHCI version 1.0
usb2: wrong number of companions (3 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: EHCI (generic) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
usb3: UHCI (generic) USB controller on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
usb4: UHCI (generic) USB controller on uhci3
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb4
usb5: UHCI (generic) USB controller on uhci4
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb5
usb6: waiting for BIOS to give up control
usb6: timed out waiting for BIOS
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: EHCI (generic) USB 2.0 controller on ehci1
usb6: USB revision 2.0
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb6

Any clues or help would be appreciated.



Hi Paul

I just spent about a week solving that very same issue. The thing is 
that in order for the usb mouse and keyboard to work during the initial 
boot sequence, ps/2 style devices are needed, so your bios is probably 
configured for simulating ps/2 (legacy) devices on usb. Keep it that way!
As the kernel boots, usb devices are suddenly supported, but present 
ps/2 devices (even the simulated legacy ones) will hide the usb devices 
from the kernel, so in order to get access to these the following lines 
must be added to /boot/device.hints:


hint.atkbd.0.disable=1
hint.atkbdc.0.disable=1


I understand that only one of them is needed, but I have no idea which 
one. It supposedly differs from machine to machine.
The last crucial point (and the one I really fought with) is the fact 
that not all usb ports are created equal! If the above doesn't work, try 
switching usb ports. It seems some usb ports/hubs are preferred over 
others. On my machine the two front ports work, but the six ports on the 
rear of the machine don't :o(

At least it works now, and I no longer need to have two keyboards attached.

br - N :o)

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


binat problem with loopback jail addresses

2008-02-21 Thread xorquewasp
Hi.

I'm trying to set up a jail running on a loopback IP connected to the
outside world with pf and binat.

My interfaces are configured like this:

  ifconfig lo1 inet 127.1.0.1 netmask 0xff00 up
  ifconfig lo1 alias 127.1.0.2 netmask 0xff00
  ifconfig lo1 alias 127.1.0.3 netmask 0xff00

  ifconfig fxp0 inet 192.168.2.5 netmask 0xff00 up
  ifconfig fxp0 alias 192.168.2.9 netmask 0xff00

$ jls
   JID  IP Address  Hostname  Path
 5  127.1.0.3   wwwproxy  /usr/jail/wwwproxy

The idea is to have wwwproxy running on 127.1.0.3, with an externally
visible IP of 192.168.2.9 using pf binat.

Now, I have a pf ruleset like this:

#--#

nic0 = fxp0
lo0 = lo0
lo1 = lo1

dns = 192.168.3.10
me = 192.168.2.5

wwwproxy = 127.1.0.3
wwwproxy_e = 192.168.2.9

table net_priv { 192.168.2.0/24 }
table net_dmz { 192.168.3.0/24 }
table proxy_users { $me, $wwwproxy_e }

#--#

binat on $nic0 from $wwwproxy to any - $wwwproxy_e

#--#

block in log all
block out log all

# allow loopback
pass log quick on $lo0 from 127.0.0.1 to 127.0.0.1 modulate state

# allow wwwproxy to connect out and allow some connections in
pass out log quick proto udp from $wwwproxy_e to $dns port 53 keep state
pass out log quick proto tcp from $wwwproxy_e to any modulate state
pass in log quick proto tcp from proxy_users to $wwwproxy_e port 8080 
modulate state

# allow me to connect out
pass out log quick on $nic0 proto udp from $me to any keep state
pass out log quick on $nic0 proto tcp from $me to any modulate state

#--#

I have an HTTP proxy running inside the jail:

$ netstat -f inet -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  127.1.0.3.8080 *.*LISTEN

Inside the jail, I can connect to external sites:

wwwproxy% nc -z -v www.google.com 80
Connection to www.google.com 80 port [tcp/http] succeeded!

00 rule 8/0(match): pass out on fxp0: 192.168.2.9.62735  192.168.3.10.53: 
UDP, length 32
001253 rule 8/0(match): pass out on fxp0: 192.168.2.9.61723  192.168.3.10.53: 
UDP, length 32
000955 rule 9/0(match): pass out on fxp0: 192.168.2.9.64134  66.249.91.104.80: 
tcp 0

Outside the jail (on the host machine), however, I cannot connect to the HTTP
proxy, despite pflog showing the connection being allowed:

$ nc -z -v 192.168.2.9 8080
nc: connect to 192.168.2.9 port 8080 (tcp) failed: Connection refused

3. 680214 rule 9/0(match): pass out on lo0: 192.168.2.9.60606  
192.168.2.9.8080: tcp 0
60 rule 10/0(match): pass in on lo0: 192.168.2.9.60606  192.168.2.9.8080: 
tcp 0

It appears that binat isn't actually doing what I think it should (a connection
to 192.168.2.9:8080 should connect to 127.1.0.3:8080).

What am I doing wrong?

XW

(ps: please CC, I'm not subscribed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version of berkeley DB?

2008-02-21 Thread Mel
On Thursday 21 February 2008 20:38:31 Erik Norgaard wrote:

 So far I have managed to keep all on version 43 of Berkeley DB, I see
 there is now 4.4, 4.5 and 4.6.

 - Is there any way to find out which is the latest version all ports
 will build against?

No, cause there's reasons there's so many db4* ports. Some interfaces changed 
along the way and depending software needs time to conform to it. However:
You can set WITH_BDB_VER in /etc/make.conf and pick one. If you grep 
BDB /usr/ports/Mk/bsd.databases.mk you can quickly see that a portmaintainer 
has more power then you.

 - Is there any reason to upgrade?

Other then diskspace and clutter, there is no reason to remove older versions 
as they are properly separated by the ports. But as said you can specify a 
default to be used when the port does not care which version 4 it needs. In 
Utopia this should slowly migrate out ancient versions. In the real world, 
there will be this one unmaintained app you really like that won't work with 
anything over 42 :p


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


Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Mel
On Thursday 21 February 2008 18:57:38 Forrest Aldrich wrote:

  Here's a recent output of top :
 
  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
  94711 www 1 1170 41036K 13852K RUN0   1:43 98.69% httpd
 

Is this memory rising? If the below suggestion doesn't narrow down the 
problem, could you look into ktrace(1) and see what it's doing all this time?
You could also try to narrow down the problem, by looking at what request was 
served last by that child. Enable mod_info for that.

 The only thing I see are multiple lines of these errors in error_log:

 [Thu Feb 21 00:00:12 2008] [error] child process 63633 still did not
 exit, sending a SIGKILL
 [Thu Feb 21 00:00:12 2008] [error] child process 63634 still did not
 exit, sending a SIGKILL
 [Thu Feb 21 00:00:12 2008] [error] child process 63635 still did not
 exit, sending a SIGKILL
 [Thu Feb 21 00:00:12 2008] [error] child process 63636 still did not
 exit, sending a SIGKILL
 [Thu Feb 21 00:00:12 2008] [error] child process 63637 still did not
 exit, sending a SIGKILL
 [Thu Feb 21 00:00:12 2008] [error] child process 63983 still did not
 exit, sending a SIGKILL
 [Thu Feb 21 00:00:12 2008] [error] child process 64048 still did not
 exit, sending a SIGKILL


 Which is correct, as the process is not exiting.  For some reason it's
 hanging.  The old binary did not do this.

 I could try another system update today (make/build/install world and
 recompile the apache executable and dependencies) to see if this solves
 the problem...

I doubt it would help. I've seen this lots of times when the php module exit 
code is hanging. At the same time, the php CLI binary should be crashing on 
exit.
Re-order your modules, there's a thread about it in the archives. If it wasn't 
for that useless piece of crap ht-dig, I'd have a link for you. :p

Anyway, to test if it's this problem, run php -v and see if you get coredump. 
If you don't have CLI available, you could try disabling php in apache and 
see if the problem persists.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FW: Did Microsoft give up?

2008-02-21 Thread Wojciech Puchar

Why do you think hardware producers will like that?


slowest system, and frequent new versions even slower, requiring constant 
buying new hardware

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


Re: Buildworld failure with 6.3

2008-02-21 Thread Mike Clarke
On Friday 15 February 2008, Mike Clarke wrote:

I recently posted about my problem with buildworld failing 
in /usr/src/sys/boot/i386/loader/ with the message:

/usr/obj/usr/src/sys/boot/i386/loader/../libi386/libi386.a(biosdisk.o)
(.text+0x9ff): In function `bd_opendisk': undefined reference to `uuid_is_nil'

I've since tried to update the src directory by re-running csup but still got 
the same errors but did get things working again by recovering /usr/src from 
an earlier backup and running csup to bring it up to date. I assume that 
something in the source tree had become corrupted but somehow wasn't being 
replaced by csup.

This has made me start wondering about the best way to diagnose the problem if 
it should arise again. Is there any utility which can easily check the 
integrity of the src directory to identify the offending file(s)?

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


Re: FreeBSD Linux distro

2008-02-21 Thread Drew Tomlinson

Heiko Wundram (Beenic) wrote:

Am Donnerstag, 21. Februar 2008 15:58:51 schrieb James Harrison:
  

8. Most extensive collection of third party software (over 18000 ) only
second to Debian.


Looking back at it, I'm surprised I didn't mention that.
  

Gentoo has over 24 thousand ebuilds, where an ebuild is their equivalent
of a port:



Err, don't confuse ebuilds with packages. A package is a piece of software 
(which is the equivalent of a port), whereas an ebuild is an install script 
for a specific version of a package. Normally, there's more than one version 
of a package (more than one ebuild) available for a package, which makes the 
ebuild count higher than the FreeBSD ports count, but the package count lower 
(somewhere above 12000).


This doesn't count slotted ebuilds: for example, Gentoo has just one gtk 
package, which contains several ebuilds for slot 12 which is gtk-1.2.x and 
several ebuilds for slot 20, which is gtk-2.x (different slots are treated as 
different packages by the system internally), whereas FreeBSD has a gtk12 and 
a gtk20 port, which installs the respective versions.


So, basically whatever numbers you take, they can't be compared directly 
anyway, but I guess that the number of ports is still higher than the Gentoo 
amortized package count would be.
  


And also be aware that many utilities included in the FreeBSD base 
system are ebuilds in the Gentoo world.  tcpdump and top are just two 
examples I can think of off the top of my head.


Cheers,

Drew

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


Re: Mounting FS read-only for specific user (or root)

2008-02-21 Thread Mel
On Thursday 21 February 2008 20:32:37 Andrew Bradford wrote:
 Erik Norgaard escribió:
  I assume the reasoning for this is you want to preserve permissions
  and attributes on your backup, so you can't solve this simply by
  setting permissions appropriately.

 Yes, exactly.  Users need to be able to see their own backups, and
 nobody else's.

Isn't this what acl's are for? See setfacl(8). I haven't looked into it in 
great detail but seems to me that if you make a subdir owned by the user for 
each backup root for that user and set the acl to only be accessible by user, 
it should work.

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


Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Mel
On Thursday 21 February 2008 20:57:32 Forrest Aldrich wrote:
 Mel wrote:

  I doubt it would help. I've seen this lots of times when the php module
  exit code is hanging. At the same time, the php CLI binary should be
  crashing on exit.
  Re-order your modules, there's a thread about it in the archives. If it
  wasn't for that useless piece of crap ht-dig, I'd have a link for you. :p
 
  Anyway, to test if it's this problem, run php -v and see if you get
  coredump. If you don't have CLI available, you could try disabling php in
  apache and see if the problem persists.

 THANK YOU.  I think this is definitely a good lead to where the problem
 exists.   I am including the output of php -v here.


 [root]# php -v
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/fileinfo.so' - Cannot open
 /usr/local/lib/php/20060613/fileinfo.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/imagick.so' - Cannot open
 /usr/local/lib/php/20060613/imagick.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/fileinfo.so' - Cannot open
 /usr/local/lib/php/20060613/fileinfo.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/imagick.so' - Cannot open
 /usr/local/lib/php/20060613/imagick.so in Unknown on line 0
 PHP Warning:  Module 'zip' already loaded in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/wddx.so' - Cannot open
 /usr/local/lib/php/20060613/wddx.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/sqlite.so' -
 /usr/local/lib/php/20060613/sqlite.so: Undefined symbol
 spl_ce_Countable in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/dba.so' - Cannot open
 /usr/local/lib/php/20060613/dba.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/bcmath.so' - Cannot open
 /usr/local/lib/php/20060613/bcmath.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/shmop.so' - Cannot open
 /usr/local/lib/php/20060613/shmop.so in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20060613/readline.so' - Cannot open
 /usr/local/lib/php/20060613/readline.so in Unknown on line 0
 PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
 PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
 PHP Warning:  Module 'calendar' already loaded in Unknown on line 0
 PHP Warning:  Module 'ctype' already loaded in Unknown on line 0
 PHP Warning:  Module 'curl' already loaded in Unknown on line 0
 PHP Warning:  Module 'pcre' already loaded in Unknown on line 0
 PHP Warning:  Module 'SimpleXML' already loaded in Unknown on line 0
 PHP Warning:  Module 'dom' already loaded in Unknown on line 0
 PHP Warning:  Module 'exif' already loaded in Unknown on line 0
 PHP Warning:  Module 'ftp' already loaded in Unknown on line 0
 PHP Warning:  Module 'gd' already loaded in Unknown on line 0
 PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
 PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
 PHP Warning:  Module 'iconv' already loaded in Unknown on line 0
 PHP Warning:  Module 'imap' already loaded in Unknown on line 0
 PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0
 PHP Warning:  Module 'mhash' already loaded in Unknown on line 0
 PHP Warning:  Module 'ncurses' already loaded in Unknown on line 0
 PHP Warning:  Module 'openssl' already loaded in Unknown on line 0
 PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
 PHP Warning:  Module 'posix' already loaded in Unknown on line 0
 PHP Warning:  Module 'session' already loaded in Unknown on line 0
 PHP Warning:  Module 'soap' already loaded in Unknown on line 0
 PHP Warning:  Module 'sysvmsg' already loaded in Unknown on line 0
 PHP Warning:  Module 'sysvsem' already loaded in Unknown on line 0
 PHP Warning:  Module 'sysvshm' already loaded in Unknown on line 0
 PHP Warning:  Module 'tidy' already loaded in Unknown on line 0
 PHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0
 PHP Warning:  Module 'xml' already loaded in Unknown on line 0
 PHP Warning:  Module 'xmlreader' already loaded in Unknown on line 0
 PHP Warning:  Module 'xmlrpc' already loaded in Unknown on line 0
 PHP Warning:  Module 'xmlwriter' already loaded in Unknown on line 0
 PHP Warning:  Module 'xsl' already loaded in Unknown on line 0
 PHP Warning:  Module 'zip' already loaded in Unknown on line 0
 PHP Warning:  Module 'zlib' already loaded in Unknown on line 0
 PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
 PHP Warning:  Module 'sockets' already loaded in 

Re: FreeBSD Linux distro

2008-02-21 Thread D G Teed
As a Sysadmin I have 2 cents to add to this discussion.

I think the whole chest beating, king of the hill, stand taking,
mantra repeating is juvenile.  There is no superior OS.
As I do my job I don't start out figuring how I can slide my
favorite distro into the equation.  The OS is not at the center of
decision making.  What we want to get done is at the center.

The beginning point is typically the application or service,
and sometimes the application and service combined with
the given hardware.  Given these requirements, then we find
an OS which supports them.

As far as stability is concerned, I can't remember the last time
something konked out on me because of a kernel bug.  If something
goes weird these days I'm most often to find hardware is the
problem.  We currently run over a dozen of each of Redhat Linux,
Solaris, and FreeBSD, and two Debian servers.

If someone has high uptimes they just don't believe in kernel
security updates - it is nothing to be proud of.

I'd like to see a resource which promotes intelligent decision
making coming from the point of view of supporting the application
or hardware, as this is essentially the angle I believe a sysadmin
is coming from.  For example, no where in this have I heard a peep
about backup software.  Anyone serious about IT is serious
about backup.  Yet there is no support for EMC (Legato)
Networker in FreeBSD, and this is why our organization is
migrating away from this FreeBSD.  So for example, you can
outline what backup options are available compared to Linux.

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


Re: FreeBSD Linux distro

2008-02-21 Thread Predrag Punosevac

D G Teed wrote:

As a Sysadmin I have 2 cents to add to this discussion.

I think the whole chest beating, king of the hill, stand taking,
mantra repeating is juvenile.  There is no superior OS.
As I do my job I don't start out figuring how I can slide my
favorite distro into the equation.  The OS is not at the center of
decision making.  What we want to get done is at the center.

The beginning point is typically the application or service,
and sometimes the application and service combined with
the given hardware.  Given these requirements, then we find
an OS which supports them.

As far as stability is concerned, I can't remember the last time
something konked out on me because of a kernel bug.  If something
goes weird these days I'm most often to find hardware is the
problem.  We currently run over a dozen of each of Redhat Linux,
Solaris, and FreeBSD, and two Debian servers.

If someone has high uptimes they just don't believe in kernel
security updates - it is nothing to be proud of.

I'd like to see a resource which promotes intelligent decision
making coming from the point of view of supporting the application
or hardware, as this is essentially the angle I believe a sysadmin
is coming from.  For example, no where in this have I heard a peep
about backup software.  Anyone serious about IT is serious
about backup.  Yet there is no support for EMC (Legato)
Networker in FreeBSD, and this is why our organization is
migrating away from this FreeBSD.  So for example, you can
outline what backup options are available compared to Linux.

  
DTrace is in current 8.0 at least in the restricted version:-) I do not 
think that the kind of the people who are
getting information from his web-site need DTrace, ZFS, or ULE. But it 
is good to have it.


And of course you are right. Even Windows is an excellent OS if you need 
to run CAD and keep your computer away from

the Internet:-)




--Donald
___
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: Mounting FS read-only for specific user (or root)

2008-02-21 Thread Andrew Bradford

Mel escribió:

On Thursday 21 February 2008 20:32:37 Andrew Bradford wrote:
  

Erik Norgaard escribió:


I assume the reasoning for this is you want to preserve permissions
and attributes on your backup, so you can't solve this simply by
setting permissions appropriately.
  

Yes, exactly.  Users need to be able to see their own backups, and
nobody else's.



Isn't this what acl's are for? See setfacl(8). I haven't looked into it in 
great detail but seems to me that if you make a subdir owned by the user for 
each backup root for that user and set the acl to only be accessible by user, 
it should work.
  
I can't test it on my system at the moment, but wouldn't acls make the 
files writable for general users?  The backup filesystem needs to be 
mounted read-write for root only, and read-only for general users, yet 
maintain ownership and permissions.


Is it possible to use acls to revoke normal UNIX permissions on a 
directory hierarchy?  I.e. use acls to limit users from writing to the 
read-write backup filesystem.

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


Re: FreeBSD Linux distro

2008-02-21 Thread Wojciech Puchar


And of course you are right. Even Windows is an excellent OS if you need to 
run CAD and keep your computer away from

the Internet:-)


probably because CAD software you use are windows only ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting FS read-only for specific user (or root)

2008-02-21 Thread Mel
On Thursday 21 February 2008 22:22:34 Andrew Bradford wrote:
 Mel escribió:
  On Thursday 21 February 2008 20:32:37 Andrew Bradford wrote:
  Erik Norgaard escribió:
  I assume the reasoning for this is you want to preserve permissions
  and attributes on your backup, so you can't solve this simply by
  setting permissions appropriately.
 
  Yes, exactly.  Users need to be able to see their own backups, and
  nobody else's.
 
  Isn't this what acl's are for? See setfacl(8). I haven't looked into it
  in great detail but seems to me that if you make a subdir owned by the
  user for each backup root for that user and set the acl to only be
  accessible by user, it should work.

 I can't test it on my system at the moment, but wouldn't acls make the
 files writable for general users?  The backup filesystem needs to be
 mounted read-write for root only, and read-only for general users, yet
 maintain ownership and permissions.

Yeah, you're right. It applies to files only. Sorry for the noise.

However, you can still do it with normal permissions, if the users can't see 
the real directory. So I guess the solution would be to either jail it and 
mount it ro with nullfs into the jail and root would use the host system, or 
if it's on a different machine to nfs mount it ro and root would use the nfs 
host machine.

The jail/nullfs trick I use with a template jail and standard ports that I 
don't want the jails to screw with.

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


Retractable Banner Stands for $299.00

2008-02-21 Thread April Lax












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

POP3 recommendations...

2008-02-21 Thread Peter Harrison
I've not run a POP3 server before, but now I'm getting tired of confusing 
myself pulling my email down from my ISP across my laptop, desktop, and home 
server. Could someone recommend a solution for me?

The situation is that I have a home server (running NFS, Samba, FTP, Apache, 
Mysql), plus a desktop and laptop (which generally gets used just around the 
house). The desktop and laptop both run fetchmail to collect my email from my 
ISP - but obviously this means some of my email ends up on the laptop, and some 
on the desktop.

I'm after something like using fetchmail on the server to collect the mail, 
then probably sort it with procmail before making it available to my home 
network. The aim is for the mail to remain on the home server - Ie. In one 
central location on my network.

Any recommendations for a POP3 server that would fit into a home network and 
make this easy to understand for the newbie?

Thanks for your help.


Peter Harrison

Peter, Deb, Jessica,  Alex
Visit us online at www.4harrisons.blogspot.com

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


RE: Computers that us FreeBSD. HELP!!!!

2008-02-21 Thread Ryan Jenkins
Jerry, or Erich,

I am wondering how I could Download the FreeBSD OS to a disk, so I could try
and install it on the computers I am trying to get to work?  Could you give
me some pointers on the process?
 


Ryan Jenkins
  
  P.O. Box 21138
  P:  406 896-9900
  F:  406 896-0045
  C:  406 208-8193
  Email:
[EMAIL PROTECTED]
 
Confidentiality Statement:
This e-mail contains confidential information which also may be privileged.
Unless you are the addressee (or authorized to receive for the addressee),
you may not copy, use, disclose, or distribute the e-mail message or any
information contained in the message.  If you have received this e-mail
message in error, please advise the sender by replying to this message or by
telephone and then promptly delete it.

-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 18, 2008 5:59 PM
To: Erich Dollansky
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: Computers that us FreeBSD. HELP

On Tue, Feb 19, 2008 at 08:48:28AM +0800, Erich Dollansky wrote:

 Hi,
 
 Acer, Dell, Fujitsu, HP, IBM, Lenovo, Toshiba plus all the PC built 
 around standard components will do.
 
 If you would be a bit more specific about price, speed and function of 
 the machine, we could help you better.

Yes.  Any servers from those vendors will work.
Plus, there are a couple of companies that claim to produce systems
expecially for running FreeBSD servers.

  Some are:   http://www.freedomtc.com/
  http://www.ixsystems.com/
  http://www.ironsystems.com/index.asp

They don't limit themselves to FreeBSD, but they claim support for it.

jerry


 
 You might will have problems getting certain machines without 
 operating system.
 
 Erich
 
 Ryan Jenkins wrote:
 Hello,
  
 I currently have a Computer System that is based off the FreeBSD 
 Operating System and I am trying to find a new supplier of hardware.  
 Right now I am having a hard time finding a Computer Manufacture that 
 can make a system that uses FreeBSD.  I currently have found a 
 product from MPC or Micron/Gateway that creates systems with no 
 Operating System, but my programmers are having a hard time with 
 getting the software loaded on the system.  Can you please help me 
 find a supplier that builds Desktop or All-in-One computers that will
operate FreeBSD.
  
  
 
   Ryan Jenkins
   
   P.O. Box 21138
   P:  406 896-9900
   F:  406 896-0045
   C:  406 208-8193
   Email:
 [EMAIL PROTECTED]
 
  
 
 Confidentiality Statement:
 This e-mail contains confidential information which also may be
privileged.
 Unless you are the addressee (or authorized to receive for the 
 addressee), you may not copy, use, disclose, or distribute the e-mail 
 message or any information contained in the message.  If you have 
 received this e-mail message in error, please advise the sender by 
 replying to this message or by telephone and then promptly delete it.
 
  
 
 
 
 -
 ---
 
 ___
 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]

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


Re: FW: Did Microsoft give up?

2008-02-21 Thread Bill Campbell
On Thu, Feb 21, 2008, Wojciech Puchar wrote:
Why do you think hardware producers will like that?

slowest system, and frequent new versions even slower, requiring constant 
buying new hardware

Much the same reason IBM like[ds] JCL on main frames.  Every time
somebody messed it up, it required more computer time on their
iron.  The army of ``systems engineers'' required to feed the
beasts also benefit from the unnecessary complexity.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
-- William Ellery Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Computers that us FreeBSD. HELP!!!!

2008-02-21 Thread Sean Cavanaugh
not to sound condescending, but just download the ISO
ftp://ftp.freebsd.org/pub/FreeBSD/
 
the installer is very easy to walk through but if you need more help, the 
documentation is very nice.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html
 
-Sean



 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Date: Thu, 
 21 Feb 2008 15:42:52 -0700 CC: freebsd-questions@freebsd.org Subject: RE: 
 Computers that us FreeBSD. HELP  Jerry, or Erich,  I am wondering how 
 I could Download the FreeBSD OS to a disk, so I could try and install it on 
 the computers I am trying to get to work? Could you give me some pointers on 
 the process?Ryan Jenkins  P.O. Box 21138 P: 406 896-9900 F: 406 
 896-0045 C: 406 208-8193 Email: [EMAIL PROTECTED]  Confidentiality 
 Statement: This e-mail contains confidential information which also may be 
 privileged. Unless you are the addressee (or authorized to receive for the 
 addressee), you may not copy, use, disclose, or distribute the e-mail 
 message or any information contained in the message. If you have received 
 this e-mail message in error, please advise the sender by replying to this 
 message or by telephone and then promptly delete it.  -Original 
 Message- From: Jerry McAllister [mailto:[EMAIL PROTECTED]  Sent: 
 Monday, February 18, 2008 5:59 PM To: Erich Dollansky Cc: [EMAIL 
 PROTECTED]; freebsd-questions@freebsd.org Subject: Re: Computers that us 
 FreeBSD. HELP  On Tue, Feb 19, 2008 at 08:48:28AM +0800, Erich 
 Dollansky wrote:   Hi,Acer, Dell, Fujitsu, HP, IBM, Lenovo, 
 Toshiba plus all the PC built   around standard components will do.
 If you would be a bit more specific about price, speed and function of   
 the machine, we could help you better.  Yes. Any servers from those vendors 
 will work. Plus, there are a couple of companies that claim to produce 
 systems expecially for running FreeBSD servers.  Some are: 
 http://www.freedomtc.com/ http://www.ixsystems.com/ 
 http://www.ironsystems.com/index.asp  They don't limit themselves to 
 FreeBSD, but they claim support for it.  jerry  You might 
 will have problems getting certain machines without   operating system.  
   ErichRyan Jenkins wrote:  Hello, I currently have a 
 Computer System that is based off the FreeBSD   Operating System and I am 
 trying to find a new supplier of hardware.   Right now I am having a hard 
 time finding a Computer Manufacture that   can make a system that uses 
 FreeBSD. I currently have found a   product from MPC or Micron/Gateway 
 that creates systems with no   Operating System, but my programmers are 
 having a hard time with   getting the software loaded on the system. Can 
 you please help me   find a supplier that builds Desktop or All-in-One 
 computers that will operate FreeBSD.   Ryan Jenkins   
P.O. Box 21138   P: 406 896-9900   F: 406 896-0045   C: 406 
 208-8193   Email:  [EMAIL PROTECTED] 
 Confidentiality Statement:  This e-mail contains confidential information 
 which also may be privileged.  Unless you are the addressee (or 
 authorized to receive for the   addressee), you may not copy, use, 
 disclose, or distribute the e-mail   message or any information contained 
 in the message. If you have   received this e-mail message in error, 
 please advise the sender by   replying to this message or by telephone and 
 then promptly delete it. 
 -  
 ---___  
 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]  
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, 
 send any mail to [EMAIL PROTECTED]
_
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DJ500 dead after = 16 years.

2008-02-21 Thread David Kelly


On Feb 21, 2008, at 1:17 PM, Gary Kline wrote:

Great; another printer heard about.SO far the Brother at =  
$200 with 7000
pages at a $30 cartridge sounds better.I've done mostly the  
academic,
plain bw over the years.   Hm, well, then I have had some papers  
returned

with feedback marked in blue in OOo.


The Genuine Brother TN-580 cartridge is about $75. A quick search  
finds remanufactured cartridges for $22, or do-it-yourself reload  
kits for under $20. I had to buy my first replacement as reloads were  
not yet available.


I got just under 2,000 sheets on the 3,500 rated sheet TN-550  
cartridge which came with the printer. Just over 4,000 on the 7,000  
rated TN-580. Then nearly 7,000 using a $20 reload kit. Printing  
essentially the same thing, a membership flyer packed full of text on  
one side and a JPEG on the other.


The $20 Meritline.com reload kit I used smells a lot different than  
the original Brother toner.


Amazon.com seems to have the best reputable prices on the HL-5250DN  
at the moment. $190 new, or $155 refurbished, free shipping.


There is a fancy Brother color printer [on sale] at Costco for like  
$700. (!)
After my heart was shocked back to life, I double-checked.   I  
can't imagine

what it does for 700 clams, but don't have room for it here anyway.


If you need it, then you need it. But watch for operational costs.

Can you use any paper with the laser printers, or does it have to  
meet a

certain spec?   I heard a severe warning about using junk paper.


Can use as nice of a paper as you want. Paper prices are rising. I  
have been buying $3.50 paper from Staples but this last time simply  
bought an entire case for whatever they demanded. Something between  
20 and 24 pound is best. 20 is great for printing manuals, 24 is  
better if you are mailing a flyer that is folded and taped without an  
envelope.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: Did Microsoft give up?

2008-02-21 Thread B H

NetOpsCenter 48799160 %m:

Aloha,

I just saw on TV news that Micro$oft has announced that it is opening 
its code for development of its operating system.


God.

Does this mean the Open Source Community has proved itself the best way 
to go?


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


My printer isn't working with freebsd I have a hp laserjet1000

2008-02-21 Thread paulfromottawa
My printer isn't working with freebsd I have a hp laserjet1000

/usr/local/libexec/cups/filter/foomatic-rip failed

So I have tried building the kernel without ulpt, and uploader the firmware 
but then cups would have local printers selection greyed out.

using boot loader.conf 
to load ulpt corected that but still no test prints worked.


I built again and again. 

I have FreeBSD 6.3 using a printer that needs firmware everytime its boot up.


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


Re: POP3 recommendations...

2008-02-21 Thread Erwan David
Le Thu 21/02/2008, Peter Harrison disait
 I've not run a POP3 server before, but now I'm getting tired of confusing 
 myself pulling my email down from my ISP across my laptop, desktop, and home 
 server. Could someone recommend a solution for me?
 
 The situation is that I have a home server (running NFS, Samba, FTP, Apache, 
 Mysql), plus a desktop and laptop (which generally gets used just around the 
 house). The desktop and laptop both run fetchmail to collect my email from my 
 ISP - but obviously this means some of my email ends up on the laptop, and 
 some on the desktop.
 
 I'm after something like using fetchmail on the server to collect the mail, 
 then probably sort it with procmail before making it available to my home 
 network. The aim is for the mail to remain on the home server - Ie. In one 
 central location on my network.
 
 Any recommendations for a POP3 server that would fit into a home network and 
 make this easy to understand for the newbie?
 
 Thanks for your help.

I'd rather use an IMAP server on the central server : imap is made for keeping
the mailboxes centrally and consulting them remotely. Thus your mail stays on
the servers, but you can treat it from your laptop as well.

I have a similar setting, with courier imap, and procmail delivering to the
underlying maildir. But when I find time I'll investigate maildrop as mail
delivery agent with filtering capabilities.

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


Re: FreeBSD Linux distro

2008-02-21 Thread nepbabu
Thus spoke Predrag Punosevac on Wednesday, 20 February 2008 at 19:24:01 -0700:
 Chad Perrin wrote:
 On Tue, Feb 19, 2008 at 01:27:49PM -0700, Chad Perrin wrote:

 Try to find on the internet couple of advocacy articles by Greg Lehey.  
 They are  very  well-written. 

Greg's a legend! :P

-- 
Cheers,
Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca)
Journal: http://nepbabu.livejournal.com || pubkey: see header
Rule 6: There is no Rule 6. - Rob Pike
Those who can make you believe absurdities, can make you commit atrocities. - 
François-Marie Arouet


pgpbKZd4Hqt3R.pgp
Description: PGP signature


Re: My printer isn't working with freebsd I have a hp laserjet1000

2008-02-21 Thread Michael Ross

Am 21.02.2008, 23:55 Uhr, schrieb paulfromottawa [EMAIL PROTECTED]:


My printer isn't working with freebsd I have a hp laserjet1000

/usr/local/libexec/cups/filter/foomatic-rip failed

So I have tried building the kernel without ulpt, and uploader the  
firmware

but then cups would have local printers selection greyed out.

using boot loader.conf
to load ulpt corected that but still no test prints worked.


Loading ulpt via the loader has the same effect as compiling it into the  
kernel.

Don't do that. You need your printer as a ugen device.

You do have hplip installed? It is in the ports and comes with a  
``hp-setup'' program.

Use filter /usr/local/share/ppd/HP/HP-LaserJet_1010-hpijs.ppd.gz

Maybe this helps: http://foo2zjs.rkkda.com/INSTALL
Look for the section FREEBSD NOTES. It is about uploading firmware to a  
Laserjet 1018.

You probably need to be root to upload.

If your printer is detected by cups, you will still need to replace  
/usr/bin/lpr with /usr/local/bin/lpr for your applications to print.


Check out ``hp-toolbox'', too.

HTH

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


PF vs. ping6

2008-02-21 Thread Colin Brace
Hi all,

I am trying to set up a IPv6 tunnel following the instructions in the
handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.
aiccu starts ok:

# sixxs-aiccu start
Tunnel Information for T14342:
POP Id  : nlams05
IPv6 Local  : x2/64
IPv6 Remote : x1/64
Tunnel Type : 6in4-heartbeat
Adminstate  : enabled
Userstate   : enabled

I can ping6 localhost, I can ping6 the tunnel begin point (local), but
I can't ping6 the (remote) end point. Firing up tcpdump, I see that
the firewall is blocking the ping packets.

I have these (provisional) rules at the top of the filter section in PF:

pass quick on fxp0 inet6 # ext if
pass quick on gif0 inet6

to no avail; PF is still blocking ping6. Am I missing something here?

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


Re: PF vs. ping6

2008-02-21 Thread Christopher Cowart
On Fri, Feb 22, 2008 at 01:14:55AM +0100, Colin Brace wrote:
 Hi all,
 
 I am trying to set up a IPv6 tunnel following the instructions in the
 handbook 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.
 aiccu starts ok:
 
 # sixxs-aiccu start
 Tunnel Information for T14342:
 POP Id  : nlams05
 IPv6 Local  : x2/64
 IPv6 Remote : x1/64
 Tunnel Type : 6in4-heartbeat
 Adminstate  : enabled
 Userstate   : enabled
 
 I can ping6 localhost, I can ping6 the tunnel begin point (local), but
 I can't ping6 the (remote) end point. Firing up tcpdump, I see that
 the firewall is blocking the ping packets.
 
 I have these (provisional) rules at the top of the filter section in PF:
 
 pass quick on fxp0 inet6 # ext if

I don't use pf, but I'm guessing from the man page that you may need to
try:
pass quick on fxp0 proto 41

You might be able to substitue 41 with the symbolic name in
/etc/protocols (ipv6).

Note that you're trying to match the protocol field of an IPv4 address
which, for the majority of internet traffic, is tcp, udp, or icmp; in
this case its ipv6, because the contents of your IPv4 packets are the
tunneled v6 packets.

I think 'pass quick on fxp0 inet6' is checking against the type of the
outer packet, which is actually an IPv4 packet.

Good luck,

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgprydPnNwzke.pgp
Description: PGP signature


Re: Question urgent!!!

2008-02-21 Thread Jerry McAllister
On Thu, Feb 21, 2008 at 12:06:34PM -0600, Odeth Solano wrote:

 Hi
 
 Can you suggest us, what kind of servers are supported to run if Free 
 Free BSD 6.2?
 HP? Dell? ]IBM?
 Could you suggest a model of this servers and processors please?

This was just discussed a couple of days ago on the FreeBSD Questions
list.   Go and look at the archives.

FreeBSD has a website with vendors listed.   

   http://www.freebsd.org/commercial/

Go there and click on the hardware link.

Besides saying that, I would add that we have had good luck with
Dell and HP servers running FreeBSD and a few others.  Almost any
normally configured machine should be good.

jerry


 
 Thanks
 
 
 Odeth Verónica Solano P.
 Clientes Estratégicos
 Diveo Internet de México
 Tel.: 5093-8058
 Cel.: 04455-5506-3474
 E-mail: [EMAIL PROTECTED] 
 
  
 ** Este mensaje contiene información privilegiada/confidencial. Si usted no 
 es el destinatario indicado en este mensaje (o responsable para entregarlo a 
 tal persona), usted no puede copiar, difundir o entregar este mensaje a 
 cualquier otra persona, dado que esta prohibido y se puede considerar ilegal. 
 En tal caso, usted debe destruir este mensaje y amablemente notifique al 
 remitente por e-mail el error existente. Las opiniones, conclusiones y otra 
 información en este mensaje que no se relacione al negocio oficial de esta 
 empresa se entenderá como no dado ni endosado**
  
 
 
 ___
 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: PF vs. ping6

2008-02-21 Thread Colin Brace
On Fri, Feb 22, 2008 at 1:36 AM, Christopher Cowart

  I don't use pf, but I'm guessing from the man page that you may need to
  try:
  pass quick on fxp0 proto 41

Ah, finally, this works:

pass quick on $ext_if proto 41
pass quick on gif0 inet6

which PF interprets as:

pass quick on fxp0 proto ipv6 all keep state
pass quick on gif0 inet6 all flags S/SA keep state

Thanks Christopher, I really appreciate it.

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


Re: Computers that us FreeBSD. HELP!!!!

2008-02-21 Thread Jerry McAllister
On Thu, Feb 21, 2008 at 03:42:52PM -0700, Ryan Jenkins wrote:

 Jerry, or Erich,
 
 I am wondering how I could Download the FreeBSD OS to a disk, so I could try
 and install it on the computers I am trying to get to work?  Could you give
 me some pointers on the process?

This is well documented in the FreeBSD Handbook which you can see online
by going to the FreeBSD web site.

It you are going to install from CD, then you can download the ISO[s]
using anonymous  ftp  from   ftp.freebsd.org

You will need to fish around (cd) in their directories a bit to find
the ISOs, but what you want is disc1 for version 6.3.
Download it to a machine with a CD burner.   Then burn the image
as it is.  Don't try to convert it to an ISO.  It is already an ISO.

If you do not have network access, then you will need to download 
the first two CD ISOs and use them.

Plug in the CD and boot it and the adventure begins.

If you must boot from floppies, then download the two floppy images
and write them to formatted floppies as per the handbook instructions.

Boot them and go from there.  You will need network access.


jerry


 
 Ryan Jenkins
   
   P.O. Box 21138
   P:  406 896-9900
   F:  406 896-0045
   C:  406 208-8193
   Email:
 [EMAIL PROTECTED]
  
 Confidentiality Statement:
 This e-mail contains confidential information which also may be privileged.
 Unless you are the addressee (or authorized to receive for the addressee),
 you may not copy, use, disclose, or distribute the e-mail message or any
 information contained in the message.  If you have received this e-mail
 message in error, please advise the sender by replying to this message or by
 telephone and then promptly delete it.
 
 -Original Message-
 From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 18, 2008 5:59 PM
 To: Erich Dollansky
 Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 Subject: Re: Computers that us FreeBSD. HELP
 
 On Tue, Feb 19, 2008 at 08:48:28AM +0800, Erich Dollansky wrote:
 
  Hi,
  
  Acer, Dell, Fujitsu, HP, IBM, Lenovo, Toshiba plus all the PC built 
  around standard components will do.
  
  If you would be a bit more specific about price, speed and function of 
  the machine, we could help you better.
 
 Yes.  Any servers from those vendors will work.
 Plus, there are a couple of companies that claim to produce systems
 expecially for running FreeBSD servers.
 
   Some are:   http://www.freedomtc.com/
   http://www.ixsystems.com/
   http://www.ironsystems.com/index.asp
 
 They don't limit themselves to FreeBSD, but they claim support for it.
 
 jerry
 
 
  
  You might will have problems getting certain machines without 
  operating system.
  
  Erich
  
  Ryan Jenkins wrote:
  Hello,
   
  I currently have a Computer System that is based off the FreeBSD 
  Operating System and I am trying to find a new supplier of hardware.  
  Right now I am having a hard time finding a Computer Manufacture that 
  can make a system that uses FreeBSD.  I currently have found a 
  product from MPC or Micron/Gateway that creates systems with no 
  Operating System, but my programmers are having a hard time with 
  getting the software loaded on the system.  Can you please help me 
  find a supplier that builds Desktop or All-in-One computers that will
 operate FreeBSD.
   
   
  
Ryan Jenkins

P.O. Box 21138
P:  406 896-9900
F:  406 896-0045
C:  406 208-8193
Email:
  [EMAIL PROTECTED]
  
   
  
  Confidentiality Statement:
  This e-mail contains confidential information which also may be
 privileged.
  Unless you are the addressee (or authorized to receive for the 
  addressee), you may not copy, use, disclose, or distribute the e-mail 
  message or any information contained in the message.  If you have 
  received this e-mail message in error, please advise the sender by 
  replying to this message or by telephone and then promptly delete it.
  
   
  
  
  
  -
  ---
  
  ___
  freebsd-questions@freebsd.org mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  

Re: FreeBSD Linux distro

2008-02-21 Thread Chris Whitehouse

Wojciech Puchar wrote:

use as a desktop system.  Contrary to that impression, I'm sending this


what is desktop system and server system?

AFAIK it just depends of software installed, and it can be both..
___




FreeBSD as a desktop compared to other OS's? I think there are 
technical, community and attitude differences which prevent FreeBSD from 
competing as a desktop. For some time I ran a small suite of FreeBSD 
desktops for general passing users (community center for alternative 
type people) and sometimes it was quite difficult to defend FreeBSD 
against requests for Linux.


Some desktop functionality that is available for other OS's is simply 
not available to FreeBSD. Recent Debian, Windows and Mac all do hotplug 
USB for instance. The key point is that if you unplug without unmounting 
you don't get system crashes. I've read some of the threads that say 
it's not at all easy to write it into FreeBSD but it is an important 
difference and it shows up some community  and attitude differences.


Imagine if computers were cars. FreeBSD would be a super reliable car or 
maybe truck that gets built and maintained and used by people who like 
to spend most of their time hanging out in the workshop. You have to 
lift the bonnet and press a button to get it going but they see that as 
trivial. But the person who has to get the kids down to the supermarket 
and get the shopping done before hubby comes home for tea is really not 
going to understand that there is any comparison with the system where a 
key is within easy reach of the drivers seat.


Nobody in the FreeBSD workshop can see the point of doing a quite 
intricate rewiring task because the truck works so fantastically well in 
other respects.


Support for USB devices seems better in Linux too. The number of times 
people would come in and say why don't you use Linux and I would say 
FreeBSD is better and they would say well plug this USB ethernet adapter 
in and see if it works then, and it wouldn't.


If you want to do video editing on FreeBSD you can't use the main free 
software application, Cinelerra. It's not ported to FreeBSD and from 
what I've read it won't be - something to do with ALSA drivers I 
believe. Also multimedia functionality generally is far more developed 
on Mac and windows. I would be really interested to know how the FreeBSD 
kernel compares to the Linux realtime kernel. Are there any recent 
benchmarks? Something like Kris Kennaway's fantastic mySQL benchmarks 
presentation?


I'm sure none of these things are impossible, simply I get the 
impression they are not very interesting to the people who decide the 
direction of FreeBSD.


There are other differences which I think come down to the overall size 
of the development community. I'm sure FreeBSD has all the components to 
allow a nice icon and directory window appear automagically on the 
desktop when you plug your removeable drive or camera in. I guess there 
must be some sort of similarity between the number of people doing 
Debian development and the number of people doing FreeBSD development. 
The difference with Linux is that there are hundreds of other dev 
communities taking Debian or whatever as a starting point and 
configuring it for different out-of-the-box use. Hence ubuntu and all 
the others. There are comparatively very few desktop development 
projects that take FreeBSD as a starting point. Hence rolling your own X 
and desktop setup in FreeBSD let alone automounter and a hundred other 
things.


This is not meant to be an anti-FreeBSD rant, I love FreeBSD, it has 
some sort of quality and ease of use which I find hard to define, which 
is different to the 'ease of use' of windows or ubuntu (see I can't even 
give them capital letters) and which I wouldn't swap for anything. But I 
do think there is also some refusal or maybe just lack of resource 



   to engage with a completely different view of what computers are 
for that the vast majority of the computer population has,  an attitude 
exemplified by the comment that started me off on this rant.


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


Re: HP LaserJet not uploading firmware permission denied ulpt0

2008-02-21 Thread Modulok
On 2/21/08, Paul Belair [EMAIL PROTECTED] wrote:
 I'm using 6.3 FreeBSD

 Is there a fix that works.

 I have a hp laserjet 1000 printer.

You've got to be logged in as the 'root' user, (or a user who has
write-access to /dev/ulpt0, which by default is only 'root').

1. Ensure you are the root user. You can check this by executing the command: id
2. If you are the root user and it still does not work, what is the
output of the command: ls -l /dev/ulpt0
3. What is the exact command you're executing to upload the firmware
and what is the exact error it reports?

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


Re: FreeBSD Linux distro

2008-02-21 Thread punosevac
 Wojciech Puchar wrote:
 use as a desktop system.  Contrary to that impression, I'm sending this

 what is desktop system and server system?

 AFAIK it just depends of software installed, and it can be both..
 ___



 FreeBSD as a desktop compared to other OS's? I think there are
 technical, community and attitude differences which prevent FreeBSD from
 competing as a desktop.

There is at least very strong consensus in the OpenBSD community and much
less in FreeBSD community that the systems are developed by developers for
the developer and alike on the base of the
technical merit not cheap tricks. I am as a non-developer just getting a
free ride. FreeBSD is a free system and doesn't have customers to please.
It is developed by the people in their spare time to the best possible for
their needs. (They are not necessary the same as yours and mine)


Those Desktop users that you want to attract would not benefit from FreeBSD
nor FreeBSD community would benefit from them.


 Support for USB devices seems better in Linux too. The number of times
 people would come in and say why don't you use Linux and I would say
 FreeBSD is better and they would say well plug this USB ethernet adapter
 in and see if it works then, and it wouldn't.

If you knew how to alter permissions and do auto-mount you would see too.


 If you want to do video editing on FreeBSD you can't use the main free
 software application, Cinelerra. It's not ported to FreeBSD and from
 what I've read it won't be - something to do with ALSA drivers I
 believe.

Please, do not even go there.
ALSA vs OSS story is one of the darkest chapters in the Linux development.
Read this before  we go any further

http://4front-tech.com/hannublog/?p=5


 Also multimedia functionality generally is far more developed
 on Mac and windows.

yes. So what? OS X is life style operating system. My friends in Apple are
making living by pleasing their customers.

 I would be really interested to know how the FreeBSD
 kernel compares to the Linux realtime kernel. Are there any recent
 benchmarks? Something like Kris Kennaway's fantastic mySQL benchmarks
 presentation?


What is your point? Your desktop computer is faster than mine? That is
irrelevant for the discussion about FreeBSD on the desktop.
By the way, I proudly say as mostly OpenBSD user that OpenBSD scales the
worst out of all *nix operating systems.



 I'm sure none of these things are impossible, simply I get the
 impression they are not very interesting to the people who decide the
 direction of FreeBSD.

 There are other differences which I think come down to the overall size
 of the development community. I'm sure FreeBSD has all the components to
 allow a nice icon and directory window appear automagically on the
 desktop when you plug your removeable drive or camera in.

It does on mine. You have to know how to configure the damn thing.


I guess there
 must be some sort of similarity between the number of people doing
 Debian development and the number of people doing FreeBSD development.
 The difference with Linux is that there are hundreds of other dev
 communities taking Debian or whatever as a starting point and
 configuring it for different out-of-the-box use. Hence ubuntu and all
 the others.

Hence the PC-BSD, DekstopBSD, TrueBSD, RuFreeSBIE, MidnightBSD and all the
others. There are in total over 40 distros based on FreeBSD. At least 10
of them that I know of have as a stated goal to be customized easy to use
FreeBSD installation on the Desktop.




There are comparatively very few desktop development
 projects that take FreeBSD as a starting point.


With all due respect you are just ill informed. Look the above.
Sorry to burst your bubble but PC-BSD is much easier to install and run
than your Ubuntu. If PC-BSD/FreeBSD had a native Flash supports and if
they
succeed to automatic creation of PBI for all 18000 ports PC-BSD would
smoke the Ubuntu as the number one Grand Ma Milly OS by a mile.



Cheers,
Predrag

P.S. I am not trying to participate in a flame war or a troll so this is
going to be my last message on this thread.


Hence rolling your own X
 and desktop setup in FreeBSD let alone automounter and a hundred other
 things.

 This is not meant to be an anti-FreeBSD rant, I love FreeBSD, it has
 some sort of quality and ease of use which I find hard to define, which
 is different to the 'ease of use' of windows or ubuntu (see I can't even
 give them capital letters) and which I wouldn't swap for anything. But I
 do think there is also some refusal or maybe just lack of resource


 to engage with a completely different view of what computers are
 for that the vast majority of the computer population has,  an attitude
 exemplified by the comment that started me off on this rant.

 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 

Re: FreeBSD Linux distro

2008-02-21 Thread Da Rock

On Fri, 2008-02-22 at 01:48 +, Chris Whitehouse wrote:
 Wojciech Puchar wrote:
  use as a desktop system.  Contrary to that impression, I'm sending this
  
  what is desktop system and server system?
  
  AFAIK it just depends of software installed, and it can be both..
  ___
 
 
 
 FreeBSD as a desktop compared to other OS's? I think there are 
 technical, community and attitude differences which prevent FreeBSD from 
 competing as a desktop. For some time I ran a small suite of FreeBSD 
 desktops for general passing users (community center for alternative 
 type people) and sometimes it was quite difficult to defend FreeBSD 
 against requests for Linux.
 
 Some desktop functionality that is available for other OS's is simply 
 not available to FreeBSD. Recent Debian, Windows and Mac all do hotplug 
 USB for instance. The key point is that if you unplug without unmounting 
 you don't get system crashes. I've read some of the threads that say 
 it's not at all easy to write it into FreeBSD but it is an important 
 difference and it shows up some community  and attitude differences.
 
 Imagine if computers were cars. FreeBSD would be a super reliable car or 
 maybe truck that gets built and maintained and used by people who like 
 to spend most of their time hanging out in the workshop. You have to 
 lift the bonnet and press a button to get it going but they see that as 
 trivial. But the person who has to get the kids down to the supermarket 
 and get the shopping done before hubby comes home for tea is really not 
 going to understand that there is any comparison with the system where a 
 key is within easy reach of the drivers seat.
 
 Nobody in the FreeBSD workshop can see the point of doing a quite 
 intricate rewiring task because the truck works so fantastically well in 
 other respects.
 
 Support for USB devices seems better in Linux too. The number of times 
 people would come in and say why don't you use Linux and I would say 
 FreeBSD is better and they would say well plug this USB ethernet adapter 
 in and see if it works then, and it wouldn't.
 
 If you want to do video editing on FreeBSD you can't use the main free 
 software application, Cinelerra. It's not ported to FreeBSD and from 
 what I've read it won't be - something to do with ALSA drivers I 
 believe. Also multimedia functionality generally is far more developed 
 on Mac and windows. I would be really interested to know how the FreeBSD 
 kernel compares to the Linux realtime kernel. Are there any recent 
 benchmarks? Something like Kris Kennaway's fantastic mySQL benchmarks 
 presentation?
 
 I'm sure none of these things are impossible, simply I get the 
 impression they are not very interesting to the people who decide the 
 direction of FreeBSD.
 
 There are other differences which I think come down to the overall size 
 of the development community. I'm sure FreeBSD has all the components to 
 allow a nice icon and directory window appear automagically on the 
 desktop when you plug your removeable drive or camera in. I guess there 
 must be some sort of similarity between the number of people doing 
 Debian development and the number of people doing FreeBSD development. 
 The difference with Linux is that there are hundreds of other dev 
 communities taking Debian or whatever as a starting point and 
 configuring it for different out-of-the-box use. Hence ubuntu and all 
 the others. There are comparatively very few desktop development 
 projects that take FreeBSD as a starting point. Hence rolling your own X 
 and desktop setup in FreeBSD let alone automounter and a hundred other 
 things.
 
 This is not meant to be an anti-FreeBSD rant, I love FreeBSD, it has 
 some sort of quality and ease of use which I find hard to define, which 
 is different to the 'ease of use' of windows or ubuntu (see I can't even 
 give them capital letters) and which I wouldn't swap for anything. But I 
 do think there is also some refusal or maybe just lack of resource 
  
 
 to engage with a completely different view of what computers are 
 for that the vast majority of the computer population has,  an attitude 
 exemplified by the comment that started me off on this rant.
 
 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I'd agree with nearly all that is said here- for my 2c. It neatly
epitomizes what I attempted to present.

When defining the differences to my clients as to windows, Linux, and
FreeBSD I use a 60's model VW beetle for windows, a tank for Linux, and
Fort Knox for BSD systems... The reason for this is that I find BSD
systems are hard to break, stable as hell, may never need to reboot if
setup correctly and used right, and just do what they're told to do.
Linux is secure- but not as much, will go for months 

Clearchains wpi and apm/acpi

2008-02-21 Thread Martin Boulianne
Hi,
I successfully installed wpi driver and it works great. I'm using acpi.
But my screen doesn't go off when I close the lid, and I read
that apm could do the trick. So I disabled acpi and enabled apm.

Woohoo! The screen shutdowns as predicted. BUT, the wpi driver
won't work anymore! I guess that it somehow depends on acpi.

Do you guys have seen anything alike? Is it possible to make wpi
work with apm?

I'm running 7.0-current i386, on a Dell Inspiron 6400.


Thanks!!

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


Re: Multiple versions of PHP

2008-02-21 Thread patrick
I've got a new problem...

While I was able to install PHP 5 into a separate location than PHP 4
(both from ports), I'm now trying to add a PHP 5 extension
(/usr/ports/graphics/php5-gd). The built-in version checking is
saying:

===  php5-gd-5.2.5 cannot install: doesn't work with PHP version : 4
(Doesn't support PHP 4).
*** Error code 1

... which would be an issue if my PREFIX was the same, but it's not.
Is there a way I can trick the ports system into thinking I don't have
PHP 4 installed?

Patrick



On Tue, Apr 3, 2007 at 8:36 AM, patrick [EMAIL PROTECTED] wrote:
 Thanks, that worked really well. For those searching the archive for
  an easy answer, you just need to do:

  make PREFIX=/path/to/where/you/want all install clean

  Patrick




  On 4/2/07, Kimi Ostro [EMAIL PROTECTED] wrote:
   On 02/04/07, patrick [EMAIL PROTECTED] wrote:
I have a FreeBSD 6.2 server with Apache 1.3.x and PHP 4.4.x built from
ports. I'd like to install PHP 5 from the ports tree, but target its
install location to /usr/local/php5 to keep it separate from the PHP 4
stuff. (I'll be running PHP through fastcgi.) I'm wondering if there's
a way to do built a port where the install root is different from the
default? If not, I'll hand-build PHP5, but I'd much rather take
advantage of ports.
   
Thanks,
   
  
   % man 7 ports
  
   look for PREFIX
  
   HTH,
  
   --
   Kimi
  

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


Re: security of a new installation / steps to take

2008-02-21 Thread Olivier Nicole
Hi,

To all the things that follow (sorry about top reply) I'd add a clever
configuration of tcpwrapper (/etc/hosts.allow) whenever it is
possible: allows to open a service to a list of given clients only.

It is just another layer of security.

Olivier

  So far I have had FreeBSD systems only in office so I used my hardware
  firewall (Dlink DFL 700) to block access to services on ports 22, etc.
  Now, at the ISP I won't be able to do this so I will need to be a lot
  more careful about security issues. I am planning to make a list of
  steps I need to take to configure the OS to my liking and install
  applications I need. However, I would really, really love to have some
  advice from you re the basic steps.
 
 The important mantra to remember when securing a machine that is exposed
 to the internet is:
 
 What does not listen on the network cannot be used to compromise you.
 
 In practice, this means run sockstat and look for all the processes
 that are listening for connections on your external network interfaces.
 
 If you don't need it, then don't run it.
 
 If you don't need external access to it, then bind it to the loopback
 interface[1] or use it via a Unix domain socket (eg. 'skip-networking' in
 MySQL configuration)
 
 If you do need it, then strongly prefer encrypted versions of network
 protocols: IMAPS rather than IMAP, HTTPS instead of HTTP.  This is
 particularly important if people are using password based authentication
 - -- otherwise you'ld be transmitting those passwords over the net in plain,
 where they are vulnerable to snooping.
 
 Ensure that any software that does listen on the network runs as an
 unprivileged UID.  Ensure that the login accounts used for such daemons do
 not have real shells (/usr/sbin/nologin is a good choice) and preferably
 either have a non-existent home directory, or a home directory that the 
 process does not own and cannot write to.  The current working directory
 of the process (frequently /, but you can use 'fstat -p pid' and look
 for the 'wd' entry to find this) should similarly be unwritable by
 the process.  If the process can run chrooted or jailed then it's a good
 idea to make it so.
 
 Be very wary of many web based applications, particularly those written
 in PHP.  Sad to say, but many web developers just don't have a clue about
 security and commit some enormous howlers.  They also love writing web-
 accessible configuration scripts, which you should take care to disable by
 changing filesystem permissions once you've done the configuring parts
 and also block or severely restrict access to by your webserver configuration.
 If anyone proposes running any PHP code that requires you to set 
 'register_globals'
 to 'on' in php.ini; well, suffice it to say, no sensible jury would
 convict should that person come to an ... unfortunate ... end.
 
 Make sure you track [EMAIL PROTECTED] and apply any system patches
 in a timely manner.  Also make full use of portaudit(1) and generally ensure
 that you are running up to date versions of any ported software.
 
 If you can do all the above effectively, then your machine should be pretty
 secure as is, even without running any severe filtering through the built in
 firewalls.
 
   Cheers,
 
   Matthew
 
 [1] People that understand the implications of the weak routing model
 as commonly seen in Unix servers (and certainly those that cannot control
 access to the same layer-2 network their server is on) will want to protect
 the loopback against spoofing attacks.  The following 3-line pf.conf
 will do the trick:
 
 scrub in
 pass all
 antispoof log quick for lo0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: POP3 recommendations...

2008-02-21 Thread Eric Schuele
On 02/21/2008 15:55, Peter Harrison wrote:
 I've not run a POP3 server before, but now I'm getting tired of confusing 
 myself pulling my email down from my ISP across my laptop, desktop, and home 
 server. Could someone recommend a solution for me?
 
 The situation is that I have a home server (running NFS, Samba, FTP, Apache, 
 Mysql), plus a desktop and laptop (which generally gets used just around the 
 house). The desktop and laptop both run fetchmail to collect my email from my 
 ISP - but obviously this means some of my email ends up on the laptop, and 
 some on the desktop.

IMHO... You don't need to run your own mailserver to solve this.  Simply
have one of your machines only download the mail.  Have the other,
download and *remove* the mail from the server.

Or possibly, have them both only remove mail that is older than x-days
from the server.  This will allow you to get the mail onto both
machines, assuming you use each machine within the given time.

 
 I'm after something like using fetchmail on the server to collect the mail, 
 then probably sort it with procmail before making it available to my home 
 network. The aim is for the mail to remain on the home server - Ie. In one 
 central location on my network.
 
 Any recommendations for a POP3 server that would fit into a home network and 
 make this easy to understand for the newbie?

If you must use one... I'm not sure it gets any easier than qpopper.

 
 Thanks for your help.
 
 
 Peter Harrison
 
 Peter, Deb, Jessica,  Alex
 Visit us online at www.4harrisons.blogspot.com
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


Re: FreeBSD Linux distro

2008-02-21 Thread Da Rock

On Thu, 2008-02-21 at 19:28 -0700, [EMAIL PROTECTED] wrote:
  Wojciech Puchar wrote:
  use as a desktop system.  Contrary to that impression, I'm sending this
 
  what is desktop system and server system?
 
  AFAIK it just depends of software installed, and it can be both..
  ___
 
 
 
  FreeBSD as a desktop compared to other OS's? I think there are
  technical, community and attitude differences which prevent FreeBSD from
  competing as a desktop.
 
 There is at least very strong consensus in the OpenBSD community and much
 less in FreeBSD community that the systems are developed by developers for
 the developer and alike on the base of the
 technical merit not cheap tricks. I am as a non-developer just getting a
 free ride. FreeBSD is a free system and doesn't have customers to please.
 It is developed by the people in their spare time to the best possible for
 their needs. (They are not necessary the same as yours and mine)
 
 
 Those Desktop users that you want to attract would not benefit from FreeBSD
 nor FreeBSD community would benefit from them.
 
 
  Support for USB devices seems better in Linux too. The number of times
  people would come in and say why don't you use Linux and I would say
  FreeBSD is better and they would say well plug this USB ethernet adapter
  in and see if it works then, and it wouldn't.
 
 If you knew how to alter permissions and do auto-mount you would see too.
 
 
  If you want to do video editing on FreeBSD you can't use the main free
  software application, Cinelerra. It's not ported to FreeBSD and from
  what I've read it won't be - something to do with ALSA drivers I
  believe.
 
 Please, do not even go there.
 ALSA vs OSS story is one of the darkest chapters in the Linux development.
 Read this before  we go any further
 
 http://4front-tech.com/hannublog/?p=5
 
 
  Also multimedia functionality generally is far more developed
  on Mac and windows.
 
 yes. So what? OS X is life style operating system. My friends in Apple are
 making living by pleasing their customers.
 
  I would be really interested to know how the FreeBSD
  kernel compares to the Linux realtime kernel. Are there any recent
  benchmarks? Something like Kris Kennaway's fantastic mySQL benchmarks
  presentation?
 
 
 What is your point? Your desktop computer is faster than mine? That is
 irrelevant for the discussion about FreeBSD on the desktop.
 By the way, I proudly say as mostly OpenBSD user that OpenBSD scales the
 worst out of all *nix operating systems.
 
 
 
  I'm sure none of these things are impossible, simply I get the
  impression they are not very interesting to the people who decide the
  direction of FreeBSD.
 
  There are other differences which I think come down to the overall size
  of the development community. I'm sure FreeBSD has all the components to
  allow a nice icon and directory window appear automagically on the
  desktop when you plug your removeable drive or camera in.
 
 It does on mine. You have to know how to configure the damn thing.
 
 
 I guess there
  must be some sort of similarity between the number of people doing
  Debian development and the number of people doing FreeBSD development.
  The difference with Linux is that there are hundreds of other dev
  communities taking Debian or whatever as a starting point and
  configuring it for different out-of-the-box use. Hence ubuntu and all
  the others.
 
 Hence the PC-BSD, DekstopBSD, TrueBSD, RuFreeSBIE, MidnightBSD and all the
 others. There are in total over 40 distros based on FreeBSD. At least 10
 of them that I know of have as a stated goal to be customized easy to use
 FreeBSD installation on the Desktop.
 
 
 
 
 There are comparatively very few desktop development
  projects that take FreeBSD as a starting point.
 
 
 With all due respect you are just ill informed. Look the above.
 Sorry to burst your bubble but PC-BSD is much easier to install and run
 than your Ubuntu. If PC-BSD/FreeBSD had a native Flash supports and if
 they
 succeed to automatic creation of PBI for all 18000 ports PC-BSD would
 smoke the Ubuntu as the number one Grand Ma Milly OS by a mile.
 
 
 
 Cheers,
 Predrag

I agree with that, but there in lies the point- they don't. Its a shame
that the definition of systems revolves around piece of crap software
that everyone else has, but there you have it.

So by desktop we mean easy to use, off the shelf that does what people
want which they can get elsewhere- a home system. Workstation is a
machine for the office with real IT people administering them. Which
is primarily what FreeBSD stands for atm. And I don't believe it should
change either.


 
 P.S. I am not trying to participate in a flame war or a troll so this is
 going to be my last message on this thread.
 
 
 Hence rolling your own X
  and desktop setup in FreeBSD let alone automounter and a hundred other
  things.
 
  This is not meant to be an anti-FreeBSD rant, I love FreeBSD, it 

Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....

2008-02-21 Thread Forrest Aldrich


Mel wrote:



Your extensions.ini has duplicate and non-existing modules. Start here:

mv /usr/local/etc/php/extensions.ini /usr/local/etc/php/extensions.ini.bkp
sort -u /usr/local/etc/php/extensions.ini.bkp |while read MOD; do
 if test -f /usr/local/lib/php/20060613/${MOD##extension=}; then
echo $MOD
 fi
done /usr/local/etc/extensions.ini
php -v




I've done this and still have a problem with PHP5 dumping core:

[EMAIL PROTECTED] /usr/ports/lang/php5]# php -v

PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 21 2008 21:51:01)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
  with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by 
eAccelerator

  with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project
Segmentation fault: 11 (core dumped)

I tried compiling this without eAccelerator, got the same problem.  I'm now 
trying it without
the Suhosin enhancements to see if that's the problem - sent a copy of this to 
the PHP5 port
maintainer.


Thanks again,

Forrest


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


  1   2   >