Re: OT: Apache as reverse SSL proxy

2010-10-05 Thread Ryan Coleman

On Oct 5, 2010, at 12:33 AM, Matthew Seaman wrote:

 Nowadays there is also the possibility of RFC2817 -- in essence you
 start an ordinary HTTP session, then issue a STARTTLS command and
 upgrade the connection to encrypted.  This will allow name-based virtual
 hosting with TLS to work as intended.  Unfortunately, last I checked,
 while apache supports this, most web browsers do not.

Throwing just my two bits in: Apache supports it, as does Firefox, and nothing 
else (maybe Safari does...).

IE definitely does not. I looked into this before opting to go multiple static 
IPs at home for my webservers.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading to higher major version directly or via small steps?

2010-10-05 Thread c0re
I can't understand why should I use this adm tool instead of
standard method, described in /usr/src/Makefile.

And it's not an answer to this question:
6.2 to 7.3 is which one of the folowing:
- 6.2-6.4-7.0-7.3
or
- 6.2-7.3 directly?

2010/10/4 Odhiambo Washington odhia...@gmail.com:


 On Mon, Oct 4, 2010 at 4:47 PM, c0re nr1c...@gmail.com wrote:

 Hello all!


 I'm interested in 2 updates:
 - from 6.2 to 7.3
 and
 - from 6.2 to 8.1

 Can I update directly from 6.2 to 7.3? like set RELENG_7_3 in supfile and
 make csup. Or I should update to 6.4, then to 7.0, and then to 7.3?

 And same question about upgrading from 6.2 to 8.1 - can i csup directly to
 8.1? If not - why is it so?


 http://people.freebsd.org/~rse/upgrade/



 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 If you have nothing good to say about someone, just shut up!.
                -- Lucky Dube

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


Re: OT: Apache as reverse SSL proxy

2010-10-05 Thread Adam Vande More
On Tue, Oct 5, 2010 at 1:36 AM, Ryan Coleman ryan.cole...@cwis.biz wrote:


 On Oct 5, 2010, at 12:33 AM, Matthew Seaman wrote:

  Nowadays there is also the possibility of RFC2817 -- in essence you
  start an ordinary HTTP session, then issue a STARTTLS command and
  upgrade the connection to encrypted.  This will allow name-based virtual
  hosting with TLS to work as intended.  Unfortunately, last I checked,
  while apache supports this, most web browsers do not.

 Throwing just my two bits in: Apache supports it, as does Firefox, and
 nothing else (maybe Safari does...).

 IE definitely does not. I looked into this before opting to go multiple
 static IPs at home for my
 webservers.___


IE 7+ does however support RFC 3546(SNI), which is the defacto standard for
accomplishing SSL name based vhosts.
http://en.wikipedia.org/wiki/Server_Name_Indication

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading to higher major version directly or via small steps?

2010-10-05 Thread b. f.
I can't understand why should I use this adm tool instead of
standard method, described in /usr/src/Makefile.

List subscribers generally ask that those sending messages to the list
place their replies below quoted material, rather than above it.

If you read /usr/src/UPDATING, you will see:

To rebuild everything and install it on the current system.
---
 # Note: sometimes if you are running current you gotta do more than
# is listed here if you are upgrading from a really old current.

This same statement is valid with regard to releases, and the -STABLE
branches.  Engelschall's adm toolkit and associated scripts attempt to
do more than is listed here, as Engelschall described clearly at the
link that Washington gave you,

http://people.freebsd.org/~rse/upgrade/

'for upgrading from X-STABLE to (X+1)-STABLE ... the usual build and
install everything from source does not work or at least requires
additional preparations.'  I would qualify that does not work with a
sometimes.  Of course you don't have to use this stuff, but you may
want to at least look through his scripts, to see if some of the steps
are applicable to your machines.  In any event, before you attempt a
major upgrade, you should back up your data, so that it will not be
lost if something goes wrong.  Also, you may want to consider simply
wiping your disks and starting afresh with new binary installation,
rather than attempting to upgrade directly.  Sometimes that is easier.
 You can always customize it later.

And it's not an answer to this question:
6.2 to 7.3 is which one of the folowing:
- 6.2-6.4-7.0-7.3
or
- 6.2-7.3 directly?

See below.

2010/10/4 Odhiambo Washington odhiambo at gmail.com:


 On Mon, Oct 4, 2010 at 4:47 PM, c0re nr1c0re at gmail.com wrote:
...
 I'm interested in 2 updates:
 - from 6.2 to 7.3
 and
 - from 6.2 to 8.1

 Can I update directly from 6.2 to 7.3? like set RELENG_7_3 in supfile and
 make csup. Or I should update to 6.4, then to 7.0, and then to 7.3?

 And same question about upgrading from 6.2 to 8.1 - can i csup directly to
 8.1? If not - why is it so?


You might as well do both updates in just one step.  You probably
won't gain much by breaking it up into smaller steps, and that will
take longer.  It may be quicker and safer just to start with a new src
collection, obtained via csup, svn, release media, or tarballs, rather
than attempting to bring a very old src collection up to date.

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


Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE-p1 with XFCE packages released

2010-10-05 Thread Patrick Lamaiziere
Le Sat, 02 Oct 2010 21:26:26 +0300,
Manolis Kiagias son...@otenet.gr a écrit :

Hello,

 This release is based on the latest XFCE desktop and includes a wide
 variety of desktop-related packages, like OpenOffice, abiword,
 gnumeric, firefox35, gimp, inkscape, evince and so on. The base
 system is 8.1-RELEASE. A few other small window managers are included
 like windowmaker and fluxbox.  Note this release does not include
 editors/zim and x11-wm/icewm due to build problems.

Which print system is used by the packages, cups or lpr?

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


Re: OT: Apache as reverse SSL proxy

2010-10-05 Thread Ryan Coleman

On Oct 5, 2010, at 2:05 AM, Adam Vande More wrote:

 On Tue, Oct 5, 2010 at 1:36 AM, Ryan Coleman ryan.cole...@cwis.biz wrote:
 
 
 On Oct 5, 2010, at 12:33 AM, Matthew Seaman wrote:
 
 Nowadays there is also the possibility of RFC2817 -- in essence you
 start an ordinary HTTP session, then issue a STARTTLS command and
 upgrade the connection to encrypted.  This will allow name-based virtual
 hosting with TLS to work as intended.  Unfortunately, last I checked,
 while apache supports this, most web browsers do not.
 
 Throwing just my two bits in: Apache supports it, as does Firefox, and
 nothing else (maybe Safari does...).
 
 IE definitely does not. I looked into this before opting to go multiple
 static IPs at home for my
 webservers.___
 
 
 IE 7+ does however support RFC 3546(SNI), which is the defacto standard for
 accomplishing SSL name based vhosts.
 http://en.wikipedia.org/wiki/Server_Name_Indication

Only in Vista and later versions of Windows; Not XP. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


XFCE 4.6.2 : Thunar 1.0.2 always reloads files under /usr/home/user

2010-10-05 Thread Alexandre
Hi,

On my laptop under 8.1-RELEASE, I have installed XFCE 4.6.2 meta port last
week, and I have noticed anything strange. When I open Thunar, my home
directory is opened. But Thunar seems to reload and access to a few text
files and hidden files and directories (.gvfs, .cshrc...) in my home. I can
see that because the access time is increasing every second. And the mouse
pointer change continually from arrow to hourglass.
At the begining, I thought that there was my text files at the root of my
home that were problematic, but I have moved them to another directory under
my home, and the problem I always here.
At this moment, I noticed that Thunar access to hidden files and
directories.
I don't think that it is a rights problem because I have given full access
(777) to a text file that is concerned by this, and this has not resolved
the problem.

If I screen another directory, even under my home directory (/home/dir1 for
example), the problem disappears. But when I screen my root's home
(/home/Alexandre) the problem reappears.

I previously installed Gnome 2.30 and I haven't noticed that problem under
Nautilus. I uninstalled Gnome but keep some Gnome tools like Brasero,
Nautilus or Power Management Tools.
I haven't mounted any USB device, or NFS directory.

Here my configuration options for Thunar :
DBUS=on (default) Enable D-BUS support
JPEG=on (default) Enable JPEG support
FAM=on (default) Enable FAM support
HAL=on (default) Enable HAL support
GCONF=off (default) Enable GCONF support
STARTUP=on (default) Enable startup notification support
PLUG_APR=on (default) Thunar Advanced Properties plugin
PLUG_APR_EXIF=off (default) Exif support for the APR plugin
PLUG_SBR=on (default) Thunar Simple Builtin Renamers plugin
PLUG_SBR_PCRE=off (default) Regular expression support for the SBR plugin
PLUG_TPA=on (default) Thunar Trash Panel Applet plugin
PLUG_UCA=on (default) Thunar User Customizable Actions plugin
PLUG_WALL=on (default) Thunar Wallpaper plugin

Best Regards,
Alexandre
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Global Security Solutions October Newsletter

2010-10-05 Thread Global Security Solutions
Global Security Solutions October Newsletter

