Skip site navigation (1)Skip section navigation (2)
Date:      26 Apr 2006 08:26:04 -0700
From:      Antigen_WEBMAIL
To:        freebsd-questions@freebsd.org
Subject:   Antigen forwarded attachment
Message-ID:  <WEBMAILX3cf3ednHM3S000011a6@webmail.mimosasystems.com>

next in thread | raw e-mail | index | archive | help
--ANTIGEN-2275-2992-22752-23289-6243-21234
Content-Type: text/plain; charset=us-ascii

The entire message "freebsd-questions Digest, Vol 133, Issue 7", originally sent to you by owner-freebsd-questions@freebsd.org (owner-freebsd-questions@freebsd.org), has been forwarded to you from the Antigen Quarantine area.
This message may have been re-scanned by Antigen and handled according to the appropriate scan job's settings.



<<Entire Message.eml>>

--ANTIGEN-2275-2992-22752-23289-6243-21234
Content-Type: message/rfc822; name="Entire Message.eml"

Received: from psmtp.com ([10.0.0.105]) by webmail.mimosasystems.com with
	Microsoft SMTPSVC(6.0.3790.1830); Tue, 25 Apr 2006 16:39:29 -0700
Received: from source ([216.136.204.119]) by exprod5mx136.postini.com
	([64.18.4.10]) with SMTP; Tue, 25 Apr 2006 18:39:28 CDT
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
	by mx2.freebsd.org (Postfix) with ESMTP id 0854A73011;
	Tue, 25 Apr 2006 23:36:35 +0000 (GMT)
	(envelope-from owner-freebsd-questions@freebsd.org)
Received: from hub.freebsd.org (localhost [127.0.0.1])
	by hub.freebsd.org (Postfix) with ESMTP id 1500916A42A;
	Tue, 25 Apr 2006 23:36:33 +0000 (UTC)
	(envelope-from owner-freebsd-questions@freebsd.org)
From: freebsd-questions-request@freebsd.org
Subject: freebsd-questions Digest, Vol 133, Issue 7
To: freebsd-questions@freebsd.org
Reply-To: freebsd-questions@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
Sender: owner-freebsd-questions@freebsd.org
Errors-To: owner-freebsd-questions@freebsd.org
Message-Id: <20060425233633.1500916A42A@hub.freebsd.org>
Date: Tue, 25 Apr 2006 23:36:33 +0000 (UTC)
X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P:95.9108 M:90.4285 C:98.7678 )
X-pstn-settings: 3 (1.0000:1.0000) s gt3 gt2 gt1 r p m c 
X-pstn-addresses: from <freebsd-questions-request@freebsd.org> [36/1] 
Return-Path: owner-freebsd-questions@freebsd.org
X-OriginalArrivalTime: 25 Apr 2006 23:39:29.0169 (UTC)
	FILETIME=[7EC89810:01C668C1]

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

You can reach the person managing the list at
	freebsd-questions-owner@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: Firefox::::: ugh. (illoai@gmail.com)
   2. Re: Horrible: Apache corrupting files? (Ben Paley)
   3. Re: Firefox::::: ugh. (Gary Kline)
   4. Re: Strange visual artifacts in upper left corner of screen
      which	respond to mouse activity..... (Miguel Ramos)
   5. Re: Help needed compiling printer source code (P.U.Kruppa)
   6. RE: No Buffer Space Available (fbsd)
   7. Re: help me (Bastian Kummer)
   8. AWT (Per Dahlstr?m)
   9. Re: Firefox::::: ugh. (Gary Kline)
  10. Re: Can't login via SSH (Kris Anderson)
  11. Re: Can't login via SSH (Daniel Bye)
  12. Re: Strange visual artifacts in upper left corner of screen
      which respond to mouse activity..... (Eric Schuele)
  13. Re: Strange visual artifacts in upper left corner of screen
      which	respond to mouse activity..... (Miguel Ramos)
  14. Re: Help needed compiling printer source code (Robert Huff)
  15. ipfilter rule will not load (Aaron Siegel)
  16. Re: AWT (John Nielsen)
  17. Re: ipfilter rule will not load (Ron Wilhoite)
  18. Screen Size (C M)
  19. Re: PXE boot jumpstarting (Erik N?rgaard)
  20. Re: Screen Size (Kris Anderson)
  21. Re: Screen Size (Mike Hunter)
  22. Re: PXE boot jumpstarting (Heliocentric)
  23. New Release on Cooking Basics from Maran Illustrated!
      (Thomson Course Technology)
  24. New Logo Font (Energist) (Matthew Holder)
  25. Re: Screen Size (Bob Goodman)
  26. top on freebsd and wired memory (kapil jain)
  27. Re: Purchasing the correct hardware: dual-core intel? Big
      cache? (Michal Mertl)
  28. Security Run Output (Bryan Curl)
  29. Re: top on freebsd and wired memory (Erik Trulsson)
  30. Cloning boot drive - more details (nthwaver@gmail.com)
  31. Perl: sort string alphabetically, or remove dupe chars?
      (Nikolas Britton)
  32. Bind as a chaching nameserver (Richard Collyer)
  33. Re: Horrible: Apache corrupting files? (Ben Paley)
  34. Re: Bind as a chaching nameserver (Derek Ragona)
  35. Re: Help needed compiling printer source code (Malcolm Fitzgerald)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Apr 2006 10:19:31 -0500
From: "illoai@gmail.com" <illoai@gmail.com>
Subject: Re: Firefox::::: ugh.
To: "FreeBSD Mailing List" <freebsd-questions@freebsd.org>
Message-ID:
	<d7195cff0604250819td450460r69a0cdd1d5f6a2dc@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 4/24/06, Gary Kline <kline@tao.thought.org> snickered:
>         If firefox is supposedly superior

Low and pretty was set the bar.  /usr/X11R6/bin/firefox
not excellent is, Pierce Brosnan thou artn't, Lawnmower
Man also is this not.

--
--


------------------------------

Message: 2
Date: Tue, 25 Apr 2006 15:41:18 +0000
From: Ben Paley <ben@spooty.net>
Subject: Re: Horrible: Apache corrupting files?
To: freebsd-questions@freebsd.org, freebsd@akruijff.dds.nl
Message-ID: <200604251541.19053.ben@spooty.net>
Content-Type: text/plain;  charset="iso-8859-1"

