Re: make buildkernel pre-build too long

2010-09-21 Thread David DEMELIER
2010/9/21 Alexander Best arun...@freebsd.org:
 On Fri Sep 17 10, David DEMELIER wrote:
 2010/9/17 Alexander Best arun...@freebsd.org:
  On Thu Sep 16 10, David DEMELIER wrote:
  Hi there,
 
  I can't understand why this part of make buildkernel is so long on my
  amd64 machine (8.1-R)
 
  make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=cc -E
  CC=cc xargs mkdep -a -f .newdep -O2 -frename-registers -pipe
  -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls
  -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
  -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
  -fformat-extensions -nostdinc  -I. -I/usr/src/sys
  -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
  -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath
  -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm
  -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD
  -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs
  -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb
  -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
  -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param
  large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
  -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
  -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables
  -ffreestanding -fstack-protector
 
  This command takes around 5-6 minutes before continuing, on my i386
  machine (which is really old) it only takes about 20 seconds. The
  kernel configs are almost the same for both machines.
 
  are there any differences in /etc/make.conf?
 
  cheers.
  alex
 
 
  Do you have any idea?
 
  Kind regards,
 
  --
  Demelier David
 
  --
  a13x
 

 No, except the KERNCONF entry it's exactly the same :

 hmmmstrange. could you post the ouput of `make -VCFLAGS -VCOPTFLAGS` on
 both your machines, please?

 cheers.
 alex


 # General settings.
 KERNCONF=Melon
 MASTER_SORT?= .fr .uk

 # Portconf.
 .if !empty(.CURDIR:M/usr/ports*)  exists(/usr/local/libexec/portconf)
 _PORTCONF!=/usr/local/libexec/portconf
 .for i in ${_PORTCONF:S/|/ /g}
 ${i:S/%/ /g}
 .endfor
 .endif

 # Perl.
 PERL_VERSION=5.10.1

 # No need modules.
 NO_MODULES=yes

 # Specify other directories.
 WRKDIRPREFIX=   /usr/obj
 DISTDIR=        /usr/distfiles

 --
 Demelier David

 --
 a13x


-O2 -pipe

I think the problem is the amd64 architecture. When I buildkernel
using TARGET_ARCH=i386 it takes only one minute or even less, it's
only native target (amd64) which is long.

Kind regards,

-- 
Demelier David
___
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: wireless networking

2010-09-21 Thread Samuel Martín Moro
to find about your devices, and check you've a driver to use them:
pciconf -lv


Samuel Martín Moro
{EPITECH.} tek5
CamTrace S.A.S
  (+033) 1 41 38 37 60
  1 Allée de la Venelle
  92150 Suresnes
  FRANCE

Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)


On Tue, Sep 21, 2010 at 4:12 AM, William Kindler williamkind...@att.netwrote:


 -- I have 2 wireless adapter that I am able to use for my system. One is a
 usb device, a D-Link DWA130, and the other is a PCI device, a Netgear
 WN311T. I can find no information about Linux or UNIX support, or drivers
 for either, on your website or on the respective manufacturer's sites, nor
 can I find out what chipsets they are using.
 Are either of these devices supported with Free-BSD, or the PC-BSD?


 Bill Kindler

 ___
 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: dnsmasq, mfsBSD, status refused

2010-09-21 Thread Samuel Martín Moro
Hi,


I tried to associate hostnames with IPs in the hosts file.
And it worked...

With my linux gate, declaring hosts (mac,ip,name,lease) in one line works
perfectly...
I don't understand why it won't with FreeBSD...

Whatever, sorry for the disturbance :)


Cheers,

Samuel Martín Moro
{EPITECH.} tek5
CamTrace S.A.S


On Mon, Sep 20, 2010 at 2:56 PM, Samuel Martín Moro faus...@gmail.comwrote:


 Hi


 I'm trying to replace my gate with a qnap ts-509.
 I installed mfsBSD, based on FreeBSD-8.1-RELEASE amd64.
 I just had to build some pre-configured packages, add ipfw, ipfw_nat and
 libalias to boot modules.

 Everything's working just fine, except for the DNS (dnsmasq-2.55,1.tbz,
 rebuilt with config files and ipfw startup script)

 DHCP works perfectly. But DNS does not...
 Even on the (soon-to-be) gateway, so I'm assuming ipfw is not related to
 the problem (in doubt, I still send it)
 r...@phi /real/tmp : ipfw list
 1 check-state
 2 allow ip from any to any via lo0
 3 allow tcp from any to any established
 00500 allow ip from any to any via bge1
 00666 allow tcp from me to any out via bge0 setup uid root keep-state
 65535 deny ip from any to any
 (since bge0 is not plugged, it's quite empty...)



 r...@phi /real/tmp : ./dig @localhost alpha.faust-network

 ;  DiG 9.6.2-P2  alpha.faust-network
 ;; global options: +cmd
 ;; Got answer:
 ;; -HEADER- opcode: QUERY, status: REFUSED, id: 13068
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

 ;; QUESTION SECTION:
 ;alpha.faust-network.   IN  A

 ;; Query time: 13 msec
 ;; SERVER: 127.0.0.1#53(127.0.0.1)
 ;; WHEN: Mon Sep 20 13:41:15 2010
 ;; MSG SIZE  rcvd: 37


 basically, my configuration is the following:

 cache-size=1024
 local-ttl=15
 log-dhcp
 interface=bge1
 bind-interfaces
 no-negcache
 dhcp-range=10.254.254.1,10.254.254.254,255.0.0.0,1h
 dhcp-boot=pxelinux.0,omega,10.42.42.45  # PXE TFTP server (omega)
 dhcp-option=3,10.242.42.254 # gateway
 dhcp-option=19,1# option ip-forwarding off
 dhcp-option=23,42   # TTL de 42
 dhcp-option=44,10.242.42.254# Wins Server
 dhcp-option=45,10.242.42.254# NetBios DDS
 dhcp-option=46,8# NetBios Node Type

 dhcp-option=option:ntp-server,213.186.41.134,88.191.79.242,193.55.167.2,80.65.235.4,194.57.191.1,91.121.45.45
 dhcp-script=/usr/local/bin/dhcp_action
 domain=faust-network
 expand-hosts
 bogus-nxdomain=64.94.110.11 #get SSL certificate from another CAServer
 localmx
 selfmx
 conf-file=/usr/local/etc/blocklist.conf # filter adds, shits, facebook, ...


 my resolv.conf:
 nameserver 10.242.42.254 #localhost, priv addr
 nameserver 8.8.4.4
 domain faust-network


 I already have a dnsmasq working perfectly on my current gate
 (ArchLinux-x86_64).
 I copied the configuration, making a few changes (192.168.0.0/24 -
 10.0.0.0/8).
 So, I don't understant what I'm doing wrong
 Any idea?



 Cheers,

 ---

 Samuel Martín Moro
 {EPITECH.} tek5
 CamTrace S.A.S


___
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


SpeedVoIP News 2010: VGSCLite Unblock your PC Dialer in UAE

2010-09-21 Thread Lynn
==

==


Software VGSCLite + Any brand softphone/dialer in UAE/Oman/Qatar/Africa = work 
fine!
 
SpeedVoIP News 2010: VGSCLite--Seamless Integration with Legacy Softphone or 
Dialer for VoIP Anti-blockage
 
Today many ISPs controlled by government are performing blockage of VoIP all 
over the world, especially in UAE, Oman, Qatar, and Africa. There are several 
ways to bypass blocking imposed by ISP even in these countries. Many service 
providers turn into VPN or VoIP Tunnel solution to allow use of VoIP and work 
around current blocking issue. But they have their own drawback such as high 
overhead and delay or poor quality when high call capacity. Now an entirely new 
approach is at your finger and accepts your choice.
 
Now SpeedVoIP launches innovative anti-blocking solution VGSCLite for 
integration with your legacy softphone or dialer. And itrsquo;s targeted for 
any 3rd-party SIP softphone such as X-Lite/Eyebeam. The biggest advantage of 
VGSClite is easy and affordable to integrate anti-blocking feature into your 
existing branded Softphone/Dialer in operation that reduces tough development 
and testing effort.
 
Benefits
 
Seamless integration with legacy Softphone/Dialer;
 
Reducing recurring costs significantly;
 
Free you from repeatedly buying softphone/dialer;
 
Any 3rd-party Softphone/Dialer supported;
 
Most comprehensive codec support including g.711/g.723/g.729ab/iLBC/gsm/speechX;
 
Excellent voice quality without any latency and performance compromise;
 
Maximum call completion rate and maximum voice service duration;
 
SIP core standards and a variety of drafts supported;
 
Proprietary link layer protocol for call controlling;
 
Bypassing Narus and Verso platform detection;
 
Flexible user-customized encryption policy driven;
 
Strict call path protection and security up to termination;
 
Only simultaneous signaling/media/T.38 fax packet support across any firewall;
 
No network or firewall modification is required;
 
Available on main-stream Windows OS.

  


Lynn
SpeedVoIP Communication Technology Co.,Ltd
Tel: +86 755 25504959
Fax: +86 755 25336159
MSN: svoipsa...@hotmail.com
Website: www.speed-voip.com
Email: l...@speed-voip.com
Skype: svoipsales
Yahoo: speedv...@yahoo.com


SpeedVoIP Communication Technology Co.,Ltd - futian - shenzhen -  - 518000

Subscribe to this newsletter:
https://www.mynewsletterbuilder.com/tools/subscription.php?username=contentkarensend_id=1866853387l=snewsletter_id=1410532603
Unsubscribe freebsd-questions@freebsd.org:
https://www.mynewsletterbuilder.com/tools/subscription.php?username=contentkarensend_id=1866853387l=uemail=freebsd-questi...@freebsd.org
Change your preferences:
https://www.mynewsletterbuilder.com/tools/subscription.php?username=contentkarensend_id=1866853387l=pemail=freebsd-questi...@freebsd.org
Forward to a friend:
https://www.mynewsletterbuilder.com/tools/forward.php?username=contentkarennewsletter_id=1410532603send_id=1866853387
Report this email as spam:
https://www.mynewsletterbuilder.com/tools/abuse_report.php?username=contentkarensend_id=1866853387email=freebsd-questi...@freebsd.org

This email was sent using MyNewsletterBuilder.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: apache22 and threads

2010-09-21 Thread Victor Sudakov
Michael Powell wrote:
  
  When building apache22 from ports, would you recommend to enable or to
  disable threads support?
  
  Even more confusing is the fact that for ports/www/apache22 the default
  is: Enable threads support in APR is off (WITHOUT_THREADS=true)
  
  while for ports/devel/apr1 the default is:
  Enable Threads in apr is on (WITH_THREADS=true).
  
  Thank you in advance for any input.
  
  PS ports/devel/apr1 will also be used for the subversion client.
  
 
 I wouldn't mind someone with more apache22-fu to elaborate, correcting the 
 following if necessary.
 
 My thoughts are this matters depending upon which mpm you choose to build 
 into apache. The default is prefork, and it handles incoming requests by 
 spawning child processes. 

Do you mean to say WITH_MPM=prefork works exactly like apache13? 

[dd]

 
 An additional consideration might be what kind of backend is used. For 
 example, since not all of PHP is known to be thread safe it is not 
 recommended for use with a threaded server and mod_php. The way to get 
 around this situation is to separate PHP from Apache with something like 
 mod_fcgid which runs PHP as a FastCGI. This way you can safely run a 
 threaded Apache with non-thread safe PHP. As far as which is the better 
 approach I still am not really sure. Each has its set of pros and cons.

 From what you have written it seems that prefork and no threads 
is the robustest, most reliable configuration (even if more resource
consuming)? 

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: wireless networking

2010-09-21 Thread Maciej Milewski
On Tuesday 21 September 2010 04:12:45, William Kindler wrote:
 -- I have 2 wireless adapter that I am able to use for my system. One is
 a usb device, a D-Link DWA130, and the other is a PCI device, a Netgear
 WN311T. I can find no information about Linux or UNIX support, or
 drivers for either, on your website or on the respective manufacturer's
 sites, nor can I find out what chipsets they are using.
 Are either of these devices supported with Free-BSD, or the PC-BSD?
 Bill Kindler
Asking google shows that there are informations about them on many linux 
forums.

It depends on revision of these cards because f.ex. DWA130 has 5 revisions 
from A(no rev number) to E and they're using different chipsets inside. 
As an example information from net8192su.inf:
%DWA-130C2.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1PID_3302
%DWA-130E1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1PID_3300
%DWA-131A1.DeviceDesc% = RTL8192su.ndi, USB\VID_07D1PID_3303
I don't know this chipset and if it's supported by any driver.

Looking for the Netgear it looks that it's Marvell 88W8361 and it's rather not 
supported by FreeBSD.
Atleast man(8) mwl says that only 88W8363 is supported.
Regards,
Maciek
___
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: apache22 and threads

2010-09-21 Thread Michael Powell
Victor Sudakov wrote:

[snip]
 
 My thoughts are this matters depending upon which mpm you choose to build
 into apache. The default is prefork, and it handles incoming requests by
 spawning child processes.
 
 Do you mean to say WITH_MPM=prefork works exactly like apache13?
 

Essentially yes. Although you don't have to specify as it is the default. 
You would only need to specify for a non-default configuration.
 
 
 An additional consideration might be what kind of backend is used. For
 example, since not all of PHP is known to be thread safe it is not
 recommended for use with a threaded server and mod_php. The way to get
 around this situation is to separate PHP from Apache with something like
 mod_fcgid which runs PHP as a FastCGI. This way you can safely run a
 threaded Apache with non-thread safe PHP. As far as which is the better
 approach I still am not really sure. Each has its set of pros and cons.
 
  From what you have written it seems that prefork and no threads
 is the robustest, most reliable configuration (even if more resource
 consuming)?
 

Most tried and true with the longest track record. Definitely the 
conservative approach. I have been running the event mpm with PHP as FastCGI 
for about a year and a half now on two servers with no reliability issues. 
However, neither is ever fully loaded so I can't say whether they'd fold if 
hit with enough traffic.

The prefork mpm without threads and mod_php is a safe bet for a server that 
will not be hitting the wall, traffic volume-wise.  

-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


Re: why is the PHP stuff line off by default in ports/lang/php5?

2010-09-21 Thread Ian Smith
In freebsd-questions Digest, Vol 329, Issue 2, Message: 14
On Mon, 20 Sep 2010 14:22:57 -0700 Rob Farmer rfar...@predatorlabs.net wrote:
  On Mon, Sep 20, 2010 at 08:00,  d...@safeport.com wrote:
   I think that response was not all that unreasonable.
  
  I'm not sure if you are referring to me or ale here.

To ale@ I expect.  Since I started this in response to Gary's surprise, 
I'd better try cleaning up a bit :)

     3) I think (proof left to the reader) there is an apache/php package.
  
  There's not. There's no way to run pkg_add -r whatever and get the
  apache module (either that or it is poorly named and not found with a
  search).
  
  And, as I understand it, at one point there was, then it changed.