( http://www.global-securitysolutions.com/ )

Latest Security News:

Background employment screening decreases (
http://www.global-securitysolutions.com/news/26-security-news/49-background-employment-screening-decreases.html
 )

solar power for security equipment ( 
http://www.global-securitysolutions.com/news/26-security-news/55-solar-power-for-security-equipment.html
 )

Identity Theft - OpenID and Web Security (
http://www.global-securitysolutions.com/news/26-security-news/62-identity-theft-openid-and-web-security.html
 )

Canadian Biometric I.D. Proposals Spark Concern (
http://www.global-securitysolutions.com/news/26-security-news/70-canadian-biometric-id-proposals-spark-concern.html
 )

Researchers develop malware detection for hypervisor security (
http://www.global-securitysolutions.com/news/27-internet-security/75-researchers-develop-malware-detection-for-hypervisor-security.html
 )

New Companies:

Urmet Domus ( http://www.global-securitysolutions.com/urmet-domus-uk.html ) 
 Mayflex ( http://www.global-securitysolutions.com/mayflex.html )
Detection security Systems Ltd ( 
http://www.global-securitysolutions.com/detection-security-systems-ltd3.html )
3DX-Ray Systems ( 
http://www.global-securitysolutions.com/3dx-ray-ltd-x-ray-systems-and-screening.html
 )
L3 Communications ( 
http://www.global-securitysolutions.com/l3-security-and-detection-systems.html )
East Anglia Guards Ltd ( 
http://www.global-securitysolutions.com/east-anglia-guards-ltd.html )
RapidVu ( http://www.global-securitysolutions.com/rapidvu.html )
IDM Ltd ( 
http://www.global-securitysolutions.com/investigative-data-mining-ltd-fraud-and-risk-management.html
 )
Digital Security Controls ( 
http://www.global-securitysolutions.com/dsc.html?layout=item )
Xumo Security AB ( 
http://www.global-securitysolutions.com/xumo-security-ab2.html )

( http://www.global-securitysolutions.com/exhibitions.html )

( http://www.global-securitysolutions.com/rapidvu.html ) 

Featured Articles:

Portable x-ray inspection - enabling improved security in challenging scenarios 
(
http://www.global-securitysolutions.com/3dx-ray-ltd-x-ray-systems-and-screening/portable-x-ray-inspection-enabling-improved-security-in-challenging-scenarios.html
)

X-ray scanning: optimising systems for security services (
http://www.global-securitysolutions.com/3dx-ray-ltd-x-ray-systems-and-screening/x-ray-scanning-optimising-systems-for-security-services.html
 )

IPervoice technology breaks new ground... ( 
http://www.global-securitysolutions.com/urmet-domus-uk/ipervoice-technology-breaks-new-ground.html
 )

V-Steel Panels, cost-effective solutions to door entry 

Urmet Engineering - The engine of a dynamic group

Mayflex – The Raytec IP Specialist ( 
http://www.global-securitysolutions.com/mayflex/mayflex--the-raytec-ip-specialist.html
 )

Free Courses from Mayflex ( 
http://www.global-securitysolutions.com/mayflex/free-courses-from-mayflex.html )

Manned Guarding Services and Mobile Patrols

Alexor Wireless Panel provides complete security

Xumo 3 Portable and/or Permanent Alarm System (
http://www.global-securitysolutions.com/xumo-security-ab/xumo-3-portable-andor-permanent-alarm-system.html
 )

PC Login Vein ID Systems ( 
http://www.global-securitysolutions.com/hitachi/pc-login.html )

Access Control: Easydentic vein id systems ( 
http://www.global-securitysolutions.com/hitachi/access-control-easidentic.html )

Global Security Solutions ( http://www.global-securitysolutions.com/ )
12 Somerville Park
Willand, Devon, EX15 2PB
Tel: 01884 829 031
Email: newslet...@global-securitysolutions.com 

Copyright (C) 2010 *|Global Security Solutions|* All rights reserved.
Unsubscribe (
http://www.global-securitysolutions.com/index.php?option=com_acymailingctrl=usertask=unsubmailid=9subid=2005key=0aa46b087706adb6a760e9c326b2accd
)

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


Raid 5 questions

2010-10-05 Thread Aron Szabo

 Hi!

I have a raid problem ... one of the subdisk is missing and i can't 
mount my partition.


FreeBSD testhost 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 
UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


# gvinum printconfig
# Vinum configuration of aladar.mzperx.hu, saved at Tue Oct  5 13:06:57 2010
drive disk1 device /dev/ad4s2
drive disk2 device /dev/ad6s2
drive disk3 device /dev/ad8s2
volume user
plex name user.p0 org raid5 512s vol user
sd name user.p0.s1 drive disk2 len 1869638656s driveoffset 265s plex 
user.p0 plexoffset 512s
sd name user.p0.s2 drive disk3 len 1869638656s driveoffset 265s plex 
user.p0 plexoffset 1024s


# gvinum l
3 drives:
D disk1 State: up/dev/ad4s2A: 912909/912909 MB 
(100%)

D disk2 State: up/dev/ad6s2A: 0/912909 MB (0%)
D disk3 State: up/dev/ad8s2A: 0/912909 MB (0%)

1 volume:
V user  State: upPlexes:   1Size:891 GB

1 plex:
P user.p0R5 State: upSubdisks: 2Size:891 GB

2 subdisks:
S user.p0.s1State: upD: disk2Size:891 GB
S user.p0.s2State: upD: disk3Size:891 GB


How can I re-add  my disk ?

Thanks!

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


Custom rc script using /usr/sbin/daemon

2010-10-05 Thread Eric Masson
Hello,

I'm trying to create a script that would launch php-cgi in fastcgi mode.
So far, I've the following script :

#!/bin/sh
#
# PROVIDE: phpfastcgi
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable phpfastcgi :
#
# phpfastcgi_enable (bool): Set it to YES to enable
phpfastcgi
#   Default is NO.
# phpfastcgi_flags (str):   Set the uwsgi command line
arguments
#   Default is -M -L.

. /etc/rc.subr

name=phpfastcgi
rcvar=`set_rcvar`

[ -z $phpfastcgi_enable ]   phpfastcgi_enable=NO
[ -z $phpfastcgi_flags ]   phpfastcgi_flags=

load_rc_config $name

sig_stop=TERM
pidfile=/var/run/${name}/${name}.pid
command=/usr/sbin/daemon -f -p ${pidfile} /usr/local/bin/php-cgi

run_rc_command $1

When invoked with start argument, it barfs at me but launches php-cgi as
expected :
e...@srvbsdfenssv:~ sudo /usr/local/etc/rc.d/phpfastcgi start
/usr/local/etc/rc.d/phpfastcgi: WARNING: no shebang line in /usr/sbin/daemon
[: /usr/sbin/daemon: unexpected operator
Starting phpfastcgi.

When invoked with stop argument, it errors and doesn't stop the process
as expected :
e...@srvbsdfenssv:~ sudo /usr/local/etc/rc.d/phpfastcgi stop
/usr/local/etc/rc.d/phpfastcgi: WARNING: no shebang line in /usr/sbin/daemon
phpfastcgi not running? (check /var/run/phpfastcgi/phpfastcgi.pid).

From a quick peek at /etc/rc.subr, it seems that messages regarding
lack of shebang line in /usr/sbin/daemon indicate something is wrong in
my script but atm, I can't figure it.

Any idea, anyone ?

Kind Regards

Éric Masson

-- 
 RJ j'ai eu des cookies sur mon HD et j'ai un peu peur des représailles
 Il faut reformater ton disque dur et le jetter depuis le 3e étage de la
 tour Eiffel pour le détruire irrémédiablement sans laisser de traces.
 -+- LP in http://www.le-gnu.net : Par ici ou parano c'est pareil -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Carmel
On Tue, 5 Oct 2010 01:44:17 +0200
Gonzalo Nemmi gne...@gmail.com articulated:

 On Mon, Oct 4, 2010 at 6:11 AM, Leandro F Silva
 fsilvalean...@gmail.com wrote:
  Hi guys,
 
  Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
  Also, can you tell us the hardware, Sony / HP etc..
 
  Thank you !
 
 Linux Mandriva 2010 on my notebook (Dell 1318) and Mandriva 2010.1 on
 my netbook (Compaq mini CQ10-120LA) ...
 
 I need ACPI to work as expected and no BSD can give me that, and the
 same goes for wireless cards support .. forget bout bluetotth ...
 besides, dumping a Linux .iso image in a USB stick to give it a go on
 my notebook/netbook to try it out before installing was incredibly
 more easy than doing so with BSD images as most major Linux
 distributions provide Win/Linux GUI tools to do so (The Mandriva tool
 will ask you to select an .iso image and a USB ... point, click, you
 are done ... Fedoras tool will even allow you to create a a separate
 partition on the same USB device to store your files should you choose
 not to install the OS).
 
 Linux (as much as I don´t like it) is years ahead of BSD´s in that
 regards ...
 
 And, oh yeah .. native UTF-8 tty´s and KVM make a huge difference.
 
 FreeBSD has been relegated to my desktop (which I have come to use
 only ocassionally, and servers).
 
 Best Regards
 Gonzalo Nemmi

I have been tooling around with FreeBSD for a year or so now and I find
it incredible that there is virtually no support for modern hardware;
i.e., drivers for 'N' protocol devices. That one factor alone, and there
are others, precludes me from seriously thinking about installing
FreeBSD on a new laptop. The one PC that I have FreeBSD installed on is
connected via Ethernet cable to my LAN. Once that PC is replaced by
year's end with a more powerful, and wireless enabled unit, I am afraid
my experiment with FreeBSD will come to a close. At present it
certainly will not support the wireless card installed, and I am not
even sure if it will support all of the other hardware either.

I realize that at this point someone will inevitably chime in and play
the blame the manufacturers whine. If that were factually correct,
then no one else would be able to supply drivers and support for
hardware that FreeBSD has left orphaned.

The bottom line is that FreeBSD, if it is to continue to be considered
a viable alternative operating system, must stay current in today's
market. Many posts that I have viewed on other forums seem to feel that
FreeBSD is sadly, whether do to bad choices such as those related to GPL
licenses, or failure to properly gage today's market trends, is slipping
into an abyss.

-- 
Carmel ✌
carmel...@hotmail.com

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


Is /boot updated by make installkernel or by make installworld ?

2010-10-05 Thread Matt Thyer
Background

I'm running a ZFS FreeBSD-STABLE system on Western Digital 2TB EARS models
green drives.
These are the so called Advanced Format Drives that use a 4KiB block size
internally but lie about this to the operating system and claim to use 512
byte blocks.
This causes all sorts of performance issues so after some experimentation I
ended up creating my ZFS pool directly on gnop 4KiB block size devices on
top of the raw disks themselves.
To avoid having to run a separate boot disk, I've used a work around of a
1GB USB stick which contains just /boot with the /boot/kernel directory
containing only kernel, opensolaris.ko, zfs.ko  aio.ko (for samba
3.4 using async I/O).  This requires only 14MB on the USB stick and boots
nicely with the USB /boot/loader.conf telling the kernel to mount root from
the ZFS pool.
P.S. Don't forget to use DOS wdidle3 to increase the 8 second head parking
timeout up to 5 minutes with these drives.


Now how to update the system ?

My update world script follows the recommended procedure in the source
Makefiles for updating the system and does an install kernel before
rebooting into single user mode to install the new world (via an /etc/rc.d/
script).

So my question relates to when I should update my USB stick's /boot
directory.

I'm assuming that the /boot directory should be owned by the kernel and
could be updated by a make installkernel (which is what I do after
building the world but before my reboot into single user to install the
world).

Is my assumption correct ?
i.e. does a make installkernel replace the contents of /boot ?

or is /boot updated by a make installworld ?


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


Re: How can I know how many packets were lost and resent on particular TCP connection?

2010-10-05 Thread Bill Moran
In response to Yuri y...@rawbw.com:

 Just curious if I can do this.

netstat -s gives you system-wide stats.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom rc script using /usr/sbin/daemon

2010-10-05 Thread RW
On Tue, 05 Oct 2010 13:18:38 +0200
Eric Masson e...@free.fr wrote:

 Hello,
 
 I'm trying to create a script that would launch php-cgi in fastcgi
 mode. So far, I've the following script :
 
...

 sig_stop=TERM
 pidfile=/var/run/${name}/${name}.pid
 command=/usr/sbin/daemon -f -p ${pidfile} /usr/local/bin/php-cgi

I don't think you can do it like that. IIRC when you try to stop a
daemon it doesn't just kill the process by pid, it also sanity checks
the command in case the daemon has died and the pid was reused.
Since daemon wont show-up in the ps output it can't be in the command
variable.

I think you need to write a start function, something like this:


start_cmd=phpfastcgi_start
command=/usr/local/bin/php-cgi

phpfastcgi_start(){  
echo starting phpfastcgi.
   /usr/sbin/daemon -f -p ${pidfile} ${command}
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Jon Radel

 On 10/5/10 7:31 AM, Carmel wrote:


I realize that at this point someone will inevitably chime in and play
the blame the manufacturers whine. If that were factually correct,
then no one else would be able to supply drivers and support for
hardware that FreeBSD has left orphaned.

I'm somewhat unclear on how that follows.  Might it not be that many 
manufacturers, busily dealing with Microsoft, and easing into Linux now 
that it has significant mindshare, have simply decided that there's no 
economic benefit to releasing detailed hardware specs in a form that 
works for FreeBSD developers?  I really fail to see why you think the 
fact that the manufacturer itself has released binary drivers for 
Windows, and possibly Linux, and/or released hardware specs under NDA 
(non-disclosure agreement) to certain business partners, has any bearing 
on whether sufficient information to write a driver is available to any 
FreeBSD programmer with permission to use it to write an open source driver.


--

--Jon Radel
j...@radel.com




Re: OT: fdisk

2010-10-05 Thread Robert
On Mon, 4 Oct 2010 07:52:21 -0700
Robert travelin...@cox.net wrote:

 On Mon, 4 Oct 2010 16:32:25 +0200
 Polytropon free...@edvax.de wrote:
 
  On Mon, 4 Oct 2010 07:08:58 -0700, Robert travelin...@cox.net
  wrote:
   I have now a free 1TB drive for use. It is formatted as UFS.
   Should I remove formatting before I dd the 500GB drive to it? 
  
  Not needed, as you're going to use it under the control of FreeBSD.
  After formatting and mounting it, let's say as /mnt, use dd (or
  ddrescue) to first get an 1:1 copy of the source disk.
  
 
 It is being performed even as we speak.

Update

[r...@asus64] ~# dd if=/dev/da1 of=/1tb/disk500.img bs=1m
476940+1 records in
476940+1 records out
500107862016 bytes transferred in 47027.134085 secs (10634453 bytes/sec)

~ 14 hours later here is what I have.

[r...@asus64] ~# ls -l /1tb
total 488625218
drwxrwxr-x  2 root  operator   512 Jan 19  2010 .snap
-rw-r--r--  1 root  wheel 500107862016 Oct  5 01:07 disk500.img
  

[r...@asus64] ~# mdconfig -a -t vnode -u 12 -f /1tb/disk500.img
[r...@asus64] ~# ls -l /dev/md*
crw-r-  1 root  operator0, 129 Oct  4 06:43 /dev/md10
crw-r-  1 root  operator0, 130 Oct  4 06:43 /dev/md10s1
crw-r-  1 root  operator0, 131 Oct  5 05:55 /dev/md12
crw-r-  1 root  operator0, 133 Oct  5 05:55 /dev/md12s1
crw---  1 root  wheel   0,  66 Oct  1 14:43 /dev/mdctl
[r...@asus64] ~# mount_ntfs /dev/md12s1 /mnt
mount_ntfs: /dev/md12s1: Invalid argument
[r...@asus64] ~# mount_ntfs /dev/md12 /mnt
[r...@asus64] ~# ls -l /mnt
total 70044
-rwxr-xr-x  1 root  wheel  2560 Dec 31  1600 $AttrDef
-rwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $BadClus
-rwxr-xr-x  1 root  wheel   4194304 Dec 31  1600 $Bitmap
-rwxr-xr-x  1 root  wheel  8192 Oct  1 09:09 $Boot
drwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $Extend
-rwxr-xr-x  1 root  wheel  67108864 Oct  1 09:09 $LogFile
-rwxr-xr-x  1 root  wheel  4096 Oct  1 09:09 $MFTMirr
-rwxr-xr-x  1 root  wheel 0 Dec 31  1600 $Secure
-rwxr-xr-x  1 root  wheel131072 Oct  1 09:09 $UpCase
-rwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $Volume
-rwxr-xr-x  1 root  wheel 45124 Aug 18  2001 NTDETECT.COM
drwxr-xr-x  1 root  wheel 0 Oct  1 17:29 System Volume
Information 
-rwxr-xr-x  1 root  wheel   193 Oct  1 09:12 boot.ini
-rwxr-xr-x  1 root  wheel222368 Aug 18  2001 ntldr
[r...@asus64] ~# umount /mnt
[r...@asus64] ~# mount /dev/md12s1 /mnt
[r...@asus64] ~# ls -l /mnt
total 0
[r...@asus64] ~# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/label/rootfs989M523M387M57%/
devfs1.0K1.0K  0B   100%/dev
/dev/label/home  9.7G2.0G6.9G22%/home
/dev/label/slice2 56G 53G   -1.4G   103%/slice2
/dev/label/slice3 56G4.0K 52G 0%/slice3
/dev/label/slice4 56G 39G 13G76%/slice4
/dev/label/spare  20G6.0K 18G 0%/spare
/dev/label/tmp   484M 22M423M 5%/tmp
/dev/label/usr20G7.5G 11G40%/usr
/dev/label/var   989M158M752M17%/var
/dev/label/500ext451G153G262G37%/500ext
/dev/label/1tb   902G466G364G56%/1tb
/dev/ad12s1d 226G 59G149G28%/250extra
/dev/md12s1  451G 32G383G 8%/mnt
  ^^^

Everything is exactly the same as when I tried only 60GB. I am now
going to zero the 1TB drive and dd the 500GB drive to it. 
dd if=/dev/da1 of=/dev/ad6 bs=1m
I will then try windows chkdsk on the 1TB drive. 

Thanks to everyone who has added input. If I can get this working I
will summarize what it took to solve this puzzle.

Henry wrote:

And still the wife doesn't suspect?

Of course she knows that the computer died and that I am in the process
of recovering all of her data. I re-installed XP Pro on another
computer and moved what data I did save onto it. She is happy that she
can check email, balance her check book and play on Facebook. :-)

We will be drinking wine tonight.

To be continued.

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


Re: Which OS for notebook

2010-10-05 Thread Mark Blackman

Jon Radel wrote:

I'm somewhat unclear on how that follows.  Might it not be that many
manufacturers, busily dealing with Microsoft, and easing into Linux now
that it has significant mindshare, have simply decided that there's no
economic benefit to releasing detailed hardware specs in a form that
works for FreeBSD developers?  I really fail to see why you think the
fact that the manufacturer itself has released binary drivers for
Windows, and possibly Linux, and/or released hardware specs under NDA
(non-disclosure agreement) to certain business partners, has any bearing
on whether sufficient information to write a driver is available to any
FreeBSD programmer with permission to use it to write an open source
driver.


There's also the whole train of thought that says FreeBSD isn't really
aimed at the desktop/laptop/notebook use model and any benefit in that 
arena is entirely coincidental.



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


Re: OT: fdisk

2010-10-05 Thread Polytropon
On Tue, 5 Oct 2010 06:20:29 -0700, Robert travelin...@cox.net wrote:
 Update
 
 [r...@asus64] ~# dd if=/dev/da1 of=/1tb/disk500.img bs=1m
 476940+1 records in
 476940+1 records out
 500107862016 bytes transferred in 47027.134085 secs (10634453 bytes/sec)
 
 ~ 14 hours later here is what I have.
 
 [r...@asus64] ~# ls -l /1tb
 total 488625218
 drwxrwxr-x  2 root  operator   512 Jan 19  2010 .snap
 -rw-r--r--  1 root  wheel 500107862016 Oct  5 01:07 disk500.img
   

You got a copy of the entire disk. This is GOOD as you're not
missing something important.



 [r...@asus64] ~# mdconfig -a -t vnode -u 12 -f /1tb/disk500.img
 [r...@asus64] ~# ls -l /dev/md*
 crw-r-  1 root  operator0, 129 Oct  4 06:43 /dev/md10
 crw-r-  1 root  operator0, 130 Oct  4 06:43 /dev/md10s1
 crw-r-  1 root  operator0, 131 Oct  5 05:55 /dev/md12
 crw-r-  1 root  operator0, 133 Oct  5 05:55 /dev/md12s1
 crw---  1 root  wheel   0,  66 Oct  1 14:43 /dev/mdctl

Erm... erm erm erm!!! After using a md file that is connected to
an image file, and you purge the image file, destroy the md file.
Use mdconfig -d -u 10 for unit 10, for example. See details in
man mdconfig.



 [r...@asus64] ~# mount_ntfs /dev/md12s1 /mnt
 mount_ntfs: /dev/md12s1: Invalid argument

This is the 1st primary partition with NTFS content, this one
can't be mounted.



 [r...@asus64] ~# mount_ntfs /dev/md12 /mnt
 [r...@asus64] ~# ls -l /mnt
 total 70044
 -rwxr-xr-x  1 root  wheel  2560 Dec 31  1600 $AttrDef
 -rwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $BadClus
 -rwxr-xr-x  1 root  wheel   4194304 Dec 31  1600 $Bitmap
 -rwxr-xr-x  1 root  wheel  8192 Oct  1 09:09 $Boot
 drwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $Extend
 -rwxr-xr-x  1 root  wheel  67108864 Oct  1 09:09 $LogFile
 -rwxr-xr-x  1 root  wheel  4096 Oct  1 09:09 $MFTMirr
 -rwxr-xr-x  1 root  wheel 0 Dec 31  1600 $Secure
 -rwxr-xr-x  1 root  wheel131072 Oct  1 09:09 $UpCase
 -rwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $Volume
 -rwxr-xr-x  1 root  wheel 45124 Aug 18  2001 NTDETECT.COM
 drwxr-xr-x  1 root  wheel 0 Oct  1 17:29 System Volume
 Information 
 -rwxr-xr-x  1 root  wheel   193 Oct  1 09:12 boot.ini
 -rwxr-xr-x  1 root  wheel222368 Aug 18  2001 ntldr
 [r...@asus64] ~# umount /mnt

This is the second NTFS volume, can be mounted.



 [r...@asus64] ~# mount /dev/md12s1 /mnt

Why can the first one NOW be mounted???



 [r...@asus64] ~# ls -l /mnt
 total 0
 [r...@asus64] ~# df -h
 Filesystem   SizeUsed   Avail Capacity  Mounted on
 /dev/label/rootfs989M523M387M57%/
 devfs1.0K1.0K  0B   100%/dev
 /dev/label/home  9.7G2.0G6.9G22%/home
 /dev/label/slice2 56G 53G   -1.4G   103%/slice2
 /dev/label/slice3 56G4.0K 52G 0%/slice3
 /dev/label/slice4 56G 39G 13G76%/slice4
 /dev/label/spare  20G6.0K 18G 0%/spare
 /dev/label/tmp   484M 22M423M 5%/tmp
 /dev/label/usr20G7.5G 11G40%/usr
 /dev/label/var   989M158M752M17%/var
 /dev/label/500ext451G153G262G37%/500ext
 /dev/label/1tb   902G466G364G56%/1tb
 /dev/ad12s1d 226G 59G149G28%/250extra
 /dev/md12s1  451G 32G383G 8%/mnt
   ^^^

This looks like missing data. In terms of UFS file system, one
would say that there a inodes not referenced, but still occupied
as they are not marked as being free.

Sadly, I have *zero* knowledge about NTFS to make an interpretation
about what we see here...



 Everything is exactly the same as when I tried only 60GB. I am now
 going to zero the 1TB drive and dd the 500GB drive to it. 
 dd if=/dev/da1 of=/dev/ad6 bs=1m
 I will then try windows chkdsk on the 1TB drive. 

Maybe you need - after this transfer - to write the 512 byte blocks
at the beginning separately (dd if=/dev/da1 of=/dev/ad6 bs=512 count=1)?
Because of MBR and such?



 Thanks to everyone who has added input. If I can get this working I
 will summarize what it took to solve this puzzle.

Good luck!



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Jonathan McKeown
On Tuesday 05 October 2010 13:31:08 Carmel wrote:

 I have been tooling around with FreeBSD for a year or so now and I find
 it incredible that there is virtually no support for modern hardware;
 i.e., drivers for 'N' protocol devices. That one factor alone, and there
 are others, precludes me from seriously thinking about installing
 FreeBSD on a new laptop. The one PC that I have FreeBSD installed on is
 connected via Ethernet cable to my LAN. Once that PC is replaced by
 year's end with a more powerful, and wireless enabled unit, I am afraid
 my experiment with FreeBSD will come to a close. At present it
 certainly will not support the wireless card installed, and I am not
 even sure if it will support all of the other hardware either.

 I realize that at this point someone will inevitably chime in and play
 the blame the manufacturers whine. If that were factually correct,
 then no one else would be able to supply drivers and support for
 hardware that FreeBSD has left orphaned.

 The bottom line is that FreeBSD, if it is to continue to be considered
 a viable alternative operating system, must stay current in today's
 market. Many posts that I have viewed on other forums seem to feel that
 FreeBSD is sadly, whether do to bad choices such as those related to GPL
 licenses, or failure to properly gage today's market trends, is slipping
 into an abyss.

So. What's the connection between freebsd.u...@seibercom.net, 
carmel...@hotmail.com and ges...@yahoo.com, who all post through 
scorpio.seibercom.net, and who all have remarkably similar views on why 
FreeBSD is a pile of rubbish?

And in terms of keeping my killfile reasonably effective, is there any easy 
way to filter out /all/ the sockpuppets at once? Or do I just need to keep 
adding them one at a time?

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


Re: Which OS for notebook

2010-10-05 Thread Pierre-Luc Drouin
Well, according to me FreeBSD works very well on desktops (except for CUDA),
but I agree that its usage is extremely limited for laptops and netbooks. If
I can't use ACPI or wireless on my laptop/netbook, I don't really see the
point... Over the past 6 years I have tried many times to use FreeBSD on my
laptops/netbooks but these problems always made me fall back to Linux... I
still use FreeBSD as the only OS on my desktop computers though...

On Tue, Oct 5, 2010 at 9:31 AM, Jonathan McKeown j.mcke...@ru.ac.za wrote:

 On Tuesday 05 October 2010 13:31:08 Carmel wrote:

  I have been tooling around with FreeBSD for a year or so now and I find
  it incredible that there is virtually no support for modern hardware;
  i.e., drivers for 'N' protocol devices. That one factor alone, and there
  are others, precludes me from seriously thinking about installing
  FreeBSD on a new laptop. The one PC that I have FreeBSD installed on is
  connected via Ethernet cable to my LAN. Once that PC is replaced by
  year's end with a more powerful, and wireless enabled unit, I am afraid
  my experiment with FreeBSD will come to a close. At present it
  certainly will not support the wireless card installed, and I am not
  even sure if it will support all of the other hardware either.
 
  I realize that at this point someone will inevitably chime in and play
  the blame the manufacturers whine. If that were factually correct,
  then no one else would be able to supply drivers and support for
  hardware that FreeBSD has left orphaned.
 
  The bottom line is that FreeBSD, if it is to continue to be considered
  a viable alternative operating system, must stay current in today's
  market. Many posts that I have viewed on other forums seem to feel that
  FreeBSD is sadly, whether do to bad choices such as those related to GPL
  licenses, or failure to properly gage today's market trends, is slipping
  into an abyss.

 So. What's the connection between freebsd.u...@seibercom.net,
 carmel...@hotmail.com and ges...@yahoo.com, who all post through
 scorpio.seibercom.net, and who all have remarkably similar views on why
 FreeBSD is a pile of rubbish?

 And in terms of keeping my killfile reasonably effective, is there any easy
 way to filter out /all/ the sockpuppets at once? Or do I just need to keep
 adding them one at a time?

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

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


Re: OT: fdisk

2010-10-05 Thread Robert
On Tue, 5 Oct 2010 15:34:41 +0200
Polytropon free...@edvax.de wrote:

 On Tue, 5 Oct 2010 06:20:29 -0700, Robert travelin...@cox.net wrote:
  Update
  
  [r...@asus64] ~# dd if=/dev/da1 of=/1tb/disk500.img bs=1m
  476940+1 records in
  476940+1 records out
  500107862016 bytes transferred in 47027.134085 secs (10634453
  bytes/sec)
  
  ~ 14 hours later here is what I have.
  
  [r...@asus64] ~# ls -l /1tb
  total 488625218
  drwxrwxr-x  2 root  operator   512 Jan 19  2010 .snap
  -rw-r--r--  1 root  wheel 500107862016 Oct  5 01:07 disk500.img

 
 You got a copy of the entire disk. This is GOOD as you're not
 missing something important.
 
 
 
  [r...@asus64] ~# mdconfig -a -t vnode -u 12 -f /1tb/disk500.img
  [r...@asus64] ~# ls -l /dev/md*
  crw-r-  1 root  operator0, 129 Oct  4 06:43 /dev/md10
  crw-r-  1 root  operator0, 130 Oct  4 06:43 /dev/md10s1
  crw-r-  1 root  operator0, 131 Oct  5 05:55 /dev/md12
  crw-r-  1 root  operator0, 133 Oct  5 05:55 /dev/md12s1
  crw---  1 root  wheel   0,  66 Oct  1 14:43 /dev/mdctl
 
 Erm... erm erm erm!!! After using a md file that is connected to
 an image file, and you purge the image file, destroy the md file.
 Use mdconfig -d -u 10 for unit 10, for example. See details in
 man mdconfig.
 
 
 
  [r...@asus64] ~# mount_ntfs /dev/md12s1 /mnt
  mount_ntfs: /dev/md12s1: Invalid argument
 
 This is the 1st primary partition with NTFS content, this one
 can't be mounted.

As ntfs.

 
 
 
  [r...@asus64] ~# mount_ntfs /dev/md12 /mnt
  [r...@asus64] ~# ls -l /mnt
  total 70044
  -rwxr-xr-x  1 root  wheel  2560 Dec 31  1600 $AttrDef
  -rwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $BadClus
  -rwxr-xr-x  1 root  wheel   4194304 Dec 31  1600 $Bitmap
  -rwxr-xr-x  1 root  wheel  8192 Oct  1 09:09 $Boot
  drwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $Extend
  -rwxr-xr-x  1 root  wheel  67108864 Oct  1 09:09 $LogFile
  -rwxr-xr-x  1 root  wheel  4096 Oct  1 09:09 $MFTMirr
  -rwxr-xr-x  1 root  wheel 0 Dec 31  1600 $Secure
  -rwxr-xr-x  1 root  wheel131072 Oct  1 09:09 $UpCase
  -rwxr-xr-x  1 root  wheel 0 Oct  1 09:09 $Volume
  -rwxr-xr-x  1 root  wheel 45124 Aug 18  2001 NTDETECT.COM
  drwxr-xr-x  1 root  wheel 0 Oct  1 17:29 System Volume
  Information 
  -rwxr-xr-x  1 root  wheel   193 Oct  1 09:12 boot.ini
  -rwxr-xr-x  1 root  wheel222368 Aug 18  2001 ntldr
  [r...@asus64] ~# umount /mnt
 
 This is the second NTFS volume, can be mounted.

Without any of the data.

 
 
 
  [r...@asus64] ~# mount /dev/md12s1 /mnt
 
 Why can the first one NOW be mounted???

As ufs
 
 
 
  [r...@asus64] ~# ls -l /mnt
  total 0
  [r...@asus64] ~# df -h
  Filesystem   SizeUsed   Avail Capacity  Mounted on
  /dev/label/rootfs989M523M387M57%/
  devfs1.0K1.0K  0B   100%/dev
  /dev/label/home  9.7G2.0G6.9G22%/home
  /dev/label/slice2 56G 53G   -1.4G   103%/slice2
  /dev/label/slice3 56G4.0K 52G 0%/slice3
  /dev/label/slice4 56G 39G 13G76%/slice4
  /dev/label/spare  20G6.0K 18G 0%/spare
  /dev/label/tmp   484M 22M423M 5%/tmp
  /dev/label/usr20G7.5G 11G40%/usr
  /dev/label/var   989M158M752M17%/var
  /dev/label/500ext451G153G262G37%/500ext
  /dev/label/1tb   902G466G364G56%/1tb
  /dev/ad12s1d 226G 59G149G28%/250extra
  /dev/md12s1  451G 32G383G 8%/mnt
^^^
 
 This looks like missing data. In terms of UFS file system, one
 would say that there a inodes not referenced, but still occupied
 as they are not marked as being free.
 
 Sadly, I have *zero* knowledge about NTFS to make an interpretation
 about what we see here...

 
 Good luck!

Thanks for that :-)

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


Re: Which OS for notebook

2010-10-05 Thread Jonathan McKeown
On Tuesday 05 October 2010 15:47:36 Pierre-Luc Drouin wrote:
 On Tue, Oct 5, 2010 at 9:31 AM, Jonathan McKeown j.mcke...@ru.ac.za wrote:
  On Tuesday 05 October 2010 13:31:08 Carmel wrote:
   I have been tooling around with FreeBSD for a year or so now and I find
   it incredible that there is virtually no support for modern hardware;
   i.e., drivers for 'N' protocol devices.
[snip]
   I realize that at this point someone will inevitably chime in and play
   the blame the manufacturers whine. If that were factually correct,
   then no one else would be able to supply drivers and support for
   hardware that FreeBSD has left orphaned.
 
  So. What's the connection between freebsd.u...@seibercom.net,
  carmel...@hotmail.com and ges...@yahoo.com, who all post through
  scorpio.seibercom.net, and who all have remarkably similar views on why
  FreeBSD is a pile of rubbish?
 
  And in terms of keeping my killfile reasonably effective, is there any
  easy way to filter out /all/ the sockpuppets at once? Or do I just need
  to keep adding them one at a time?
 
 Well, according to me FreeBSD works very well on desktops (except for
 CUDA), but I agree that its usage is extremely limited for laptops and
 netbooks. If I can't use ACPI or wireless on my laptop/netbook, I don't
 really see the point... Over the past 6 years I have tried many times to
 use FreeBSD on my laptops/netbooks but these problems always made me fall
 back to Linux... I still use FreeBSD as the only OS on my desktop computers
 though...

I'm not disputing that there are things not supported on/by FreeBSD that it 
would be nice to see working. I'm just getting bored with hearing very 
similar whinges, posted from multiple email addresses but apparently all from 
the same person: look at

http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209946.html

and then

http://lists.freebsd.org/pipermail/freebsd-questions/2009-December/209966.html

Both messages are sent from carmel_ny at hotmail.com. They have the identical 
ascii-art flag in the sigblock. One is signed Carmel (carmel at hotmail.com), 
the other Jerry (gesbbb at yahoo.com).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: Apache as reverse SSL proxy

2010-10-05 Thread Doug Poland
On Tue, Oct 05, 2010 at 02:32:11AM -0500, Ryan Coleman wrote:
 
 On Oct 5, 2010, at 2:05 AM, Adam Vande More wrote:
 
  On Tue, Oct 5, 2010 at 1:36 AM, Ryan Coleman ryan.cole...@cwis.biz wrote:
  
  On Oct 5, 2010, at 12:33 AM, Matthew Seaman wrote:
  
  Nowadays there is also the possibility of RFC2817 -- in essence
  you start an ordinary HTTP session, then issue a STARTTLS command
  and upgrade the connection to encrypted.  This will allow
  name-based virtual hosting with TLS to work as intended.
  Unfortunately, last I checked, while apache supports this, most
  web browsers do not.
  
  Throwing just my two bits in: Apache supports it, as does Firefox,
  and nothing else (maybe Safari does...).
  
  IE definitely does not. I looked into this before opting to go
  multiple static IPs at home for my webservers.
  
  
  IE 7+ does however support RFC 3546(SNI), which is the defacto
  standard for accomplishing SSL name based vhosts.
  http://en.wikipedia.org/wiki/Server_Name_Indication
 

Thanks all for the confirmation and information on apache, vhosts,
HTTPS, and reverse proxying.  In my situation, the clients are custom
written applications on embedded systems.  I don't know much about their
ability to conform with the latest RFC's but my guess is they will not.



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


Re: Which OS for notebook

2010-10-05 Thread Jerry
On Tue, 5 Oct 2010 15:31:48 +0200
Jonathan McKeown j.mcke...@ru.ac.za articulated:

 So. What's the connection between freebsd.u...@seibercom.net, 
 carmel...@hotmail.com and ges...@yahoo.com, who all post through 
 scorpio.seibercom.net, and who all have remarkably similar views on
 why FreeBSD is a pile of rubbish?

We all work in the same salt mine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: LibreOffice?

2010-10-05 Thread Paul Schmehl
--On Monday, October 04, 2010 21:50:27 -0700 Caleb Stein caleb.st...@me.com 
wrote:



When can we expect it in the ports?


Sure.  Just submit the port as usual.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson
There are some ideas so wrong that only a very
intelligent person could believe in them. George Orwell

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


Re: Which OS for notebook

2010-10-05 Thread Chad Perrin
On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote:
 
 Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
 Also, can you tell us the hardware, Sony / HP etc..

I'm using FreeBSD on my Lenovo ThinkPad T60.  One of the nice things
about choosing FreeBSD for my laptop OS of choice is that, unlike MS
Windows 7, I do not need to get the latest and greatest hardware to get
acceptable performance.

Of course, there are downsides to my choice, such as the lack of proper
hardware acceleration with an AMD/ATI graphics adapter, but since I have
stopped playing World of Warcraft (any computer game bores me after a
little while), there is little need for that kind of thing.

When deciding what to use, the first thing you need to do is figure out
your needs.  What kind of hardware do you need to support?  How much ACPI
support is enough?  What do you need your software to do?  There is no
OS that does everything better than any other OS.  This applies to
Ubuntu, MS Windows, and FreeBSD (and pretty much everything else, too).

Because my requirements for hardware are reasonably simple, my
requirements for software capabilities take precedent.  As such, out of
the various OSes with which I am comfortable to some degree, I pretty
much get to choose whatever OS I want.  Given my requirements for
software capabilities, FreeBSD is the obvious choice.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpJlLlJ0RLyU.pgp
Description: PGP signature


Re: Which OS for notebook

2010-10-05 Thread Phan Quoc Hien
Hello. I have same question here.
My laptop is HP Pavilion dv4 series,  can run fine on FreeBSD or other
opensource OS?
Thanks!

On Wed, Oct 6, 2010 at 12:18 AM, Chad Perrin per...@apotheon.com wrote:
 On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote:

 Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
 Also, can you tell us the hardware, Sony / HP etc..

 I'm using FreeBSD on my Lenovo ThinkPad T60.  One of the nice things
 about choosing FreeBSD for my laptop OS of choice is that, unlike MS
 Windows 7, I do not need to get the latest and greatest hardware to get
 acceptable performance.

 Of course, there are downsides to my choice, such as the lack of proper
 hardware acceleration with an AMD/ATI graphics adapter, but since I have
 stopped playing World of Warcraft (any computer game bores me after a
 little while), there is little need for that kind of thing.

 When deciding what to use, the first thing you need to do is figure out
 your needs.  What kind of hardware do you need to support?  How much ACPI
 support is enough?  What do you need your software to do?  There is no
 OS that does everything better than any other OS.  This applies to
 Ubuntu, MS Windows, and FreeBSD (and pretty much everything else, too).

 Because my requirements for hardware are reasonably simple, my
 requirements for software capabilities take precedent.  As such, out of
 the various OSes with which I am comfortable to some degree, I pretty
 much get to choose whatever OS I want.  Given my requirements for
 software capabilities, FreeBSD is the obvious choice.

 --
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]




-- 
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Mubeesh ali
just dont choose an acer 5745  or any laptop runnning Insyde BIOS
...from my personal experience (BIOS gets stuck at splash screen after
BSD install)


regards,
Mubeesh
On Mon, Oct 4, 2010 at 4:55 PM, Erich Dollansky
erichfreebsdl...@ovitrap.com wrote:
 Hi,

 On Monday 04 October 2010 12:11:30 Leandro F Silva wrote:

 Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
 Also, can you tell us the hardware, Sony / HP etc..

 there is no general answe
 You must select an individual model first and see then if the hardware is 
 supported.

 I use normally FreeBSD 7 or 8 but I installed Fedora on a single machine as 
 there is no driver for the LAN available in FreeBSD.

 If I remember right, wireless was not a problem there.

 So, choose a model and ask then again.

 Ok, I have FreeBSD 7 running on an older Fujitsu Lifebook. 8.0 gave me 
 problems with USB.

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




-- 
Best  Regards,

Mubeesh Ali.V.M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: concerning flash under freebsd

2010-10-05 Thread Harald Weis
On Wed, Jun 16, 2010 at 03:04:00PM +0200, C. P. Ghost wrote:
 On Wed, Jun 16, 2010 at 12:11 AM, Programmer in Training
 p...@joseph-a-nagy-jr.us wrote:
  I will tell Adobe to provide a FreeBSD-native release, though it would be
  nice to know I won't be the only one. I'm actually going right now to do so.
 
 Good luck with that. Adobe doesn't care about FreeBSD. Never did,
 and probably never will. They don't even care about 64-bit Linux users...
 
 If you absolutely need Flash on FreeBSD, I'd suggest you install
 VirtualBox, and inside VirtualBox a Flash-supported OS, like
 OpenSolaris (that's what I do when I absolutely need Flash support).
 
 It's not the cleanest solution, but at least, I don't have to clutter
 my FreeBSD system with A LOT of Linux dependencies just to
 get a barely working Flash.
 
 -cpghost.

I followed your advice when I discovered your message.
No problem to install the opensolaris guest and the flash player.
Video seems okay, but there is no sound and I cannot find out why.
Needless to say that audio works fine on the host which is still on
8.0-RELEASE-p4 for the time being. I can't imagine that this
could be the reason.

Thank you in advance for any help.
Harald Weis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Erik Ulven
Hi,
I use lenovo thinkpad T400s with freebsd 8.1 amd64 and openbsd 4.8
i386 (snapshot) as dual boot.
I'm extremely satisfied with both hardware and the OS's. The laptop is
light, doesn't heat up as much as the others I've tried and is very
performant.
Wireless works very well with both OS's. suspend/resume works most of
the time with freebsd, and  always with openbsd. built in camera works
with openbsd. Most of the special keys (light, suspend, etc) seems to
work fine with freebsd.

Erik



On Mon, Oct 4, 2010 at 6:11 AM, Leandro F Silva fsilvalean...@gmail.com wrote:
 Hi guys,

 Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
 Also, can you tell us the hardware, Sony / HP etc..

 Thank you !
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
--
mvh. Erik Ulven
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Custom rc script using /usr/sbin/daemon

2010-10-05 Thread Eric Masson
RW rwmailli...@googlemail.com writes:

Hello,

 I don't think you can do it like that. IIRC when you try to stop a
 daemon it doesn't just kill the process by pid, it also sanity checks
 the command in case the daemon has died and the pid was reused.
 Since daemon wont show-up in the ps output it can't be in the command
 variable.

Ok, makes sense.

 I think you need to write a start function, something like this:


 start_cmd=phpfastcgi_start
 command=/usr/local/bin/php-cgi

 phpfastcgi_start(){  
 echo starting phpfastcgi.
/usr/sbin/daemon -f -p ${pidfile} ${command}
 }

Fine, it works much better now.

Thanks a lot 

Kind Regards

Éric Masson

-- 
 je n'ai jamais repondu aux AAD car je pensais qu'on pouvais pas en tant
 que personne qui propose un newgroup...
 -+- A in GNU : C'est quoi un groupe de discussion d'ailleurs ? -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread David Kelly
On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote:
 
 Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
 Also, can you tell us the hardware, Sony / HP etc..

MacOS X 10.6.4. Its solid, supported, and Unix. In general the Unix
things that need to be treated differently between MacOS and FreeBSD are
exactly the sort of things you need to be prepared for for jumping
between any Unix (or Unix clone).

Apple hardware is exceptionally good. Generally run 5 to 8 years before
upgrading. Got my original MacBook Pro in January 2006 and its still
Going strong on the original battery. Its biggest limitation today is its
2GB max memory, but the Intel Core Duo 1.83 GHz CPU is plenty good.

-- 
David Kelly N4HHE, dke...@hiwaay.net

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 freebsd-questions-unsubscr...@freebsd.org


Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE-p1 with XFCE packages released

2010-10-05 Thread Manolis Kiagias
 On 05/10/2010 10:20 π.μ., Patrick Lamaiziere wrote:
 Le Sat, 02 Oct 2010 21:26:26 +0300,
 Manolis Kiagias son...@otenet.gr a écrit :

 Hello,

 This release is based on the latest XFCE desktop and includes a wide
 variety of desktop-related packages, like OpenOffice, abiword,
 gnumeric, firefox35, gimp, inkscape, evince and so on. The base
 system is 8.1-RELEASE. A few other small window managers are included
 like windowmaker and fluxbox.  Note this release does not include
 editors/zim and x11-wm/icewm due to build problems.
 Which print system is used by the packages, cups or lpr?

 Regards.

It is compiled with cups support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Confused about keeping system up to date

2010-10-05 Thread Ed Flecko
Hi folks,
I'm running Production Release 8.1 on a production server.

For a variety of reasons, I've decided to keep my system up to date
via building it from source code.

1.) I want to follow the 8.1 errata branch, which (after rebuilding)
pretty much just applies any released patches, right?

2.) I want the entry in my supfile to read: tag=RELENG_8_1_0 - or
tag=RELENG_8.1_0 ?

3.) As a general rule, the only time you really NEED to update,
rebuild your system, etc., is after there's been a security patch
release, right?

4.) Is RELENG_8_1 the same thing as 8.1-RELEASE ???

5.) If I'm just trying to keep my system up to date as far as applying
security patches, should I just follow the directions in the security
patch notes to apply it, or should I update via cvsup (or csup, etc.)
and rebuild the system? I guess what I'm asking is: when, if ever (?)
should you just apply patches or should you always update, rebuild,
etc.???

Thank you,
Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Confused about keeping system up to date

2010-10-05 Thread Patrick Lamaiziere
Le Tue, 5 Oct 2010 11:55:50 -0700,
Ed Flecko edfle...@gmail.com a écrit :

Hello,

 1.) I want to follow the 8.1 errata branch, which (after rebuilding)
 pretty much just applies any released patches, right?

Yes

 2.) I want the entry in my supfile to read: tag=RELENG_8_1_0 - or
 tag=RELENG_8.1_0 ?

You must use RELENG_8_1 

see http://www.freebsd.org/releng/
RELENG_8_1 is the errata branch for FreeBSD 8.1

RELENG_8_1_0 is the tag for the released FreeBSD 8.1, so without any
patch applied since the release.

 5.) If I'm just trying to keep my system up to date as far as applying
 security patches, should I just follow the directions in the security
 patch notes to apply it, or should I update via cvsup (or csup, etc.)
 and rebuild the system? I guess what I'm asking is: when, if ever (?)
 should you just apply patches or should you always update, rebuild,
 etc.???

You can follow the directions, csup + rebuild + and reinstall all the
system (or just the kernel if the problem is a kernel one), or use
freebsd-update(8) for binary update.

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


Re: Confused about keeping system up to date

2010-10-05 Thread Ed Flecko
Thanks Patrick!

:-)

1.) How do you know if a patch applies just to the kernel? For
example, I'm looking at the security advisory 2010-09-20
FreeBSD-SA-10:08.bzip2 (
http://security.freebsd.org/advisories/FreeBSD-SA-10:08.bzip2.asc ),
but it isn't clear to me if it applies to just the kernel or...???

2.) If the problem IS just related to the kernel, I just do: csup +
make buildkernel + make installkernel, right?

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


Re: Which OS for notebook

2010-10-05 Thread Michel Talon
David Kelly wrote:

 On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote:
  
  Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
  Also, can you tell us the hardware, Sony / HP etc..
 
 MacOS X 10.6.4. Its solid, supported, and Unix. In general the Unix
 things that need to be treated differently between MacOS and FreeBSD are
 exactly the sort of things you need to be prepared for for jumping
 between any Unix (or Unix clone).
 
 Apple hardware is exceptionally good. Generally run 5 to 8 years before
 upgrading. Got my original MacBook Pro in January 2006 and its still
 Going strong on the original battery. Its biggest limitation today is
 its
 2GB max memory, but the Intel Core Duo 1.83 GHz CPU is plenty good.

Here i am using a Sony laptop under Ubuntu (Lucid Lynx). Everything
works perfectly OK, i could not be happier. I have a partition with
FreeBSD 8.1 on this laptop, wireless works but ACPI doesn't at all.  On
desktops i use FreeBSD because it generally works and i like it better.
As for Apple hardware, the experience in our lab is that is is by far
the worst quality of almost all the machines we have. No other brand
(Dell, etc.) has such massive hardware problems (screen failing, cdroms
failing, mobo failing  etc.). Another thing to consider is the ease of
maintaining the software on the machine. My personal opinion is that
Ubuntu (more generally Debian) is light years ahead of FreeBSD in this
domain. I am quite sure you will find vocal people to claim otherwise.




-- 

Michel TALON

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


Re: Confused about keeping system up to date

2010-10-05 Thread Michael Powell
Ed Flecko wrote:

 Hi folks,
 I'm running Production Release 8.1 on a production server.
 
 For a variety of reasons, I've decided to keep my system up to date
 via building it from source code.
 
 1.) I want to follow the 8.1 errata branch, which (after rebuilding)
 pretty much just applies any released patches, right?
 
 2.) I want the entry in my supfile to read: tag=RELENG_8_1_0 - or
 tag=RELENG_8.1_0 ?

tag=RELENG_8_1 is known as the 'security branch' of 8.1-RELEASE. It is 
RELEASE plus security patches. RELEASE itself will never change.
 
 3.) As a general rule, the only time you really NEED to update,
 rebuild your system, etc., is after there's been a security patch
 release, right?

True for RELEASE, not true for tracking -STABLE or -CURRENT as they are 
shifting targets. On production servers I only use RELEASE and only update 
for security updates. 

IMHO the only reason for considering a move from RELEASE to STABLE is if 
there is a specific fix for a very specific issue which had been fixed in -
CURRENT and MFC'd back to STABLE. Don't have the exact issue in the bug 
report - stick with RELEASE. 
 
 4.) Is RELENG_8_1 the same thing as 8.1-RELEASE ???