On Friday 21 April 2006 00:31, Alex de Kruijff wrote:
> On Thu, Apr 20, 2006 at 10:17:47AM +0000, Ben Paley wrote:
> > Hello,
> >
> > I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small
> > office lan. Whenever one of the other machines (mostly Macs) makes a
> > request for a certain page on my machine, it is delivered succesfully but
> > the file itself is absolutely scrambled beyond recognition into a binary
> > file. Subsequent requests rescramble it into a different but equally
> > nonsense binary.
> >
> > I've looked with a binary editor and it really is completely messed up. I
> > can restore the file from a good archive copy, but every time the same
> > thing happens.
> >
> > The file was originally created on a mac by Flash (it's a 1.1k html file
> > which just embeds a flash movie). Recently I copied it to and from a
> > Solaris box via ftp from an Windows NT machine (although it wasn't opened
> > afaik - a long story, clearly, which also involves a usb flash drive...).
> >
> > Anyone have any ideas? The file itself is inconsequential, but the fact
> > of such blatant and relentless data corruption is very worrying to me! I
> > don't know if it's the file or my system or some combination... I'd
> > really appreciate some advice, I've been staring at it for two days and
> > I'm starting to bite my nails...
>
> How about setting the permission so that the file can not be changed.
> Then access the file and see if a process complains about not being able
> to change the file?
>
> P.S. I find it hard to beleave apache2 does this. I run apache2 myself
> and don't have this.

I've set the permissions to 444 and I'm still seeing the same corruption, so 
it must be something running as root, or something quite low level. No 
console messages and I don't really know where to look for error logs - I 
think you're right and it's not apache.

I've started to notice some other strange corruptions - some php files seem to 
become binary on a remote machine, even though my local copies are fine. 
Perhaps it's the server... but we've never had this trouble before, and it 
seems a little too much like what's happening on my machine to be a 
coincidence. One file I tried uploading with two different gui ftp clients 
and via command line, in ascii, binary and auto mode, and again the same 
thing happened each time - my browser complained of unknown ascii characters 
and kate (text editor) told me it was a binary file even though it looked ok. 
I tried changing the encoding and that made no difference.

I am actually quite worried now. There seems to be something holding all these 
occurences together, but I can't quite work out what it is.

Does anyone have any ideas where to look? I'd really appreciate it!

Cheers,
Ben


------------------------------

Message: 3
Date: Tue, 25 Apr 2006 08:42:20 -0700
From: Gary Kline <kline@tao.thought.org>
Subject: Re: Firefox::::: ugh.
To: nawcom <nawcom@gmail.com>
Cc: Gary Kline <kline@tao.thought.org>, freebsd-questions@freebsd.org
Message-ID: <20060425154220.GA43905@thought.org>
Content-Type: text/plain; charset=us-ascii

On Tue, Apr 25, 2006 at 01:02:00AM -0400, nawcom wrote:
> you can set up the mimetype for your user ($HOME/.mailcap) or globally 
> (/etc/mailcap)
> 
> by adding the line "application-smil: /location/of/realplay" to the file.
> 
> I guess I'm confused, are you expecting the realplay binary to be in 
> X11R6/bin, or are you confused about where and how to manually set up 
> the mimetype?
> you can figure out where realplay is by running "which realplay" in a 
> console - as long as the path is set up in the shell's $PATH variable.
> 
	Yes, realplay in in X11R6/bin, and is in my path::

q4 8:19 <tao> [7264] which realplay
/usr/X11R6/bin/realplay
q4 8:20 <tao> [7265] locate realplay | grep bin
/usr/X11R6/bin/realplay
/usr/X11R6/lib/RealPlayer/realplay.bin
q4 8:20 <tao> [7266] echo $PATH
/home/kline/bin:/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/local/jdk1.4.2/bin

	But for whatever reason, given an ".smil" file, mozilla defaults
	to realplay.  firefox gives me that obscure popup.  

	I'll add the "application-smil:" line to /etc/mailcap and 
	see if firefox gets a clue....  
-- 
   Gary Kline     kline@thought.org   www.thought.org     Public service Unix



------------------------------

Message: 4
Date: Tue, 25 Apr 2006 16:43:05 +0100
From: Miguel Ramos <freebsd@anjos.strangled.net>
Subject: Re: Strange visual artifacts in upper left corner of screen
	which	respond to mouse activity.....
To: Eric Schuele <e.schuele@computer.org>
Cc: FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <1145979785.16636.4.camel@compaq.anjos.strangled.net>
Content-Type: text/plain; charset=iso8859-15


Ter, 2006-04-25 às 10:15 -0500, Eric Schuele escreveu:
> Chuck Swiger wrote:
> > Eric Schuele wrote:
> > [ ... ]
> >> OK... I can tell be the number of replies, everyone just rolled their 
> >> eyes at me and figured I'm crazy.  But it really does occur.  :)
> >>
> >> FWIW:
> >> I have found that if I use the GDM provided XDMCP Chooser... that the 
> >> problem immediately dissapears.
> >>
> >> Anyone have any thoughts on this?
> > 
> > It sounds like something is causing data to get scribbled over video 
> > memory when you move your mouse, but who knows?
> 
> That's the assumption I had (but I have no idea how to 'fix' it).  In 
> fact, if you could see it happen... it even "looks like" memory getting 
> allocated.  The blocks fill in left to right top to bottom (for the most 
> part).  First one block... then another.
> 
> > 
> > You should probably not expect replies to a non-trivial message in less 
> > than 24-hours; 
> 
> Sorry... my comment regarding the "number of replies" was a failed 
> attempt at humor.  I realize this is a bit of an odd one.
> 
> My follow up to my own message was intended to introduce the new tidbit 
> of info I had found (XDMCP Chooser).

My hint is very bad (I had a problem once, and assume any problem with
gdm is the same). What is the value of the FirstVT option
in /usr/X11R6/etc/gdm/gdm.conf? Is that tty off in /etc/ttys?

-- 
Miguel Ramos


------------------------------

Message: 5
Date: Tue, 25 Apr 2006 21:15:02 +0200 (CEST)
From: "P.U.Kruppa" <root@pukruppa.de>
Subject: Re: Help needed compiling printer source code
To: Malcolm Fitzgerald <thats@notyourhomework.net>
Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Message-ID: <20060425191942.P1100@www.pukruppa.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 25 Apr 2006, Malcolm Fitzgerald wrote:

>>>>>> I'm trying to install a Brother HL-1230 printer.
>
>>> 
>>> Did you also have a look at
>>> http://linuxprinting.org/show_driver.cgi?driver=hl1250&fromprinter=Brother-HL-1230
>>> ?
>> I think you might be lucky: they have got a .ppd file there for you 
>> (Brother-HL-1230-hl1250.ppd ). Download it, put it into
>>  /usr/local/share/cups/model/
>> restart cups by
>> # /usr/local/etc/rc.d/cupsd restart
>> and try setup on http://localhost:631
>
>
> No luck! Downloaded and installed the PPD. Cups can see it.
That is one success at least: it means a working driver is 
available.