Well, to be fair, it was quite a long time ago.  As I recall without 
searching back years, when php5 came out both it and php4 - which had 
hitherto included mod_php in the distributed package - began defaulting 
to not building the module, rendering php packages useless for mod_php 
users.  I think at that point apache 1.3 was still mainstream and 2.0 
was still fairly new, perhaps in devel/ .. but I might misremember.

  My suggestion was to add it back via a slave port (say
  lang/php5-apache). This would be *in addition* to the existing
  lang/php5 port and everyone who is worried about unnecessary
  dependency bloat, security, etc. would be free to keep using that.
  
  Supposedly, there is a reason that shipping a binary package for this
  is impossible, despite the fact that every major Linux distribution
  does (and thus millions of web servers run this way) and supposedly
  there are many detailed descriptions of this reason in the list
  archives, though I can't find any.

Well, I pretty well got it from the bit of ale's albeit terse response
that you haven't mentioned: You have to comile the module for your 
specific apache installation. which Matthew Seaman (thanks) has since 
expanded on more thoroughly.

[And while there's LOTS of things about Linux I don't like, Debian's 
excellent binary updates for both system and apps isn't one of them; 
except a few customised apps, we've never _had_ to compile anything]

  Adding the slave port was a good faith suggestion about how to 
  improve the situation to meet everyone's needs. I feel it is rather 
  dismissive and somewhat rude just say The answer is simply 'no' 
  without any explanation.

Noone disputes your good faith; I think Alex was saying 'no' to me as 
much as to you.  Most developers rarely appear (nor have spare time to 
read) freebsd-questions, and it was my cc that dragged him into this.

  If it has been discussed so many times (for the record, I have been 
  subscribed to this list for two years and have never seen such a 
  thread), then it shouldn't be too hard to post a link. And if the 
  maintainer is too busy with other work to do that, then, as I said, 
  don't reply and let someone else explain it.

Be not too easily annoyed, to invoke the old Fidonet adage :)  I've been 
subscribed to questions for over 12 years, and most of these discussions 
were much longer ago than two.  I expect most such discussion would have 
been on ports@ and perhaps other lists many/most of us don't follow.

Whether packages of just the module and the necessary updates to apache 
configuration to use it for each of 1.3, 2.0 and 2.2 are feasible, I 
don't know.  I'd use one if it was there, but don't have the time nor 
skills necessary to make such ports myself, so I'll shutup now :)

cheers, Ian___
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

sysinstall with Fixit option and RootOnZFS/GPTZFSBoot caused kernel panic on Vmware machine!

2010-09-21 Thread Phan Quoc Hien
Hi everyone!

I followed tut at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/ to install
FreeBSD Root on ZFS using GPT on my VMWARE virtual machine.
When I go to step Install FreeBSD to zroot kernel-panic appeared!
My virtual machine detail:
RAM: 512MB HDD: 10GB vmware workstation: 7.1.0 build-261024 with FreeBSD
8.1-REL!
See more detail about panic on image attached file.
Please let me know how to solve this problem.
Best regards,
Mr.Hien




-- 
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

Samba32 in jail (NetBIOS workgroup)

2010-09-21 Thread Kalle Møller
Hi

I'm trying to get samba to work in a jail (made with ezjail and alias ip).
Port installed only with WINS marked in config.
I can get samba up and running, I can get a client to connect login, view
files etc.
My problem is that my WD TV Live can't connect directly, it uses something
where it
looks in it workgroup and then connects via NetBIOS name.

So I need help to install samba in a jail, with NetBIOS and workgroup,
(login is either local users or no login) ?

I don't know if I need anything else then WINS when I install it ?

Any short smb.conf that would do this ? :)

I can provide dumps of everything if its needed ...

-- 

Med Venlig Hilsen

Kalle R. Møller
___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Jerry
On Tue, 21 Sep 2010 02:42:22 +0200
C. P. Ghost cpgh...@cordula.ws articulated:

 On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi
 bon...@mail.r-bonomi.com wrote:
  Adapting  MS-Windows print drivers is not 'practical' either.  A
  windows print driver is embedd in the O/S KERNEL,  with _system_
  calls_ (not mere 'library' routines) that implement the
  'device-dependant' rendering of layout/formating directions.  One
  then takes the 'opaque object' so produced and sends it (via
  _another_ set of system calls) to the 'output' function of that
  same driver.
 
 Is that really so? How about writing some emulation shim like ndis(4)
 for winprinters? Please correct me if I'm wrong, as I'm not a Windows
 systems programmer, but this is what I'm thinking about.
 
 As far as I understand Windows printing, there are two aspects to
 resolve, given a vendor supplied windriver binary blob:
 
 1/ the windriver gets some (opaque) data from the GDI+ -- maybe
 a bitmap, with some meta data.
 
 2/ the windriver interprets this data however it sees fit, and then
 talks to the NT kernel (maybe via DLL calls) to send electrical
 impulses to the printer.
 
 Now, the data formats of 1/ (GDI stuff) is probably well defined (and
 therefore published) in gdiplus.dll or something similar and is the
 same for all windriver blobs. The API/ABI needed to talk to the NT
 kernel is probably defined in the Windows DDK (or whatever it is
 called nowadays).
 
 So, in both cases, we have stable API/ABI interfaces on both sides
 of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the
 bottom half.
 
 So, if we wanted to use those windriver blobs just like in the ndis(4)
 case, all we need is an emulation shim for both interfaces. Maybe 1/
 is already covered by Wine (?) so we could borrow some code from
 there; and 2/ is basically a matter of mapping the subset of NT calls
 needed to read from and write to Windows ports to Unix calls to read
 and write to our Unix devices.
 
 Again, I'm no Windows programmer, and it is probably more involved
 than this. But the basic idea remains: the interfaces on both sides
 of the windriver binary blobs is pretty stable and (I think) not a
 secret at all.
 
  In the Unix world, printing is handled _externally_ to the kernel.
  The application must have =its=own=means= of deciding what
  formatting/layout commands to use -- it _can't_ query the O/S for
  this info; the O/S simply doesn't have it.
 
 Well, it doesn't matter if the windriver shims run as userland daemon
 or (partially) inside the kernel. The point here is that the
 windriver - NT, and windriver - GDI+ interface are both stable
 and not difficult to understand, so both can be emulated. At least
 theoretically. In practice, it takes some time and effort to get it
 right, quite obviously.

The bottom line is that installing and running a printer on a Window's
machine is usually far easier than on a *nix variation. Even sharing a
printer on a network in a Windows environment is simpler.

On a separate note, I have friends who claim that the Ubuntu printer
installation routine is similar to the Window's one and works quite well
for most mainstream printers. I read something a few months ago that
Ubuntu was working on using Window's printer drivers directly in Ubuntu.
I cannot confirm that; however, it would certainly be a worthwhile
avenue to explore.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
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: wireless networking

2010-09-21 Thread Jerry
On Mon, 20 Sep 2010 21:12:45 -0500
William Kindler williamkind...@att.net articulated:

 
 -- I have 2 wireless adapter that I am able to use for my system. One
 is a usb device, a D-Link DWA130, and the other is a PCI device, a
 Netgear WN311T. I can find no information about Linux or UNIX
 support, or drivers for either, on your website or on the respective
 manufacturer's sites, nor can I find out what chipsets they are using.
 Are either of these devices supported with Free-BSD, or the PC-BSD?