RELEASE itself is static. RELENG_8_1 is RELEASE plus security patches.
 
 5.) If I'm just trying to keep my system up to date as far as applying
 security patches, should I just follow the directions in the security
 patch notes to apply it, or should I update via cvsup (or csup, etc.)
 and rebuild the system? I guess what I'm asking is: when, if ever (?)
 should you just apply patches or should you always update, rebuild,
 etc.???
 

I read and follow the instructions in the announcement. If the issue is 
located in a userland utility, e.g. non-kernel related, you can apply the 
patch, rebuild/reinstall just that piece of code, and not reboot the system. 
A production system can remain in production. The thing that will be lacking 
is uname will not show the update status such as: 8.1-RELEASE-p1  - the 
p(x) number will not increment.

This number will increment when doing a make buildworld. buildkernel, 
installkernel, and installworld rebuild by csup of source. This approach is 
necessitated when the issue is in the kernel code. The instructions in the 
announcement will tell you this so you can choose. But anytime the rebuild 
from source of kernel code is required so is a reboot.

-Mike



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


altering maxdsiz or datasize limit ?

2010-10-05 Thread Mark Stosberg

Hello,

We've been satisfied FreeBSD users for several years at our hosting
company.

Recently we ran into into a problem where a long running cron script was
dying early because it is hitting FreeBSD's data segment size limit of
512 Megs, even though the machine has plenty more memory. I would like
to raise this limit, and am currently using FreeBSD 6.2.