> I've set up a 
> printer.
>
> location: lpt0
> Printer State: idle, accepting jobs
> device URI: parallel:/dev/lpt0
>
> Printing the test page does not work, the job is aborted with error: 
> client-error-not-possible
The most probable reason for this is that some user permissions 
are set incorrectly. We have to analyze this step by step.
1) Try to print directly from the command line:
      # printf "Hello World \f" > /dev/lpt0
    If your printer is connected correctly to your parallel port,
    *something* should be printed out.

Uli.
>
> malcolm
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



*********************************************
* Peter Ulrich Kruppa - Wuppertal - Germany *
*********************************************


------------------------------

Message: 6
Date: Tue, 25 Apr 2006 11:52:20 -0400
From: "fbsd" <fbsd@a1poweruser.com>
Subject: RE: No Buffer Space Available
To: <yraffah@savola.com>,	<freebsd-questions@freebsd.org>
Message-ID: <MIEPLLIBMLEEABPDBIEGCEIFHFAA.fbsd@a1poweruser.com>
Content-Type: text/plain;	charset="iso-8859-1"

Your trying to run too many memory hungry applications at same time.
Tweaking the kernel is not going to help you. Adding more ram will.

Better to only run single network monitoring application at a time.

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Yousef
Raffah
Sent: Monday, April 24, 2006 3:33 AM
To: freebsd-questions@freebsd.org
Subject: No Buffer Space Available


Hello..

Please forgive me for being quite new to FreeBSD...

I noticed while I'm trying to monitor my network from my laptop
while
running fragrouter -B1 and trying to monitor the connections coming
to
and going from another machine on the same network through ettercap
or
ethereal that I get a lot of No buffer space available messages as
following:

SEND L3 ERROR: 1500 byte packet (0800:06) destined to 192.168.1.4
was
not forwarded (libnet_write_raw_ipv4(): -1 bytes written (No buffer
space available)
)

I even was not able to nmap the other machine.

I was trying to run these test over my iwi0 card and I'm on FreeBSD
6.1-RC

While googling I found several posts about setting certain kernel
parameters with sysctl and stuff can help but I didn't really get
the
clear picture of the problem and how it can be resolved, if it is
considered a problem. Or is it the iwi0 doesn't handle much load?

Thanks in advance for any input


--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com





------------------------------

Message: 7
Date: Tue, 25 Apr 2006 18:06:59 +0200
From: Bastian Kummer <basti@politbuero.org>
Subject: Re: help me
To: yraffah@savola.com
Cc: questions@freebsd.org
Message-ID: <444E4923.10501@politbuero.org>
Content-Type: text/plain; charset=ISO-8859-1

Yousef Raffah wrote:
> On Tue, 2006-04-25 at 14:04 +0200, Suliman Alexandru wrote:
>> yes i wanna buy a firma for internet and for more..... & ips fand more 
>> I wanna buy an owner shell  wen u understand me a firma ;)
>>
> What is a firma?

Firma is the german word for company



------------------------------

Message: 8
Date: Tue, 25 Apr 2006 17:53:51 +0200
From: Per Dahlstr?m <dahlstrm@post9.tele.dk>
Subject: AWT
To: <freebsd-questions@FreeBSD.org>
Message-ID: <000001c66880$72cba890$6701a8c0@PDAitetots>
Content-Type: text/plain;	charset="iso-8859-1"

Hi FREEBSD

I am a happy user of FREEBSD, or rather I were happy but still a user.
Actually it is my WebHotel running FREEBSD, which I became aware of in a
not so pleasant way.

While developing my site I realised that I could not use Java AWT and
Swing packages. My Hotel supplier then informed me that AWT and Swing is
not available at the moment.

So, here is my question: Is it true?

If, yes. Are you nice guys thinking of making it available in the
future?

When is that future? (Fingers crossed)


Best Regards Per Dahlstrøm
*: dahlstrm@post9.tele.dk 




------------------------------

Message: 9
Date: Tue, 25 Apr 2006 09:09:01 -0700
From: Gary Kline <kline@tao.thought.org>
Subject: Re: Firefox::::: ugh.
To: Andrew Pantyukhin <infofarmer@gmail.com>
Cc: Gary Kline <kline@tao.thought.org>,	FreeBSD Questions
	<questions@freebsd.org>
Message-ID: <20060425160901.GA44162@thought.org>
Content-Type: text/plain; charset=us-ascii

On Tue, Apr 25, 2006 at 12:28:06PM +0400, Andrew Pantyukhin wrote:
> On 4/25/06, Gary Kline <kline@tao.thought.org> wrote:
> >         If firefox is supposedly superior to every other browser,
> >         why, when it sees a realplayer "smil" file, does it pop up
> >         a rectangle with radio-button  options and a "BROWSE" button?
> >
> >         I press BROWSE and another frame opens.  I click on X11R6 and
> >         eventually get to bin, and there the only file I see is
> >         "xauth".  ...CCan anybody 'splain this?
> 
> www/mplayer-plugin takes care of smil and many other
> media files.
> 
	Hm, I used this a year++ ago; pkg_deleted. Will try 
	again, thanks.

	gary



-- 
   Gary Kline     kline@thought.org   www.thought.org     Public service Unix



------------------------------

Message: 10
Date: Tue, 25 Apr 2006 09:20:38 -0700 (PDT)
From: Kris Anderson <ciscoaix@yahoo.com>
Subject: Re: Can't login via SSH
To: Jose Borquez <bsdlists@sbcglobal.net>,	FreeBSD Questions group
	<freebsd-questions@freebsd.org>
Message-ID: <20060425162038.20450.qmail@web52702.mail.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1



--- Jose Borquez <bsdlists@sbcglobal.net> wrote:

> I attempt to establish an ssh connection to a remote
> server and I get 
> the following error:
> "ssh_exchange_identification: Connection closed by
> remote host"
> 
> I have checked the hosts.allow file and Everything
> is allowed by 
> default.  What else can I check?
> Thanks in advance,
Jose,
hosts.allow is only half the story. Check your
hosts.deny. I am currently working on a script that
futzes with the hosts.deny file and occasionally
something happens in the file. I've tested and tested
and everytime I remove a particular line from
hosts.deny all is well. Go figure.

Not sure if your hosts.deny file has stuff in it, but
if it does make a backup of it then empty it out. You
should be able to connect. If you can connect then add
one line at a time to your hosts.deny then try
establishing a newly authenticated session  until you
can't. Oddly one of two things, you'll either get
blocked immediately or all works and at some later
time suddenly you can't connect.