The first thing you want to determine is if they are N class
adapters. They both appear to be so; therefore, you are pretty much
SOL. FreeBSD does not readily support N protocol adapters
unfortunately.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
He who despairs over an event is a coward, but he who holds hopes for
the human condition is a fool.

Albert Camus
___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Svein Skogen (Listmail account)
On 21.09.2010 13:37, Jerry wrote:
 The bottom line is that installing and running a printer on a Window's
 machine is usually far easier than on a *nix variation. Even sharing a
 printer on a network in a Windows environment is simpler.

Actually ... no. Unless you are talking about the keep HP happy by
purchasing ink every week usb-printers.

Personally, for bulk printing, and even more so for intermittent
printing (the kind where ink dries up and gets tossed away when you use
the printer once every blue moon), most users would save a _LOT_ of
money by looking at a laser printer instead. Take a good look at
Xerox'es Phaser line (used to be tektronix phaser). They're no longer
pawn-your-firstborn expensive, they're reliable, and they basically
speak every standard protocol on the market (including both Postscript
and PCL).

//Svein

-- 
+---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
+---+---
 If you really are in a hurry, mail me at
   svein-mob...@stillbilde.net
 This mailbox goes directly to my cellphone and is checked
even when I'm not in front of my computer.

 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/




signature.asc
Description: OpenPGP digital signature


Re: The nightmarish problem of installing a printer

2010-09-21 Thread Jerry
On Tue, 21 Sep 2010 14:16:16 +0200
Svein Skogen (Listmail account) svein-listm...@stillbilde.net
articulated:

 On 21.09.2010 13:37, Jerry wrote:
  The bottom line is that installing and running a printer on a
  Window's machine is usually far easier than on a *nix variation.
  Even sharing a printer on a network in a Windows environment is
  simpler.
 
 Actually ... no. Unless you are talking about the keep HP happy by
 purchasing ink every week usb-printers.
 
 Personally, for bulk printing, and even more so for intermittent
 printing (the kind where ink dries up and gets tossed away when you
 use the printer once every blue moon), most users would save a _LOT_
 of money by looking at a laser printer instead. Take a good look at
 Xerox'es Phaser line (used to be tektronix phaser). They're no
 longer pawn-your-firstborn expensive, they're reliable, and they
 basically speak every standard protocol on the market (including both
 Postscript and PCL).

1) I was not referring specifically to HP

2) Personally, I have never had a printer connected via USB

3) I was referring to connecting a printer via a wireless connection, a
very common occurrence and one I employ in my home. It is also becoming
more common in business environments since it makes relocating a printer
far simpler.

The cheapest multi-function laser recommended by you is the Phaser
6128MFP, an obviously loss-loser. The next version is $1500. I can buy
a lot of ink for that. I agree that a laser printer is fine for a
business environment; however, it would be total over-kill, and a gross
waste of money, to install one in my home.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
From 0 to what seems to be the problem officer in 8.3 seconds.

Ad for the new VW Corrado


signature.asc
Description: PGP signature


Upgrading from 8.0-Release /

2010-09-21 Thread Zbigniew Szalbot
Dear all,

I hope you can advise. According to

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

once mergemaster is completed, I should issue freebsd-update install.

However, when I do this, I get:

# freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.

However, I did fetch first.

128601287012880128901290012910129201293012940129501296012970
done.
Applying patches... done.
Fetching 440 files... done.
Attempting to automatically merge changes in files... done.

So I am not sure where to go from here. Should I try to fetch again,
reboot or do something else?

I am using FreeBSD 8.0-RELEASE-p4 (GENERIC).

Thank you!

-- 
Zbigniew Szalbot
___
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: apache22 and threads

2010-09-21 Thread Alejandro Imass
On Tue, Sep 21, 2010 at 5:48 AM, Michael Powell nightre...@hotmail.com wrote:
 Victor Sudakov wrote:

 [snip]
[...]

 The prefork mpm without threads and mod_php is a safe bet for a server that
 will not be hitting the wall, traffic volume-wise.


Yeah well php sucks in any case, for many reasons that are OT to this thread.

Perl / mod_perl on the other hand can work quite well with mod_worker
(threads) sharing many thing including all the non-mutable data, this
is because Perl in general is thread safe. Using mod_worker with
mod_perl can mean the difference between serving a few hundred
simultaneous request to a few thousand, on the same exact hardware.
Not all Perl modules are thread safe however, and in any case most
thread implementations in Unix, including FreeBSD, are a potentially
leaky by nature, but you can use the MaxRequestsPerChild directive
(and others) to fine-tune the growing of your processes/threads.


 -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

___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Robert
On Tue, 21 Sep 2010 08:58:58 -0400
Jerry freebsd.u...@seibercom.net wrote:

 On Tue, 21 Sep 2010 14:16:16 +0200
 Svein Skogen (Listmail account) svein-listm...@stillbilde.net
 articulated:
 
  On 21.09.2010 13:37, Jerry wrote:
   The bottom line is that installing and running a printer on a
   Window's machine is usually far easier than on a *nix variation.
   Even sharing a printer on a network in a Windows environment is
   simpler.
  
  Actually ... no. Unless you are talking about the keep HP happy by
  purchasing ink every week usb-printers.
  
  Personally, for bulk printing, and even more so for intermittent
  printing (the kind where ink dries up and gets tossed away when you
  use the printer once every blue moon), most users would save a _LOT_
  of money by looking at a laser printer instead. Take a good look at
  Xerox'es Phaser line (used to be tektronix phaser). They're no
  longer pawn-your-firstborn expensive, they're reliable, and they
  basically speak every standard protocol on the market (including
  both Postscript and PCL).
 
 1) I was not referring specifically to HP
 
 2) Personally, I have never had a printer connected via USB
 
 3) I was referring to connecting a printer via a wireless connection,
 a very common occurrence and one I employ in my home. It is also
 becoming more common in business environments since it makes
 relocating a printer far simpler.
 
 The cheapest multi-function laser recommended by you is the Phaser
 6128MFP, an obviously loss-loser. The next version is $1500. I can buy
 a lot of ink for that. I agree that a laser printer is fine for a
 business environment; however, it would be total over-kill, and a
 gross waste of money, to install one in my home.
 

A couple of years ago I got very tired of buying ink cartridges. I
search and found the Samsung scx-4725fn for a very good price. Laser,
network, all-in-one. It is not color but that was not a requirement for
me.

Just hook it up to the network and create a simple /etc/printcap and
add the ip to /etc/hosts and away you go. 

A quick search shows it can still be purchased for under $300 US.

http://computers.pricegrabber.com/printers/Samsung-SCX-4725FN-All-One/m34785285.html

No CUPS needed. 

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


Intel video Driver

2010-09-21 Thread jorge espada
Hi, I installed freebsd 8.1 (gnome) on a dell vostro 3300 (i5), but the
screen resolution is 800x600, when the right is 1366x768, is there any
driver for VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
Thanks

Jorge E. Espada
___
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 from 8.0-Release /

2010-09-21 Thread Bas Smeelen
On 09/21/2010 03:05 PM, Zbigniew Szalbot wrote:
 Dear all,

 I hope you can advise. According to

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

 once mergemaster is completed, I should issue freebsd-update install.

 However, when I do this, I get:

 # freebsd-update install
 No updates are available to install.
 Run '/usr/sbin/freebsd-update fetch' first.

 However, I did fetch first.

 128601287012880128901290012910129201293012940129501296012970
 done.
 Applying patches... done.
 Fetching 440 files... done.
 Attempting to automatically merge changes in files... done.

 So I am not sure where to go from here. Should I try to fetch again,
 reboot or do something else?

 I am using FreeBSD 8.0-RELEASE-p4 (GENERIC).

 Thank you!

   
Sure you don't have a freebsd-update cron running which runs a the time
just between executing freebsd-update -r 8.1-RELEASE + merging config
files and executing freebsd-update install?
I upgraded some boxes to 8.1 and did not see this problem.



-- 
Systeembeheerder


OverNite Software Europe BV
Dr. Nolenslaan 157
6136 GM Sittard
THE NETHERLANDS
 phone: +31464200933
fax:   +31464200934
web:   http://www.ose.nl




DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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 from 8.0-Release /

2010-09-21 Thread Bas Smeelen
On 09/21/2010 05:01 PM, Bas Smeelen wrote:
 On 09/21/2010 03:05 PM, Zbigniew Szalbot wrote:
   
 Dear all,

 I hope you can advise. According to

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

 once mergemaster is completed, I should issue freebsd-update install.

 However, when I do this, I get:

 # freebsd-update install
 No updates are available to install.
 Run '/usr/sbin/freebsd-update fetch' first.

 However, I did fetch first.

 128601287012880128901290012910129201293012940129501296012970
 done.
 Applying patches... done.
 Fetching 440 files... done.
 Attempting to automatically merge changes in files... done.

 So I am not sure where to go from here. Should I try to fetch again,
 reboot or do something else?

 I am using FreeBSD 8.0-RELEASE-p4 (GENERIC).

 Thank you!

   
 
 Sure you don't have a freebsd-update cron running which runs a the time
 just between executing freebsd-update -r 8.1-RELEASE + merging config
 files and executing freebsd-update install?
 I upgraded some boxes to 8.1 and did not see this problem.

   
Sorry, meant between 'freebsd-update -r 8.1-RELEASE upgrade' and
'freebsd-update install'


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Polytropon
On Tue, 21 Sep 2010 02:42:22 +0200, C. P. Ghost cpgh...@cordula.ws wrote:
 On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi bon...@mail.r-bonomi.com 
 wrote:
 Is that really so? How about writing some emulation shim like ndis(4) for
 winprinters? Please correct me if I'm wrong, as I'm not a Windows systems
 programmer, but this is what I'm thinking about.

One big problem is that Windows doesn't equal Windows. I had
customers who intendedly bought some printer, then needed to switch
to another Windows, and then found their printer useless as there
was no specific driver available anymore. Creating compatibility
layers for printer drivers that do not care about compatibility at
all is like shooting a moving target. As I am not a Windows person,
I could only imagine that this would be much more difficult than
printer manufacturers (who sit at the source) agreeing to simply
use an existing and documented standard.



 So, in both cases, we have stable API/ABI interfaces on both sides
 of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the bottom
 half.

I really doubt about a stable interface, or situations as described
above wouldn't have happened.



 So, if we wanted to use those windriver blobs just like in the ndis(4)
 case, all we need is an emulation shim for both interfaces. Maybe 1/ is
 already covered by Wine (?) so we could borrow some code from there;
 and 2/ is basically a matter of mapping the subset of NT calls needed
 to read from and write to Windows ports to Unix calls to read and write
 to our Unix devices.