When I researched this, I first found references to tuning maxdsiz in
loader.conf, then some pointed out what I found myself this variable
is no longer documented and perhaps no longer present in FreeBSD 6.2.

I also found that it appears you can report on it and change it with the
limits command:

 limits -d 1g

That appears to work in the sense that the command is allowed and no
error is returned, but then if I run a follow up limits report again,
I see that no change is reported to have happened.

So, how I can actually increase this limit? (Both immediately and
persisting through a reboot).

Thanks!

Mark


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


Re: altering maxdsiz or datasize limit ?

2010-10-05 Thread Paul B Mahol
On 10/5/10, Mark Stosberg m...@summersault.com wrote:

 Hello,

 We've been satisfied FreeBSD users for several years at our hosting
 company.

 Recently we ran into into a problem where a long running cron script was
 dying early because it is hitting FreeBSD's data segment size limit of
 512 Megs, even though the machine has plenty more memory. I would like
 to raise this limit, and am currently using FreeBSD 6.2.

 When I researched this, I first found references to tuning maxdsiz in
 loader.conf, then some pointed out what I found myself this variable
 is no longer documented and perhaps no longer present in FreeBSD 6.2.

 I also found that it appears you can report on it and change it with the
 limits command:

  limits -d 1g

 That appears to work in the sense that the command is allowed and no
 error is returned, but then if I run a follow up limits report again,
 I see that no change is reported to have happened.

 So, how I can actually increase this limit? (Both immediately and
 persisting through a reboot).