Hope that helps in some way.

~Mr. Anderson

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------------

Message: 11
Date: Tue, 25 Apr 2006 17:49:39 +0100
From: Daniel Bye <freebsd-questions@slightlystrange.org>
Subject: Re: Can't login via SSH
To: FreeBSD Questions group <freebsd-questions@freebsd.org>
Message-ID: <20060425164938.GC31648@catflap.slightlystrange.org>
Content-Type: text/plain; charset="us-ascii"

On Tue, Apr 25, 2006 at 09:20:38AM -0700, Kris Anderson wrote:
> 
> 
> --- Jose Borquez <bsdlists@sbcglobal.net> wrote:
> 
> > I attempt to establish an ssh connection to a remote
> > server and I get 
> > the following error:
> > "ssh_exchange_identification: Connection closed by
> > remote host"
> > 
> > I have checked the hosts.allow file and Everything
> > is allowed by 
> > default.  What else can I check?
> > Thanks in advance,
> Jose,
> hosts.allow is only half the story. Check your
> hosts.deny. I am currently working on a script that
> futzes with the hosts.deny file and occasionally
> something happens in the file. I've tested and tested
> and everytime I remove a particular line from
> hosts.deny all is well. Go figure.
> 
> Not sure if your hosts.deny file has stuff in it, but
> if it does make a backup of it then empty it out. You
> should be able to connect. If you can connect then add
> one line at a time to your hosts.deny then try
> establishing a newly authenticated session  until you
> can't. Oddly one of two things, you'll either get
> blocked immediately or all works and at some later
> time suddenly you can't connect.

For quite some time now, hosts.deny has been deprecated and its
functionality conflated with that of hosts.allow.  If you want to
maintain a separate file for denied addresses, it should be included in
your hosts.allow with the following syntax:

sshd : /etc/hosts.deniedssh : deny

The file /etc/hosts.deniedssh contains only valid hosts_options(5)
address specifications, which are expanded into the rule each time it is
checked.

Of course, the mere fact of hosts.deny's deprecation does not mean it
won't work, but in general, if you don't have an extant hosts.deny, you
are better off using the more modern, presumably better supported,
style rather than deliberately setting up an already obsolescent
configuration.

In your case, Kris, I can see that it should make your script rather
simpler to implement - you need only write addresses to the deny file,
rather than a more complete rule.  YMMV, and all that.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060425/40258c28/attachment-0001.pgp

------------------------------

Message: 12
Date: Tue, 25 Apr 2006 11:53:25 -0500
From: Eric Schuele <e.schuele@computer.org>
Subject: Re: Strange visual artifacts in upper left corner of screen
	which respond to mouse activity.....
To: Miguel Ramos <freebsd@anjos.strangled.net>
Cc: FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <444E5405.9090708@computer.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Miguel Ramos wrote:
> Ter, 2006-04-25 às 10:15 -0500, Eric Schuele escreveu:
>> Chuck Swiger wrote:
>>> Eric Schuele wrote:
>>> [ ... ]
>>>> OK... I can tell be the number of replies, everyone just rolled their 
>>>> eyes at me and figured I'm crazy.  But it really does occur.  :)
>>>>
>>>> FWIW:
>>>> I have found that if I use the GDM provided XDMCP Chooser... that the 
>>>> problem immediately dissapears.
>>>>
>>>> Anyone have any thoughts on this?
>>> It sounds like something is causing data to get scribbled over video 
>>> memory when you move your mouse, but who knows?
>> That's the assumption I had (but I have no idea how to 'fix' it).  In 
>> fact, if you could see it happen... it even "looks like" memory getting 
>> allocated.  The blocks fill in left to right top to bottom (for the most 
>> part).  First one block... then another.
>>
>>> You should probably not expect replies to a non-trivial message in less 
>>> than 24-hours; 
>> Sorry... my comment regarding the "number of replies" was a failed 
>> attempt at humor.  I realize this is a bit of an odd one.
>>
>> My follow up to my own message was intended to introduce the new tidbit 
>> of info I had found (XDMCP Chooser).
> 
> My hint is very bad (I had a problem once, and assume any problem with
> gdm is the same). What is the value of the FirstVT option
> in /usr/X11R6/etc/gdm/gdm.conf? Is that tty off in /etc/ttys?
> 

Well, yes.  That is the case.  FirstVT=9 in gdm.conf.  I only have
ttyv0-ttyv4 set to on.  So I changed FirstVT to 4.  This had the
undesirable effect of causing GDM to be unresponsive to the keyboard
(mouse still worked).  Then I changed FirstVT to 5... keyboard now 
works. And the odd artifacts remained.

Did I not make the change you were proposing properly?  I don't believe 
this has any effect.

-- 
Regards,
Eric



------------------------------

Message: 13
Date: Tue, 25 Apr 2006 18:01:40 +0100
From: Miguel Ramos <freebsd@anjos.strangled.net>
Subject: Re: Strange visual artifacts in upper left corner of screen
	which	respond to mouse activity.....
To: Eric Schuele <e.schuele@computer.org>
Cc: FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <1145984500.16636.8.camel@compaq.anjos.strangled.net>
Content-Type: text/plain; charset=iso8859-15


Ter, 2006-04-25 às 11:53 -0500, Eric Schuele escreveu:
> Well, yes.  That is the case.  FirstVT=9 in gdm.conf.  I only have
> ttyv0-ttyv4 set to on.  So I changed FirstVT to 4.  This had the
> undesirable effect of causing GDM to be unresponsive to the keyboard
> (mouse still worked).  Then I changed FirstVT to 5... keyboard now 
> works. And the odd artifacts remained.
> 
> Did I not make the change you were proposing properly?  I don't believe 
> this has any effect.

No, =9 was ok, since you only use ttyv0-ttyv4. It would be wrong if <=4,
as you experienced.
I'm out of clues. Sorry. I have no such problem. I can't imagine what
may be overwriting the framebuffer.

Miguel



------------------------------

Message: 14
Date: Tue, 25 Apr 2006 13:15:28 -0400
From: Robert Huff <roberthuff@rcn.com>
Subject: Re: Help needed compiling printer source code
To: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Message-ID: <17486.22832.404760.454291@jerusalem.litteratus.org>
Content-Type: text/plain; charset=us-ascii


P.U.Kruppa writes:

>  > Printing the test page does not work, the job is aborted with error: 
>  > client-error-not-possible
>
>  The most probable reason for this is that some user permissions
>  are set incorrectly. We have to analyze this step by step.

	This jogs a memory.
	What are the permissions on /var/spool/lpd?  I have a problem