Keep in mind there are stupid things in the world as patents,
intelellectual property, licensing fees and copyrighted secret
codes. At the moment there was a program (or any other kind of
facility) that makes Winprinters accessible by *ANY* OS (not
only FreeBSD, but maybe all BSDs and Linusi and Solaris and
who knows what else), MICROS~1 would start violently screaming
as someone is eating from their cake. Keep in mind that Winprinters
are an important target platform for home users who PAY for
Windows and PAY for a compatible printer. They pay once
every two years or so. MICROS~1 and the printer manufacturers
can't stand it if one uses their products too long, as long-term
use does imply NO FURTHER SALES. And now imagine that a user
can fully use all features of a formerly-Winprinter all-in-one
ink pee copier scanner fax machine - where would be his need to
buy a Windows to do that as he can now use FreeBSD for free?

Of course, this consideration is very far away from any technical
understanding - as typical for lawpersons who make money from
bullshit. :-)



 But the basic idea remains: the interfaces on both sides of the
 windriver binary blobs is pretty stable and (I think) not a secret at all.

In that case, I would ask myself: Why hasn't it been done already?
If your assumption was right, it would already work. As it currently
does not work, I would check your assumption. :-)





-- 
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: The nightmarish problem of installing a printer

2010-09-21 Thread Polytropon
On Tue, 21 Sep 2010 08:58:58 -0400, Jerry freebsd.u...@seibercom.net wrote:
 The cheapest multi-function laser recommended by you is the Phaser
 6128MFP, an obviously loss-loser. The next version is $1500. I can buy
 a lot of ink for that. I agree that a laser printer is fine for a
 business environment; however, it would be total over-kill, and a gross
 waste of money, to install one in my home.

This depends on what you're printing at home. If you mostly 
use it for B/W text and graphics, buying a used (!) office-class
laser printer is cheaper than buying some ink-pee home consumer
device. Keep in mind that you can *not use* the laser printer
for some time without problems, but if you *not use* an ink-pee
printer for some time, it will dry out the ink and maybe damage
the printing heads (if separate), or even let the ink flow through
the printer. I have seen that already - very unpleasant.

Instead, office-class laser printers are more efficient in use
of good refurbished toner cartridges. I'm using a HP Laserjet
4 for example as a copying center (low-end computer, parallel
scanner, parallel printer). The last time I bought a toner cartridge
was in 2004, and right now, it's starting to fade. I'm using this
system VERY often. The printer itself is more than 15 years in my
hands now, and I HEAVILY used it. You simply can't break good
printers.

But if you require photo-printing, maybe on specific papers, or
you need a device for making colored copies, using a typical
home consumer device is often the better solution. When I need
digital photos printed out, I take the data to the drugstore as
they can do much better (and water-resistant!) than ink-pee.

A TODAY's office-class laser printer surely looks like overkill
for a home setting, I agree here. But keep in mind used ones
are also good - IF they are good. :-)


-- 
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: The nightmarish problem of installing a printer

2010-09-21 Thread Polytropon
On Tue, 21 Sep 2010 07:37:22 -0400, Jerry freebsd.u...@seibercom.net wrote:
 The bottom line is that installing and running a printer on a Window's
 machine is usually far easier than on a *nix variation. Even sharing a
 printer on a network in a Windows environment is simpler.

But much more expensive, and especially if we're talking networked
settings, more complicated to manage (think about offices for example),
which makes it more expensive again (support).

Additionally, using ink-pee printers in office settings usually is
considered a no-go, as it is very unprofessional, inefficient, and
did I mention it? Expensive. :-)



 On a separate note, I have friends who claim that the Ubuntu printer
 installation routine is similar to the Window's one and works quite well
 for most mainstream printers. I read something a few months ago that
 Ubuntu was working on using Window's printer drivers directly in Ubuntu.
 I cannot confirm that; however, it would certainly be a worthwhile
 avenue to explore.

That sounds interesting. Users coming from a Windows background
could then easily put in the printer CD (if they didn't throw it
away already) and install drivers.

Of course, that's not how UNIX does things - here, all the things
you need to interact with hardware are provided by the OS ideally,
or by packages you can install if needed - with less forced inter-
action.

But that's reality, not a happy UNIX dreamland where you would just
plug in the printer and let the kernel and userland deamons make
it available for printing and scanning immediately. :-)




-- 
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: The nightmarish problem of installing a printer

2010-09-21 Thread Polytropon
On Tue, 21 Sep 2010 07:16:21 -0700, Robert travelin...@cox.net wrote:
 A couple of years ago I got very tired of buying ink cartridges. I
 search and found the Samsung scx-4725fn for a very good price. Laser,
 network, all-in-one. It is not color but that was not a requirement for
 me.
 
 Just hook it up to the network and create a simple /etc/printcap and
 add the ip to /etc/hosts and away you go. 

So THAT's what I call handling it easily. As the printer (!!!) does
take care of the most things, it's easy to install it as everything
you need is to make it known to your network and write a line into
/etc/printcap. The HP Laserjet 4000 duplex I have at home (yes, it's
true) also has a built-in printer server, so programs like lpq and
lprm can query the printer queue INSIDE THE PRINTER. That's a very
nice feature for office settings as there is no need to buy a PC
and a Windows to make a printer server.


-- 
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: sysinstall with Fixit option and RootOnZFS/GPTZFSBoot caused kernel panic on Vmware machine!

2010-09-21 Thread Indexer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 21/09/2010, at 7:29 PM, Phan Quoc Hien wrote:

 Hi everyone!
 
 I followed tut at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/ to install
 FreeBSD Root on ZFS using GPT on my VMWARE virtual machine.
 When I go to step Install FreeBSD to zroot kernel-panic appeared!

It sounds like you are either low on ram, or are using i386. Look at 
http://wiki.freebsd.org/ZFSTuningGuide and follow the steps here in the loader 
prompt on the live system, and also add the same options to your loader.conf 
when you install the system. 

 My virtual machine detail:
 RAM: 512MB HDD: 10GB vmware workstation: 7.1.0 build-261024 with FreeBSD
 8.1-REL!
 See more detail about panic on image attached file.
 Please let me know how to solve this problem.
 Best regards,
 Mr.Hien
 
 

Hope this helps you. I think buwping the amount of ram in your VM wouldnt hurt 
either, ZFS really needs 1GB minimum, 2GB or more is preferred iirc.

 
 
 -- 
 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

William Brown

pgp.mit.edu



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iQIcBAEBAgAGBQJMmN1FAAoJEHF16AnLoz6JYiMP/3xU6a3pd90kEsWIOgaWfQZ5
ff0tCYdMoMTmIZ9zgB7u7/YA7kIEp4o7zM8MbYPRt8OcC+9oWQBjbCvVeKXLEOil
6faRrYR3CxBSa1CIUxTsfPS3OR3rOB8GlTMJObW/UrOPonVgpyD6RMW/J3wMbme9
pN0V2xOSwOv9rgdFWwHgAOT4eBpzmFeOAbLERFMcv3sUm2l1k56IUpgEDQNoHVPY
wp8Cxsl8QClP5bTpl2iSXvt0krCvo16HA64G4I1Bm6FSAY/aP45L5zouABHyHyIT
RCZjTzCaaWHHXvwErAdQfx6oBFuyAxzwgb1ZRdYMDoFHs1swJd3D0pWIYcjQ9ILz
3AR1YFY5t1SE+kP03Fssoz/HNpq2lO3IgjJsg/T8bsMEbb2/6zJlCKF5wAsMZHdY
1kj+75IsZ+phbzaPrpdL8kjfTWBP1De3WWH7sN85wGAw2c1mQCFLg9bsC2Ahxe1V
S/kRWwKDoJPvBaEEdo5LM7CLfoneXOR3taa3mqLvgkWAwyTG0iEtwwxhxMMFSmpp
InMWYplq/zu4au27+ujW+f6Mj3GhpSzaMNAfGkGdpsn4D4muBWgrLt04nSxuvjX6
K3ZoGAMlnH9rOLwZLvu2uaxKGZnyf/TYndgPQtpNm3iq7liXoSYnNl3B4NeNjI7j
l5wz40a62K6b2J/G/cIa
=6/hT
-END PGP SIGNATURE-
___
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


man.cgi

2010-09-21 Thread Ben GUILLER
Hello,

I am making an online man, and I would like to know where could I find the
man.cgi script, in order to use it.
Could you help me to find it ?

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: man.cgi

2010-09-21 Thread Lowell Gilbert
Ben GUILLER freax.g...@gmail.com writes:

 I am making an online man, and I would like to know where could I find the
 man.cgi script, in order to use it.
 Could you help me to find it ?


Try:

http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi
___
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


portsnap2.freebsd.org corrupt files

2010-09-21 Thread Francisco Reyes

portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap2.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Mon Sep 20 21:17:39 EDT 2010 to Tue Sep 21 10:05:03 EDT 2010.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... gunzip: (stdin): unexpected end of file
metadata is corrupt.

If I change the server to portsnap1.freebsd.org it goes through without 
errors.

___
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 from 8.0-Release /

2010-09-21 Thread Zbigniew Szalbot
Hello,

 Sure you don't have a freebsd-update cron running which runs a the time
 just between executing freebsd-update -r 8.1-RELEASE + merging config
 files and executing freebsd-update install?
 I upgraded some boxes to 8.1 and did not see this problem.

No. Nothing automated. That's why I am surprised and not sure what to
do next. Do you think I should try to invoke the upgrade (-r
8.1-RELEASE upgrade) command again?

-- 
Zbigniew Szalbot
___
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


Media Packages Vs. Ports

2010-09-21 Thread vrwmiller

Hi all,

I am performing PXE boots and automated installs of FreeBSD 8.1-RELEASE  
with a custom sysinstall.cfg file which identifies packages that are to be  
installed in addition to the distributions. We have need to install  
compat6x-amd64 and I'd like to have this done during install.  
Unfortunately, it does not appear that this package exists in the FreeBSD  
media from which the install occurs. However, it is available through the  
ports collection.


What is the relationship between the packages directory on the media and  
the ports collection? Is there a process that identifies what ports are  
made available in the packages directory of the media? Is it possible to  
take a port, make a package of it and put it in the packages directory of  
my own media?


--Rick
___
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: The nightmarish problem of installing a printer

2010-09-21 Thread C. P. Ghost
On Tue, Sep 21, 2010 at 5:43 PM, Polytropon free...@edvax.de wrote:
 On Tue, 21 Sep 2010 02:42:22 +0200, C. P. Ghost cpgh...@cordula.ws wrote:
 On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi bon...@mail.r-bonomi.com 
 wrote:
 Is that really so? How about writing some emulation shim like ndis(4) for
 winprinters? Please correct me if I'm wrong, as I'm not a Windows systems
 programmer, but this is what I'm thinking about.

 One big problem is that Windows doesn't equal Windows. I had
 customers who intendedly bought some printer, then needed to switch
 to another Windows, and then found their printer useless as there
 was no specific driver available anymore. Creating compatibility
 layers for printer drivers that do not care about compatibility at
 all is like shooting a moving target. As I am not a Windows person,
 I could only imagine that this would be much more difficult than
 printer manufacturers (who sit at the source) agreeing to simply
 use an existing and documented standard.