kern.maxdsiz

In /boot/loader.conf

You cant increase it immediately.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Chad Perrin
On Tue, Oct 05, 2010 at 10:12:31PM +, Michel Talon wrote:
 
 Another thing to consider is the ease of maintaining the software on
 the machine. My personal opinion is that Ubuntu (more generally Debian)
 is light years ahead of FreeBSD in this domain.

How is it light years ahead of FreeBSD for the ease of maintaining the
software on the machine?  I'm curious about what you mean.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpxTcjb7PqVu.pgp
Description: PGP signature


Re: altering maxdsiz or datasize limit ?

2010-10-05 Thread Rodrigo Gonzalez
I didnt check it, but changing /etc/login.conf should do that

On Tue, 05 Oct 2010 17:23:43 -0400
Mark Stosberg m...@summersault.com wrote:

 
 Hello,
 
 We've been satisfied FreeBSD users for several years at our hosting
 company.
 
 Recently we ran into into a problem where a long running cron script
 was dying early because it is hitting FreeBSD's data segment size
 limit of 512 Megs, even though the machine has plenty more memory. I
 would like to raise this limit, and am currently using FreeBSD 6.2.
 
 When I researched this, I first found references to tuning maxdsiz
 in loader.conf, then some pointed out what I found myself this
 variable is no longer documented and perhaps no longer present in
 FreeBSD 6.2.
 
 I also found that it appears you can report on it and change it with
 the limits command:
 
  limits -d 1g
 
 That appears to work in the sense that the command is allowed and no
 error is returned, but then if I run a follow up limits report
 again, I see that no change is reported to have happened.
 
 So, how I can actually increase this limit? (Both immediately and
 persisting through a reboot).
 
 Thanks!
 
 Mark
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org