where cups was unhappy with <old forgotten permissions>; after
some research (via Google), I changed it to 777 (eventually to 755)
and - voila!


				Robert Huff








------------------------------

Message: 15
Date: Tue, 25 Apr 2006 11:19:07 -0600
From: Aaron Siegel <bulk_mail@siegel-tech.net>
Subject: ipfilter rule will not load
To: questions@freebsd.org
Message-ID: <200604251119.07640.bulk_mail@siegel-tech.net>
Content-Type: text/plain;  charset="us-ascii"

Hello
I cannot get ipfilter to load any rules. When I type in the iptest command I 
receive the following output:
<root@hal># ipftest
no rules loaded

I used the example found in the /usr/share/examples directory I am unable to 
load the firewall. I have tried to load the file though

# ipf -Fa -f /etc/ipf.rules

I have posted my configuration bellow

Thank you
Aaron




Kernel
#IPFILTER
options         IPFILTER
options         IPFILTER_LOG
#options                IPFILTER_DEFAULT_BLOCK

/etc/rc.conf
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Dsn"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"


/etc/syslog.conf
security.*                                      /var/log/ipfilter.log
security.info                                   /var/log/firewall.info
security.notice                                 /var/log/firewall.notice
security.warning                                /var/log/firewall.warning
security.err                                    /var/log/firewall.err
 
/etc/ipf.rules (small excerpt)# Allow in standard www function because I have 
apache server
pass in quick on dc0 proto tcp from any to any port = 80 flags S keep state
pass in quick on dc0 proto udp from any to any port = 80 keep state

# Allow access to the zope server 8080
pass in quick on dc0 proto tcp from any to any port = 8080 flags S keep state
pass in quick on dc0 proto udp from any to any port = 8080 keep state

# Allow in non-secure Telnet session from public Internet
# labeled non-secure because ID/PW passed over public Internet as clear text.
# Delete this sample group if you do not have telnet server enabled.
#pass in quick on dc0 proto tcp from any to any port = 23 flags S keep state
#pass in quick on dc0 porto udp from any to any port = 23 keep state


# Allow in secure FTP, Telnet, and SCP from public Internet
# This function is using SSH (secure shell)
pass in quick on dc0 proto tcp from any to any port = 22 flags S keep state
pass in quick on dc0 proto udp from any to any port = 22 keep state

# Block and log only first occurrence of all remaining traffic
# coming into the firewall. The logging of only the first
# occurrence stops a .denial of service. attack targeted
# at filling up your log file space.
# This rule enforces the block all by default logic.
block in log first quick on dc0 all



------------------------------

Message: 16
Date: Tue, 25 Apr 2006 13:27:08 -0400
From: John Nielsen <john@jnielsen.net>
Subject: Re: AWT
To: freebsd-questions@freebsd.org
Cc: Per Dahlstr?m <dahlstrm@post9.tele.dk>
Message-ID: <200604251327.09078.john@jnielsen.net>
Content-Type: text/plain;  charset="iso-8859-1"

On Tuesday 25 April 2006 11:53, Per Dahlstrøm wrote:
> I am a happy user of FREEBSD, or rather I were happy but still a user.
> Actually it is my WebHotel running FREEBSD, which I became aware of in a
> not so pleasant way.
>
> While developing my site I realised that I could not use Java AWT and
> Swing packages. My Hotel supplier then informed me that AWT and Swing is
> not available at the moment.
>
> So, here is my question: Is it true?

FreeBSD supports Java and has for some time.  As far as I know, any JRE or JDK 
based on Java 1.4.2 or 1.5.0 will support both AWT and Swing.

A recent development made it much easier to obtain and run run "native" 
FreeBSD java packages, obviating the need in most cases to run a Linux binary 
and/or to compile the JDK from source.  See 
http://www.freebsdfoundation.org/downloads/java.shtml for more information.

JN


------------------------------

Message: 17
Date: Tue, 25 Apr 2006 13:42:46 -0400
From: Ron Wilhoite <ronw@bals.org>
Subject: Re: ipfilter rule will not load
To: freebsd-questions@freebsd.org
Message-ID: <444E5F96.1020505@bals.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 4/25/2006 1:19 PM, Aaron Siegel wrote:
> Hello
> I cannot get ipfilter to load any rules. When I type in the iptest command I 
> receive the following output:
> <root@hal># ipftest
> no rules loaded
> 

man ipftest says:

At least one of -N, -P or -r must be specified.

Sounds like you want:

# ipftest -r /etc/ipf.rules

Ron Wilhoite


------------------------------

Message: 18
Date: Tue, 25 Apr 2006 18:04:13 +0000
From: "C M" <c_mont59@hotmail.com>
Subject: Screen Size
To: freebsd-questions@freebsd.org
Message-ID: <BAY115-F2924FC1942065E4BF239D2E7BF0@phx.gbl>
Content-Type: text/plain; format=flowed

I just installed 6.0 on a Dell c640.

I dont want to run X.

I have a nice little 600x480 screen within my 14.1 lcd.  How can I get the 
virtual console to take up the whole screen?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



------------------------------

Message: 19
Date: Tue, 25 Apr 2006 20:44:44 +0200
From: Erik N?rgaard <norgaard@locolomo.org>
Subject: Re: PXE boot jumpstarting
To: freebsd-questions@freebsd.org
Message-ID: <444E6E1C.2030403@locolomo.org>
Content-Type: text/plain; charset="utf-8"

Matthias Fechner wrote:
> Hello Erik,
> 
> * Erik Nrgaard <norgaard@locolomo.org> [25-04-06 00:19]:
>>   http://www.daemonsecurity.com/pub/pxeboot
> 
> is it possible, that the side is down?
> I got always:
> Connection to 81.33.11.59 Failed

Server went down, power failure I think, at 9.XXam and I wasn't home to
put it back up.

Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4128 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060425/3b61e47e/smime-0001.bin

------------------------------

Message: 20
Date: Tue, 25 Apr 2006 12:34:20 -0700 (PDT)
From: Kris Anderson <ciscoaix@yahoo.com>
Subject: Re: Screen Size
To: C M <c_mont59@hotmail.com>, freebsd-questions@freebsd.org
Message-ID: <20060425193420.84250.qmail@web52713.mail.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1



--- C M <c_mont59@hotmail.com> wrote:

> I just installed 6.0 on a Dell c640.
> 
> I dont want to run X.
> 
> I have a nice little 600x480 screen within my 14.1
> lcd.  How can I get the 
> virtual console to take up the whole screen?
Poked about and found vidcontrol.