So I assume that the binary blobs of those winprinters are different
for different versions of Windows. So there would be two (or three?)
set of interfaces to emulate instead of just one.

 So, in both cases, we have stable API/ABI interfaces on both sides
 of the windriver binary blob: 1/, 2/ at the upper half, and 2/ at the bottom
 half.

 I really doubt about a stable interface, or situations as described
 above wouldn't have happened.

The stable interface is likely tied to one specific Windows release:
say, one for XP and one for Windows 7. Since most winprinters are
supposed to (still) run on XP, they come with an XP windriver blob,
and that's all what matters w.r.t. interface stability.

 So, if we wanted to use those windriver blobs just like in the ndis(4)
 case, all we need is an emulation shim for both interfaces. Maybe 1/ is
 already covered by Wine (?) so we could borrow some code from there;
 and 2/ is basically a matter of mapping the subset of NT calls needed
 to read from and write to Windows ports to Unix calls to read and write
 to our Unix devices.

 Keep in mind there are stupid things in the world as patents,
 intelellectual property, licensing fees and copyrighted secret
 codes.

Yes, that's indeed the real problem. A legal, not a technical one.

 At the moment there was a program (or any other kind of
 facility) that makes Winprinters accessible by *ANY* OS (not
 only FreeBSD, but maybe all BSDs and Linusi and Solaris and
 who knows what else), MICROS~1 would start violently screaming
 as someone is eating from their cake. Keep in mind that Winprinters
 are an important target platform for home users who PAY for
 Windows and PAY for a compatible printer. They pay once
 every two years or so. MICROS~1 and the printer manufacturers
 can't stand it if one uses their products too long, as long-term
 use does imply NO FURTHER SALES. And now imagine that a user
 can fully use all features of a formerly-Winprinter all-in-one
 ink pee copier scanner fax machine - where would be his need to
 buy a Windows to do that as he can now use FreeBSD for free?

As far as I understand this, Microsoft doesn't manufacture those
winprinters, so why would they screem if those printers were able
to run on other platform too?

You can even see it the other way: for every winprinter manufactured
(or, more precisely, for every windriver sold), Microsoft may get a
fixed share due to patent royalties from the manufacturer. So, suppose
a manufacturer sells more of his winprinters to BSD/Linux/Solaris/...
folks because we had this shim, it would translate to more patent
royalties to Microsoft too. So it is in Microsoft's interest not only NOT
to kick and scream, but actually to encourage those winprinters
by publishing the needed interfaces. It can only increase sales, and
they will get more kickbacks from those additional sales.

 Of course, this consideration is very far away from any technical
 understanding - as typical for lawpersons who make money from
 bullshit. :-)

That's for sure. ;-)

 But the basic idea remains: the interfaces on both sides of the
 windriver binary blobs is pretty stable and (I think) not a secret at all.

 In that case, I would ask myself: Why hasn't it been done already?
 If your assumption was right, it would already work. As it currently
 does not work, I would check your assumption. :-)

I don't know why it hasn't been done up to now. After all, this is nothing
but an exercise in mapping one set of interfaces onto another set of
interfaces. We've done this kind of interface matching with with the
Linuxulator, NDIS is another good example, and the Wine guys are
doing a great job too. I fail to see a compelling TECHNICAL reason
why Windows drivers in general (and windrivers in particular) couldn't
be docked to Unix systems. Of course, legal reasons are a different
matter.

 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

Regards,
-cpghost.

-- 
Cordula's 

Re: man.cgi

2010-09-21 Thread Ben GUILLER
Thank you very much, that was what I was looking for.

2010/9/21 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 Ben GUILLER freax.g...@gmail.com writes:

  I am making an online man, and I would like to know where could I find
 the
  man.cgi script, in order to use it.
  Could you help me to find it ?
 

 Try:

 http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi

___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Polytropon
On Tue, 21 Sep 2010 19:36:00 +0200, C. P. Ghost cpgh...@cordula.ws wrote:
  At the moment there was a program (or any other kind of
  facility) that makes Winprinters accessible by *ANY* OS (not
  only FreeBSD, but maybe all BSDs and Linusi and Solaris and
  who knows what else), MICROS~1 would start violently screaming
  as someone is eating from their cake. Keep in mind that Winprinters
  are an important target platform for home users who PAY for
  Windows and PAY for a compatible printer. They pay once
  every two years or so. MICROS~1 and the printer manufacturers
  can't stand it if one uses their products too long, as long-term
  use does imply NO FURTHER SALES. And now imagine that a user
  can fully use all features of a formerly-Winprinter all-in-one
  ink pee copier scanner fax machine - where would be his need to
  buy a Windows to do that as he can now use FreeBSD for free?
 
 As far as I understand this, Microsoft doesn't manufacture those
 winprinters, so why would they screem if those printers were able
 to run on other platform too?

Very simple: Whenever you are using FreeBSD (or any other operating
system that is not Windows), you are NOT using Windows.

MICROS~1's monopoly is based upon three pillars: Mind share, usage
share, and in conclusion, market share. That again is what matters
to printer manufacturers, as they are told the secret keys about
how to make their printer work on Windows.



 You can even see it the other way: for every winprinter manufactured
 (or, more precisely, for every windriver sold), Microsoft may get a
 fixed share due to patent royalties from the manufacturer. So, suppose
 a manufacturer sells more of his winprinters to BSD/Linux/Solaris/...
 folks because we had this shim, it would translate to more patent
 royalties to Microsoft too.

That's not logical as the package, the shiny box on the shelf that
the customer wants, already contains a CD (or today, a DVD) with
drivers for Windows, as this is the PC, and there's nothing else.
Users of non-Windows operating systems are a niche market that
does not persist in the scope of manufacturers. They are happy
selling more and more cheap units (than fewer more expensive units).
For them and for MICROS~1 it's a win-win situation, as the customer
always pays.



 So it is in Microsoft's interest not only NOT
 to kick and scream, but actually to encourage those winprinters
 by publishing the needed interfaces. It can only increase sales, and
 they will get more kickbacks from those additional sales.

Insignificant amounts, does not pay. The MICROS~1 concept of software
ecosystems does not tolerate anything different. Keep in mind the
three pillars mentioned before - they would be in danger.


-- 
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: man.cgi

2010-09-21 Thread Randal L. Schwartz
 Lowell == Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org 
 writes:

Lowell http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi

Wow.  *Ancient* Perl code.  I should contribute a rewrite to modern Perl.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
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: Intel video Driver

2010-09-21 Thread Chip Camden
Quoth jorge espada on Tuesday, 21 September 2010:
 Hi, I installed freebsd 8.1 (gnome) on a dell vostro 3300 (i5), but the
 screen resolution is 800x600, when the right is 1366x768, is there any
 driver for VGA compatible controller: Intel Corporation Core Processor
 Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
 Thanks
 
 Jorge E. Espada
 ___
 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

Can you post the output of 

pciconf -lv

I think you may be waiting for the same update to xf86-video-intel that I
am.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpnkdhrZEzOY.pgp
Description: PGP signature


Re: The nightmarish problem of installing a printer

2010-09-21 Thread Jerry
On Tue, 21 Sep 2010 19:47:27 +0200
Polytropon free...@edvax.de articulated:

 On Tue, 21 Sep 2010 19:36:00 +0200, C. P. Ghost
 cpgh...@cordula.ws wrote:
   At the moment there was a program (or any other kind of
   facility) that makes Winprinters accessible by *ANY* OS (not
   only FreeBSD, but maybe all BSDs and Linusi and Solaris and
   who knows what else), MICROS~1 would start violently screaming
   as someone is eating from their cake. Keep in mind that
   Winprinters are an important target platform for home users who
   PAY for Windows and PAY for a compatible printer. They pay
   once every two years or so. MICROS~1 and the printer manufacturers
   can't stand it if one uses their products too long, as long-term
   use does imply NO FURTHER SALES. And now imagine that a user
   can fully use all features of a formerly-Winprinter all-in-one
   ink pee copier scanner fax machine - where would be his need to
   buy a Windows to do that as he can now use FreeBSD for free?
  
  As far as I understand this, Microsoft doesn't manufacture those
  winprinters, so why would they screem if those printers were able
  to run on other platform too?
 
 Very simple: Whenever you are using FreeBSD (or any other operating
 system that is not Windows), you are NOT using Windows.
 
 MICROS~1's monopoly is based upon three pillars: Mind share, usage
 share, and in conclusion, market share. That again is what matters
 to printer manufacturers, as they are told the secret keys about
 how to make their printer work on Windows.

There is no secret key mindset involved. Peruse the MSDN and and you
will find tons of documentation on designing and writing drivers for
virtually anything you can imagine that is currently available on the
Window's platform. It is to Microsoft's advantage to have as many
products as possible operational on their platform. They even have
specialized forums to answer technical questions regard driver
development.

  You can even see it the other way: for every winprinter manufactured
  (or, more precisely, for every windriver sold), Microsoft may get a
  fixed share due to patent royalties from the manufacturer. So,
  suppose a manufacturer sells more of his winprinters to
  BSD/Linux/Solaris/... folks because we had this shim, it would
  translate to more patent royalties to Microsoft too.

I have not been able to locate any documentation that that would
substantiate your claim that Microsoft receives any
reimbursement/compensation from device manufacturers. Would you please
post the source of your claim.
 
 That's not logical as the package, the shiny box on the shelf that
 the customer wants, already contains a CD (or today, a DVD) with
 drivers for Windows, as this is the PC, and there's nothing else.
 Users of non-Windows operating systems are a niche market that
 does not persist in the scope of manufacturers. They are happy
 selling more and more cheap units (than fewer more expensive units).
 For them and for MICROS~1 it's a win-win situation, as the customer
 always pays.

Printer manufacturers, or manufacturers of other devices for that
matter, sell what the public wants. The public in general wants
inexpensive printers. I can guarantee you that if there were no market
for it, it would not be offered. I know several users with $50 printers
that are used only a few time a month or less. Purchasing a more
expensive unit would not be cost effective. Everyone does not need a
$2000+ laser printer. Manufacturers are smart enough to fill that niche.

  So it is in Microsoft's interest not only NOT
  to kick and scream, but actually to encourage those winprinters
  by publishing the needed interfaces. It can only increase sales, and
  they will get more kickbacks from those additional sales.
 
 Insignificant amounts, does not pay. The MICROS~1 concept of software
 ecosystems does not tolerate anything different. Keep in mind the
 three pillars mentioned before - they would be in danger.

Keep in mind that you have failed to produce one shred of
documentation to back up your claim of kickbacks.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__


signature.asc
Description: PGP signature


Re: The nightmarish problem of installing a printer