signature.asc
Description: PGP signature


Re: [fbsd_questions] i386 fbsd_platform vs amd64 fbsd_platform, on intel_64_architecture cpu

2010-10-05 Thread spellberg_robert

[ note that there is a new question, about half_way down ]

first, i thank you, most sincerely, for the time that you took to type detailed 
responses.
this is most helpful.

second, let me posit that there exists no perfect notation, so,
  i err on the sides of readability and clarity, at the expense of economy
  [ or, rather, my perceptions of these ].
to this end, i do several things.
i connect the components of a multi_word noun_phrase with under_score 
characters,
  to aid the differentiation of adjectives from nouns.
similarly, i separate the components of combination words.
i use doubled under_scores, if a component is under_score__connected.
i use the neutral_double_quote character to repeat, verbatim, the words of 
another,
  to indicate odd word_usage and
  to emphasize differences.
i use commas liberally, to set_off subordinate_clauses and
  to indicate pauses, --but--,
  i do not put a comma before or after a conjunction
  [ except as part of a comma_pair, used with a subordinate_clause ].
i italicize or under_score word as --word--.
outside of prose, i put white_space between tokens [ don't you wish everybody 
did ? ].
there are other rules [ hmmm ... , i ought to publish these ].
note that i am, in_frequently, in_consistent in my rule_application.