That might be able to do what you need.

Hope that helps.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------------

Message: 21
Date: Tue, 25 Apr 2006 12:49:45 -0700
From: Mike Hunter <mhunter@ack.berkeley.edu>
Subject: Re: Screen Size
To: C M <c_mont59@hotmail.com>
Cc: freebsd-questions@freebsd.org
Message-ID: <20060425194945.GB19644@malcolm.berkeley.edu>
Content-Type: text/plain; charset=us-ascii

On Apr 25 at 18:04, "C M" wrote:

> I just installed 6.0 on a Dell c640.
> 
> I dont want to run X.
> 
> I have a nice little 600x480 screen within my 14.1 lcd.  How can I get the 
> virtual console to take up the whole screen?

A lot of times there's a wacky function-??? key combination that "zooms"
your console screen to take up the whole LCD.  Check your manual and/or
bios settings.


------------------------------

Message: 22
Date: Tue, 25 Apr 2006 15:00:41 -0400
From: Heliocentric <heliocentric@gmail.com>
Subject: Re: PXE boot jumpstarting
To: "Vahan Yerkanian" <vahan@arminco.com>
Cc: freebsd-questions@freebsd.org
Message-ID:
	<bdf82f800604251200i34ad6134n714fa6919fa93b17@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 4/25/06, Vahan Yerkanian <vahan@arminco.com> wrote:
> While we are on the subject, is it possible to setup a FreeBSD PXE
> server that lets you netboot different OSes from iso images via a boot
> menu? I know it's possible with linux [1] [2]. Could be useful in labs
> where you use different OSes and want to minimize cd/dvd clutter.
yes. in fact, most of the steps are exactly the same; the only
difference is that you need to download syslinux itself, as I don't
think it's in the ports tree.

As a general rule, if the platform can install a dhcp server with the
pxeboot options, and a basic tftp server, it can pxeboot anything you
want it to. Now, this doesn't mean that what you pxeboot will be able
to get auxillary files it needs off the server, but that's to be
expected, and planned for (that's why the next server option is there,
after all!).


------------------------------

Message: 23
Date: Tue, 25 Apr 2006 20:30:57 GMT
From: "Thomson Course Technology"<CT.News@thomson.com>
Subject: New Release on Cooking Basics from Maran Illustrated!
To: freebsd-questions@freebsd.org
Message-ID: <57129077@informz.net>
Content-Type: text/plain;charset=ISO-8859-1


Maran Illustrated Update from Thomson Course Technology - April 2006

Unlike any other books in the market, Maran Illustrated™ books combine 
instruction and full color photographs or screen shots in a unique way to 
provide the best learning experience.  Each book is handcrafted, each 
photograph and screen shot analyzed and each sentence written and re-written to 
meet the Maran's high standards.
 
Maran Illustrated Cooking Basics 
maranGraphics Development Group 
1-59863-234-5

Maran Illustrated Bartending 
maranGraphics Development Group 
1-59200-944-1
 
For more information, to see the tiles available, and to order online:
http://emarketing.delmarlearning.com/apr06_MediaArts_Maran_update.html 

For Customer Service & Orders: 1-800-354-9706
SC: EMMAD046PJ

*If you can't click on the above link, please copy the URL into your browser.


Thank you for your interest in Thomson Course Technology

This is information from:
Thomson Course Technology, a part of the Thomson Corporation.
25 Thomson Place, Boston, MA 02210
1-800-354-9706







Powered by Informz   http://www.informz.com



------------------------------

Message: 24
Date: Tue, 25 Apr 2006 15:21:45 -0500
From: Matthew Holder <sixxgate@hotmail.com>
Subject: New Logo Font (Energist)
To: freebsd-questions@freebsd.org
Message-ID: <444E84D9.50506@hotmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Will the font from the new logo be available for download as TTF, Type1, 
or in a vector format?


------------------------------

Message: 25
Date: Wed, 26 Apr 2006 01:10:02 +0400
From: "Bob Goodman" <goodman@mac.hush.com>
Subject: Re: Screen Size
To: <freebsd-questions@freebsd.org>
Cc: C M <c_mont59@hotmail.com>
Message-ID: <20060425211006.B020BDA820@mailserver7.hushmail.com>
Content-Type: text/plain; charset="UTF-8"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>I just installed 6.0 on a Dell c640.
>
>I dont want to run X.
>
>I have a nice little 600x480 screen within my 14.1 lcd.  How can I
get >the
>virtual console to take up the whole screen?

Use "vidcontrol -i mode" to list modes then set the one you like.
You could also compile the new kernel with

options VESA
options SC_PIXEL_MODE

to use hi-res modes in console,
and probably add

options         SC_NORM_ATTR=(FG_LIGHTGREEN|BG_BLACK)
options         SC_NORM_REV_ATTR=(FG_BLACK|BG_GREEN)

options         SC_KERNEL_CONS_ATTR=(FG_WHITE|BG_BLACK)
options         SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_GREEN)

to have cool green text on black background :)

Hope this helps
Bob Goodman


-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5

wkYEARECAAYFAkROkA8ACgkQAQ09syE0bn7xnACfVGND4UlWGGjlKpNwWKhvbPDdgRwA
nRkwi1OA7lUTADSg/pU9ldN8F224
=60cA
-----END PGP SIGNATURE-----




Concerned about your privacy? Instantly send FREE secure email, no account required
http://www.hushmail.com/send?l=480

Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485



------------------------------

Message: 26
Date: Tue, 25 Apr 2006 14:35:54 -0700 (PDT)
From: kapil jain <kapiltj@yahoo.com>
Subject: top on freebsd and wired memory
To: freebsd-questions@freebsd.org
Message-ID: <20060425213554.24941.qmail@web81110.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Hi,
 
 I have a question, top on freebsd displays active, inactive and wired memory.
 Since kernel memory has to be non-pageable isn't it that user process resident memory should be active + inactive?
 However I see some discrepancy. For eg. active is 34M, inactive 116M.
 top -s 100 gives me resident sizes of all processes, if I sum them up it comes to about 75M. So where is the rest of 116+34-75 = 75M?
 
 thanks
 kapil
 


------------------------------

Message: 27
Date: Wed, 26 Apr 2006 00:11:46 +0200
From: Michal Mertl <mime@traveller.cz>
Subject: Re: Purchasing the correct hardware: dual-core intel? Big
	cache?
To: Bill Moran <wmoran@potentialtech.com>
Cc: freebsd-questions@freebsd.org
Message-ID: <1146003106.1069.45.camel@genius.i.cz>
Content-Type: text/plain