2010-09-21 Thread C. P. Ghost
On Tue, Sep 21, 2010 at 8:43 PM, Jerry freebsd.u...@seibercom.net wrote:
 On Tue, 21 Sep 2010 19:47:27 +0200
 Polytropon free...@edvax.de articulated:

 On Tue, 21 Sep 2010 19:36:00 +0200, C. P. Ghost
 cpgh...@cordula.ws wrote:
   At the moment there was a program (or any other kind of
   facility) that makes Winprinters accessible by *ANY* OS (not
   only FreeBSD, but maybe all BSDs and Linusi and Solaris and
   who knows what else), MICROS~1 would start violently screaming
   as someone is eating from their cake. Keep in mind that
   Winprinters are an important target platform for home users who
   PAY for Windows and PAY for a compatible printer. They pay
   once every two years or so. MICROS~1 and the printer manufacturers
   can't stand it if one uses their products too long, as long-term
   use does imply NO FURTHER SALES. And now imagine that a user
   can fully use all features of a formerly-Winprinter all-in-one
   ink pee copier scanner fax machine - where would be his need to
   buy a Windows to do that as he can now use FreeBSD for free?
 
  As far as I understand this, Microsoft doesn't manufacture those
  winprinters, so why would they screem if those printers were able
  to run on other platform too?

 Very simple: Whenever you are using FreeBSD (or any other operating
 system that is not Windows), you are NOT using Windows.

 MICROS~1's monopoly is based upon three pillars: Mind share, usage
 share, and in conclusion, market share. That again is what matters
 to printer manufacturers, as they are told the secret keys about
 how to make their printer work on Windows.

 There is no secret key mindset involved. Peruse the MSDN and and you
 will find tons of documentation on designing and writing drivers for
 virtually anything you can imagine that is currently available on the
 Window's platform. It is to Microsoft's advantage to have as many
 products as possible operational on their platform. They even have
 specialized forums to answer technical questions regard driver
 development.

That's exactly my point. Their interfaces are NOT closed or secret,
and we could (technically) implement against those interfaces.

  You can even see it the other way: for every winprinter manufactured
  (or, more precisely, for every windriver sold), Microsoft may get a
  fixed share due to patent royalties from the manufacturer. So,
  suppose a manufacturer sells more of his winprinters to
  BSD/Linux/Solaris/... folks because we had this shim, it would
  translate to more patent royalties to Microsoft too.

 I have not been able to locate any documentation that that would
 substantiate your claim that Microsoft receives any
 reimbursement/compensation from device manufacturers. Would you please
 post the source of your claim.

I wrote Microsoft *may* get a fixed share ..., not Microsoft gets a
fixed share...
That's an assumption, but probably a safe one, due to the way software patents
work. Maybe they get paid, or maybe not: it's their decision. Details
may (or may
not) be included in the Windows DDK EULAs and associated documents.

 That's not logical as the package, the shiny box on the shelf that
 the customer wants, already contains a CD (or today, a DVD) with
 drivers for Windows, as this is the PC, and there's nothing else.
 Users of non-Windows operating systems are a niche market that
 does not persist in the scope of manufacturers. They are happy
 selling more and more cheap units (than fewer more expensive units).
 For them and for MICROS~1 it's a win-win situation, as the customer
 always pays.

 Printer manufacturers, or manufacturers of other devices for that
 matter, sell what the public wants. The public in general wants
 inexpensive printers. I can guarantee you that if there were no market
 for it, it would not be offered. I know several users with $50 printers
 that are used only a few time a month or less. Purchasing a more
 expensive unit would not be cost effective. Everyone does not need a
 $2000+ laser printer. Manufacturers are smart enough to fill that niche.

The whole point of winprinters, winmodems etc... is to cut costs for
manufacturers. They save (little) money in silicon, and compensate by
providing a software Ersatz. There's no Microsoft conspiracy there. It's
just unfortunate that we have not yet emulated the environment those
software drivers expect, that's all. At least for i386 (and maybe amd64),
that should be possible. On ARM, SPARC and other platforms, emulation
would be a LOT more difficult, as we would need to hook in a i386 CPU
interpreter as well... ;-)

  So it is in Microsoft's interest not only NOT
  to kick and scream, but actually to encourage those winprinters
  by publishing the needed interfaces. It can only increase sales, and
  they will get more kickbacks from those additional sales.

 Insignificant amounts, does not pay. The MICROS~1 concept of software
 ecosystems does not tolerate anything different. Keep in mind the
 three pillars mentioned 

printcap

2010-09-21 Thread Dick Hoogendijk
 Can somebody point me to some information about what to write into 
/etc/printcap on a FreeBSD machine for a Laserjet that is connected 
though CUPS on an OpenSolaris server?


Linux/Windows computers automatically see this printer because it is 
broadcasted, but my FreeBSD computers do not and I would like to be 
able to print from those machines too.


Hope to get some help.
Dick
___
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 8.1 Squid suggestions?

2010-09-21 Thread Ed Flecko
Hi folks,
I have a small group of people in my office (less than 20), and I want
to set up a FBSD/Squid server, and I'm hoping someone might have some
suggestions for the install.

It's a clean install of FBSD 8.1, and the sole purpose of the server
is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of
RAM. I've installed Squid before (on an OpenBSD server), so I'm a
comfortable with Squid.

I'll install from a package (to make my life easy), but I'm not sure
if there are any FBSD specific changes I should make? Are there any
kernel customizations you might recommend I need? Are there any
suggestions you might make to improve performance?

Suggestions?

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: Media Packages Vs. Ports

2010-09-21 Thread Adam Vande More
On Tue, Sep 21, 2010 at 11:41 AM, vrwmil...@gmail.com wrote:

 Hi all,

 I am performing PXE boots and automated installs of FreeBSD 8.1-RELEASE
 with a custom sysinstall.cfg file which identifies packages that are to be
 installed in addition to the distributions. We have need to install
 compat6x-amd64 and I'd like to have this done during install. Unfortunately,
 it does not appear that this package exists in the FreeBSD media from which
 the install occurs. However, it is available through the ports collection.


You'll probably want to do something like this:

http://bsdbased.com/2010/03/23/freebsd-binary-package-repository-howto

FWIW, that's not the end all, be all to setting up your own package
repository just a reasonably simple method.



 What is the relationship between the packages directory on the media and
 the ports collection?


http://www.freebsd.org/doc/handbook/packages-using.html

Packages associated with a RELEASE also ultimately come from the ports
tree.  However, those RELEASE packages come from a ports tree that was put
into slush, then frozen.  This means those packages had more testing and
tweaking.

 Is it possible to take a port, make a package of it and put it in the
 packages directory of my own media?


Sure it's easy.  When build a port you can issue a make package command, or
you can use pkg_create to create packages from installed ported.  A common
approach to this is build all your updates in a jail, make packages of them,
then delete package from the host and install the newly built ones from the
jail.  Very small, if any downtime.  You can use the jail to create pkg's
for a custom repository too.

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg228757.html

-- 
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


Software to SEND log files only?