third, i will address your points in_line.
note that my text is delimited by one blank_line above and three blank_lines 
below.



Dan Nelson wrote:

In the last episode (Oct 05), spellberg_robert said:


well, i looked at questions back to the beginning of august.

on aug_09 i found a thread that suggests the following questions.


i have, since, examined subject_lines back to the beginning of june.
i have researched other places, also.




You might want to just use i386 and amd64 instead of making up your own
terminology (i_386, intel_64, amd_64, etc).


not mine.

intel_64 and intel 64 and intel64 are synonyms for a concept found here:

http://developer.intel.com/technology/intel64/index.htm

i_386 and i386 are synonyms for a concept found, as one example, here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.1

amd_64 and amd64 are synonyms for a concept found, as one example, here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.1

note that the words on the subject_line are spelled i386 and amd64,
  for the benefit of those who use freebsd.org's mailing_list__archive 
search_engine.
note that i have revised the subject_line, in an effort to be clearer, 
regarding jargon.




Note that Intel has chips
that support two competing 64-bit instruction sets: ia64, which is used by
their Itanium line,


actually, i am aware of this;
  however, just because i did not discuss it does not mean that
  you can assume that i was not thinking about it.
mea culpa.
being explicit is a_good_thing.
[ i don't need to explain the acronym assume, do i ?
  good.
]




and amd64, which originated on AMD chips but Intel
adopted for their 64-bit-capable x86 chips (Xeon, Core etc).  I'll assume
that any time you say intel_64 or amd_64 you really mean amd64,


no.
intel_64 and amd64 are as defined, above.
one is a manufacturer's proprietary architecture;
  the other is a freebsd_release_platform that
  runs on several substantially_similar proprietary architectures,
  which belong to different manufacturers.




since
nobody uses Itaniums :)


if they used itania in redmond, ... .




for a given release of freebsd,

  q:is it that the version labeled i386 contains only 32_bit
  headers and source, which creates the 32_bit version of
  freebsd, as well as 32_bit versions of what i write, which will
  run as 32_bit code on either i_386, intel_64 or amd_64 ?



Yes, assuming you have COMPAT_FREEBSD32 in your kernel config (which GENERIC
has, so most people have it).


i will look into COMPAT_FREEBSD32;
  i have not built a kernel since 4.early.
i would take out stuff that i did not have installed and, then, it would get 
bigger.
now, i change hardware so frequently, it is better to include probes for 
everything.




  q:is it that the version labeled amd64 contains only 64_bit headers and 
source,
  which creates the 64_bit version of freebsd, as well as 64_bit
  versions of what i write, which will run as 64_bit code on the
  intel_64 and the amd_64, but, not the i_386 ?



Yes.


i think we understand one_another here; i could have been clearer.

i was trying to make a distinction between products manufactured by intel_corp, 
amd_corp and others,
  all_of_which were derived from intel's original 80386 [ released, circa 1985 
],
  whose architecture intel named ia-32 [ synonyms of ia32 and ia_32 ],
  which, mostly, but, not_exactly, used the same machine_code, to produce the 
same instruction_results
  [ an analogy would be firefox versus the high_priced spread, regarding html 
].
my cpu distinction was between intel's ia_32 and intel's intel_64, that is,
  