Bill Moran wrote:
> > > >
> > > > I've been asked to make some hardware recommendations, I'm hoping some
> > > > folks on the list can make some suggestions.
> > > >
> > > > We're looking hard at getting either Intel dual-core procs, or getting
> > > > hyperthreaded procs with huge (8M) caches.
> > > >
> > > > We currently have a few dual proc Intel HT machines that we can test
> > > > out our workload on, and I'm trying to get a feel for how to determine
> > > > if a larger cache size will generate better performance than replacing
> > > > HT procs with full-blown dual-core procs.  We're looking at the 6850
> > > > from Dell, which supports both processor families:

I can't answer your question either but I'd like to raise a couple of
questions. If I won't help you I would at least (I hope) learn a little
from reactions :-).

As far as I know Intel boxes scale quite badly to larger SMP
configurations because of at least partially shared FSB which limits
memory throughput and which is also consumed great deal by cache
coherency maintenance traffic I believe. Dual core may help a little I
suppose (I would expect that Intel engineers made memory snooping a
little more efficient when accesses are going through one piece of
silicon (e.g. the cache coherency traffic's pressure on FSB should be
lower between the cores on the same die in comparison to separate
cores)). As you may have guessed by now I think that there's some
possibility that you would get better performance with AMD Opteron based
solution (I know that Dell doesn't normally sell it though) which
probably scaler better or even something more "exotic" (Sun Hardware -
UltraSparc, T processors).

Even when there isn't pressure on the I/O hardware in your case you may
have suboptimally configured PostgreSQL. I believe that PostgreSQL
processes do not tend to grow much (at least in comparison to other
RDBMS engines). I think that the explanation by psql people is that the
huge amounts of memory other engines are using is often used for caching
the data and that they (psql) believe that the operating system should
be doing that (otherwise you waste memory on caching both in the OS and
in the application). With huge databases you should at the end become
I/O bound (or at least there must be big I/O traffic) and then I would
agree with psql people that there's not much point replicating OS
caching in the DB engine. But if crucial parts of working data fit into
the memory I would expect that storing them in process should be
beneficial. I expect there must be at least a little data verification
and shuffling before psql uses the pages from the DB files. Maybe the
amount of this work is negligible with real disk I/O, but it may play
some role when no real disk I/O is involved. Another explanation why
PostgreSQL doesn't grow much may be that they use a lot of shared memory
and this is in general probably rather scarce resource (at least the
users have to configure something rather low-level to have it up and
running). What are your needs regarding the SQL engine anyway? Can't the
needs be fulfilled by something other than PostgreSQL? I hate to say
that, but possibly MySQL? Or can Firebird be better? I don't know
firebird much but I think that it is quite full-featured and although it
isn't such widespread it has great performance at least in some
benchmarks. What about the operating system? I haven't seen FreeBSD
mentioned in your question but I suppose you are running it (because you
write to a FreeBSD ML). What about Linux? (Open)Solaris? I think when
you are in such big need for performance you shouldn't try just one
solution. We (FreeBSDers) would of course like to help you to get the
best performance from our favorite OS but maybe you will help make
FreeBSD better if you find your application runs considerably better on
something else and someone may later find the reason.

Last I would like to only express my belief that bigger cache may in
fact help you but that nobody can probably say it in advance.


Regards

Michal



------------------------------

Message: 28
Date: Tue, 25 Apr 2006 16:17:43 -0600
From: "Bryan Curl" <bc3910@gmail.com>
Subject: Security Run Output
To: freebsd-questions <freebsd-questions@freebsd.org>
Message-ID:
	<51257d370604251517h7fe93f92m9709f41b71462c9f@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I get this or similar message in my Security Run Output every day.

Is it something to be concerned with?

lnut.bc.net ipf denied packets:
+++ /tmp/security.FsPOiq0v      Fri Apr 21 03:03:51 2006
+1 @4 block out log first quick on dc0 all
+47571 @14 block in log first quick on dc0 all


--
--
Bryan
bc3910 'at' gmail 'dot' com


------------------------------

Message: 29
Date: Wed, 26 Apr 2006 00:32:20 +0200
From: Erik Trulsson <ertr1013@student.uu.se>
Subject: Re: top on freebsd and wired memory
To: kapil jain <kapiltj@yahoo.com>
Cc: freebsd-questions@freebsd.org
Message-ID: <20060425223220.GA90792@owl.midgard.homeip.net>
Content-Type: text/plain; charset=us-ascii

On Tue, Apr 25, 2006 at 02:35:54PM -0700, kapil jain wrote:
> Hi,
>  
>  I have a question, top on freebsd displays active, inactive and wired memory.
>  Since kernel memory has to be non-pageable isn't it that user process
>  resident memory should be active + inactive?

No.  'Inactive' can (and usually does) include memory that was used by
processes that are no longer running.


>  However I see some discrepancy. For eg. active is 34M, inactive 116M.
>  top -s 100 gives me resident sizes of all processes, if I sum them up it
>  comes to about 75M. So where is the rest of 116+34-75 = 75M?

Keep in mind that the resident size of a process (as displayed by top(1) or
ps(1)) includes any shared libraries it is using.
Memory for shared libraries can however be shared between several different
processes.  If you have several instances of the same program running at the
same time their codepages are usually shared.

This means that the total memory used by a set of processes is usually
*less* then the sum of their size as displayed by ps(1) or top(1).



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


------------------------------

Message: 30
Date: Tue, 25 Apr 2006 18:41:56 -0400
From: nthwaver@gmail.com
Subject: Cloning boot drive - more details
To: "FreeBSD Questions" <freebsd-questions@freebsd.org>
Message-ID:
	<17b33a80604251541h7140866cp46e680404204c61c@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

My system partitions (/, swap, /usr, /var, /home) are currently spread
onto a 10GB and a 20GB IDE drive, but I'd like to save space by
consolidating these along with some (not heavily accessed) data
partitions into a larger 250GB disk.  The other drives (at this point
a couple of SATA in RAID0) should be unaffected.  I'm a relative
newbie and although I've read the handbook and the past months'
threads regarding cloning, I still have a few questions.

1) Am I correct in understanding that I can simply connect the new
drive to a spare IDE controller and boot from the old disk, using
sysinstall to make the new partitions and give them temporary mount
points (choosing "yes" to install bootmanager), then dump | restore to
move each FS, and simply take out the old drives and switch over to
the new one?  Will this boot and run seamlessly?  At what point should
I edit the old /etc/fstab that was copied over?  If I *can* do this,
then what are the benefits of doing a fresh install on the new drive
first?

