Re: Prompt containing SSH login information

2009-11-24 Thread Polytropon
On Mon, 23 Nov 2009 23:22:47 -0800, George Davidovich free...@optimis.net 
wrote:
 I'd suggest parsing out w(1), or better yet, making use of environmental
 variables instead.  The following, for example, are set by ssh:
 
   SSH_CLIENT
   SSH_CONNECTION
   SSH_TTY

That sounds interesting, I'll research on this further.



 Out of curiosity, why are you wanting to do this?  Are you chaining
 connections and need an analog of SHLVL for ssh connections? 

Quite. Because most of my systems look uniform (prompt and
other things), I'd like to immediately know where I am,
especially when I need to walk subnet paths (which
sometimes is a security requirement - one server that
allows SSH from external, all connected clients only
allow SSH from local network), so I think it would be
good to know what's exactly going on. I think the prompt
is the most obvious thing to put those informations, because
I'm looking at it anyway.



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


restore -rf u...@host:file

2009-11-24 Thread n dhert
To use the restore command (dump/restore) with a dump file on a remote
machine, the man restore tells you can use the syntax restore -rf
u...@host:file, this uses rcmd(3)
If from the target machine (on same subnet as remotemachine),
logged in as root, I enter
targetmachine# cd /home/testrestore
targetmachine# tar -rf root@ IP_of_remote_machine:/home/file.dmp
I get
IP_of_remote_machine: Connection refused
login to IP_of_remote_machine as root failed
There needs some more setup for this in order to work, (hosts.equiv,
.rhosts  or something ??).
How exactly ?
(I just need this for the restore, certainly not to be a permanent way of
transferring files)

 r...@%20machine.domain:/dir1/dir2/file.dmp
___
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: Prompt containing SSH login information

2009-11-24 Thread Ruben de Groot
On Tue, Nov 24, 2009 at 05:10:38AM +0100, Polytropon typed:
 Hi,
 
 again, a strange question: I'd like to know if there is a builtin
 means to let the csh's (or bash's) prompt show an information if
 the current dialog session has been opened via SSH from another
 system. The obvious is:
 
   m...@sys1:~% ssh m...@sys2
   m...@sys2:~% _
 
 I'd like the second prompt that I've been logged into sys2 by
 sys1, such as
 
   m...@sys1sys2:~% _
 
 or reverse
 
   m...@sys2sys1:~% _
 
 or something similar, like the complex form with different user
 names, such as
 
   m...@sys1:~% ssh b...@sys2
   m...@sys1b...@sys2:~% _
 
 Is this possible with the means given by the shell? I read man
 csh, but found nothing that would fit.
 
 Maybe it's not possible (because not intended)...

In tcsh there's the REMOTEHOST env variable. Don't know about bash.
Something like:

set prompt = ${us...@${host}${REMOTEHOST} 

should do it?

Ruben

___
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: restore -rf u...@host:file

2009-11-24 Thread Matthias Apitz
El día Tuesday, November 24, 2009 a las 11:44:52AM +0100, n dhert escribió:

 To use the restore command (dump/restore) with a dump file on a remote
 machine, the man restore tells you can use the syntax restore -rf
 u...@host:file, this uses rcmd(3)
 If from the target machine (on same subnet as remotemachine),
 logged in as root, I enter
 targetmachine# cd /home/testrestore
 targetmachine# tar -rf root@ IP_of_remote_machine:/home/file.dmp

Why you are talking here about tar(1) if you need restore(1M)?

 I get
 IP_of_remote_machine: Connection refused
 login to IP_of_remote_machine as root failed
 There needs some more setup for this in order to work, (hosts.equiv,
 .rhosts  or something ??).
 How exactly ?
 (I just need this for the restore, certainly not to be a permanent way of
 transferring files)

just use another normal user and not 'root'; you only need read access
to the file on the remote server;

 
  r...@%20machine.domain:/dir1/dir2/file.dmp

I'm usingt for restore:

# newfs /dev/daX
# mount /dev/daX /mnt
# cd /mnt

# ssh g...@albatros cat dumpsRebelion-20080825/usr.dmp.gz | gzip -dc | restore 
-r -f -

(my dumps are compressed there);

HIH

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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: Prompt containing SSH login information

2009-11-24 Thread Polytropon
On Tue, 24 Nov 2009 12:19:45 +0100, Ruben de Groot mai...@bzerk.org wrote:
 In tcsh there's the REMOTEHOST env variable. Don't know about bash.
 Something like:
 
 set prompt = ${us...@${host}${REMOTEHOST} 
 
 should do it?

That's an approach, it it makes the upper stage visible;
it works in bash, too.

For interactive shells, I would include a test if $REMOTEHOST
is set, and if it is, then it's a SSH session, so a different
prompt has to be set.


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


freebsd.org problems?

2009-11-24 Thread Vincent Hoffman
Is www.freebsd.org haiving problems?
http://downforeveryoneorjustme.com/www.freebsd.org
seems to indicate a general problem.
(not that I cant just use a mirror but I'm curious)


Vince
___
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.org problems?

2009-11-24 Thread Polytropon
On Tue, 24 Nov 2009 13:36:35 +, Vincent Hoffman vi...@unsane.co.uk wrote:
 Is www.freebsd.org haiving problems?
 http://downforeveryoneorjustme.com/www.freebsd.org
 seems to indicate a general problem.
 (not that I cant just use a mirror but I'm curious)

Same here:

% wget http://www.freebsd.org/
--14:57:09--  http://www.freebsd.org/
   = `index.html'
Resolving www.freebsd.org... 69.147.83.33, 2001:4f8:fff6::21
Connecting to www.freebsd.org|69.147.83.33|:80... failed: Operation timed out.
Connecting to www.freebsd.org|2001:4f8:fff6::21|:80... failed: No route to host



-- 
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: nanobsd (Freebsd 7.2) and GENERIC.hints

2009-11-24 Thread Maciej Milewski
Dnia niedziela, 22 listopada 2009 o 22:52:12 Bruce Griffiths napisał(a):
 Is there any way of forcing a nanobsd build to use a file other than
 GENERIC.hints to create the /boot/device.hints?
 Using a target specific hints file is much simple and less error prone
 than other methods.
 
 Bruce
Have you tried using your own kernel configfile and defining there your hints?

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


7.2-STABLE to 8-R

2009-11-24 Thread John
Hello list

I've looked high and low for a howto/link showing how to update to 8, to
no avail. Is it just a case of the regular buildworld process or are
there gotchas because we are crossing major version numbers.

-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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: need insights with openssl....

2009-11-24 Thread Bernt Hansson

Gary Kline said the following on 2009-11-24 05:53:

guys,

here is the web page for my network guy's cut and paste page.

http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_6.2_Server#Configuring_Mail_Services

	We need to generate SSL keys for the Apache server. 


Have a look at

http://cb.vu/unixtoolbox.xhtml#certs
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread John
On Tue, Nov 24, 2009 at 05:25:42PM +0100, Pieter de Goeje wrote:
 On Tuesday 24 November 2009 16:45:14 John wrote:
  Hello list
  
  I've looked high and low for a howto/link showing how to update to 8, to
  no avail. Is it just a case of the regular buildworld process or are
  there gotchas because we are crossing major version numbers.
  
 
 You got it right. Just the regular upgrade procedure as documented in 
 /usr/src/UPDATING.
 
 The gotcha is that you need to rebuild all ports. If you don't do that you 
 can 
 run in to trouble when you later build a port.
 
 I found that usually it is fastest to just take note of which ports you need, 
 delete all existing ports, then after the upgrade reinstall the required 
 ports.

Thanks, that's a relief! I looked at the url the other chap posted and
it seems to be the same thing although he uses a slightly different
syntax and I think he is talking about upgrading in a datacentre,
remotely.

cheers
-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Pieter de Goeje
On Tuesday 24 November 2009 16:45:14 John wrote:
 Hello list
 
 I've looked high and low for a howto/link showing how to update to 8, to
 no avail. Is it just a case of the regular buildworld process or are
 there gotchas because we are crossing major version numbers.
 

You got it right. Just the regular upgrade procedure as documented in 
/usr/src/UPDATING.

The gotcha is that you need to rebuild all ports. If you don't do that you can 
run in to trouble when you later build a port.

I found that usually it is fastest to just take note of which ports you need, 
delete all existing ports, then after the upgrade reinstall the required 
ports.

-- 
Pieter de Goeje
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Rolf G Nielsen

John wrote:

On Tue, Nov 24, 2009 at 05:25:42PM +0100, Pieter de Goeje wrote:

On Tuesday 24 November 2009 16:45:14 John wrote:

Hello list

I've looked high and low for a howto/link showing how to update to 8, to
no avail. Is it just a case of the regular buildworld process or are
there gotchas because we are crossing major version numbers.

You got it right. Just the regular upgrade procedure as documented in 
/usr/src/UPDATING.


The gotcha is that you need to rebuild all ports. If you don't do that you can 
run in to trouble when you later build a port.


I found that usually it is fastest to just take note of which ports you need, 
delete all existing ports, then after the upgrade reinstall the required 
ports.


Thanks, that's a relief! I looked at the url the other chap posted and
it seems to be the same thing although he uses a slightly different
syntax and I think he is talking about upgrading in a datacentre,
remotely.

cheers


Just another note or two.

If you decide to recompile the ports using portupgrade, portmaster or a 
similar tool, rather than, as Pieter suggested, deleting them and 
re-installing, make sure your ports are up to date before upgrading the 
system. That way you are less likely to run into problems when 
recompiling them after upgrading.


After running mergemaster, do a make delete-old to remove any 7.2 
binaries remaining (libraries still in use won't be deleted). I usually 
do this while still in single user, but I believe it can be done in 
multi user as well.


After upgrading the ports, cd to /usr/src and do a make delete-old-libs. 
If you upgrade them using portupgrade, portmaster or a similar tool, do 
the delete-old-libs AFTER all ports are successfully upgraded. The 
reason for this is that the ports you have installed are still linked to 
the 7.2 libraries. If you decide to delete all ports, delete them before 
upgrading the system, then do the delete-old and delete-old-libs before 
installing any new ports.


I usually delete all ports and re-install the essential ones after 
upgrading, but I've tried the portupgrade approach too, and both have 
worked well for me. The latter approach is more time consuming, but 
ensures you have all your ports after the upgrade, while the former 
approach takes less time and may help get rid of ports you no longer need.


Good luck. :)

Rolf Nielsen
___
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: need a newline between paragraphs....

2009-11-24 Thread Giorgos Keramidas
On Mon, 23 Nov 2009 17:39:35 -0800, Gary Kline kl...@thought.org wrote:
 PS: is there any one-liner to add back one newline between paragraphs?

Not an accurate one.

You can *guess* when a line ends with a punctuation character
*and* it is shorter than some configurable wrapping column that
it is probably the end of a paragraph.  But this is only a
heuristic guess and a pretty silly heuristic at that.

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


Re: 7.2-STABLE to 8-R

2009-11-24 Thread John
On Tue, Nov 24, 2009 at 06:05:13PM +0100, Rolf G Nielsen wrote:
 
 Just another note or two.
 
 If you decide to recompile the ports using portupgrade, portmaster or a 
 similar tool, rather than, as Pieter suggested, deleting them and 
 re-installing, make sure your ports are up to date before upgrading the 
 system. That way you are less likely to run into problems when 
 recompiling them after upgrading.
 
 After running mergemaster, do a make delete-old to remove any 7.2 
 binaries remaining (libraries still in use won't be deleted). I usually 
 do this while still in single user, but I believe it can be done in 
 multi user as well.

Yes, this is good advice. When crossing even a minor version boundary, I
do this, though it might be overkill with minor version changes. make
delete-old and make delete-old-libs. I also run make delete-old-dirs and
make delete-old-files

Regarding ports, I think I'll take the long route. This box is my main
machine, my desktop - and so there are a LOT of ports installed. It will
be easier to make portmanager rebuild everything in pristine mode. It
will take a long time, but I accept this. Before this is done, I run the
built-in routines in /usr/ports - clean out */work/* and distfiles.

It's a fast machine though - shouldn't take too long. What I'm thinking
about now is speeding up make. There are two cores in this CPU. Can I
specify -j2 ? Is it one per core or more? I have also specified
CPUTYPE?=athlon64 in make.conf. dmesg shows this:

CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (3006.83-MHz
K8-class CPU)

Can I specify -j somewhere? man make.conf doesn't cite examples of -j
and I'm unsure where (or if it is even desirable) to put it. Any clues?

cheers

-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Manolis Kiagias
John wrote:
 Hello list

 I've looked high and low for a howto/link showing how to update to 8, to
 no avail. Is it just a case of the regular buildworld process or are
 there gotchas because we are crossing major version numbers.

   
You can go the source way or the 'freebsd-update' way. Either way, you
will have to rebuild all ports.
Detailed instructions are in the Handbook:

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

(see 24.2.3)
___
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: hp 10-in mini?

2009-11-24 Thread Roland Smith
On Mon, Nov 23, 2009 at 06:43:15PM -0800, Gary Kline wrote:
  But as you mentioned  they do not come with optical drive bays,  but with
  with 4/8/16 gig flash drives  no one really cares-
 
   do you mean what i know as thumb drives?  stick-like thing
   you just plug in?  i've never used these and am unfamiliar.  

They're very handy. You can even get them op to 32 GiB these days, although
those are expensive. An 8 GiB model can be had for around $20 from newegg.
That is 2 DVDs worth of rewritable space in a package about the size of your
thumb. 

   one reason i want an optical drive is for when i watch a
   movie/dvd/cd on my tiny notebook. 

If you re-encode the movies you can make them much smaller than a DVD. Even in
high quality you can fit a movie (without the annoying crap that you cannot
skip in a stand-alone DVD player) in 2 GiB.

   indication that i've gone completely 'round the bend.  another
   reason for using the optical drive might be to save things
   from the notebook if everything else is down...

If you cannot fit a backup on a thumbdrive, get a USB-connected portable
harddisk. They are superior to a DVD, IMO. You can even get thwm up to a
terabyte now!  But you could get a 500 GiB model for around $80.
E.g. http://www.newegg.com/Product/Product.aspx?Item=N82E16822211029

Some models need an external power supply, but the one in the link above gets
all its power from USB. It's about the size of an iPhone. These portable
harddisks are my favorite backup devices these days. I do use geli(8) to
encrypt the contents in case of loss or theft. 

   altho raison d'etre [dont laugh at my spelling, please] for
   wanting such a small computer is to use it as a speech device,

Recording or playback? Laptop speakers and microphones aren't very good
IMHO.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp3RYgFV3Q0G.pgp
Description: PGP signature


Re: hp 10-in mini?

2009-11-24 Thread Gary Kline
On Tue, Nov 24, 2009 at 08:19:15AM -0800, Matt Szubrycht wrote:
 Gary,
 
 If you could shell out $30 or so for an external CD/DVD - see this link and 
 revisit on Friday - they have great Black Friday sale every year: 
 http://www.newegg.com/Store/SubCategory.aspx?SubCategory=420name=External-CD-DVD-Drives
 Ebay is always a good option as well.
 
 Cheers,
 Matt
 

$30 ain't bad for black friday--or any other day, for that
matter!  

The $200 notebooks were/are definitely what's known in retail
as a lost leader, for obvious reasons.  When I see the ASUS
going for a couple hundred bux, man, I'm grabbing one!  DAmn:-)

gary

PS: HO-HO-HO, a bit early... .

 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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


This is to good to be true

2009-11-24 Thread stan
I have about a dozen FreeBSD boxes serving a dedicated function. Among
other things these machines run a local copy of Firefox, which is updated
rapidly by a CGI script.

These machines were at  6.2 STABLE, and Firefox 1.x. I am upgrading them to
7.2 STABLE, and Firefox 3. Historically memory leaks in Firefox cause us to
have to write a watchdog script that killed it an restarted it about once
a day, based upon it's active memory set. One of the new machines has been
up for several days without having to do this. This is not totally
unexpected,as I thought that this had bee improved, if not fixed in newer
versions of Firefox.

However, I have been keeping a close look on memory utilization using
cricket (which acquires it's data using SNMP) and I am blown away by what I
am seeing historically ucd_sys free ram has hovered around zero on these
systems, Now it grows over time! These machines do have a stable set of
applications, and I can rationally see how  a well designed kernel might be
aggressively freeing RAM given this. If so huge congratulations are due the
developers.

Dose this seem to be a reasonable belief?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
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: hp 10-in mini?

2009-11-24 Thread Jean-Paul Natola
Im still  trying to locate the 200 HP

Although  bestbuy has the a gateway  for 229 today

-Original Message-
From: Gary Kline [mailto:kl...@thought.org] 
Sent: Tuesday, November 24, 2009 2:12 PM
To: Matt Szubrycht
Cc: Jean-Paul Natola; Doug Poland; FreeBSD Mailing List
Subject: Re: hp 10-in mini?

On Tue, Nov 24, 2009 at 08:19:15AM -0800, Matt Szubrycht wrote:
 Gary,
 
 If you could shell out $30 or so for an external CD/DVD - see this link and
revisit on Friday - they have great Black Friday sale every year: 

http://www.newegg.com/Store/SubCategory.aspx?SubCategory=420name=External-CD
-DVD-Drives
 Ebay is always a good option as well.
 
 Cheers,
 Matt
 

$30 ain't bad for black friday--or any other day, for that
matter!  

The $200 notebooks were/are definitely what's known in retail
as a lost leader, for obvious reasons.  When I see the ASUS
going for a couple hundred bux, man, I'm grabbing one!  DAmn:-)

gary

PS: HO-HO-HO, a bit early... .

 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: hp 10-in mini?

2009-11-24 Thread Gary Kline
On Mon, Nov 23, 2009 at 05:34:04PM -1000, Al Plant wrote:
 Gary Kline wrote:
 Aloha Gary,
 
 I have one running Ubuntu Linux on the HD. It works ok on a wired or 
 wireless network with a Fixed IP. The automatic gui for setting up the 
 network failed to work and stay where it was set so I wrote the file 
 myself using a fixed IP  etc. I also run FreeBSD 7.2 on it on a plug in 
 flash drive using Manolis DVD copy. I paid $400. with extra battery and 
 memory.


I may have-to spring for one of these puppies -- with optical
and mouse.  At least two medicos are interested in my ideas...
[Still, half-price upped my buy_now flag:)

 
 Haven't set up the wireless for use with Coffee Shop wan yet.
 
 Tech support for the mini is from India and I know more than they do 
 about Linux and  haven't used Linux in years.
 
 The Mini has had no problems except the touch pad is usless. Touching 
 the pad  is a click or several same as the buttons.) I found out that by 
 touching the light above it turns it off so you can use a wireless mouse 
 which works well. HP Tech support did not know how to disable the 
 touchpad. A terminal is brought up by alt/f2.

What kind? xterm, konsole, or the gnome flavor?  I prefer
something with a solid cursor; the Gnome blinks ... and I'm 
too lazy to dig into the code to see where to off the
blinking.  this is getting interestinger and interestinger.

aloha, al.



 
 
 
 
 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
email: n...@hdk5.net 
 All that's really worth doing is what we do for others.- Lewis Carrol
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Warren Block

On Tue, 24 Nov 2009, John wrote:

Regarding ports, I think I'll take the long route. This box is my main
machine, my desktop - and so there are a LOT of ports installed. It will
be easier to make portmanager rebuild everything in pristine mode. It
will take a long time, but I accept this. Before this is done, I run the
built-in routines in /usr/ports - clean out */work/* and distfiles.

It's a fast machine though - shouldn't take too long. What I'm thinking
about now is speeding up make. There are two cores in this CPU. Can I
specify -j2 ? Is it one per core or more?


This is now supposed to happen automatically on ports that are safe to 
build with multiple jobs.  Offhand I don't know how to show what's 
really happening other than something crude like watching top.


-Warren Block * Rapid City, South Dakota USA
___
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: need a newline between paragraphs....

2009-11-24 Thread Chad Perrin
On Mon, Nov 23, 2009 at 05:39:35PM -0800, Gary Kline wrote:
 
   PS: is there any one-liner to add back one newline between
   paragraphs?

As someone else said -- that depends on how you define a paragraph in
the file.  If any time there's a newline you've got a new paragraph, you
can just use a simple substitution regex to replace all instances of one
newline with two newlines.  If some of your paragraphs are already
separated by two newlines, you could just use \n+ in the matching part of
your substitution regex to indicate that you want any instance of one or
more newlines in succession to be replaced with exactly two newlines --
if that doesn't screw up some other formatting you have in the file.

In order to answer this question properly, we'd need to know more about
how you define paragraph in this context, and whether there are special
cases of non-paragraph formatting that might cause conflicts with
paragraph formatting while doing a substitution.

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


pgph68SyEyeB2.pgp
Description: PGP signature


Re: need a newline between paragraphs....

2009-11-24 Thread Gary Kline
On Tue, Nov 24, 2009 at 07:09:34PM +0200, Giorgos Keramidas wrote:
 On Mon, 23 Nov 2009 17:39:35 -0800, Gary Kline kl...@thought.org wrote:
  PS: is there any one-liner to add back one newline between paragraphs?
 
 Not an accurate one.
 
 You can *guess* when a line ends with a punctuation character
 *and* it is shorter than some configurable wrapping column that
 it is probably the end of a paragraph.  But this is only a
 heuristic guess and a pretty silly heuristic at that.
 

it's prob'ly bcse i'm older than zeus, but it seems that i
once wrote a script or short c program that detected the 
end-of-paragraph.  maybe somewhere in atom.  anyway, karl
vogel came to my rescue with a two-byte change to the

print $fh $_;

line. appending $/ resolves the problem.  

print $fh $_$/;


now i can point kttsd's reader at the entire [huge] file -- 
while i read along.  or read each chapter individually.  the 
way i wrote them


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Roland Smith
On Tue, Nov 24, 2009 at 05:40:25PM +, John wrote:
 
 Regarding ports, I think I'll take the long route. This box is my main
 machine, my desktop - and so there are a LOT of ports installed. It will
 be easier to make portmanager rebuild everything in pristine mode. It
 will take a long time, but I accept this. Before this is done, I run the
 built-in routines in /usr/ports - clean out */work/* and distfiles.

I would _strongly_ advise you to make a list of all your current ports, e.g. 
with
'portmaster -L ports.list', deleting all ports and re-installing the ports
labeled as 'leaf ports' and 'root ports' in ports.list.

While portmaster/-manager do their best, they just cannot cover all the corner
cases, especially since some ports require extra action (e.g. perl!) There is
a good chance you'll end up with a big mess like binaries linked to both 7.x
and 8.x libraries or ports failing to build for mysterious reasons. Both have
happened to me in the past and are a major PITA to fix.

I've done the complete delete/reinstall run a couple of times now on my
desktop with ≈490 ports installed. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpapl4IhXrES.pgp
Description: PGP signature


Re: 7.2-STABLE to 8-R

2009-11-24 Thread Charlie Kester

On Tue 24 Nov 2009 at 13:09:48 PST Roland Smith wrote:

On Tue, Nov 24, 2009 at 05:40:25PM +, John wrote:


Regarding ports, I think I'll take the long route. This box is my main
machine, my desktop - and so there are a LOT of ports installed. It will
be easier to make portmanager rebuild everything in pristine mode. It
will take a long time, but I accept this. Before this is done, I run the
built-in routines in /usr/ports - clean out */work/* and distfiles.


I would _strongly_ advise you to make a list of all your current ports, e.g. 
with
'portmaster -L ports.list', deleting all ports and re-installing the ports
labeled as 'leaf ports' and 'root ports' in ports.list.

While portmaster/-manager do their best, they just cannot cover all the corner
cases, especially since some ports require extra action (e.g. perl!) There is
a good chance you'll end up with a big mess like binaries linked to both 7.x
and 8.x libraries or ports failing to build for mysterious reasons. Both have
happened to me in the past and are a major PITA to fix.

I've done the complete delete/reinstall run a couple of times now on my
desktop with ???490 ports installed.


Can someone remind me once again, when rebuilding all of my ports, what
is the trick for avoiding the options dialogs?  I'd like to have this
run largely unattended. I seem to recall someone describing a method to
go through all of them upfront, rather than having the build process
interrupted each time a port wants that input.

I know that portupgrade has a batch build option, but unless I'm
mistaken, that skips any ports that need interaction to build.
___
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: need a newline between paragraphs....

2009-11-24 Thread Gary Kline
On Tue, Nov 24, 2009 at 01:07:41PM -0700, Chad Perrin wrote:
 On Mon, Nov 23, 2009 at 05:39:35PM -0800, Gary Kline wrote:
  
  PS: is there any one-liner to add back one newline between
  paragraphs?
 
 As someone else said -- that depends on how you define a paragraph in
 the file.  If any time there's a newline you've got a new paragraph, you
 can just use a simple substitution regex to replace all instances of one
 newline with two newlines.  If some of your paragraphs are already
 separated by two newlines, you could just use \n+ in the matching part of
 your substitution regex to indicate that you want any instance of one or
 more newlines in succession to be replaced with exactly two newlines --
 if that doesn't screw up some other formatting you have in the file.
 
 In order to answer this question properly, we'd need to know more about
 how you define paragraph in this context, and whether there are special
 cases of non-paragraph formatting that might cause conflicts with
 paragraph formatting while doing a substitution.
 

precisely.  in this case, every paragraph that is not on a
newline wraps.  so anything that has an EOL is a new
paragraph.

there are a few places that require different formatting; 
these are easily re-done thanks to OOo!


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



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Rolf G Nielsen

Charlie Kester wrote:

On Tue 24 Nov 2009 at 13:09:48 PST Roland Smith wrote:

On Tue, Nov 24, 2009 at 05:40:25PM +, John wrote:


Regarding ports, I think I'll take the long route. This box is my main
machine, my desktop - and so there are a LOT of ports installed. It will
be easier to make portmanager rebuild everything in pristine mode. It
will take a long time, but I accept this. Before this is done, I run the
built-in routines in /usr/ports - clean out */work/* and distfiles.


I would _strongly_ advise you to make a list of all your current 
ports, e.g. with
'portmaster -L ports.list', deleting all ports and re-installing the 
ports

labeled as 'leaf ports' and 'root ports' in ports.list.

While portmaster/-manager do their best, they just cannot cover all 
the corner
cases, especially since some ports require extra action (e.g. perl!) 
There is
a good chance you'll end up with a big mess like binaries linked to 
both 7.x
and 8.x libraries or ports failing to build for mysterious reasons. 
Both have

happened to me in the past and are a major PITA to fix.

I've done the complete delete/reinstall run a couple of times now on my
desktop with ???490 ports installed.


Can someone remind me once again, when rebuilding all of my ports, what
is the trick for avoiding the options dialogs?  I'd like to have this
run largely unattended. I seem to recall someone describing a method to
go through all of them upfront, rather than having the build process
interrupted each time a port wants that input.

I know that portupgrade has a batch build option, but unless I'm
mistaken, that skips any ports that need interaction to build.
___
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






With portupgrade give -C to run make make config or -c to run make 
config-conditional for all tasks before everything else.


To skip the config dialogs altogether, specify -DBATCH on the make 
commandline (-m -DBATCH or -M -DBATCH to portupgrade to append or 
prepend the -DBATCH to the make commandline).


Cheers,

Rolf Nielsen
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Erik Trulsson
On Tue, Nov 24, 2009 at 01:18:51PM -0800, Charlie Kester wrote:
 On Tue 24 Nov 2009 at 13:09:48 PST Roland Smith wrote:
 On Tue, Nov 24, 2009 at 05:40:25PM +, John wrote:
 
  Regarding ports, I think I'll take the long route. This box is my main
  machine, my desktop - and so there are a LOT of ports installed. It will
  be easier to make portmanager rebuild everything in pristine mode. It
  will take a long time, but I accept this. Before this is done, I run the
  built-in routines in /usr/ports - clean out */work/* and distfiles.
 
 I would _strongly_ advise you to make a list of all your current ports, e.g. 
 with
 'portmaster -L ports.list', deleting all ports and re-installing the ports
 labeled as 'leaf ports' and 'root ports' in ports.list.
 
 While portmaster/-manager do their best, they just cannot cover all the 
 corner
 cases, especially since some ports require extra action (e.g. perl!) There is
 a good chance you'll end up with a big mess like binaries linked to both 7.x
 and 8.x libraries or ports failing to build for mysterious reasons. Both have
 happened to me in the past and are a major PITA to fix.
 
 I've done the complete delete/reinstall run a couple of times now on my
 desktop with ???490 ports installed.
 
 Can someone remind me once again, when rebuilding all of my ports, what
 is the trick for avoiding the options dialogs?  I'd like to have this
 run largely unattended. I seem to recall someone describing a method to
 go through all of them upfront, rather than having the build process
 interrupted each time a port wants that input.

Use 'make config-recursive' to go through all the option dialogs first.
See the ports(7) manpage for other make targets and variables that influence
which/how ports are built.

 
 I know that portupgrade has a batch build option, but unless I'm
 mistaken, that skips any ports that need interaction to build.
 ___
 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

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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


pf nuttyness

2009-11-24 Thread Brian McCann
I'm at the end of my rope here with PF.  I have a ruleset loaded, that
is long and complicated...but I've shortened to to a pass all rule.
The box has 4 interfaces, one for pfsync, one for me to connect to it,
and two bridged interfaces.  The only traffic on the bridged
interfaces is STP and IP multicast traffic from my EIGRP routers.
When I run pfctl -s rules -v, the EIGRP multicast traffic never hits
any rules...yet it's allowed.

I'm on FreeBSD 7.1.

Has anyone else come across this before?  I'm ready to throw out
FreeBSD 7.1 and try OpenBSD for pf use...which would be a shame since
I use FreeBSD for all my other servers, and having 2 OpenBSD boxes
would just be... weird...

--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
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: rTorrent + FreeBSD + pf = freeze?

2009-11-24 Thread Michael Schaefer
Hi Michael,

On 24.11.2009 00:41, Michael K. Smith wrote:
 We had similar crashes with PF, although not related to rtorrent
 specifically.  However, we use the following sysctl values that have helped
 stability and performance immensely.
 
 net.inet.carp.preempt=1
 net.inet.carp.arpbalance=0
 net.inet.icmp.icmplim=2000
 net.inet.tcp.sendspace=65536
 net.inet.tcp.recvspace=65536
 net.inet.tcp.blackhole=2
 net.inet.udp.blackhole=1
 kern.ipc.somaxconn=32768
 net.inet.tcp.mssdflt=1460
 kern.ipc.maxsockbuf=16777216
 kern.ipc.nmbclusters=32768
 kern.maxfiles=65536
 kern.maxfilesperproc=32768
 kern.maxvnodes=60
 net.inet.tcp.delayed_ack=0
 net.inet.tcp.inflight.enable=0
 net.inet.tcp.path_mtu_discovery=0
 net.inet.tcp.recvbuf_auto=1
 net.inet.tcp.recvbuf_inc=16384
 net.inet.tcp.recvbuf_max=16777216
 net.inet.tcp.rfc1323=1
 net.inet.tcp.sendbuf_auto=1
 net.inet.tcp.sendbuf_inc=8192
 net.inet.udp.maxdgram=57344
 net.inet.udp.recvspace=65536
 net.local.stream.recvspace=65536
 net.inet.tcp.sendbuf_max=16777216

thank you for the hint. I tried those values which seem to affect the
traffic class i'm talking about. So what I actually changed is listed below:

sysctl kern.ipc.somaxconn=512
sysctl net.inet.tcp.sendspace=65536
sysctl kern.ipc.maxsockbuf=1048576
sysctl kern.ipc.nmbclusters=32768
sysctl kern.maxvnodes=20
sysctl net.inet.tcp.recvbuf_max=16777216
sysctl net.local.stream.recvspace=65536

Interesting enough I really was able to start the mentioned rtorrent
instance without crashing the machine. but unfortunately the crash just
was delayed so that the machine rebooted after ~3hours.
However these values seemed to affect the stability and are somehow
related with the problem.
For now i'm just upgrading to 8.0-RELEASE and will see how things change..

regards - michael
___
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: [] confession...

2009-11-24 Thread Gary Kline
On Tue, Nov 24, 2009 at 08:40:08AM +0100, Polytropon wrote:
 On Mon, 23 Nov 2009 23:15:43 -0800, Gary Kline kl...@thought.org wrote:
  it's time to come clean an admit that i have never taken
  advantage of the option that lets you press [???], then press
  other keys in order so the result is like pressing multiple
  keys at once.
 
 After reading this paragraph, the whole thing sounds VERY
 familiar to me. In your mind, open a picture of a Sun Type 5
 or 6 keyboard - or use google :-) - and look what's the key
 on the lower right of the alphanumeric section. It is - oh
 big surprise - the Compose key that acts quite the same way
 that you described. It enables the user to compose a new
 character by pressing its components one after another.
 
 I'm almost sure that this functionality can be forced upon
 other modifier keys, such as press shift - now shift mode
 is on for the next character, press '1', and you get '!';
 now shift mode is off again. The same could work for the
 other modifiers (ctrl, meta, alt, alt-gr).
 
 In fact, Meta just works this way, e. g. in the Midnight
 Commander. For Meta-c, you press Esc, then c. The PC keyboard
 usually does not come with a Meta key, so this solution is
 very welcome. It can even emulate PF keys when the terminal
 emulation doesn't support them, e. g. PF2 = Esc, 2.
 
 
 
  everybody on this
  list has learned that forethought and planning beat typing
  speed!
 
 You are so right with that statement. Today's IT education,
 be it professional schools or universities, seem to spit
 out programmers that have coded some stuff in ten different
 languages, but are completely unable to program with just
 their brain, and maybe a pencil and some paper; this is
 old school, but produced all the programs the Internet
 runs on.
 
 And: No, trial  error is not a programming concept. :-)
 
 
 
  i'm ready to set up the multi-key stuff that's
  built in to at least KDE.  
  
  appreciate a  pointer to a url or tutorial on this...  and/or
  to know what this feature is even called.  it's time to get
  practical.  i am stubborn, just not particular stupid.  maybe
  slow :_)
 
 Sadly, I've abandoned KDE many years ago, so I can't help
 you with that.
 


Another list member pointed me to the Control Center where
they sticky-keys setup stuff is in KDE.  Along with a couple
examples.  (I'll say for the 60 000th time that a good example
is worth a thousand words:)

I don't know how things are with the current IT grads, but
when I did my first two quarters in BASIC at night school, I
spent literally hours with textbook, paper and pencil walking
thru sample code until it sunk in.  That gave me some ideas
when I took my first quarter of FORTRAN IV.  

cheers!

gary

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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


rTorrent and XML-RPC

2009-11-24 Thread Micah R Ledbetter
Hello. 

I am ultimately trying to install rtgui 0.2.7, which is a frontend for the 
rtorrent bit torrent client. I'm running FreeBSD 7.1-RELEASE-p2, and I've 
installed apache22, mod_scgi, xmlrpc-c-devel, and rtorrent-devel from ports. 
rtorrent works great on the CLI as-is; I've been using it for downloading 
torrents for months with no problems. 

However, to make rtgui work, I have to get XML-RPC working within rtorrent 
first, and that's the entirety of my problem - this post isn't actually about 
rtgui at all. Instead, it's about a problem I'm having with XML-RPC, either in 
rtorrent itself, or in Apache or mod_scgi... I can't actually tell which.

Here's what I've done so far: 

I've added this line to .rtorrent.rc:

 scgi_port = 127.0.0.1:5000 

Now, when I start up rtorrent, it logs this information: 

 (17:07:59) XMLRPC initialized with 517 functions.
 (17:07:59) The SCGI socket is bound to a specific network device yet may 
 still pose a security risk, consider using 'scgi_local'.

I assume that this means that XML-RPC is working properly with rtorrent, but I 
have no way to test this. 

I'm also running Apache 2.2, and I've added the following lines to httpd.conf: 

 LoadModule scgi_module libexec/apache22/mod_scgi.so 
 (...snip...)
 SCGIMount /RPC2 127.0.0.1:5000

However, when I restart apache, I get the following message in the error log, 
repeated once every few seconds:

 [Tue Nov 24 17:15:56 2009] [error] [client 127.0.0.1] File does not exist: 
 /usr/local/www/htdoc/default/RPC2

I have tried to use the xmlrpc command line binary[0] to test Apache's XML-RPC 
connection to rtorrent[1], but it gives me an error message. 

 m...@box cd /usr/ports/net/xmlrpc-c-devel/work/xmlrpc-c-1.18.00/tools/xmlrpc/
 m...@box ./xmlrpc localhost system.listMethods 
 Failed. Call failed. HTTP response code is 404, not 200. (XML-RPC fault code 
 -504)

And now I'm in over my head. 

Has anyone successfully installed rtorrent + xmlrpc support on FreeBSD before, 
and, if so, would you be willing to steer me in the right direction? I feel 
like I must be missing something simple (in large part because I could find 
nothing useful on Google when I searched for that Apache error message, of 
course replacing /usr/local/www/htdoc/default with an asterisk), but I've 
been banging my head against the wall for quite a while and I could use some 
help. Searching for the xmlrpc error message has also turned up nothing. 

One thing in particular I'm confused about is where it's actually broken. Is 
XML-RPC support working in rtorrent, but failing in Apache/mod_scgi? Or is it 
broken in rtorrent despite the messages that rtorrent is presenting, such that 
when Apache tries to connect to rtorrent via XML-RPC, it doesn't work through 
no fault of Apache's or mod_scgi's? If someone knows a way to test this, I'd 
also appreciate hearing it. 

Thanks very much.

- Micah

[0] I can't tell if I'm missing something or what, but the port for 
xmlrpc-c-devel doesn't seem to install the xmlrpc binary anywhere, even though 
it does build it, so I'm just calling it from the build directory. 

[1] This procedure is outlined on rtorrent's XML-RPC wiki page: 
http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide. In particular, the 
system.listMethods call is a valid function, per that 
page.___
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: hp 10-in mini?

2009-11-24 Thread Gary Kline
On Tue, Nov 24, 2009 at 02:26:46PM -0500, Jean-Paul Natola wrote:
 Im still  trying to locate the 200 HP
 
 Although  bestbuy has the a gateway  for 229 today
 


$229 isn't that bad; Bestbuy may be just about breaking even.
Still, I'm waiting for some store to soak up the loss and sell
an ASUS at under-cost...


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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


Tunning 8.0 for multiple VMs (VBox)

2009-11-24 Thread Mario Lobo
Hi to all;

I have a system where I will be running 5 VBox VMs (3 W2K3, 1 XP  1 Linux) 
for a lab simulation (work obligations). I have already ran the 5 VMs with a 
regular load on each and everything went fine. I think VBox is truly a great 
VM Manager, and it runs better (smoother and faster) in FBSD than in any other 
OS I tried it (Ubuntu, Winblows and OpenSolaris (!) ). 

Along the years, I've been running FBSD, picking up info from any Tuning  
FreeBSD guide I could find, starting with the handbook of course, going 
through articles and mailing list archives, trying to find a balance that 
would fit my desktop, among the several roles FreeBSD is used for.

I would like to expose the hardware/settings I have now to the list, to see if 
what I've done is appropriate, over or under rated (or simply stupid), to 
squeeze every drop of performance FreeBSD can give with what I have. It is 
pretty fast as it is but it never hurts attempting to make it even better. 

Please bear 2 things in mind:
1) I am trying to learn here; 
2) This is a Desktop machine (not a server!), sitting on my home LAN, behind a 
properly configured (again, to the best of my modest ability) firewall. It is 
used for everyday tasks, plus developing and music production.

I am posting what I believe to be most relevant. 

Thank you all before hand for any advice. Here it goes:

[Machine]

FreeBSD 8.0-PRERELEASE #0 r198930M: Sat Nov 21 14:24:10 BRT 2009 
CPU: AMD Phenom(tm) II X4 955 Processor (3193.08-MHz K8-class CPU)
 Cool`n'Quiet 2.0 on cpu0
 cpu1: ACPI CPU on acpi0
 cpu2: ACPI CPU on acpi0
 cpu3: ACPI CPU on acpi0
MB:  AOD790GX/128M
RAM: real mem = 8589934592 (8192 MB) avail mem = 7994658816 (7624 MB) 
VIDEO:ATI Radeon 3300 Graphics on vgapci0
NET: RealTek PCIe Gigabit Ethernet  (yeah, i know...)
HD1: 476940MB MAXTOR STM3500320AS MX15 at ata2-master SATA300
HD2: 476940MB MAXTOR STM3500320AS MX15 at ata3-master SATA300

[loader.conf]

verbose_loading=YES
amdtemp_load=YES
drm_load=YES
radeon_load=YES
linux_load=YES
vboxdrv_load=YES
# vboxnetflt and #vboxnetadp loaded later
snd_cmi_load=YES
atapicam_load=YES
cpufreq_load=YES

[rc.conf]

background_fsck=NO
check_quotas=NO
clear_tmp_enable=YES
compat4x_enable=YES
compat5x_enable=YES
compat6x_enable=YES
compat7x_enable=YES
kern_securelevel_enable=NO
tcp_extensions=YES
defaultrouter=10.10.10.1
hostname=me
gateway_enable=NO
ifconfig_re0=inet 10.10.10.2  netmask 255.255.255.0
linux_enable=YES
inetd_enable=NO
sendmail_enable=NONE
sshd_enable=YES
smbd_enable=YES
usbd_enable=YES
cupsd_enable=YES
fusefs_enable=YES
fusefs_safe=YES
hald_enable=YES
dbus_enable=YES
powerd_enable=YES
# powerd_flags=-i 92 -r 65 -p 200
powerd_flags=-p 200
font8x8=cp850-8x8
font8x14=cp850-8x14
font8x16=cp850-8x16
keymap=br275.iso.acc.kbd

[sysctl.conf]

debug.cpufreq.lowest=1250
vfs.read_max=32
kern.maxvnodes=40
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.ipc.maxsockbuf=524288
kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
compat.linux.osrelease=2.6.16
kern.ipc.shmmax=1036870912
kern.ipc.shmall=261072


Thanks,

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winfoes FREE)
___
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: rTorrent and XML-RPC

2009-11-24 Thread mikel king


On Nov 24, 2009, at 7:07 PM, Micah R Ledbetter wrote:


Hello.

I am ultimately trying to install rtgui 0.2.7, which is a frontend  
for the rtorrent bit torrent client. I'm running FreeBSD 7.1-RELEASE- 
p2, and I've installed apache22, mod_scgi, xmlrpc-c-devel, and  
rtorrent-devel from ports. rtorrent works great on the CLI as-is;  
I've been using it for downloading torrents for months with no  
problems.


However, to make rtgui work, I have to get XML-RPC working within  
rtorrent first, and that's the entirety of my problem - this post  
isn't actually about rtgui at all. Instead, it's about a problem I'm  
having with XML-RPC, either in rtorrent itself, or in Apache or  
mod_scgi... I can't actually tell which.





I don't know if this will help you, but I found it invaluable in  
learning how to work with and riddle out XML-RPC drama. It was  
particularly useful in sussing out my php server code.


http://gggeek.raprap.it/debugger/


Regards,
Mikel King
CEO, Olivent Technologies
Senior Editor, BSD News Network
Columnist, BSD Magazine
6 Alpine Court,
Medford, NY 11763
o: 631.627.3055 c: 631.796.1499
skype:mikel.king
http://olivent.com
http://mikelking.com
http://twitter.com/mikelking

___
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: hp 10-in mini?

2009-11-24 Thread Jean-Paul Natola
Target has the asus  at 199

-Original Message-
From: Gary Kline [mailto:kl...@thought.org] 
Sent: Tuesday, November 24, 2009 7:38 PM
To: Jean-Paul Natola
Cc: Matt Szubrycht; Doug Poland; FreeBSD Mailing List
Subject: Re: hp 10-in mini?

On Tue, Nov 24, 2009 at 02:26:46PM -0500, Jean-Paul Natola wrote:
 Im still  trying to locate the 200 HP
 
 Although  bestbuy has the a gateway  for 229 today
 


$229 isn't that bad; Bestbuy may be just about breaking even.
Still, I'm waiting for some store to soak up the loss and sell
an ASUS at under-cost...


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

___
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: hp 10-in mini?

2009-11-24 Thread Al Plant

Gary Kline wrote:

On Mon, Nov 23, 2009 at 05:34:04PM -1000, Al Plant wrote:

Gary Kline wrote:
Aloha Gary,

I have one running Ubuntu Linux on the HD. It works ok on a wired or 
wireless network with a Fixed IP. The automatic gui for setting up the 
network failed to work and stay where it was set so I wrote the file 
myself using a fixed IP  etc. I also run FreeBSD 7.2 on it on a plug in 
flash drive using Manolis DVD copy. I paid $400. with extra battery and 
memory.



I may have-to spring for one of these puppies -- with optical
and mouse.  At least two medicos are interested in my ideas...
[Still, half-price upped my buy_now flag:)


Haven't set up the wireless for use with Coffee Shop wan yet.

Tech support for the mini is from India and I know more than they do 
about Linux and  haven't used Linux in years.


The Mini has had no problems except the touch pad is usless. Touching 
the pad  is a click or several same as the buttons.) I found out that by 
touching the light above it turns it off so you can use a wireless mouse 
which works well. HP Tech support did not know how to disable the 
touchpad. A terminal is brought up by alt/f2.


What kind? xterm, konsole, or the gnome flavor?  I prefer
	something with a solid cursor; the Gnome blinks ... and I'm 
	too lazy to dig into the code to see where to off the

blinking.  this is getting interestinger and interestinger.

aloha, al.







~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol



The Ubuntu is based on Debian Linux and is only the base system. I use 
xterm and the browser and the files we created ourselves for storing 
info. The GUI is a HP thing and I dont like it. It has too many photo 
features and other things we dont need since my wife has a dedicated Box 
she uses for photos and videos. Our mini is for using while traveling 
and keeping up with finances while were on the go etc.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


p5-Email-* ports

2009-11-24 Thread n dhert
My daily ports upgrade check told me:

libvorbis-1.2.3,3  needs updating (index has 1.2.3_1,3)
p5-Email-MIME-1.902needs updating (index has 1.902_1)
p5-Email-MIME-Attachment-Stripper-1.31.6 needs updating (index has
1.31.6_1)
p5-Email-MIME-Creator-1.455 !   Comparison failed
p5-Email-MIME-Modifier-1.444!   Comparison failed
p5-Email-Reply-1.202   needs updating (index has 1.202_1)
p5-Email-Simple-Creator-1.424   !   Comparison failed
What's this Comparaison failed?
portupgrade did OK for libvorbis but not for the 6 p5-Email-* ports:

---  ** Upgrade tasks 4: 1 done, 3 ignored, 3 skipped and 0 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
- mail/p5-Email-MIME-Creator (port directory error)
- mail/p5-Email-MIME-Modifier (port directory error)
- mail/p5-Email-Simple-Creator (port directory error)
+ audio/libvorbis (libvorbis-1.2.3,3)
* mail/p5-Email-MIME (p5-Email-MIME-1.902)
* mail/p5-Email-Reply (p5-Email-Reply-1.202)
* mail/p5-Email-MIME-Attachment-Stripper
(p5-Email-MIME-Attachment-Stripper-1.31.6)
---  Packages processed: 1 done, 3 ignored, 3 skipped and 0 failed
What wrong and how to remedy?
___
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: p5-Email-* ports

2009-11-24 Thread wen heping
Please visit:

http://www.freshports.org/commit.php?message_id=200911242144.naolij34053...@repoman.freebsd.org


wen

On Wed, Nov 25, 2009 at 2:22 PM, n dhert ndh...@gmail.com wrote:

 My daily ports upgrade check told me:

 libvorbis-1.2.3,3  needs updating (index has
 1.2.3_1,3)
 p5-Email-MIME-1.902needs updating (index has 1.902_1)
 p5-Email-MIME-Attachment-Stripper-1.31.6 needs updating (index has
 1.31.6_1)
 p5-Email-MIME-Creator-1.455 !   Comparison failed
 p5-Email-MIME-Modifier-1.444!   Comparison failed
 p5-Email-Reply-1.202   needs updating (index has 1.202_1)
 p5-Email-Simple-Creator-1.424   !   Comparison failed
 What's this Comparaison failed?
 portupgrade did OK for libvorbis but not for the 6 p5-Email-* ports:

 ---  ** Upgrade tasks 4: 1 done, 3 ignored, 3 skipped and 0 failed
 ---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
- mail/p5-Email-MIME-Creator (port directory error)
- mail/p5-Email-MIME-Modifier (port directory error)
- mail/p5-Email-Simple-Creator (port directory error)
+ audio/libvorbis (libvorbis-1.2.3,3)
* mail/p5-Email-MIME (p5-Email-MIME-1.902)
* mail/p5-Email-Reply (p5-Email-Reply-1.202)
* mail/p5-Email-MIME-Attachment-Stripper
 (p5-Email-MIME-Attachment-Stripper-1.31.6)
 ---  Packages processed: 1 done, 3 ignored, 3 skipped and 0 failed
 What wrong and how to remedy?
 ___
 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