2010-09-21 Thread Ed Flecko
According to the FreeBSD website
(http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest
way to send mail only is to install the mail/ssmtp port.

Does anyone have an example of a script or other method (maybe a cron
script?) that would e-mail my log files to me daily?

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: printcap

2010-09-21 Thread Ed Flecko
Dick,
I'm not sure if this will help you, but here's what I did on my
network to print directly to an HP LaserJet on my LAN.

Pick a name (and a few convenient aliases) for the printer, and put
them in the /etc/printcap file.

hp|officehp:\
:sh:\
:rm=192.168.1.50:\
:sd=/var/spool/lpd/officehp:\
:mx#0:\
:lf=/var/log/officehp:\
:if=/usr/local/libexec/if-simple:

hp and officehp - what I have named my printer (two names)
sh- disables a banner from printing
rm  - I.P. address of the remote printer
sd- my spool directory
mx- max file size (o=unlimited)
lf- error file
if- input filter

# mkdir /var/spool/lpd/officehp

# touch /var/log/officehp

# chown daemon:daemon /var/spool/lpd/officehp

# chmod 770 /var/spool/lpd/officehp

# touch /usr/local/libexec/if-simple

# vi /usr/local/libexec/if-simple

#!/bin/sh
#
# if-simple - Simple text input filter for lpd
# Installed in /usr/local/libexec/if-simple
#
# Simply copies stdin to stdout.  Ignores all filter arguments.
/bin/cat  exit 0
exit 2

Now make the file executable:

# chmod 555 /usr/local/libexec/if-simple

Note: A copy of the if-simple script can be found in the
/usr/share/examples/printing directory.

Let's try and print!

lpd is run from /etc/rc, controlled by the lpd_enable variable. This
variable defaults to NO. If you have not done so already, add the
line:

lpd_enable=YES
to /etc/rc.conf, and then either restart your machine, or just run lpd

# lpd

lptest 20 20 | lpr -Pofficehp


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: Software to SEND log files only?

2010-09-21 Thread Adam Vande More
On Tue, Sep 21, 2010 at 2:56 PM, Ed Flecko edfle...@gmail.com wrote:

 According to the FreeBSD website
 (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest
 way to send mail only is to install the mail/ssmtp port.

 Does anyone have an example of a script or other method (maybe a cron
 script?) that would e-mail my log files to me daily?


That's pretty silly article if you ask me, sendmail is setup to that by
default.

just add something like this to cron:

uuencode /path/to/logfile logfile | mail -s logfile yourem...@example.com

-- 
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: Software to SEND log files only?

2010-09-21 Thread Len Conrad
-- Original Message --
From: Ed Flecko edfle...@gmail.com
Date:  Tue, 21 Sep 2010 12:56:13 -0700

According to the FreeBSD website
(http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest
way to send mail only is to install the mail/ssmtp port.

Does anyone have an example of a script or other method (maybe a cron
script?) that would e-mail my log files to me daily?

log files can be (too) huge as smtp DATA.  

I zip mine and use the mpack port to send the .zip file as MIME attachment.

Len

___
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: FreeBSD 8.1 Squid suggestions?

2010-09-21 Thread Ed Flecko
Thanks Dennis!

These are config options you've changed within the squid.conf file???

Can you give me some specifics as to what you changed and why you changed it?

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: The nightmarish problem of installing a printer

2010-09-21 Thread Bill Tillman
I once used an inkjet printer and almost went broke keeping it fed with ink. I 
found a refurbished Brother HL-2040 Laser printer at Tiger Direct for $89. It's 
been running now for almost 3 years and I'm only on my second toner cartridge. 
To be honest, we're all on a big paperless effort and I rarely print anything 
these days. With PDF files and new software like Bluebeam Revu I just don't 
have the need to print much.
 
But since I occassionally do print and the kids need it from time to time for 
school I have my laser setup on a FreeBSD server which serves all segments in 
my LAN, including the separate wireless LAN for laptops. CUPS is installed on 
my server as a dependency for other apps but I don't use it to print.
 
I used to run it with a parallel cable but when I updated my server I had to 
switch to the USB port on the printer. And I just use simple LPR printing from 
the windows clients. Now I won't say it was that easy but once it was up and 
running it's hands free. The FreeBSD server uses ghostscript and a simple 
filter file which envokes gs. The /etc/printcap file is very simple too. I set 
the windows clients up to use a postscript printer driver to send the files to 
the server which it then processes and prints. All is well and I never have any 
trouble with it. One day soon I will have to purchase another toner cartridge 
but those are available at several sources.
 
Don't be intimidated by printing under FreeBSD. It's really quite simple unless 
you're trying to use one of those WinPrinters which will only run with 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: The nightmarish problem of installing a printer

2010-09-21 Thread David Brodbeck
I think conspiracy theories miss the point.  The reason more printers
work on Windows than on FreeBSD is if you don't support Windows, you
can't sell printers to 92% of computer users.  This is an extremely
powerful incentive to spend money on writing Windows drivers.  The
financial incentive is not really there to spend time writing drivers
for FreeBSD.  There just aren't enough FreeBSD users who will buy your
printer to pay for it. It's simple market economics, unfortunately.
___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Robert Bonomi
 From cpgh...@cordula.ws  Mon Sep 20 19:40:36 2010
 Date: Tue, 21 Sep 2010 02:42:22 +0200
 Subject: Re: The nightmarish problem of installing a printer
 From: C. P. Ghost cpgh...@cordula.ws
 To: Robert Bonomi bon...@mail.r-bonomi.com
 Cc: freebsd-questions@freebsd.org

 On Mon, Sep 20, 2010 at 7:16 PM, Robert Bonomi bon...@mail.r-bonomi.com w=
 rote:
  Adapting =A0MS-Windows print drivers is not 'practical' either. =A0A wi=
 ndows
  print driver is embedd in the O/S KERNEL, =A0with _system_ calls_ (not
  mere 'library' routines) that implement the 'device-dependant' rendering
  of layout/formating directions. =A0One then takes the 'opaque object' so
  produced and sends it (via _another_ set of system calls) to the 'output'
  function of that same driver.

 Is that really so? How about writing some emulation shim like ndis(4) for
 winprinters? Please correct me if I'm wrong, as I'm not a Windows systems
 programmer, but this is what I'm thinking about.

 As far as I understand Windows printing, there are two aspects to resolve,
 given a vendor supplied windriver binary blob:

 1/ the windriver gets some (opaque) data from the GDI+ -- maybe
 a bitmap, with some meta data.

 2/ the windriver interprets this data however it sees fit, and then talks t=
 o
 the NT kernel (maybe via DLL calls) to send electrical impulses to the
 printer.

If only it _were_  sometine even approaching that simple!  Unfortunately, it
*isn't*.

*IF* UNIX applications produced their output in the form of gdi calls,
the approach you descibe _would_ be viable.  But they don't.  And therein
lies all the complications.

UNIX applications are almost entirely self-contained with regard to printing, 
A postscript producting app can make use of a printer-specific 'hints' file
that provides 'standardized' means of accessing printer features for which
'implementation details' are left up to the manufacurer -- e.g. paper source
tray 'numbering'; do trays start rom zero or one?  are they numbered 
consecutively? and which is which? (just for starter :)

Windows passes -individual- objects to the printer driver, which may return
a 'rendered' vesion _to_ Windows, which windoes ten merges with otheer 
rendered objects to produce next phase of the page which eventually goes 
through the driver a final time, and that bitstring is sent to the hardware.

If one has an application that doesn't work that way, and autonomously
produces an output data stream of 'some' form,  there is a *MAJOR* hurdle
in 'reverse engineering' that data stream back to 'objects' that can be 
fed to the Windows prinding model. as the manufacturer's printer driver
expects.  

If that isn't bad enough, there is no guarantee the the exact steps and 
sequences of operations that wee used to _produce_that data-strem, even
_HAVE_ a direct equivalent inthe Windows printing model.  (Heck this 
problem shows up _witin_ windows with different supported printers,
thats _why_ the applicationi has to adjust _its_ output logic to adapt
to the way the paritcular printer does things.o

When you're 'reverse engineering' from a set of concrete details to a set
of abstractions, *what*do*you*do* when you have a sequence of 'details'
that doesn't match _any_ of the possible abstractions in the target
environment?

Begin to get the idea?

Devloping the kind of 'shimp' you envision would be a significantly larger,
harder, and more time-consuming project than the development of Ghostscript.

and by the time the reqired team of engineers got through the years of work
involved, the chances are -very- good that nobody would be making 'that kind'
of printer driver any more. '95 drivers are not usablewith XP, XP drivers
are not compatible With Vista,  Vista - Windows 7,  I'm not sure about.`


___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Robert Bonomi
 From cpgh...@cordula.ws  Tue Sep 21 12:34:21 2010
 Date: Tue, 21 Sep 2010 19:36:00 +0200
 Subject: Re: The nightmarish problem of installing a printer
 From: C. P. Ghost cpgh...@cordula.ws
 To: Polytropon free...@edvax.de
 Cc: Robert Bonomi bon...@mail.r-bonomi.com, freebsd-questions@freebsd.org

 On Tue, Sep 21, 2010 at 5:43 PM, Polytropon free...@edvax.de wrote:
  On Tue, 21 Sep 2010 02:42:22 +0200, C. P. Ghost cpgh...@cordula.ws 
  wrote:
 
  Keep in mind there are stupid things in the world as patents,
  intelellectual property, licensing fees and copyrighted secret
  codes.

 Yes, that's indeed the real problem. A legal, not a technical one.

  At the moment there was a program (or any other kind of
  facility) that makes Winprinters accessible by *ANY* OS (not
  only FreeBSD, but maybe all BSDs and Linusi and Solaris and
  who knows what else), MICROS~1 would start violently screaming
  as someone is eating from their cake. Keep in mind that Winprinters
  are an important target platform for home users who PAY for
  Windows and PAY for a compatible printer. They pay once
  every two years or so. MICROS~1 and the printer manufacturers
  can't stand it if one uses their products too long, as long-term
  use does imply NO FURTHER SALES. And now imagine that a user
  can fully use all features of a formerly-Winprinter all-in-one
  ink pee copier scanner fax machine - where would be his need to
  buy a Windows to do that as he can now use FreeBSD for free?

 As far as I understand this, Microsoft doesn't manufacture those
 winprinters, so why would they screem if those printers were able
 to run on other platform too?

A) *THEY* developed the interface specifications. They license printer
manufacurers to build to it.   They _would_ obejct if somebody used
their technology to compete against them.

B) As it is, to _use_ one of those printers, you *HAVE*TO*BY* a MS O/S.
   if one could use those printers -without- a MS O/S, that is a 
   'provable' loss in MS O/S sales -- one sales loss for -each- non-MS
   system that has such a printer attached.





 You can even see it the other way: for every winprinter manufactured
 (or, more precisely, for every windriver sold), Microsoft may get a
 fixed share due to patent royalties from the manufacturer. So, suppose
 a manufacturer sells more of his winprinters to BSD/Linux/Solaris/...
 folks because we had this shim, it would translate to more patent
 royalties to Microsoft too. So it is in Microsoft's interest not only NOT
 to kick and scream, but actually to encourage those winprinters
 by publishing the needed interfaces. It can only increase sales, and
 they will get more kickbacks from those additional sales.

  Of course, this consideration is very far away from any technical
  understanding - as typical for lawpersons who make money from
  bullshit. :-)

 That's for sure. ;-)

  But the basic idea remains: the interfaces on both sides of the
  windriver binary blobs is pretty stable and (I think) not a secret at all.
 
  In that case, I would ask myself: Why hasn't it been done already?
  If your assumption was right, it would already work. As it currently
  does not work, I would check your assumption. :-)

 I don't know why it hasn't been done up to now. After all, this is nothing
 but an exercise in mapping one set of interfaces onto another set of
 interfaces. We've done this kind of interface matching with with the
 Linuxulator, NDIS is another good example, and the Wine guys are
 doing a great job too. I fail to see a compelling TECHNICAL reason
 why Windows drivers in general (and windrivers in particular) couldn't
 be docked to Unix systems. Of course, legal reasons are a different
 matter.

  Polytropon
  Magdeburg, Germany
  Happy FreeBSD user since 4.0
  Andra moi ennepe, Mousa, ...

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


Re: man.cgi

2010-09-21 Thread Warren Block

On Tue, 21 Sep 2010, Randal L. Schwartz wrote:


Lowell == Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org writes:


Lowell http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi

Wow.  *Ancient* Perl code.  I should contribute a rewrite to modern Perl.


Careful--it's like eating potato chips.
___
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: Software to SEND log files only?

2010-09-21 Thread Robert Bonomi
 Date: Tue, 21 Sep 2010 12:56:13 -0700
 From: Ed Flecko edfle...@gmail.com
 To: freebsd-questions@freebsd.org
 Subject: Software to SEND log files only?

 According to the FreeBSD website
 (http://www.freebsd.org/doc/handbook/outgoing-only.html), the easiest
 way to send mail only is to install the mail/ssmtp port.

 Does anyone have an example of a script or other method (maybe a cron
 script?) that would e-mail my log files to me daily?


   'mailing a file' is as simple as mail -s {subject} {addressee} file

   multiple files:  cat file1 file3 file2 |mail {adressee}

   the FM will provide other swiches that may be useful.

___
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: The nightmarish problem of installing a printer

2010-09-21 Thread Warren Block

On Tue, 21 Sep 2010, C. P. Ghost wrote:

On Tue, Sep 21, 2010 at 5:43 PM, Polytropon free...@edvax.de wrote:


In that case, I would ask myself: Why hasn't it been done already?
If your assumption was right, it would already work. As it currently
does not work, I would check your assumption. :-)


I don't know why it hasn't been done up to now. After all, this is nothing
but an exercise in mapping one set of interfaces onto another set of
interfaces. We've done this kind of interface matching with with the
Linuxulator, NDIS is another good example, and the Wine guys are
doing a great job too. I fail to see a compelling TECHNICAL reason
why Windows drivers in general (and windrivers in particular) couldn't
be docked to Unix systems. Of course, legal reasons are a different
matter.


Technically possible.  The brute-force method would be to run a VM with 
Windows and the real driver, then just capture input and output.  Sure 
it's tricky, but those are just details.


But look at this another way:

It's a difficult and demanding programming job, with lots of details 
that have to be just right, may or may not be easy to find without 
reverse engineering, and an ongoing support headache that will never 
end.  Kind of like Gutenprint; I wonder if they have a perspective on 
it.


What all this effort achieves is support for the most cost-reduced,
bottom-of-the-line printers from every manufacturer.

It's probably more effective to put some emphasis in the Handbook on the 
problems with host-based printers (the polite euphemism for 
Winprinter).  The issue is confused by printers that aren't host-based, 
but use proprietary PDLs.


If someone comes up with a working GDI printer emulation layer, that 
would make a great port.

___
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: printcap

2010-09-21 Thread Warren Block

On Tue, 21 Sep 2010, Dick Hoogendijk wrote:

Can somebody point me to some information about what to write into 
/etc/printcap on a FreeBSD machine for a Laserjet that is connected though 
CUPS on an OpenSolaris server?