2) If I dump | restore from a *running* system, will the resulting
clone be confused when it's booted up?  Are any crucial changes or
balancing acts made upon shutdown that the new drive will miss?  Or,
is its main purpose fulfilled when it's loaded into memory on boot?

3) The handbook also recommends using boot0config, but how necessary
is this if I just plan on simply replacing the original drive?

4) How are the prospects of data recovery affected by FreeBSD's use of
"slices" for filesystems on top of partitions?  Experience tells me
that with traditional partitions, a corrupted file tree or data in one
area needn't prevent retreival of the other areas.  Is this so with
"slices" as well?

Thank you very much,
Jordan


------------------------------

Message: 31
Date: Tue, 25 Apr 2006 17:40:49 -0500
From: "Nikolas Britton" <nikolas.britton@gmail.com>
Subject: Perl: sort string alphabetically, or remove dupe chars?
To: "FreeBSD Questions" <questions@freebsd.org>
Message-ID:
	<ef10de9a0604251540p6461bfedgf788d500a81e7190@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

basically what I want to do:

my @wordlist = (letter, remember, alphabetically);
## some whizbang code that changes words like
## "letter" to "eelrtt", remember to beeemmrr,
## and alphabetically to aaabcehilllpty.
@foobar =~ tr///cs; #hmm, doesn't work.
print "@wordlist\n";

Hmm, that's broke, how about this:

my $wordlist = "letter";
## some whizbang regex that removes dupe chars
## from words like "alphabetically" --> "alphbeticy".
print "$wordlist\n";


Thanks.
--
BSD Podcasts @ http://bsdtalk.blogspot.com/


------------------------------

Message: 32
Date: Tue, 25 Apr 2006 23:50:04 +0100
From: Richard Collyer <richard@firebadger.net>
Subject: Bind as a chaching nameserver
To: freebsd-questions@freebsd.org
Message-ID: <444EA79C.1040606@firebadger.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I've recently been getting a lot of trouble with SpamAssassin performing 
a lot of rDNS lookups which is causing network issues (timeouts etc to 
DNS servers).

I am trying to install BIND (or djbdns) as a simple caching nameserver. 
Just to take some of the load off the networks DNS servers (my ISPs).

However I am having trouble finding a good tutorial to follow.

I've looked at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html 
but its mainly going on about being a nameserver which is not what I am 
after, wanting to keep it more simple than that.

[root@brian:/usr/local/etc] $ named -v
BIND 9.3.1

Can anyone suggest me a good tutorial to follow, I've googled but mostly 
they are for debain/redhat and some of the commands and files are different.

Cheers
Richard


------------------------------

Message: 33
Date: Tue, 25 Apr 2006 22:51:03 +0000
From: Ben Paley <ben@spooty.net>
Subject: Re: Horrible: Apache corrupting files?
To: "Dominique Goncalves" <dominique.goncalves@gmail.com>
Cc: FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <200604252251.07794.ben@spooty.net>
Content-Type: text/plain;  charset="iso-8859-1"

On Tuesday 25 April 2006 17:19, Dominique Goncalves wrote:

> What version of apache are you using?

apache-2.0.55_4

> I've already see corruption file when I was tried to share xml podcast
> between my FreeBSD 6.1 and Sony PSP, with Apache 2.2.0
>
> $ ls -l test.xml
> -r--r--r--  1 dom  dom  5725 Mar 11 17:47 test.xml
>
> before download
> $ md5 test.xml
> MD5 (test.xml) = 25ed4336e8906e64bd05ebea990d29a0
>
> after download
> $ md5 test.xml
> MD5 (test.xml) = ef0918bc4f7aa323eb6c41768092488e
>
> And after each access the MD5sum change ...

This sounds exactly like what is happening to me. Does it happen to every 
file, or just a few? Or just one?

If the problem is Apache, though, it doesn't explain the other problems I've 
been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or 
perhaps Apache is not the problem?

Or maybe I've been cursed for having an operating system of which the logo is 
a devil ;-)

> Try to ask directly on the freebsd-apache mailing list.

OK, I'll try that too, thanks for the tip.

Cheers,
Ben


------------------------------

Message: 34
Date: Tue, 25 Apr 2006 18:35:15 -0500
From: Derek Ragona <derek@computinginnovations.com>
Subject: Re: Bind as a chaching nameserver
To: Richard Collyer <richard@firebadger.net>,
	freebsd-questions@freebsd.org
Message-ID:
	<6.0.0.22.2.20060425183418.028e8bf0@mail.computinginnovations.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

For a caching nameserver simply follow the instructions in 
named.conf.  Enable named in rc.conf, and start the daemon.

         -Derek


At 05:50 PM 4/25/2006, Richard Collyer wrote:
>Hello,
>
>I've recently been getting a lot of trouble with SpamAssassin performing a 
>lot of rDNS lookups which is causing network issues (timeouts etc to DNS 
>servers).
>
>I am trying to install BIND (or djbdns) as a simple caching nameserver. 
>Just to take some of the load off the networks DNS servers (my ISPs).
>
>However I am having trouble finding a good tutorial to follow.
>
>I've looked at 
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html 
>but its mainly going on about being a nameserver which is not what I am 
>after, wanting to keep it more simple than that.
>
>[root@brian:/usr/local/etc] $ named -v
>BIND 9.3.1
>
>Can anyone suggest me a good tutorial to follow, I've googled but mostly 
>they are for debain/redhat and some of the commands and files are different.
>
>Cheers
>Richard
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.
>

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



------------------------------

Message: 35
Date: Wed, 26 Apr 2006 09:36:15 +1000
From: Malcolm Fitzgerald <thats@notyourhomework.net>
Subject: Re: Help needed compiling printer source code
To: freebsd-questions@FreeBSD. ORG <freebsd-questions@freebsd.org>
Message-ID: <544660b49b4b30f3139c0fbebad337ae@notyourhomework.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed

>
>> I've set up a printer.
>>
>> location: lpt0
>> Printer State: idle, accepting jobs
>> device URI: parallel:/dev/lpt0
>>
>> Printing the test page does not work, the job is aborted with error: 
>> client-error-not-possible
> The most probable reason for this is that some user permissions are 
> set incorrectly. We have to analyze this step by step.
> 1) Try to print directly from the command line:
>      # printf "Hello World \f" > /dev/lpt0
>    If your printer is connected correctly to your parallel port,
>    *something* should be printed out.

as user I get "cannot create /dev/lpt0: Permission denied"
as root I get a blank page

malcolm



------------------------------

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

End of freebsd-questions Digest, Vol 133, Issue 7
*************************************************


--ANTIGEN-2275-2992-22752-23289-6243-21234--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?WEBMAILX3cf3ednHM3S000011a6>