Re: Which OS for notebook

2010-10-05 Thread Warren Block

On Tue, 5 Oct 2010, Mubeesh ali wrote:


just dont choose an acer 5745  or any laptop runnning Insyde BIOS
...from my personal experience (BIOS gets stuck at splash screen after
BSD install)


It works fine if you don't blow away the BIOS partition.  At least it 
has for me on an Aspire One netbook.  Maybe a notebook also, can't 
recall.

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


Re: How can I know how many packets were lost and resent on particular TCP connection?

2010-10-05 Thread Steven Williamson
tcpdump, then analyze with wireshark.

If it's longer term monitoring you require in the past iv'e used ruby-pcap
and written a quick and dirty script to log retransmissions.
Essentially you just need to watch for duplicate packet id's

I'm not sure there are any stats normally recorded for this level of detail.
I may be wrong!

Regards
Steven Williamson.

On 5 October 2010 06:15, Yuri y...@rawbw.com wrote:

 Just curious if I can do this.

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

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


Re: Which OS for notebook

2010-10-05 Thread Gonzalo Nemmi

El 05/10/2010 06:51 p.m., Chad Perrin escribió:

On Tue, Oct 05, 2010 at 10:12:31PM +, Michel Talon wrote:


Another thing to consider is the ease of maintaining the software on
the machine. My personal opinion is that Ubuntu (more generally Debian)
is light years ahead of FreeBSD in this domain.


How is it light years ahead of FreeBSD for the ease of maintaining the
software on the machine?  I'm curious about what you mean.



I share Michel Talon´s mind in regards to the ease of maintaining the 
software on the machine but I find myself inclined to rpm ... that´s 
why I use Mandriva on my notebooks/netbooks.


RPM has come a really long way since it´s inception and has proven to be 
an incredible flexible tool to do the task it´s meant to do (I can write 
a single .spec file and create as many rpms out of a single tarball as I 
see it fits my needs, package granularity they call it... just take a 
look at the mandriva repos to see what I mean).


In my personal experience I have found that creating, maintaining and 
handling rpm packages is a lot easier than creating ports or keeping the 
software up to date using packages.


Best Regards
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Gonzalo Nemmi

El 05/10/2010 02:29 p.m., Phan Quoc Hien escribió:

Hello. I have same question here.
My laptop is HP Pavilion dv4 series,  can run fine on FreeBSD or other
opensource OS?
Thanks!


Please, take a look at the following thread before going any further:
HP Envy 14 laptop damaged by FreeBSD 8.1 install
http://forums.freebsd.org/showthread.php?t=17683


On Wed, Oct 6, 2010 at 12:18 AM, Chad Perrinper...@apotheon.com  wrote:

On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote:


Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
Also, can you tell us the hardware, Sony / HP etc..


I'm using FreeBSD on my Lenovo ThinkPad T60.  One of the nice things
about choosing FreeBSD for my laptop OS of choice is that, unlike MS
Windows 7, I do not need to get the latest and greatest hardware to get
acceptable performance.

Of course, there are downsides to my choice, such as the lack of proper
hardware acceleration with an AMD/ATI graphics adapter, but since I have
stopped playing World of Warcraft (any computer game bores me after a
little while), there is little need for that kind of thing.

When deciding what to use, the first thing you need to do is figure out
your needs.  What kind of hardware do you need to support?  How much ACPI
support is enough?  What do you need your software to do?  There is no
OS that does everything better than any other OS.  This applies to
Ubuntu, MS Windows, and FreeBSD (and pretty much everything else, too).

Because my requirements for hardware are reasonably simple, my
requirements for software capabilities take precedent.  As such, out of
the various OSes with which I am comfortable to some degree, I pretty
much get to choose whatever OS I want.  Given my requirements for
software capabilities, FreeBSD is the obvious choice.

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]







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


Questions about udp socket(AF_UNSPEC)

2010-10-05 Thread dave jones
Hi,

When disconnect a UDP socket, Linux kernel set local port to zero if the  port
number comes from a implicit bind, but on FreeBSD, it doesn't set
local port to zero.
Here's my test program:

#include errno.h
#include string.h
#include sys/types.h
#include sys/socket.h
#include netinet/in.h
#include net/if.h
#include netdb.h
#include arpa/inet.h
#include stdio.h
#include stdlib.h

#define SERV_PORT 12345

void print_local_addr(int s);

int main(int argc, char** argv)
{
int sockfd;
struct sockaddr_in servaddr, cliaddr;

if (argc != 2) {
printf(Usage: disconnect_udp ipaddress);
exit(0);
}

// creat a UDP socket which binds to a local address
sockfd = socket(AF_INET, SOCK_DGRAM, 0);
bzero(cliaddr, sizeof(cliaddr));
cliaddr.sin_family = AF_INET;
if (inet_pton(AF_INET, argv[1], cliaddr.sin_addr) != 1) {
perror(inet_pton failed);
}
bind(sockfd, (struct sockaddr *)cliaddr, sizeof(cliaddr));

// connect this UDP socket
bzero(servaddr, sizeof(servaddr));
servaddr.sin_family = AF_INET;
servaddr.sin_port = htons(SERV_PORT);
if (inet_pton(AF_INET, argv[1], servaddr.sin_addr) != 1) {
perror(inet_pton failed);
}
if (connect(sockfd, (struct sockaddr *)servaddr, sizeof(servaddr)) != 0) {
perror(connect failed);
}
print_local_addr(sockfd);

// disconnect it
servaddr.sin_family = AF_UNSPEC;
if (connect(sockfd, (struct sockaddr *)servaddr, sizeof(servaddr)) != 0) {
perror(connect failed);
}
print_local_addr(sockfd);

close(sockfd);
}

void print_local_addr(int s)
{
struct sockaddr_in localaddr;
socklen_t len = 0;
char temp[INET_ADDRSTRLEN];

len = sizeof(localaddr);
if (getsockname(s, (struct sockaddr *)localaddr, len) != 0) {
perror(getsockname failed);
}

inet_ntop(AF_INET, localaddr.sin_addr, temp, INET_ADDRSTRLEN);
printf(Local binding: address=%s, port=%d\n,
   temp, ntohs(localaddr.sin_port));
}

In Linux:
Local binding: address=192.168.1.30, port=42610
Local binding: address=192.168.1.30, port=0

In FreeBSD:
Local binding: address=192.168.1.30, port=35133
connect failed: Address family not supported by protocol family
Local binding: address=0.0.0.0, port=0

Any idea? Thank you.

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


Re: Which OS for notebook

2010-10-05 Thread Gonzalo Nemmi

El 05/10/2010 02:39 p.m., Erik Ulven escribió:

Hi,
...
Wireless works very well with both OS's. suspend/resume works most of
the time with freebsd, and  always with openbsd. built in camera works
with openbsd. Most of the special keys (light, suspend, etc) seems to
work fine with freebsd.

Erik


The OpenBSD guys did a really hardwork to get suspend/resume work out of 
the box on their latest releases (specially for 4.7 and 4.8, but it all 
started a few releases back)... they gave it some sort of priority 
status ... maybe they realized that nowadays most of the work gets donde 
on notebooks ... that effort seems to have paid off.


Too bad OpenBSD is not my cup of tea ...

Best regards
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Phan Quoc Hien
Hello everyone,
Which laptop vendor is best support for FreeBSD ?
Thanks.

On Wed, Oct 6, 2010 at 8:46 AM, Gonzalo Nemmi gne...@gmail.com wrote:
 El 05/10/2010 02:29 p.m., Phan Quoc Hien escribió:

 Hello. I have same question here.
 My laptop is HP Pavilion dv4 series,  can run fine on FreeBSD or other
 opensource OS?
 Thanks!

 Please, take a look at the following thread before going any further:
 HP Envy 14 laptop damaged by FreeBSD 8.1 install
 http://forums.freebsd.org/showthread.php?t=17683

 On Wed, Oct 6, 2010 at 12:18 AM, Chad Perrinper...@apotheon.com  wrote:

 On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote:

 Which OS are you using on your notebook, FreeBSD / Linux or MAC ?
 Also, can you tell us the hardware, Sony / HP etc..

 I'm using FreeBSD on my Lenovo ThinkPad T60.  One of the nice things
 about choosing FreeBSD for my laptop OS of choice is that, unlike MS
 Windows 7, I do not need to get the latest and greatest hardware to get
 acceptable performance.

 Of course, there are downsides to my choice, such as the lack of proper
 hardware acceleration with an AMD/ATI graphics adapter, but since I have
 stopped playing World of Warcraft (any computer game bores me after a
 little while), there is little need for that kind of thing.

 When deciding what to use, the first thing you need to do is figure out
 your needs.  What kind of hardware do you need to support?  How much ACPI
 support is enough?  What do you need your software to do?  There is no
 OS that does everything better than any other OS.  This applies to
 Ubuntu, MS Windows, and FreeBSD (and pretty much everything else, too).

 Because my requirements for hardware are reasonably simple, my
 requirements for software capabilities take precedent.  As such, out of
 the various OSes with which I am comfortable to some degree, I pretty
 much get to choose whatever OS I want.  Given my requirements for
 software capabilities, FreeBSD is the obvious choice.

 --
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]





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




-- 
Best regards,
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which OS for notebook

2010-10-05 Thread Chad Perrin
On Tue, Oct 05, 2010 at 10:41:13PM -0300, Gonzalo Nemmi wrote:
 
 In my personal experience I have found that creating, maintaining and 
 handling rpm packages is a lot easier than creating ports or keeping the 
 software up to date using packages.

I find working with the ports system easier, as an end user, than DEB-
and RPM-based systems that I've used.  I have never built DEB- or
RPM-based packages, and the one time I tried creating a port I failed
(though frankly I didn't try that hard -- it was just an experiment when
I was bored one evening), so I guess I'll have to take your word for it
when it comes to creating ports.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpVkyr6iqXcJ.pgp
Description: PGP signature