It's not clear how that printer is connected.  If it's on the network 
itself, you should be able to send jobs directly to it.  If the printer 
is connected by USB or something else to the server, CUPS might still 
accept jobs from lpr.  (Untested, but it's a print server, after all.)


Network printing from printcap (among other things) is shown here:
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html

Well, and in the Handbook, too.
___
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 Digest, Vol 329, Issue 2

2010-09-21 Thread fengdreamer


原信息
主题: freebsd-questions Digest, Vol 329, Issue 2
发件人: freebsd-questions-requ...@freebsd.org
日期: 2010/09/21 14:22

Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-questions-requ...@freebsd.org

You can reach the person managing the list at
freebsd-questions-ow...@freebsd.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of freebsd-questions digest...


Today's Topics:

   1. Re: The nightmarish problem of installing a printer
  (per...@pluto.rain.com)
   2. Re: apache22 and threads (Michael Powell)
   3. dnsmasq, mfsBSD, status refused (Samuel Mart?n Moro)
   4. Re: TCP Logs  Why Connection attempt to closed port (Daniel Bye)
   5. Re: why is the PHP stuff line off by default in
  ports/lang/php5? (d...@safeport.com)
   6. Re: Problem running custom startup script at proper time
  (Robert Bonomi)
   7. Re: why is the PHP stuff line off by default in
  ports/lang/php5? (Michael Powell)
   8. Re: The nightmarish problem of installing a printer
  (Robert Bonomi)
   9. Re: Problems with upgrade - lost partition (Lokadamus)
  10. RSS to email? (Chris Maness)
  11. Re: RSS to email? (Glen Barber)
  12. Re: RSS to email? (Chip Camden)
  13. Re: RSS to email? (Glen Barber)
  14. Re: why is the PHP stuff line off by default in
  ports/lang/php5? (Rob Farmer)
  15. Re: RSS to email? (Michelle Konzack)
  16. Re: why is the PHP stuff line off by default in
  ports/lang/php5? (Matthew Seaman)
  17. Re: extra open ports in rkhunter (Carl Johnson)
  18. Re: make buildkernel pre-build too long (Alexander Best)
  19. Re: Problem running custom startup script at proper time (Aaron)
  20. Re: The nightmarish problem of installing a printer (C. P. Ghost)
  21. Zip file making issues (Ryan Coleman)
  22. Re: Zip file making issues (Matt Emmerton)
  23. Re: Zip file making issues (Ryan Coleman)
  24. wireless networking (William Kindler)
  25. Re: Zip file making issues (Michael Ross)
  26. Re: Zip file making issues (Ryan Coleman)
  27. Re: Zip file making issues (Matthew Seaman)
  28. Re: Zip file making issues (Ryan Coleman)
  29. Re: make buildkernel pre-build too long (David DEMELIER)


--

Message: 1
Date: Mon, 20 Sep 2010 05:20:52 -0700
From: per...@pluto.rain.com
Subject: Re: The nightmarish problem of installing a printer
To: free...@insightbb.com
Cc: freebsd-questions@freebsd.org
Message-ID: 4c9751a4.poujnkjk++rghed0%per...@pluto.rain.com
Content-Type: text/plain; charset=us-ascii

Steven Friedrich free...@insightbb.com wrote:

  Common Unix Printing System certainly sounds as if the intent
  was to be the ONE thing that is used for printing.  Whether
  they did a good job of it is another question entirely :(

 I think that you don't fully apreciate the task at hand.  When
 Unix was first invented, there were no laser printers, ink jets,
 USB, etc.

 That no one can create a one-size fits all solution OWES to the
 fact it's simply not always possible to unify disparate designs.
 They weren't designed to be interoperable.  Technology keeps
 marchng forward. We need to discard all of it eventually.

Back in the CP/M and early MS-DOS days, similar doubts were raised
regarding display systems.

Fortunately, those doubts did not stop some developers from doing
what others thought impossible.  The results included X11, which
has been rather durable for a considerable time.


--

Message: 2
Date: Mon, 20 Sep 2010 08:19:37 -0400
From: Michael Powell nightre...@hotmail.com
Subject: Re: apache22 and threads
To: freebsd-questions@freebsd.org
Message-ID: i77jch$ce...@dough.gmane.org
Content-Type: text/plain; charset=ISO-8859-1

Victor Sudakov wrote:

 Colleagues,
 
 When building apache22 from ports, would you recommend to enable or to
 disable threads support?
 
 Even more confusing is the fact that for ports/www/apache22 the default
 is: Enable threads support in APR is off (WITHOUT_THREADS=true)
 
 while for ports/devel/apr1 the default is:
 Enable Threads in apr is on (WITH_THREADS=true).
 
 Thank you in advance for any input.
 
 PS ports/devel/apr1 will also be used for the subversion client.
 

I wouldn't mind someone with more apache22-fu to elaborate, correcting the 
following if necessary.

My thoughts are this matters depending upon which mpm you choose to build 
into apache. The default is prefork, and it handles incoming requests by 
spawning child processes. The main shortcoming associated with this approach 
is resources such as database connections are not shareable between the 
child processes, e.g. each must have its own. So each incoming request has 
to fork a child, then build up, consume, and 

compat4x broken in FreeBSD 8.1-RELEASE?

2010-09-21 Thread Steve Polyack
 Is anyone else having issues using compat4x / running FreeBSD 4 
binaries on 8.1-RELEASE?  I recently upgraded a system of mine from 
8.0-RELEASE to 8.1-RELEASE, which seems to have broken compatibility 
with compat4x.  The requisite package is installed (I even reinstalled 
it, but it appears to be a binary package).  The kernel options are all 
still there in my kernel config, which is only a slightly modified GENERIC.


$ uname -a
FreeBSD xx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Sep 21 01:18:45 
EDT 2010 r...@x:/usr/obj/usr/src/sys/PFSYNC-MFIB  amd64


$ grep -ir compat /usr/src/sys/amd64/conf/PFSYNC-MFIB
options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty)
options COMPAT_IA32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7

An example FreeBSD 4 port which no longer works is audio/ventrilo-server:
$ sudo /usr/local/etc/rc.d/ventrilo-server start
Starting ventrilo.
/usr/local/ventrilo-server/ventrilo_srv: 1: Syntax error: ( unexpected
$ file /usr/local/ventrilo-server/ventrilo_srv
/usr/local/ventrilo-server/ventrilo_srv: ELF 32-bit LSB executable, 
Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), 
for FreeBSD 4.5, stripped

$  ldd /usr/local/ventrilo-server/ventrilo_srv
ldd: /usr/bin/ldd32: Exec format error

Interestingly enough, the compat4 libraries themselves don't seem to be 
recognized:

$ ldd /usr/local/lib32/compat/libfetch.so.2
ldd: /usr/bin/ldd32: Exec format error

Compat5x libraries do not appear to be affected:
$ ldd /usr/local/lib/compat/libfetch.so.3
/usr/local/lib/compat/libfetch.so.3:
libssl.so.3 = /usr/local/lib/compat/libssl.so.3 (0x800c0)
libcrypto.so.3 = /usr/local/lib/compat/libcrypto.so.3 
(0x800d3a000)


Has anyone else ran into this issue? I realize trying to use things 
built for FreeBSD 4 may be like beating a dead horse at this point, I'm 
just surprised that the compatibility was broken during a minor release 
upgrade.


Thanks,

Steve Polyack
___
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


Mailing list software recommendations

2010-09-21 Thread Ryan Coleman
I'm thinking about installing either ezmlm or mailman.

I'm not against others; thoughts?


--
Ryan
___
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: man.cgi

2010-09-21 Thread Matthew Seaman
On 21/09/2010 18:50:21, Randal L. Schwartz wrote:
 Lowell == Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org 
 writes:
 
 Lowell http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi
 
 Wow.  *Ancient* Perl code.  I should contribute a rewrite to modern Perl.

cvsweb.cgi or man.cgi?  Or both?

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 8.1 Squid suggestions?

2010-09-21 Thread Frank Bonnet

Hello

No problem ! I use Squid on a proliant HP 360 with 2 Gb RAM
and 100 Gb of disk cache. It serves our LAN clients ( approx 800 PCs )
without trouble with a standard kernel.

Hope this help.


Le 21/09/2010 21:41, Ed Flecko a écrit :

Hi folks,
I have a small group of people in my office (less than 20), and I want
to set up a FBSD/Squid server, and I'm hoping someone might have some
suggestions for the install.

It's a clean install of FBSD 8.1, and the sole purpose of the server
is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of
RAM. I've installed Squid before (on an OpenBSD server), so I'm a
comfortable with Squid.

I'll install from a package (to make my life easy), but I'm not sure
if there are any FBSD specific changes I should make? Are there any
kernel customizations you might recommend I need? Are there any
suggestions you might make to improve performance?

Suggestions?

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

___
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: FreeBSD 8.1 Squid suggestions?

2010-09-21 Thread patrick
Hi Ed,

For my office, I add IPFIREWALL_FORWARD into the kernel so that I can
transparently route all HTTP traffic without any client configuration.

My ipfw rule is:

ipfw add 550 fwd 127.0.0.1,3128 tcp from ${int_net} to any 80 via ${int_if}

Patrick


On Tue, Sep 21, 2010 at 12:41 PM, Ed Flecko edfle...@gmail.com wrote:
 Hi folks,
 I have a small group of people in my office (less than 20), and I want
 to set up a FBSD/Squid server, and I'm hoping someone might have some
 suggestions for the install.

 It's a clean install of FBSD 8.1, and the sole purpose of the server
 is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of
 RAM. I've installed Squid before (on an OpenBSD server), so I'm a
 comfortable with Squid.

 I'll install from a package (to make my life easy), but I'm not sure
 if there are any FBSD specific changes I should make? Are there any
 kernel customizations you might recommend I need? Are there any
 suggestions you might make to improve performance?

 Suggestions?

 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

___
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: Software to SEND log files only?

2010-09-21 Thread Bruce Cran
On Tue, 21 Sep 2010 15:16:35 -0500
Adam Vande More amvandem...@gmail.com wrote:

 That's pretty silly article if you ask me, sendmail is setup to that
 by default.
 
 just add something like this to cron:
 
 uuencode /path/to/logfile logfile | mail -s logfile
 yourem...@example.com

Most mail servers will block sendmail's connections from a dynamic IP:
the advantage to ssmtp is that it forwards mail to the ISP's server.

-- 
Bruce Cran
___
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: Software to SEND log files only?

2010-09-21 Thread Adam Vande More
On Wed, Sep 22, 2010 at 12:33 AM, Bruce Cran br...@cran.org.uk wrote:

 Most mail servers will block sendmail's connections from a dynamic IP:
 the advantage to ssmtp is that it forwards mail to the ISP's server.


A small few, not most will do this IME.  The larger issue is/was that some
providers blocked port 25 from dynamic IP's.  Regardless, it's easier to
config sendmail as a smarthost with authorization, than it is a add yet
another port IMO.

-- 
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 from 8.0-Release /

2010-09-21 Thread Bas Smeelen
On 09/21/2010 06:59 PM, Zbigniew Szalbot wrote:
 Hello,

   
 Sure you don't have a freebsd-update cron running which runs a the time
 just between executing freebsd-update -r 8.1-RELEASE + merging config
 files and executing freebsd-update install?
 I upgraded some boxes to 8.1 and did not see this problem.
 
 No. Nothing automated. That's why I am surprised and not sure what to
 do next. Do you think I should try to invoke the upgrade (-r
 8.1-RELEASE upgrade) command again?

   

Yes, start the upgrade from the beginning again.
If this does not work and you don't intend to rollback from a previous
update you may take a look at /var/db/freebsd-update and clean it out.


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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