Re: Error Compiling Open Office

2006-03-30 Thread usleepless
Chris,

have you loaded the linprocfs as suggested? ( i don't know if this is
important )

i just finished the oo2.0 build on my 6.0 machine ( ports tree not
current though )

jumping through all java hoops was the worst part of it all. i
compiled -DWITHOUT_MOZILLA.

regards,

usleep

On 3/29/06, Chris Maness [EMAIL PROTECTED] wrote:


 On Wed, 29 Mar 2006, Micah wrote:

  Chris Maness wrote:
 
  I just updated my ports and tried to compile open office.  got this
 failure
  while trying to compile.  Any suggestions?
 
  g++-ooo: Internal error: Killed: 9 (program cc1plus)
  Please submit a full bug report.
  See URL:http://gcc.gnu.org/bugs.html for instructions.
  dmake:  Error code 1, while making '../unxfbsd.pro/obj/textenc.obj'
  '---* tg_merge.mk *---'
 
  ERROR: Error 65280 occurred while making
  /usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/sal/textenc
  dmake:  Error code 1, while making 'build_instsetoo_native'
  '---* *---'
  *** Error code 255
 
  I've had this error before, but I can't remember the exact cause.  I
  determined it to not be hardware because it always failed in exactly the
 same
  spot.  I think it may have been a make.conf knob I had set.  I have
  WITH_MOZILLA=firefox commented out with the note that it caused weird port
  errors.  This may have been the weird error that it's referring to.
 
  HTH,
  Micah
 

 Good point, because I have recompiled all my ports at once, and I did not
 have any problems with over heating.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: zope-3.2.0 and plone trouble

2006-03-30 Thread Gerhard Schmidt
On Thu, Mar 23, 2006 at 09:34:28AM +0100, Michel Le Cocq wrote:
 Hi, I just install zope-3.2.0 and made it working just well.
 
 Now I wanted to run plone on it so i go to /usr/portswww/plone and type 
 make install, and there, it install zope-2.7.8_1 and also python-2.3.5_1 
 (i already had python-2.4.2).  My ports list is up to date.
 
 I can't make plone working in zope 3.2 but it work under zope 2.7

Zope 2 and Zope3 are two different Products. Zope3 is a complete new 
implemantation and is not backwars compartible with Zope2 software. 
Actual Plone runes an Zope up to 2.9 (I Think. I have tested it on Zope 
2.8.2) 

Bye
Estartu


Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgpFYYiIEK8Kj.pgp
Description: PGP signature


How do you divide your network?? (do you use vlan??)

2006-03-30 Thread Mark Jayson Alvarez
Hi,
 
 How do you divide your network?? Our current setup looks like this. Given all 
switch are unmanaged.
 1 pc router has two interfaces. 1st is the uplink to the internet and the 2nd 
is connected to our private lan switch. Now this private lan switch is then 
connected to each switch of every department..
 
 Network A.)
 
 
 / uplink(public)
   /
 [pcrouter] 
   \
 \   10.10.x.x
   [private lan switch]  \  
 / \   \[dept3 switch]
   / \   10.10.3
   [dept1 switch]   [dept2 switch]
 10.10.1   10.10.2
 
 
 Now the problem we have encountered with this setup are:
 1. mixed broadcast.The pc router has only one private interface which is 
aliased to every subnet. (all traffic pass thru it, don't know whats the 
implication of this)
 2. a user on dept1 switch can use ip addresses that belongs to dept2 or dept3 
making it hard to track down the source in case there's a flooding going on.
 3. When the router died all departments dies. No failover..
 4. Haven't tried this yet, but can I implement DHCP with this kind of setup??
 
 
 Now trying to revise the network diagram, I came up with network B. This time 
the same setup as network A but with failover plus the private lan switch is 
managed, with possible port filtering so that only ip's belonging to a subnet 
is allowed to connect to that particular port.
 
 Network B.)  
 
   :...carp...:
   ::
 [pcrouter1][pcrouter2]  
 \ /
   \  /
 \   /
   \   /
  [private lan switch] --- managed switch with port 
filtering
 / \\
/   \ \-[dept3 switch]  
 [dept1 switch]   [dept2 switch]  
 
 Questions in mind:
 1.  Did it prevent mixed broadcasts??
 2. Again, is it possible to use DHCP since all are still connected to only 1 
aliased interface.
 
  /
 Network C.)/
 [pcrouter] 
 /|  \ 
   /  | \
 [dept1]  [dept2]  [dept3] 
 
 Now in this setup, router will no longer have a single aliased interface. 
Instead, it will  have one interface for every subnet.. Also, I'm assuming that 
dhcp will be close to possible by now. The same with mixed broadcast... 
(although i'm just assuming) it will be easy to prevent??
 
 Problems:
 1. failover was gone.. When the router dies, every department dies.
 2. any other negative implications??
 
 Network D.)
 
  [main uplink switch]
/ |   \
  /   |\
/ | 
\
[pcrouter1]   [pcrouter2] [pcrouter3]
|  |
   |
|  |
   |
  [dept1switch]   [dept2switch] [dept3switch] 
 
 problems:
 1. costly... must maintain a lot of pcrouters (we have more that 3 
departments), no more space in our noc.
 
 Network E.)
 
 Same with network B, but now with VLAN implementation...
 
 
 
 I don't want to divide the network by physical topology since users frequently 
transfer to other departments...
 
 So what do you suggest??
 
 
 Thanks
 - jay
 
 
 
 
 

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Indiana goes to DST

2006-03-30 Thread James Long
 Date: Tue, 28 Mar 2006 11:08:41 -0500
 From: DAve [EMAIL PROTECTED]
 Subject: Re: Indiana goes to DST
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
  x x 2   Eastern Time - Michigan - most locations
  x x 3   Eastern Time - Kentucky - Louisville area
  x x 4   Eastern Time - Kentucky - Wayne County
  x x 5   Eastern Standard Time - Indiana - most locations
  x x 6   Eastern Standard Time - Indiana - Crawford County
  x x 7   Eastern Standard Time - Indiana - Starke County
  x x 8   Eastern Standard Time - Indiana - Switzerland County
  
 
 Selections 5 through 8 will no longer be valid in April. The list of 
 counties changed. More counties than #6, #7, #8 are going to Central TZ, 
 one county is going with Commerce Time, and item #5 (most locations) 
 is switching to DST.
 
 So I must setup DST manually, or select to #1. I think.
 
 DAve

That, or just move.



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


portsnap FAILS! (why?!)

2006-03-30 Thread Wojciech Puchar

this way

[EMAIL PROTECTED] portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org.
Fetching public key... failed.


on FreeBSD-6.0/amd64, while working perfect on other machine with exactly 
same version of portsnap.


the difference is that other machine chooses portsnap1.freebsd.org not 2, 
but this always the second, and can't fetch public key.


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


Re: terrible performance in 6.1beta4

2006-03-30 Thread usleepless
Miguel,

 On Wed, Mar 29, 2006 at 07:09:26PM -0600, Miguel wrote:
  Hi, im loading a lot of information to a postgresql 8.1.3 database, im
  using the copy command, using the same file and version of postgres in
  gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has
  already spent 25 minutes and the server apparently is doing nothing, and
  the reponse time of remote logins or running simple commands like ls -l
  /etc takes a lot of time (35 secs ort so), cpu usage is very low:

how do your postgresql.conf's compare? things like shared buffers, fsync...

how big is the file?

regards,

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


Re: portsnap FAILS! (why?!)

2006-03-30 Thread Colin Percival
Wojciech Puchar wrote:
 [EMAIL PROTECTED] portsnap fetch
 Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org.
 Fetching public key... failed.

Usually this is due to network problems.  If you run
# portsnap --debug fetch
it will probably show you what the problem is.

Colin Percival

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


Re: portsnap FAILS! (why?!)

2006-03-30 Thread Wojciech Puchar



On Thu, 30 Mar 2006, Colin Percival wrote:


Wojciech Puchar wrote:

[EMAIL PROTECTED] portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org.
Fetching public key... failed.


Usually this is due to network problems.  If you run
# portsnap --debug fetch
it will probably show you what the problem is.

Colin Percival



THANKS! http_proxy wasn't set :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.1-PRERELEASE: pf blocks fetch after restart

2006-03-30 Thread Erik Norgaard

Hi:

I wrote about this some weeks ago, now I have investigated further, system 
upgrated to latest (yesterday) snap of RELENG_6


Summary:

1) boot
2a) fetch http://host/file: operation not permitted
2b) fetch ftp://host/file: operation not permitted
3) pfctl -Fr  pfctl -Rf pf.conf
4a) fetch http://host/file: successful
4b) fetch ftp://host/file: successful
5) pfctl -Fa  pfctl -f pf.conf
6) tcping host_on_lan 22: port open
7a) fetch http://host/file: operation not permitted
7b) fetch ftp://host/file: operation not permitted

There is one more thing that is weird, the interface, em0, after 
successful configuration with dhcp, it reports status no carrier. This 
happens on boot as well as if I run


  # /etc/rc.d/netif restart

however running the above does not change whether fetch succeeds or not.

The problem with netif is not solved if the interface is configured with a 
static ip, nor is the problem with fetch.


I can repeat this, it has occurred on a number of snapshots of the 
PRERELEASE. Any ideas on how to solve this?


Thanks, Erik

Complete transcript of session:

Script started on Thu Mar 30 12:39:48 2006
You have mail.
mordac# uname -a
FreeBSD mordac 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0:
 Thu Mar 30 11:08:17 CEST 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SERVER6-SMP  i386
mordac# /etc/rc.d/netif restart
Stopping network: lo0 em0.
em0: no link  got link
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 172.24.0.24
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 172.24.0.24
bound to 172.24.8.48 -- renewal in 1296000 seconds.
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
inet6 fe80::213:72ff:fe3d:e2f4%em0 prefixlen 64 scopeid 0x1
inet 172.24.8.48 netmask 0xf000 broadcast 172.24.15.255
ether 00:13:72:3d:e2:f4
media: Ethernet autoselect
status: no carrier
mordac# ifconfig
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
inet6 fe80::213:72ff:fe3d:e2f4%em0 prefixlen 64 scopeid 0x1
inet 172.24.8.48 netmask 0xf000 broadcast 172.24.15.255
ether 00:13:72:3d:e2:f4
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
pflog0: flags=141UP,RUNNING,PROMISC mtu 33208
mordac# /etc/rc.d/pf restart
No ALTQ support in kernel
ALTQ related functions disabled
Disabling pf.
No ALTQ support in kernel
ALTQ related functions disabled
pf disabled
Enabling pf.
No ALTQ support in kernel
ALTQ related functions disabled
No ALTQ support in kernel
ALTQ related functions disabled
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
mordac# tcping 172.24.8.84 22
172.24.8.84 port 22 open.
mordac#	fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/tcping-1.3.4.tar.gz
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/tcping-1.3.4.tar.gz: 
Operation not permitted

mordac# fetch http://www.linuxco.de/tcping/tcping-1.3.4.tar.gz
fetch: http://www.linuxco.de/tcping/tcping-1.3.4.tar.gz: Operation not 
permitted

mordac# pfctl -Fr  pfctl -Rf /etc/pf.conf
No ALTQ support in kernel
ALTQ related functions disabled
rules cleared
No ALTQ support in kernel
ALTQ related functions disabled
mordac#	fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/tcping-1.3.4.tar.gz

tcping-1.3.4.tar.gz 0% of   11 kB0  Bps
tcping-1.3.4.tar.gz   100% of   11 kB   32 MBps
mordac# fetch http://www.linuxco.de/tcping/tcping-1.3.4.tar.gz
tcping-1.3.4.tar.gz 0% of   11 kB0  Bps
tcping-1.3.4.tar.gz   100% of   11 kB   36 MBps
mordac# tcping 172.24.8.84 22
172.24.8.84 port 22 open.
mordac# pfctl -Fa  pfctl -f /etc/pf.conf
No ALTQ support in kernel
ALTQ related functions disabled
rules cleared
nat cleared
0 tables deleted.
7 states cleared
source tracking entries cleared
pf: statistics cleared
pf: interface flags reset
No ALTQ support in kernel
ALTQ related functions disabled
mordac# tcping 172.24.8.84 22
172.24.8.84 port 22 open.
mordac#	fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/tcping-1.3.4.tar.gz
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/tcping-1.3.4.tar.gz: 
Operation not permitted

mordac#  fetch http://www.linuxco.de/tcping/tcping-1.3.4.tar.gz
fetch: http://www.linuxco.de/tcping/tcping-1.3.4.tar.gz: Operation not 
permitted

mordac# ifconfig
em0: 

Re: Soekris Net4801 performance

2006-03-30 Thread johnryan_852
Thanks for all the excellent replies to this question.
Dinesh's answer looks like exactly what I'm experiencing.
Unfortunately I can't use FreeBSD 4, because I don't think FASTIPSEC with
the HiFn card is supported there.
I tried with OpenBSD 3.8 and got similar performance to FreeBSD.
I might try NetBSD in the weekend, someone mentioned that, and it's probably
a good idea.
Oh well, at the moment we've only got a 2Mbit link anyway, so they should
suffice for a couple of years.

Regards
John Ryan


-- Original Message --
Date: Thu, 30 Mar 2006 13:03:43 +0800
From: Dinesh Nair [EMAIL PROTECTED]
To: Mike Tancsa [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: Soekris Net4801 performance




On 03/30/06 09:28 Mike Tancsa said the following:
 On Wed, 29 Mar 2006 17:19:25 +0200, in sentex.lists.freebsd.questions
 you wrote:
ftp put is around 3Mbytes/sec and ftp get is around 2Mbytes/sec
ifconfig says:

 They are not the fastest around, but it depends what you want to do
 with them. On an older 4501, I get about 7Mb.  You should be able to
 get that at least.

m0n0wall, a freebsd based router/firewall project is built for both the

soekris net45xx and net48xx boxes. m0n0wall 1.2 is based on freebsd 4.x
and

m0n0wall 1.3 (which i'm currently maintaining) is based on freebsd 6.x.

we've seen clear degradation of network throughput between m0n0 1.2 and

1.3. we usually use iperf for throughput testing with the m0n0wall sitting

in between. search the m0n0wall lists for past throughput comparisons.

[1] http://m0n0.ch/wall/

-- 
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do 

 |
|   for b in clients employers associates relatives neighbours pets; do

 |
|   echo The opinions here in no way reflect the opinions of my $a $b.
 |
| done; done   

 |
+=+

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


Re: DVD-Slideshow

2006-03-30 Thread usleepless
Chris,

 or you could symlink to: ( if you have linux compat enabled )

 /usr/compat/linux/usr/bin/seq


will you let me know if this helped you?

will you relay the seq-patches to the portmaintainer?

regards,

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


Re: Haven't been able to make world in about a year

2006-03-30 Thread Giorgos Keramidas
On 2006-03-29 15:26, Vaaf [EMAIL PROTECTED] wrote:
 At 14:56 29.03.2006, Duane Whitty wrote:
 Hi,
 
 Your previous message reminded me of a previous project
 you were working on which I was following closely.  I was
 just wondering if you have had any success with make world et al?
 I ask because I am very interested in how the build process of FreeBSD
 works.  Is there any follow-up available or have you put that on the
 back burner until you have more time?
 
 Best wishes,

 Hello Duane!

 No, unfortunately, I gave up.
 Surely I was told I was doing it the wrong way, but I know I wasn't.

 Ultimately, I switched to DragonFly.

Mr Vaaf,

I suggested reinstalling a clean FreeBSD system, to avoid problems with
the system headers, which (of course) you had to ignore, didn't you?

Good luck with Dragonfly though :-) It's an interesting system, and
certainly runs fine in one of my x86 machines here.

Duane,

if you have any specific questions about the build, then
freebsd-questions is always here :)

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


Re: Does mod_php4 include php4?

2006-03-30 Thread S W
Bill,

Thank you for the prompt response.

php4 now installed without mod_php4, configured httpd.conf - and
everything seems to be working.

Incidentally, acid no longer needs phplot, but is using jdgraph, instead.

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


Solved: 6.1-PRERELEASE: pf blocks fetch after restart

2006-03-30 Thread Erik Norgaard

Solved, I had a wrong entry in the nullnet table.

Excluding the persist keyword from the table definition made things work 
when only the rules were flushed - then the table would be removed and not 
recreated when the rules were loaded again. This caused the extra confusion.


Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw secure setup for ssh bruteforcers

2006-03-30 Thread nawcom
I have a pretty good setup with ipfw, and theres always dickheads constantly
trying to get in - mostly through
old microsoft and ssh1/2 exploits with certain usernames and passwords. I
pretty much add their ip to a protected ban list (after 5 tries) which bans
them from the entire server.

From any professionals, what is the most effective technique that i should
use to take care of these kiddies
other than a complete ban? Is my technique good or is it oversecure? An
admin said that doing this can be bad, especially when
the kiddy is connected to a large network like a company or university; I
may block other people who aren't guilty of the act. (which makes sense)

I use the up do date ssh so any exploits are
either patched up or will be patched when they're discovered, so holes in
the program shouldn't be in issue.

any replies would be wonderful,
Thanks,
Ben


--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
--- Benjamin Franklin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Timescale for 6.1-RELEASE...

2006-03-30 Thread Harrison Peter CSA BIRKENHEAD
I realise the answer to this question is when it's ready, but does anyone 
have a rough idea how close to being ready 6.1 is?

Thanks,

Peter Harrison 



**
This document is strictly confidential and is intended only for use by the 
addressee. 
If you are not the intended recipient, any disclosure, copying, distribution or 
other 
action taken in reliance of the information contained in this e-mail is 
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of 
the Department 
for Work and Pensions.
If you have received this transmission in error, please use the reply function 
to tell us 
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for 
compliance 
with our policy on the use of electronic communications.
**


The original of this email was scanned for viruses by the Government Secure 
Intranet (GSi) virus scanning service supplied exclusively by Cable  Wireless 
in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ssh-tunnel only accounts

2006-03-30 Thread Erik Norgaard

Hi:

How do I add a user such that he can only establish a tunnel to some other 
service running on the host? that is, what shell do I need? Is there a way 
to restrict further what services they can connect to?


Thanks, Erik



--
Atos Origin, Madrid
Phone: +34 91 214 8617

--
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for
any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar inmediatamente
al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
Origin no se hace responsable por su contenido. Su contenido no constituye
ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus
--

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


Re: ssh-tunnel only accounts

2006-03-30 Thread Dimitar Vasilev
authpf is your answer.

2006/3/30, Erik Norgaard [EMAIL PROTECTED]:
 Hi:

 How do I add a user such that he can only establish a tunnel to some other
 service running on the host? that is, what shell do I need? Is there a way
 to restrict further what services they can connect to?

 Thanks, Erik
--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

sendmail, a couple of questions.

2006-03-30 Thread Efren Bravo
Hi,

My server name is mailsrv and it has two
interfaces:
xxx.xxx.xxx.xxx =external ip, internet
yyy.yyy.yyy.yyy =internal ip, private lan


File /etc/hosts looks like:
127.0.0.1  localhost.mydomain.com localhost
xxx.xxx.xxx.xxx  mailsrv.mydomain.com mailsrv
xxx.xxx.xxx.xxx  mailsrv.mydomain.com.


1st. How could I avoid this error
(/var/log/maillog)?
Mar 29 15:52:51 mailsrv sendmail[10381]:
gethostbyaddr(yyy.yyy.yyy.yyy) failed: 1

Would be rigth adding inside /etc/hosts these
lines:
yyy.yyy.yyy.yyy  mailsrv.mydomain.com mailsrv
yyy.yyy.yyy.yyy  mailsrv.mydomain.com.   


Another suggestion?

2nd. What does it mean?
Mar 29 16:07:20 mailsrv sm-mta[10399]: alias
database /etc/mail/aliases.db out of date

Thanks...



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why are so many people using 4.x?

2006-03-30 Thread Vaaf


Hello Vladimir!

First off, thank you for your worthy input.

You're a very wise man.


30 years of development and continual introduction of new features
build on top of existing ones is considered a very good design. And
FreeBSD is still extensible and growing, despite of its age.


Yes, the fact that it's still ongoing is amazing.

If it has managed to keep going for 30 years, it will surely keep
on going for another 30 years.

What I meant was, the fundamentals for FreeBSD was set 30 years
ago. Isn't it time we change that?


And FreeBSD is not a skyscraper neigther literally, nor metaphorically
- it's more like a spaceship - a very robust one - gives you the means
and tools to save your life in deep space when a threat to your life
appears and there is noone around.


I think you're watching too much scifi.


Before even starting talking about design, we should give proper
definition for this concept.
What is good design?


It's pretty well defined at http://www.designcouncil.org.uk


How do we measure one design against an alternative one?


You ask an experienced designer, preferably an architect.
That's the only way, otherwise you'll just be trying to bite your own tail.


The widespread notion of good desing is related to the ability to
maintain, extent and comprehend easily some complex system.


No. Good design is transforming something complex into something easy.

FreeBSD is complex.


30 years... You do the math!


?


I'm not sure you're ready to present a new and revolutionary design
(you should start a new threat on that). It's more like you're in
search of volunteers to your FreeBSD Critisism Project.


I should be ready in a few weeks.

If you're interested I'd be glad to show it to you!


Revolutionary design means starting from scratch  - this would be a
huge, tremendous investment of time and efforts(choose a platform, a
language, write a compiler for it, start building a kernel, write
completely new device drivers - Microsoft have its Singularity
Research Project - an operating system written entirely in C#, but
they don't share the tools - the C# compiler and linker they use to
build that system, neighter the code - you can get just a couple of
PowerPoint presentions, an interview, and a short 50 page long paper,
about the features that this system will introduce - on the other hand
you can get all of the FreeBSD source code, tones and tones of
documentation, and hundreds of ready to help you people - FOR FREE).


Revolutionary design, according to Thomas Kuhn's Structure of Scientific
Revolutions, one of the most popular science models of our time,
characterizes science (where the same applies to design) as going from
normal science to science in crisis and from science in crisis to scientific
revolution. To me there's a crisis now because I personally believe things
are moving in the wrong direction. Again, this is just personal.


And there's no guarantee that this new design would last even 5 years.


You're absolutely right!


At some point in time this will probably happen, but it won't be
FreeBSD. FreeBSD is not a vendor - it's an existing and evolving
operating system and a commited community of FreeBSD users. The
emphasis is on evolving.
If we want to stick to FreeBSD, the new design should be evolutionary
one, which is pretty different in concept - we would start from a
familiar code base and would slowly integrate changes (just like the
DragonFly project) into this base, thus creating a new BSD branch of
development.

Best Regards,
Vladimir Tsvetkov


Thank you again for your useful response!

All the best,
Vaaf

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


Re: sendmail, a couple of questions.

2006-03-30 Thread Chuck Swiger
Efren Bravo wrote:
[ ... ]
 1st. How could I avoid this error
 (/var/log/maillog)?
 Mar 29 15:52:51 mailsrv sendmail[10381]:
 gethostbyaddr(yyy.yyy.yyy.yyy) failed: 1

Fix your reverse DNS for that IP.  If yyy is internal, set up a local nameserver
to provide a reverse zone, otherwise talk to your ISP if the IP is public.

[ ... ]
 2nd. What does it mean?
 Mar 29 16:07:20 mailsrv sm-mta[10399]: alias
 database /etc/mail/aliases.db out of date

You changed /etc/mail/aliases, but forgot to run newaliases.
(Or use make maps or make all).

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


Deleting Kernel conpile directory

2006-03-30 Thread Grant Peel

Hi all,

I am running a little low on disk space in /usr

Can I delete the /usr/src/sys/i386/compile/mykernel directory?

If so, which method is best:

a:
cd /usr/src/sys/i386/compile
rm -rf mykernel

or 


b:
cd /usr/src/sys/i386/compile/mykernel
make clean

Thanks all,

-Grant


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


Re: Packet drops and queue length upon bandwidth limiting in PF

2006-03-30 Thread Bill Moran
Ashish Awasthi [EMAIL PROTECTED] wrote:

 I am a relative newbie, so please don't flame me if my question doesn't make
 sense.
 
 In a network experiment to determine appropriate length of router buffers, I
 am using pfctl on FreeBSD 5.3 to limit the bandwidth to 100 Mbps on a 1 Gig
 link and limit the queue to 240 packets, and I use iperf for sending out
 data. Connection is maintained between two routers running FreeBSD 5.3,
 connected by a 1 Gig link. I monitor on sender the pfctl and iperf
 statisitcs.
 
 As I see the iperf throughput go down from 94 Mbps to 50 Mbps and then rise
 again in accordance with the classic sawtooth curve of TCP, it is clear that
 there must have been a packet drop, but pfctl -s -queue -v -v at the
 sender shows 0 losses and 0 drops. Moreover, the queue length as reported
 never overflows. Even netstat shows 0 retransmissions!
 
 I tried this with queue lengths of 50, 100, 240, 10 and 5. Only when queue
 length is on the order of 5 or 10 do I see packet drops in pfctl report (and
 also retransmissions in the netstat report); however, since I have limited
 the bandwidth and the outgoing traffic is shaped by this limitation, it is
 clear that there must be some packet losses in other cases as well.
 
 So, I tend to think that some other queueing is occuring apart from the
 ALTQ, and drops are occuring there. If so, how can I obtain those
 statistics?

You're making a lot of assumptions about how things work, so I'll follow
in kind.

I would assume that pf is sending ICMP source quench messages to the
sending machine to avoid overflowing its queues.  If it's proactive
in doing this, it would never overflow, except in the case where the
queue is so short that it can't reply with a source quench fast enough.
To me, this would be expected behaviour.  A little packet sniffing should
show whether this is what is actually happening or not.

As a side note, this is why arbitrarily blocking all ICMP messages is a bad
idea.

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


Re: terrible performance in 6.1beta4

2006-03-30 Thread Miguel

Kris Kennaway wrote:


On Wed, Mar 29, 2006 at 07:09:26PM -0600, Miguel wrote:
 

Hi, im loading a lot of information to a postgresql 8.1.3 database, im 
using the copy command, using the same file and version of postgres in 
gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has 
already spent 25 minutes and the server apparently is doing nothing, and 
the reponse time of remote logins or running simple commands like ls -l 
/etc takes a lot of time (35 secs ort so), cpu usage is very low:
   



It's spending all its time reading from disk.  What else is different
between your two systems (hardware, database configuration)?
 



This is a brand new server, with sata controller, 250G disks without 
array, the old one has a hp 5i controller, 6 x 70G 10k 320 scsi disks.


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


Re: Deleting Kernel conpile directory

2006-03-30 Thread Lowell Gilbert
Grant Peel [EMAIL PROTECTED] writes:

 I am running a little low on disk space in /usr
 
 Can I delete the /usr/src/sys/i386/compile/mykernel directory?

Sure.  And if you use the buildkernel method when you build kernels,
you won't even need that directory again.  If you use the old
method, (calling config directly), though, you will need the space
again.

 If so, which method is best:
 
 a:
 cd /usr/src/sys/i386/compile
 rm -rf mykernel
 
 or 
 
 b:
 cd /usr/src/sys/i386/compile/mykernel
 make clean

Either one is fine.  If you never want to use the directory again, go
ahead and use the first one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why are so many people using 4.x?

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 09:51:15AM +0100, Chris wrote:

  Sorry to hear that, can you point me to the PRs you filed so I can
  take a look?

 I didnt do a PR except one for a minor bug since there was nothing
 logged on it just died, I have kept one machine running 6.0 so I can
 try and resolve the problem and also will upgrade it to 6.1 on release
 to see if things are better, should I enable debugging options so it
 has better chance of logging something?

Yes, you'll want to enable crashdumps (per the developers handbook) at
least, and adding INVARIANTS and INVARIANT_SUPPORT is also a good idea
if you're encountering a panic, because it may catch it earlier and at
the root cause.  If you are seeing a deadlock then enable WITNESS and
DDB.

Kris


pgpWYSz7b338g.pgp
Description: PGP signature


Re: terrible performance in 6.1beta4

2006-03-30 Thread Miguel

[EMAIL PROTECTED] wrote:


Miguel,

 


On Wed, Mar 29, 2006 at 07:09:26PM -0600, Miguel wrote:
   


Hi, im loading a lot of information to a postgresql 8.1.3 database, im
using the copy command, using the same file and version of postgres in
gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has
already spent 25 minutes and the server apparently is doing nothing, and
the reponse time of remote logins or running simple commands like ls -l
/etc takes a lot of time (35 secs ort so), cpu usage is very low:
 



how do your postgresql.conf's compare? things like shared buffers, fsync...

 

the only diference is in shared_buffers, the new one has only 2G of ram, 
while the old one 3G, both has fsync = on (the default value)



how big is the file?
 


3.0G

 



---
Miguel

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


ssh session hangs when term is flooded with text.

2006-03-30 Thread Nikolas Britton
When I log into any FreeBSD box through the VPN (IPsec site-to-site)
my ssh session will eventually hang when a large amount of text/data
is displayed, for example compiler output, running top, running links
or lynx, etc. Obviously this is a networking problem but I'm not sure
where to start.


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


Re: Why are so many people using 4.x?

2006-03-30 Thread Jerry McAllister
 
 
 Hello Vladimir!
 
 
 30 years of development and continual introduction of new features
 build on top of existing ones is considered a very good design. And
 FreeBSD is still extensible and growing, despite of its age.
 
 Yes, the fact that it's still ongoing is amazing.
 
 If it has managed to keep going for 30 years, it will surely keep
 on going for another 30 years.
 
 What I meant was, the fundamentals for FreeBSD was set 30 years
 ago. Isn't it time we change that?

So what _fundamentals_ would you have be changed?

 And FreeBSD is not a skyscraper neigther literally, nor metaphorically
 - it's more like a spaceship - a very robust one - gives you the means
 and tools to save your life in deep space when a threat to your life
 appears and there is noone around.
 
 I think you're watching too much scifi.
 
 Before even starting talking about design, we should give proper
 definition for this concept.
 What is good design?
 
 It's pretty well defined at http://www.designcouncil.org.uk
 
 How do we measure one design against an alternative one?
 
 You ask an experienced designer, preferably an architect.
 That's the only way, otherwise you'll just be trying to bite your own tail.
 
 The widespread notion of good desing is related to the ability to
 maintain, extent and comprehend easily some complex system.
 
 No. Good design is transforming something complex into something easy.
 
 FreeBSD is complex.

FreeBSD is easy - very much so in comparison with some other 
so-called 'systems' available for comparison.

jerry

 
 30 years... You do the math!
 
 ?
 
 I'm not sure you're ready to present a new and revolutionary design
 (you should start a new threat on that). It's more like you're in
 search of volunteers to your FreeBSD Critisism Project.
 
 I should be ready in a few weeks.
 
 If you're interested I'd be glad to show it to you!
 
 Revolutionary design means starting from scratch  - this would be a
 huge, tremendous investment of time and efforts(choose a platform, a
 language, write a compiler for it, start building a kernel, write
 completely new device drivers - Microsoft have its Singularity
 Research Project - an operating system written entirely in C#, but
 they don't share the tools - the C# compiler and linker they use to
 build that system, neighter the code - you can get just a couple of
 PowerPoint presentions, an interview, and a short 50 page long paper,
 about the features that this system will introduce - on the other hand
 you can get all of the FreeBSD source code, tones and tones of
 documentation, and hundreds of ready to help you people - FOR FREE).
 
 Revolutionary design, according to Thomas Kuhn's Structure of Scientific
 Revolutions, one of the most popular science models of our time,
 characterizes science (where the same applies to design) as going from
 normal science to science in crisis and from science in crisis to scientific
 revolution. To me there's a crisis now because I personally believe things
 are moving in the wrong direction. Again, this is just personal.
 
 And there's no guarantee that this new design would last even 5 years.
 
 You're absolutely right!
 
 At some point in time this will probably happen, but it won't be
 FreeBSD. FreeBSD is not a vendor - it's an existing and evolving
 operating system and a commited community of FreeBSD users. The
 emphasis is on evolving.
 If we want to stick to FreeBSD, the new design should be evolutionary
 one, which is pretty different in concept - we would start from a
 familiar code base and would slowly integrate changes (just like the
 DragonFly project) into this base, thus creating a new BSD branch of
 development.
 
 Best Regards,
 Vladimir Tsvetkov
 
 Thank you again for your useful response!
 
 All the best,
 Vaaf
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


RE: Is ALTQ part of 6.0 base system

2006-03-30 Thread fbsd_user
Reading the pf firewall man pages says to use ALTQ with PF a
custom kernel has to be complied with the ALTQ options included.

This seems to indicate that ALTQ is only available when
used with the pf firewall.

ALTQ used to be available as a port so it could be used
stand-a-lone.

Can ALTQ support be compiled into a custom kernel and be
used stand-a-lone?





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 11:54 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Is ALTQ part of 6.0 base system


On 3/29/06, fbsd_user [EMAIL PROTECTED] wrote:
 Back in 5.2 development when OpenBSD pf was being included
 in the base system there was talk that ALTQ for bandwidth
 management was also being worked on to become part of
 the base system.

 What is the status of ALTQ is it a port or in the base system now?

Kernel.
grep ALTQ /usr/src/sys/conf/NOTES
man 9 altq

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

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


ASCII files becoming double lined

2006-03-30 Thread Vaaf


Hello!

Sometimes I notice ASCII files becoming double lined.
As in there somehow appearing an empty line in between every line.

Why is this? And:

01 How can I detect files with double lines?
02 And then eliminate this double lining?

The goal would be to apply 01 and 02 to this script:

#!/usr/local/bin/bash
#
#   Remove CRLF, trailing whitespace and blank lines.
#   $MARBEJA: clean.sh,v 1.0 2007/11/11 15:09:05 awad Exp $
#

for file in `find -s . -type f`; do

if file -b $file | grep -q 'text'; then

echo  $file

tr -d '\r'  $file \
| sed -E -e 's/[[:space:]]+$//' \
| cat -s -  ${file}.tmp  mv -f ${file}.tmp $file

echo $file: Done

fi

done

Thanks,
Vaaf

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


Re: terrible performance in 6.1beta4

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 08:52:43AM -0600, Miguel wrote:
 [EMAIL PROTECTED] wrote:
 
 Miguel,
 
  
 
 On Wed, Mar 29, 2006 at 07:09:26PM -0600, Miguel wrote:

 
 Hi, im loading a lot of information to a postgresql 8.1.3 database, im
 using the copy command, using the same file and version of postgres in
 gentoo it spend a few minutes (~4-5), in freebsd 6.1-beta4 it has
 already spent 25 minutes and the server apparently is doing nothing, and
 the reponse time of remote logins or running simple commands like ls -l
 /etc takes a lot of time (35 secs ort so), cpu usage is very low:
  
 
 
 how do your postgresql.conf's compare? things like shared buffers, fsync...
 
  
 
 the only diference is in shared_buffers, the new one has only 2G of ram, 
 while the old one 3G, both has fsync = on (the default value)
 
 how big is the file?
  
 
 3.0G

Well there you go then..you're trying to access a file that is larger
than RAM, so naturally you won't be able to fit it all in RAM, and
with 1GB less RAM in your system you'll spend much more time reading
bits of it from disk and later throwing them away.

Kris


pgpZ0mG3i3r9n.pgp
Description: PGP signature


Re: Deleting Kernel conpile directory

2006-03-30 Thread Nikolas Britton
On 30 Mar 2006 09:40:03 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Grant Peel [EMAIL PROTECTED] writes:

  I am running a little low on disk space in /usr
 
  Can I delete the /usr/src/sys/i386/compile/mykernel directory?

 Sure.  And if you use the buildkernel method when you build kernels,
 you won't even need that directory again.  If you use the old
 method, (calling config directly), though, you will need the space
 again.

  If so, which method is best:
 
  a:
  cd /usr/src/sys/i386/compile
  rm -rf mykernel
 
  or
 
  b:
  cd /usr/src/sys/i386/compile/mykernel
  make clean

 Either one is fine.  If you never want to use the directory again, go
 ahead and use the first one.

What happens when you run 'make clean' from /usr/src/? I tried it once
and it deleted a lot of tmp and .gz files, I thought all of that stuff
was stored in /usr/obj/. always... to the OP you can also delete every
thing in /usr/obj/


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


Re: ASCII files becoming double lined

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 04:59:36PM +0200, Vaaf wrote:
 
 Hello!
 
 Sometimes I notice ASCII files becoming double lined.
 As in there somehow appearing an empty line in between every line.
 
 Why is this? And:
 
 01 How can I detect files with double lines?
 02 And then eliminate this double lining?

Haha, what makes you think you can troll the mailing list one day and
then ask for help the next?  Go away, silly person.

Kris


pgpSTsYyOYHa6.pgp
Description: PGP signature


Re: ASCII files becoming double lined

2006-03-30 Thread Jerry McAllister
 
 
 Hello!
 
 Sometimes I notice ASCII files becoming double lined.
 As in there somehow appearing an empty line in between every line.
 
 Why is this? And:
 
 01 How can I detect files with double lines?
 02 And then eliminate this double lining?

Check out tr(1)
It will quite easily remove the extra CR in every line.
Then, if you need, you can rename the clean file to the dirty file
  something like:   # tr -d \r  dirtyfile  cleanfile
# mv cleanfile dirtyfile

Sorry, it takes two steps.
Thre are other methods that do it without a second file, but
for newbies, this is easier to understand.

jerry

 
 The goal would be to apply 01 and 02 to this script:
 
 #!/usr/local/bin/bash
 #
 #   Remove CRLF, trailing whitespace and blank lines.
 #   $MARBEJA: clean.sh,v 1.0 2007/11/11 15:09:05 awad Exp $
 #
 
 for file in `find -s . -type f`; do
 
   if file -b $file | grep -q 'text'; then
 
   echo  $file
 
   tr -d '\r'  $file \
   | sed -E -e 's/[[:space:]]+$//' \
   | cat -s -  ${file}.tmp  mv -f ${file}.tmp $file
 
   echo $file: Done
 
   fi
 
 done
 
 Thanks,
 Vaaf
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Why are so many people using 4.x?

2006-03-30 Thread Kevin Kinsey

Vaaf wrote:


Yes, the fact that it's still ongoing is amazing.

If it has managed to keep going for 30 years, it will surely keep
on going for another 30 years.

What I meant was, the fundamentals for FreeBSD was set 30 years
ago. Isn't it time we change that?



I'm probably just trolling.  I'm certainly no design engineer.  But:

I curse a certain product from Washington, USA, regularly due to the
fact that it doesn't have grep 

ATT attempted a fundamental change in the 80's/90's.  It apparently
looks and runs like something from outer space.  It has very high geek
value, but last I heard there wasn't even a graphical web browser for it,
and Dennis Ritchie (perhaps by company policy, I can't tell and don't care
to ask unless it becomes real important for some reason) has to send his
emails with MS Outlook*.

Linus Torvalds, arguably, has created fundamental change.  The arguments
of the relative merits of Linux vs. FreeBSD are argued on the 'Net 
constantly.

There is no hands-down winner, there's no distinct measure of overall
supremacy.  There's only lists of pros and cons, and ever-changing 
benchmarks

that reflect the ongoing development in both camps.

When Steve Jobs went looking for a new apple core :D,
he picked BSD code instead of Linux.

So, what is going to replace these fundamentals for FreeBSD?  Do you
have any idea of the scope of the evolution of UNIX and Unix-like systems? 


If MSFT, with billions of dollars and thousands of the world's most talented
programmers, can't create a great operating system in 6 years using
VMS-based NT** (which dates back 13 years, I think, ATM, and VMS before
that), how do you propose that starting over is going to produce anything
as nice as what we have now before at least 2015, or later?


Kevin Kinsey

*I only can _assume_ that it's running on Win instead of Plan9.  It's also
possible that he _prefers_ this MUA, or just happened to be stuck on
a Winbox, or only has one computer at home (is there a Mrs. Ritchie?
that's one reason why I've a Winbox in the house)  when he sent the
message I'm referring to.  All I can do is read headers.

**Don't know if VMS-based NT is fully accurate, but it's generally
accepted, and for good reasons.

--
Q:  What do you call a group of kids with low IQ's, drinking diet cola, 
eating fruit, and singing?
A:  The Moron Tab and Apple Choir.


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


Re: Is ALTQ part of 6.0 base system

2006-03-30 Thread [EMAIL PROTECTED]
 Can ALTQ support be compiled into a custom kernel and be
 used stand-a-lone?

They can be used in anything which is compiled to use them, yes.

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


Re: Soekris Net4801 performance

2006-03-30 Thread David Kelly


On Mar 30, 2006, at 5:32 AM, [EMAIL PROTECTED] wrote:


I tried with OpenBSD 3.8 and got similar performance to FreeBSD.
I might try NetBSD in the weekend, someone mentioned that, and it's  
probably

a good idea.


I suggested earlier that you verify how fast your disk interface  
runs. Am guessing its a CF card. Something as simple as dd  
if=testfile of=/dev/null. Not all CF cards read/write as fast as  
others.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


RE: Is ALTQ part of 6.0 base system

2006-03-30 Thread fbsd_user
Then if what you say is true, there would be man pages in the
base system for using ALTQ stand-a-lone and there are none.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 10:29 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Is ALTQ part of 6.0 base system


 Can ALTQ support be compiled into a custom kernel and be
 used stand-a-lone?

They can be used in anything which is compiled to use them, yes.

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

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


Re: ASCII files becoming double lined

2006-03-30 Thread Vaaf

At 17:20 30.03.2006, Jerry McAllister wrote:



 Hello!

 Sometimes I notice ASCII files becoming double lined.
 As in there somehow appearing an empty line in between every line.

 Why is this? And:

 01 How can I detect files with double lines?
 02 And then eliminate this double lining?

Check out tr(1)
It will quite easily remove the extra CR in every line.
Then, if you need, you can rename the clean file to the dirty file
  something like:   # tr -d \r  dirtyfile  cleanfile
# mv cleanfile dirtyfile

Sorry, it takes two steps.
Thre are other methods that do it without a second file, but
for newbies, this is easier to understand.

jerry


 The goal would be to apply 01 and 02 to this script:

 #!/usr/local/bin/bash
 #
 #   Remove CRLF, trailing whitespace and blank lines.
 #   $MARBEJA: clean.sh,v 1.0 2007/11/11 15:09:05 awad Exp $
 #

 for file in `find -s . -type f`; do

   if file -b $file | grep -q 'text'; then

   echo  $file

   tr -d '\r'  $file \
   | sed -E -e 's/[[:space:]]+$//' \
   | cat -s -  ${file}.tmp  mv -f ${file}.tmp $file

   echo $file: Done

   fi

 done

 Thanks,
 Vaaf

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




Thanks Jerry! But isn't this what my script already does?

As for Mr. Kennaway, if you had a big bugger up your nose the minute 
you're about

to go on a date, wouldn't you like an honest opinion?

Vaaf

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


a number of widly varied questions [FreeBSD 6.0; stdc++6, Xorg/Drivers issues, one KDE issue]

2006-03-30 Thread Jim Stapleton
Sorry if some of these aren't all exactly appropriate for here, but
this seems like the best place to ask for a number of them, especially
given my system is FreeBSD, and I've gotten everything from ports. I'm
putting all of this in one email as just a not-so-quick, quick
overview, and to ask if I should do everything in one email, or should
I split it into several emails?

First off:
/var/log:
  I know at least one question will require a file from /var/log, is
it ok to delete the log file (in this case Xorg.0.log) and run the app
to  make sure the log is as concise as possible?

stdc++6
One of my applications wants libstdc++6. when I whereis every variant
I can think of, the only result is: /usr/src/contrib/libstdc++. This
looks old (dec. 2004), and I'm nervous about using it. Is there any
way to upgrade this using ports, or, like the kernel, do I need to
just grit my teeth, [if it is old, ]download a new source, go to the
source directory and have at it? libdrm is installed, however, finding
information on loading the module through userspace rather than
kernelspace seems to be hard to find, googling for drm information
gives me nothing but kernelspace stuff, and they just say that
userspace is possible.

XOrg Video:
Long story short: this computer was originally built for someone else,
who would never touch anything but windows, cheapest card for the
non-3d person was an X300. Didn't know I'd end up getting it back (and
now using it as a *Nix box), or I'd have spent enough to get a non-TC
nVidia in here...
 Regardless, my monitor (Samsung 712N) likes 1280x1024, Xorg refuses
to run at anything but 1280x960 (which isn't even in my
/etc/X11/xorg.conf file). I expect in answering this my xorg.conf and
my Xorg.0.log file will be desired quantities, but this is just an
overview mail, and I don't want to waste space until I know this group
is right for this question, or you are going to ship me off to one of
the xorg lists (which I can't seem to find on their site).
I'm using the dri driver module. Also, on an athlon64, and a 64 bit
installtion, what's the best way to get the drm module working?
ports/graphics/drm-kmod wants an i386 compile (and while I'll be
setting up a i386 cross compiler for open office, I seriously doubt a
386 kernel module will be happy in a 64 bit kernel).

XOrg Mouse:
Logitech MX518. 10 buttons. Can only get 7 to work, and of the 10
buttons, there's only 1 I don't use extensively, that one, sadly is
wasting space in the used' category. Played with various things, and
I've gotten it down to the default xorg driver module doesn't
recognize more than 7 buttons, I need to know which module to use, and
any advice on configuring it.


KDE;
Actually, it's KDM that's the issue, when I try to log in using it,
regardless of the chosen desktop/window manager (KDE, ION, WMaker,
failsafe, etc. etc.), the screen goes blank, and I get kicked back to
the login. XDM works fine, albeit a bit ugly. I haven't gotten to
installing GDM, but I suspect I'll probably end up with that. Still I
use a KDE session, I'd just as soon use the same groups login system.
Again, I suspect this will be an xorg log file and a kdm logfile
request, but you might recommend I go to the KDE mailing lists
instead, so I figured I'd verify here first.


Thank you for your time,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ASCII files becoming double lined

2006-03-30 Thread Donald J. O'Neill
On Thursday 30 March 2006 09:04, Kris Kennaway wrote:
 On Thu, Mar 30, 2006 at 04:59:36PM +0200, Vaaf wrote:
  Hello!
 
  Sometimes I notice ASCII files becoming double lined.
  As in there somehow appearing an empty line in between every line.
 
  Why is this? And:
 
  01 How can I detect files with double lines?
  02 And then eliminate this double lining?

 Haha, what makes you think you can troll the mailing list one day and
 then ask for help the next?  Go away, silly person.

 Kris

I'm not sure, but I think his most useful purpose is providing comic 
relief for the list. 

On the face of it Kris, you're comment to him isn't much, but I keep 
laughing about it. Just think, all this comedy comes from one person. 
One person who can't successfully do a buildworld sequence, even with 
all the advice he's received on this list. 

What can I say

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


Re: Does mod_php4 include php4?

2006-03-30 Thread Kevin Kinsey

S W wrote:


Bill,

Thank you for the prompt response.

php4 now installed without mod_php4, configured httpd.conf - and
everything seems to be working.

Incidentally, acid no longer needs phplot, but is using jdgraph, instead.

Best wishes,
boink
 



Keep in mind that PHP comes in three formats:

1.  The relatively familiar Apache module.
2.  A CGI interpreter/module/executable.
3.  A CLI interpreter/executable.

IIRC, and you should read the docs, NOTES, README,
etc.  /www/mod_phpN is only #1.  lang/phpN is superior*,
in that it installs the Apache module and the CLI/CGI
depending on how it's configured**.

HTH,

Kevin Kinsey

* IMHO, of course.

** I'm not sure I'm interpreting it correctly.  I *always* use
lang/php and get module/CLI.  I *think* I could get CGI
instead with a config knob ... but it's not necessary, since
my CGI scripts could call the CLI with the appropriate
switch anyway, and AFAIK there's not a great deal of
difference between CGI and CLI --- one notable is that
CGI auto-prepends the HTML header.

--
In /users3 did Kubla Kahn
A stately pleasure dome decree,
Where /bin, the sacred river ran
Through Test Suites measureless to Man
Down to a sunless C.


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


Installing PHP

2006-03-30 Thread Darryl Hoar
greetings,
I have a freebsd 6.0-release box.  I need to install php to use with
squirrelmail.   When I go to /usr/ports/www and look for php4, I
see a lot of sub directories with names that aren't clear as to which
one installs php4.

So, anybody care to clarify this for me ?

Also, I need to configure php with the following options:
--enable-track-vars
--enable-force-cgi-redirect 
--with-gettext
--with-mysql

which file should I put those in before make, make install ?

thanks,
Darryl

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


Teclas Mayor que y Menor que

2006-03-30 Thread Jose Luis Alarcon Sanchez
Hola.

Tengo un problema con el teclado español de FreeBSD 6.1 beta, y es que
la tecla donde estan los simbolos mayor que y menor que no funciona
en el KDE 3.5.1 (en consola si que funciona)...

¿Algun tip de alguien que ya haya solucionado esto, por favor?.

Muchísimas gracias.

Jose.

 
-- 
http://www.lordofunix.org/

Usuario GNU/Hurd no registrado.
Usuario BSD registrado 51101.
Usuario Linux registrado #213309.
Una vez más cabalgaré con mis caballeros,
para defender lo que fue.
y el sueño de lo que pudo ser.

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


Re: Does mod_php4 include php4?

2006-03-30 Thread S W
Agreed, mod comes with phpN:

# pkg_info | grep php
php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
#

...and:
# httpd -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
...
8
8
8
...
 php4_module (shared)
Syntax OK
#

Best,
boink


On 3/30/06, Kevin Kinsey [EMAIL PROTECTED] wrote:
 S W wrote:

 Bill,
 
 Thank you for the prompt response.
 
 php4 now installed without mod_php4, configured httpd.conf - and
 everything seems to be working.
 
 Incidentally, acid no longer needs phplot, but is using jdgraph, instead.
 
 Best wishes,
 boink
 
 

 Keep in mind that PHP comes in three formats:

 1.  The relatively familiar Apache module.
 2.  A CGI interpreter/module/executable.
 3.  A CLI interpreter/executable.

 IIRC, and you should read the docs, NOTES, README,
 etc.  /www/mod_phpN is only #1.  lang/phpN is superior*,
 in that it installs the Apache module and the CLI/CGI
 depending on how it's configured**.

 HTH,

 Kevin Kinsey

 * IMHO, of course.

 ** I'm not sure I'm interpreting it correctly.  I *always* use
 lang/php and get module/CLI.  I *think* I could get CGI
 instead with a config knob ... but it's not necessary, since
 my CGI scripts could call the CLI with the appropriate
 switch anyway, and AFAIK there's not a great deal of
 difference between CGI and CLI --- one notable is that
 CGI auto-prepends the HTML header.

 --
 In /users3 did Kubla Kahn
 A stately pleasure dome decree,
 Where /bin, the sacred river ran
 Through Test Suites measureless to Man
 Down to a sunless C.



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


Re: Installing PHP

2006-03-30 Thread Daniel Gerzo
Hi Darryl,

Thursday, March 30, 2006, 6:04:05 PM, you has on mind:

 greetings,
 I have a freebsd 6.0-release box.  I need to install php to use with
 squirrelmail.   When I go to /usr/ports/www and look for php4, I
 see a lot of sub directories with names that aren't clear as to which
 one installs php4.

 So, anybody care to clarify this for me ?

you most probably want to read a chapter in our Handbook located at
http://www.freebsd.org/handbook. That documentation is a great thing
:)

also, for your information - the php4 core port persists in lang/php4
directory.

 Also, I need to configure php with the following options:
 --enable-track-vars
 --enable-force-cgi-redirect 
 --with-gettext
 --with-mysql

 which file should I put those in before make, make install ?

just type make config, see what options are configurable. if you need
to configure any further things, you will have to edit Makefile and
add these options to CONFIGURE_ARGS.

For a side note, if you need php4 extensions, go for
lang/php4-extensions port and type make config a then choose
extensions you really need, do not use CONFIGURE_ARGS for this.

 thanks,
 Darryl

-- 
Best Regards,
 Daniel Gerzo

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


Re: sendmail, a couple of questions.

2006-03-30 Thread Derek Ragona

At 08:03 AM 3/30/2006, Efren Bravo wrote:

Hi,

My server name is mailsrv and it has two
interfaces:
xxx.xxx.xxx.xxx =external ip, internet
yyy.yyy.yyy.yyy =internal ip, private lan


File /etc/hosts looks like:
127.0.0.1  localhost.mydomain.com localhost
xxx.xxx.xxx.xxx  mailsrv.mydomain.com mailsrv
xxx.xxx.xxx.xxx  mailsrv.mydomain.com.


don't have duplicate names to different IP's.  Also be sure you have dotted 
fully qualified names for both IP's.

xxx.xxx.xxx.xxx  mailsrv.mydomain.com. mailsrv
xxx.xxx.xxx.xxx  mailsrv2.mydomain.com. mailsrv2





1st. How could I avoid this error
(/var/log/maillog)?
Mar 29 15:52:51 mailsrv sendmail[10381]:
gethostbyaddr(yyy.yyy.yyy.yyy) failed: 1

Would be rigth adding inside /etc/hosts these
lines:
yyy.yyy.yyy.yyy  mailsrv.mydomain.com mailsrv
yyy.yyy.yyy.yyy  mailsrv.mydomain.com.


Another suggestion?

2nd. What does it mean?
Mar 29 16:07:20 mailsrv sm-mta[10399]: alias
database /etc/mail/aliases.db out of date


run newaliases as root, then restart sendmail
/etc/rc.d/sendmail restart



Thanks...



__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: a number of widly varied questions [FreeBSD 6.0; stdc++6, Xorg/Drivers issues, one KDE issue]

2006-03-30 Thread Donald J. O'Neill
On Thursday 30 March 2006 09:48, Jim Stapleton wrote:
 Sorry if some of these aren't all exactly appropriate for here, but
 this seems like the best place to ask for a number of them,
 especially given my system is FreeBSD, and I've gotten everything
 from ports. I'm putting all of this in one email as just a
 not-so-quick, quick overview, and to ask if I should do everything in
 one email, or should I split it into several emails?

 snip 
  Regardless, my monitor (Samsung 712N) likes 1280x1024, Xorg refuses
 to run at anything but 1280x960 (which isn't even in my
 /etc/X11/xorg.conf file). I expect in answering this my xorg.conf and
 my Xorg.0.log file will be desired quantities, but this is just an
 overview mail, and I don't want to waste space until I know this
 group is right for this question, or you are going to ship me off to
 one of the xorg lists (which I can't seem to find on their site).
 I'm using the dri driver module. Also, on an athlon64, and a 64 bit
 installtion, what's the best way to get the drm module working?
 ports/graphics/drm-kmod wants an i386 compile (and while I'll be
 setting up a i386 cross compiler for open office, I seriously doubt a
 386 kernel module will be happy in a 64 bit kernel).


 Thank you for your time,
 -Jim Stapleton
 ___

I can help you with the monitor part. I have a Samsung 712N that runs at 
1280x1024. 

Towards the end of xorg.conf there is a section that looks something 
like this:

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
DefaultDepth24
SubSection  Display
Viewport0 0
Depth   24
Modes   1280x1024
EndSubSection

That's what's in mine, and thats what gets the 1280x1024 display.

You're also going to have to look for something that looks like this:

Section Monitor
#DisplaySize340 270 # mm
Identifier  Monitor0
HorizSync   30.0 - 81.0
VertRefresh 56.0 - 75.0
#   Option  DPMS
EndSection


I think using 'Xorg -configure' will generate a pretty good xorg.conf 
file (actually xorg.conf.new) that you can look at, make changes to, 
and test with 'Xorg -configure xorg.conf.new', you'll have to use 
^Backspace to get out of it, but you'll find out if you've get things 
set right and if the mouse is working.

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


Re: sendmail, a couple of questions.

2006-03-30 Thread wc_fbsd

At 11:33 AM 3/30/2006, you wrote:

File /etc/hosts looks like:
xxx.xxx.xxx.xxx  mailsrv.mydomain.com mailsrv
xxx.xxx.xxx.xxx  mailsrv.mydomain.com.


don't have duplicate names to different IP's.  Also be sure you have 
dotted fully qualified names for both IP's.


FWIW, the double entries are what sysinstall creates.  I just loaded 
a new box yesterday and was wondering about that myself.


Here's what it crated:

# uname -a
FreeBSD newb.xxiii.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0
# cat /etc/hosts
::1 localhost.xxiii.com localhost
127.0.0.1   localhost.xxiii.com localhost
192.168.0.14newb.xxiii.com newb
192.168.0.14newb.xxiii.com.

So what' with the doubles. anyway?

  -Wayne

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


Re: Teclas Mayor que y Menor que

2006-03-30 Thread guru
El día Thursday, March 30, 2006 a las 06:10:22PM +0200, Jose Luis Alarcon 
Sanchez escribió:

 Hola.
 
 Tengo un problema con el teclado español de FreeBSD 6.1 beta, y es que
 la tecla donde estan los simbolos mayor que y menor que no funciona
 en el KDE 3.5.1 (en consola si que funciona)...
 
 ¿Algun tip de alguien que ya haya solucionado esto, por favor?.

Pues, lanza la herramienta 'xev', dale el focus y comprueba si
la teclas al macar y al saltar producen eventos.

You may launch 'xev' and check if the key on stroke and release
are producing X-events.

 Muchísimas gracias.

Da nada, ero mejor que preguntes acá en inglés.
Better you ask here in english

matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getop.h conflict when building audio/akode

2006-03-30 Thread Michael Nottebrock
On Thursday, 30. March 2006 09:08, Olivier Nicole wrote:

 Ports are up to date (30 minutes ago)
 That usr/local/include/getopt.h comes from libgnugetopt-1.2 (up to date
 too)

Deinstall the libgnugetopt port - it's only needed on FreeBSD releases earlier 
than 5.x and causes buildtime errors on later versions (as you found out).


Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpUBLYznD7B2.pgp
Description: PGP signature


Re: a number of widly varied questions [FreeBSD 6.0; stdc++6, Xorg/Drivers issues, one KDE issue]

2006-03-30 Thread Jim Stapleton
Thank you, that screen refresh rate seems to have fixed it. The
original that xorg generated through the config script just drove my
monitor bonkers (lots of shaking and a message on the screen that
complained). I finally managed to get it to work forcing horiz and
vert to be 60.0 (60.0-60.0 on each). My screen setup was almost
identical to yours (except I had 1024x768, 800x600 and 640x480 in
there as fallbacks). I didn't change that, and it does seem to work.

With those settings you gave me, the resolution is now at 1280x1024,
and the text no longer causes my eyes to bleed. Thanks!

 I can help you with the monitor part. I have a Samsung 712N that runs at
 1280x1024.

 Towards the end of xorg.conf there is a section that looks something
 like this:

 Section Screen
 Identifier  Screen0
 Device  Card0
 Monitor Monitor0
 DefaultDepth24
 SubSection  Display
 Viewport0 0
 Depth   24
 Modes   1280x1024
 EndSubSection

 That's what's in mine, and thats what gets the 1280x1024 display.

 You're also going to have to look for something that looks like this:

 Section Monitor
 #DisplaySize340 270 # mm
 Identifier  Monitor0
 HorizSync   30.0 - 81.0
 VertRefresh 56.0 - 75.0
 #   Option  DPMS
 EndSection


 I think using 'Xorg -configure' will generate a pretty good xorg.conf
 file (actually xorg.conf.new) that you can look at, make changes to,
 and test with 'Xorg -configure xorg.conf.new', you'll have to use
 ^Backspace to get out of it, but you'll find out if you've get things
 set right and if the mouse is working.

 Don

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


Re: ASCII files becoming double lined

2006-03-30 Thread Jerry McAllister
 
 At 17:20 30.03.2006, Jerry McAllister wrote:
  
  
   Hello!
  
   Sometimes I notice ASCII files becoming double lined.
   As in there somehow appearing an empty line in between every line.
  
   Why is this? And:
  
   01 How can I detect files with double lines?
   02 And then eliminate this double lining?
 
 Check out tr(1)
 It will quite easily remove the extra CR in every line.
 Then, if you need, you can rename the clean file to the dirty file
something like:   # tr -d \r  dirtyfile  cleanfile
  # mv cleanfile dirtyfile
 
 Sorry, it takes two steps.
 Thre are other methods that do it without a second file, but
 for newbies, this is easier to understand.
 
 jerry
 
  
   The goal would be to apply 01 and 02 to this script:
  
   #!/usr/local/bin/bash
   #
   #   Remove CRLF, trailing whitespace and blank lines.
   #   $MARBEJA: clean.sh,v 1.0 2007/11/11 15:09:05 awad Exp $
   #
  
   for file in `find -s . -type f`; do
  
 if file -b $file | grep -q 'text'; then
  
 echo  $file
  
 tr -d '\r'  $file \
 | sed -E -e 's/[[:space:]]+$//' \
 | cat -s -  ${file}.tmp  mv -f ${file}.tmp $file
  
 echo $file: Done
  
 fi
  
   done
  
   Thanks,
   Vaaf
  
 
 Thanks Jerry! But isn't this what my script already does?

Guess so.  I didn't read that

jerry

 
 As for Mr. Kennaway, if you had a big bugger up your nose the minute 
 you're about
 to go on a date, wouldn't you like an honest opinion?
 
 Vaaf
 
 

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


Re: ASCII files becoming double lined

2006-03-30 Thread Vaaf

At 17:58 30.03.2006, Donald J. O'Neill wrote:

On Thursday 30 March 2006 09:04, Kris Kennaway wrote:
 On Thu, Mar 30, 2006 at 04:59:36PM +0200, Vaaf wrote:
  Hello!
 
  Sometimes I notice ASCII files becoming double lined.
  As in there somehow appearing an empty line in between every line.
 
  Why is this? And:
 
  01 How can I detect files with double lines?
  02 And then eliminate this double lining?

 Haha, what makes you think you can troll the mailing list one day and
 then ask for help the next?  Go away, silly person.

 Kris

I'm not sure, but I think his most useful purpose is providing comic
relief for the list.

On the face of it Kris, you're comment to him isn't much, but I keep
laughing about it. Just think, all this comedy comes from one person.
One person who can't successfully do a buildworld sequence, even with
all the advice he's received on this list.

What can I say

Don


Whatever. You guys asked for root password, that's a risk I can't take. 


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


RE: Need some tips in reorganizing our LAN.

2006-03-30 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Jayson
Alvarez
Sent: Tuesday, March 28, 2006 7:55 PM
To: [EMAIL PROTECTED]
Subject: Need some tips in reorganizing our LAN.


Hi,

 Right now, I'm working in a poor government agency where the
network is not well organized. Its hard to trace users that are
doing this stuff and doing that.IP addresses are scattered all
around the 3 story building.Switches are cascading everywhere..
Everything is a disaster. When a machine is infected with some
worms, its trivial to track it down..When one is doing p2p, no
one can stop him. Perhaps the reason why this is happening
right now is that the former network administrators

OK so this I think implies they all were fired?

did not
consider the scenarios that will happen in the future, like
increasing number of users and workstations mobilization of
employees from one area to another, etc.


 Right now, we have a freebsd 4.7 lying in a dark room not far
away from where I am right now. And it is indeed the center of
our Local Area Network.. Guess what, it has only 2 interfaces.
One connected to public, and the other connected to our private
switch. That private interfaced is aliased to multiple subnets
like this:

 10.10.1.1
 10.10.2.1
 10.10.3.1
 10.10.4.1
 10.10.5.1

 This interface is connected to 1 switch and then 5 or more
switches are connected to this main switch. Those 5 or more
switches are then scattered to every area of the building. I
know you are thinking a lot of negative things about this
setup, but this is what it really looks right now.

 The MIS suggested a LAN transition project, and I was assigned
to lead the team. Right now, we are only two in this very big
team. :-) I'm just wondering if I will ever gonna finish this
project or not. I have a lot of stuffs mixed up in my mind
right now but I really don't know where to start.


You are going to find you might as well start over and toss everything.

These kinds of clean up projects only work right if the chief network
admins who have all the institutional knowledge run the cleanup project.
If your new, and the people with the institutional knowledge aren't
around anymore, you have little choice but to just start over.  This
is not an uncommon scenario since incompetent admins are the ones who
are most likely to create big undocumented messes.

 I have these in my mind right now:

 Connectivity
 1. wired
 2. wireless

 Machines being hooked into the network:
 1. servers
 2. workstations
 3. testbeds
 4. personal (laptops etc.)

 Will use DHCP
 Will use centralized directory service
 Will use centralized authentication
 We have at most 150 employees...
 We don't have that much to spend on equipments like managed
switches, powerful servers, etc.
 We have a lot of political issues that needs to be resolved
regarding network usage policies


You have to start with these first.  Unless you can get a statement
of use worked out and have the top dogs sign off on it, your screwed
before you even start.  Do this first before you have spent all your
political capital because you are absolutely going to be pissing
off people and later on you won't have the support to do it.

You ought to know as well that I know several professional admins
that do this for a living - they are hired in the wake of incompetents
being fired, and they come in and hatchet out everything, then once
everything is running smoothly, they quit and go on to the next
company, because by the time they are done, everyone in the office
save the directors, hate their guts.  (and the directors are laughing
up their sleeves at the users)  They get paid pretty damn good money
for this.


 All these stuffs, basically mixed up in my mind. I really have
no idea where to start aside from creating a purchase request
for a new PC router and a multiple port lan card, which I
already did a week ago..And it has not arrived yet. :-) Please
help me. I told my partner that services configuration is just
a piece of cake once we already have a definite plan. I really
don't know where to start. I'm not even tasked to do this...
I'm just tasked to help my partner who is a member of the poor
MIS. At first, I thought this would be just as easy as
upgrading the machine to FreeBSD 6.0 and then reconfiguring the
firewall ruleset, but I was wrong.

 If you have any Network Transition plan that you may want to
share to me, please do so. Even if we don't have that much
similarities in our network setup, at least the non technical
part like planning etc...


Just start over and don't bother with a transition plan.  If you spend
a lot of time documenting what is there now you will get snared into
keeping the bandaids going.  The only way is to interview every user,
document all the services that all the users are officially supposed to
be using, then figure out how to provide those in the cleanest way
possible, then start doing that.  If the existing stuff can be part
of 

Re: ASCII files becoming double lined

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 05:45:11PM +0200, Vaaf wrote:

 As for Mr. Kennaway, if you had a big bugger up your nose the minute 
 you're about
 to go on a date, wouldn't you like an honest opinion?

Are you asking me out?  If so I have to tell you I don't date
creatures with green scaly skin who live under bridges.

In case I'm not clear:

Your behaviour on this list suggests that you are either an abnormally
high-functioning 3-year-old, or you have some other equivalent
personality disorder.  If you want to be treated with respect, start
acting in a manner that is deserving of it.

That means not throwing temper tantrums or making absurd threats every
time someone suggests that perhaps you don't know everything, or when
you don't get the level of help that you want, and then coming right
back and asking for more help.  You can't have it both ways.

Kris


pgpUmjBPmP6v5.pgp
Description: PGP signature


Re: ASCII files becoming double lined

2006-03-30 Thread usleepless
well i am sure that you would have saved everybody ( including
yourself ) a hell of a lot of time if you had called these guys:
www.bsdconsulting.no

or is that a risk you can't take either? ( or is bsdconsulting.no
you?, then all bets are off )

i don't know why i am doing this. i have a very hard time
understanding your brutality towards people who obviously have tried
very hard to help you.

and then you go on and ask stooopid (dvd) questions on the list, which
aren't even remotely connected to freebsd. questions which show you
obviously don't know what you are talking about.

i respect those who continue to support, disregarding history or
person. respect.

could some fellow norwegian talk some sense into this guy? you guys
must be ashamed, right?

On 3/30/06, Vaaf [EMAIL PROTECTED] wrote:
 At 17:58 30.03.2006, Donald J. O'Neill wrote:
 On Thursday 30 March 2006 09:04, Kris Kennaway wrote:
   On Thu, Mar 30, 2006 at 04:59:36PM +0200, Vaaf wrote:
Hello!
   
Sometimes I notice ASCII files becoming double lined.
As in there somehow appearing an empty line in between every line.
   
Why is this? And:
   
01 How can I detect files with double lines?
02 And then eliminate this double lining?
  
   Haha, what makes you think you can troll the mailing list one day and
   then ask for help the next?  Go away, silly person.
  
   Kris
 
 I'm not sure, but I think his most useful purpose is providing comic
 relief for the list.
 
 On the face of it Kris, you're comment to him isn't much, but I keep
 laughing about it. Just think, all this comedy comes from one person.
 One person who can't successfully do a buildworld sequence, even with
 all the advice he's received on this list.
 
 What can I say
 
 Don

 Whatever. You guys asked for root password, that's a risk I can't take.

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

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


Installation from usb cdrom?

2006-03-30 Thread Steve Kargl
I've never tried to install FreeBSD from a USB connected
cdrom.  Is this possible with FreeBSD 6.x and -current?

If not, any suggetions for the installation of FreeBSD
on the hyperblade nodes of an Appro mini-cluster?

www.appro.com

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


Re: Why are so many people using 4.x?

2006-03-30 Thread Chris
On 29/03/06, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Wed, Mar 29, 2006 at 08:48:07PM +0100, Chris wrote:

  Well without a doubt 4.x is the fastest and most stable freebsd out of
  the 3.  The comment earlier where it just runs and runs is a good way
  of describing it.

 6.x is faster at filesystem performance and other tasks.

  5.x had a big performance hit and 6.x is noticeably faster but I have
  been experiencing weird lockups with 6.x and have reverted all but one
  of my servers back to 5.4 that were running 6.0 and they became stable
  again, we have one server running 6.1 prerelease which is more stable
  then 6.0 so I would rate 6.0 as a poor release, sorry but it only is
  stable under low load on every server I tried it on.

 Sorry to hear that, can you point me to the PRs you filed so I can
 take a look?

  Kris and others
  have you been testing 6.0 in server environments with things such as
  ddos attacks and thousands of concurrent connections, sustained heavy
  traffic ongoing for days etc, these type of things have caused 6.0 to
  just die on me.

 Yes, and so have companies like Yahoo! who are so pleased with 6.x
 that they are deploying it company-wide.

 Kris



I didnt do a PR except one for a minor bug since there was nothing
logged on it just died, I have kept one machine running 6.0 so I can
try and resolve the problem and also will upgrade it to 6.1 on release
to see if things are better, should I enable debugging options so it
has better chance of logging something?

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


Re: ASCII files becoming double lined

2006-03-30 Thread Donald J. O'Neill
On Thursday 30 March 2006 11:27, Vaaf wrote:
 At 17:58 30.03.2006, Donald J. O'Neill wrote:
 On Thursday 30 March 2006 09:04, Kris Kennaway wrote:
   On Thu, Mar 30, 2006 at 04:59:36PM +0200, Vaaf wrote:
Hello!
   
Sometimes I notice ASCII files becoming double lined.
As in there somehow appearing an empty line in between every
line.
   
Why is this? And:
   
01 How can I detect files with double lines?
02 And then eliminate this double lining?
  
   Haha, what makes you think you can troll the mailing list one day
   and then ask for help the next?  Go away, silly person.
  
   Kris
 
 I'm not sure, but I think his most useful purpose is providing comic
 relief for the list.
 
 On the face of it Kris, you're comment to him isn't much, but I keep
 laughing about it. Just think, all this comedy comes from one
  person. One person who can't successfully do a buildworld sequence,
  even with all the advice he's received on this list.
 
 What can I say
 
 Don

 Whatever. You guys asked for root password, that's a risk I can't
 take.

I don't see anything on here asking for a root password, so you must be 
referring to somewhere else.

I'll tell you what. I wouldn't give out a root password either. I think, 
though, the reason it was asked for was you were proving to be so inept 
that it was wanted so the problem could be fixed and you would stop 
with your shenanigans on that issue.

If you would use the suggestions given, so you have a base to work from, 
you could then figure out how to put it in a script and run the script 
to your hearts content. But until you have that base to work from, a 
whole lot of you're scripts aren't going to work the way you want them 
to.

Before you can run, you learn to walk; before you walk, you learn to 
stand; before you stand, you learn to crawl; before you crawl, you 
learn to sit up; before you learn to sit up, you lay there and shit in 
your diapers. I'm not sure exactly were you are, but I know it's not at 
the run stage.

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


system monitors and SMP on FreeBSD

2006-03-30 Thread Marco Beishuizen

Hi,

Is there a system monitor for freebsd that supports SMP? I've tried some 
(gkrellm, xosview, xsysinfo) but they all show only one cpu. Or is there a 
way to enable SMP in these monitors?

Thanks,

Marco

-- 
If you're going to walk on thin ice, you might as well dance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system monitors and SMP on FreeBSD

2006-03-30 Thread pete wright
On 3/30/06, Marco Beishuizen [EMAIL PROTECTED] wrote:

 Hi,

 Is there a system monitor for freebsd that supports SMP? I've tried some
 (gkrellm, xosview, xsysinfo) but they all show only one cpu. Or is there a
 way to enable SMP in these monitors?


if you have an SMP kernel, and multiple CPU's systat will should show
load on a per-cpu basis.  xosview should as well, although i'm not
sure how you compiled/installed it.

-p

--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java and tomcat

2006-03-30 Thread David Robillard
 Martin,

 this 'how to' isn't working... It isn't up to date,
 some downloads doesn't exist

 What can I do ?

The java page on the FreeBSD server is for an old version of Tomcat and Java.

To get Tomcat 5.5 running, try this instead.
Note that if you don't have porteasy(1), just install it:

sudo pkg_add -rv porteasy

# Change your Kernel configuration with this line:

options COMPAT_LINUX

# Rebuilt, install, reboot, as always...
# Hint: Make sure you update your src tree with the latest sources from
# your favorite cvsup mirror :)

# Install the linux binary compatibility.

sudo porteasy -uv emulators/linux_base-rh-9
cd /usr/ports/emulators/linux_base-rh-9
sudo make install clean

# Make sure the /compat/linux/proc file system is mounted at each reboot.
# Edit fstab(5) and add this line:

linproc /compat/linux/proc  linprocfs  rw 
 0   0

# Check that it works by rebooting.

sudo init 6

# Install port java/tomcat5.5 and follow instructions as they appear
when you run make.

sudo porteasy -uv www/tomcat55
cd /usr/ports/www/tomcat55
sudo make

# Follow what will be printed. Basically, what you need to do is download
# java from sun's website and place the file inside your ports tree.
# It's super easy from there.

Good luck,

David

--- Martin Hepworth [EMAIL PROTECTED] escreveu:

 Hi

 there's an excellant 'how to' here...


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/

 --
 Martin

 On 3/22/06, Aguiar Magalhaes [EMAIL PROTECTED]
 wrote:
 
  Hi list,
 
  I´d like to install java (virtual machine) and
 tomcat
  on the freebsd 6.0..
 
  Are they full compatible ??  Are they in ports ??
 
  Help me please,
 
  Aguiar


--
David Robillard
UNIX systems administrator, CISSP
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system monitors and SMP on FreeBSD

2006-03-30 Thread Marco Beishuizen
On stardate Thu, 30 Mar 2006, the wise pete wright entered:

 On 3/30/06, Marco Beishuizen [EMAIL PROTECTED] wrote:
 
  Hi,
 
  Is there a system monitor for freebsd that supports SMP? I've tried some
  (gkrellm, xosview, xsysinfo) but they all show only one cpu. Or is there a
  way to enable SMP in these monitors?
 
 
 if you have an SMP kernel, and multiple CPU's systat will should show
 load on a per-cpu basis.  xosview should as well, although i'm not
 sure how you compiled/installed it.

I have a SMP kernel (dmesg shows 4 cpu's because of hyperthreading). Systat 
shows all cpu's but as a system monitor I like xosview more :)

I installed xosview from the ports but couldn't find an option to enable 
smp.

Marco

-- 
Liar, n.:
A lawyer with a roving commission.
-- Ambrose Bierce, The Devil's Dictionary
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: terrible performance in 6.1beta4

2006-03-30 Thread usleepless
Miguel,

 3.0G

i looked at your top-screenshot, i have the impression you could
dedicate far more memory to postgresql. maybe it would be usefull to
post your postgresql.conf ( this is in fact a postgresql question, but
i don't care ).

you might want to turn fsync off, my limited knowledge about this
switch tells me it is only important in case of powerfailures.

you want to give postgresql as much memory as it needs, cause else it
will underperform heavily. this might be one of the reasons it is not
catching on as quick as i would like. postgresql is the best in OSS
though.

bring on your .conf!

regards,

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


Re: terrible performance in 6.1beta4

2006-03-30 Thread usleepless
Kris,

  3.0G

 Well there you go then..you're trying to access a file that is larger
 than RAM, so naturally you won't be able to fit it all in RAM, and
 with 1GB less RAM in your system you'll spend much more time reading
 bits of it from disk and later throwing them away.

i know a bit of databases, and assume you do as well, so i am hesative
to question your explanation but:

the importing of a DB-file ( being tab-sep-copies or SQL dumps ) is a
transformation process and does not require all data to be in core (
is that the right terminology? ) at the same moment. it transform x
Gigs of input to y Gigs of output. i don't see why the 2GB machine
would suffer this hard.

unless the 3GB-file is one big table. is it MIguel? then it might be a
postgresql hitch.

i will have to wait on the .conf files, Miguel has not claimed them to
be identical, so i am curious.

regards,

usleep




 Kris


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


Re: terrible performance in 6.1beta4

2006-03-30 Thread Miguel

[EMAIL PROTECTED] wrote:


Kris,

 


3.0G
 


Well there you go then..you're trying to access a file that is larger
than RAM, so naturally you won't be able to fit it all in RAM, and
with 1GB less RAM in your system you'll spend much more time reading
bits of it from disk and later throwing them away.
   



i know a bit of databases, and assume you do as well, so i am hesative
to question your explanation but:

the importing of a DB-file ( being tab-sep-copies or SQL dumps ) is a
transformation process and does not require all data to be in core (
is that the right terminology? ) at the same moment. it transform x
Gigs of input to y Gigs of output. i don't see why the 2GB machine
would suffer this hard.

unless the 3GB-file is one big table. is it MIguel? 
 

Yes, it is a dump of a single table. i want to tranfer the data from one 
server to another, and this is one of the biggest table.



i will have to wait on the .conf files, Miguel has not claimed them to
be identical, so i am curious.

 



attached is my config file, shared_buffers are 25% of total RAM
im guessing that this is a disk controlled bug or something, when i 
execute any query involving many rows, the server response is very low, 
ssh, su, even copy or rename a file, cpu usage remains ~87% idle though

---
Miguel
miguel
# -
# PostgreSQL configuration file
# -
#
# This file consists of lines of the form:
#
#   name = value
#
# (The '=' is optional.) White space may be used. Comments are introduced
# with '#' anywhere on a line. The complete list of option names and
# allowed values can be found in the PostgreSQL documentation. The
# commented-out settings shown in this file represent the default values.
#
# Please note that re-commenting a setting is NOT sufficient to revert it
# to the default value, unless you restart the postmaster.
#
# Any option can also be given as a command line switch to the
# postmaster, e.g. 'postmaster -c log_connections=on'. Some options
# can be changed at run-time with the 'SET' SQL command.
#
# This file is read on postmaster startup and when the postmaster
# receives a SIGHUP. If you edit the file on a running system, you have 
# to SIGHUP the postmaster for the changes to take effect, or use 
# pg_ctl reload. Some settings, such as listen_addresses, require
# a postmaster shutdown and restart to take effect.


#---
# FILE LOCATIONS
#---

# The default values of these variables are driven from the -D command line
# switch or PGDATA environment variable, represented here as ConfigDir.

#data_directory = 'ConfigDir'   # use data in another directory
#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
#ident_file = 'ConfigDir/pg_ident.conf' # IDENT configuration file

# If external_pid_file is not explicitly set, no extra pid file is written.
#external_pid_file = '(none)'   # write an extra pid file


#---
# CONNECTIONS AND AUTHENTICATION
#---

# - Connection Settings -

listen_addresses = '*'  # what IP address(es) to listen on; 
# comma-separated list of addresses;
# defaults to 'localhost', '*' = all
#port = 5432
max_connections = 40
# note: increasing max_connections costs ~400 bytes of shared memory per 
# connection slot, plus lock space (see max_locks_per_transaction).  You
# might also need to raise shared_buffers to support more connections.
superuser_reserved_connections = 5
#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777 # octal
#bonjour_name = ''  # defaults to the computer name

# - Security  Authentication -

#authentication_timeout = 60# 1-600, in seconds
#ssl = off
#password_encryption = on
#db_user_namespace = off

# Kerberos
#krb_server_keyfile = ''
#krb_srvname = 'postgres'
#krb_server_hostname = ''   # empty string matches any keytab entry
#krb_caseins_users = off

# - TCP Keepalives -
# see 'man 7 tcp' for details

#tcp_keepalives_idle = 0# TCP_KEEPIDLE, in seconds;
# 0 selects the system default
#tcp_keepalives_interval = 0# TCP_KEEPINTVL, in seconds;
# 0 selects the system default
#tcp_keepalives_count = 0   # TCP_KEEPCNT;
# 0 selects the system default


#---
# RESOURCE USAGE (except WAL)
#---

# - Memory -

shared_buffers = 65536 

Re: terrible performance in 6.1beta4

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 09:41:51PM +0200, [EMAIL PROTECTED] wrote:
 Miguel,
 
  3.0G
 
 i looked at your top-screenshot, i have the impression you could
 dedicate far more memory to postgresql. maybe it would be usefull to
 post your postgresql.conf ( this is in fact a postgresql question, but
 i don't care ).
 
 you might want to turn fsync off, my limited knowledge about this
 switch tells me it is only important in case of powerfailures.
 
 you want to give postgresql as much memory as it needs, cause else it
 will underperform heavily. this might be one of the reasons it is not
 catching on as quick as i would like. postgresql is the best in OSS
 though.

Yes, this is my impression of the problem too.  Any time your process
is waiting on disk I/O it is going to perform terribly (on any OS -
disks are slow), and the way to fix this is to make sure it does as
little I/O as possible (by allowing everything to be cached in RAM).

Kris


pgpygXu12DGkZ.pgp
Description: PGP signature


Re: ASCII files becoming double lined

2006-03-30 Thread Vaaf

At 19:38 30.03.2006, Kris Kennaway wrote:

On Thu, Mar 30, 2006 at 05:45:11PM +0200, Vaaf wrote:

 As for Mr. Kennaway, if you had a big bugger up your nose the minute
 you're about
 to go on a date, wouldn't you like an honest opinion?

Are you asking me out?  If so I have to tell you I don't date
creatures with green scaly skin who live under bridges.


I pointed out a flaw in FreeBSD's methodology.
The fact that it doesn't have one.

Pointing out a bugger in your nose, at a moment where
you'd least want one, was a way to perhaps explain things
with the same level of sarcasm you've given me.



In case I'm not clear:

Your behaviour on this list suggests that you are either an abnormally
high-functioning 3-year-old, or you have some other equivalent
personality disorder.  If you want to be treated with respect, start
acting in a manner that is deserving of it.


Show me some proof and I'll gladly give you an explanation why things
turned out that way. This is just plain harassment; what if I have a
personality disorder, is this your way of trying to hit me where it hurts?

If I want respect, I certainly won't look for it in here.



That means not throwing temper tantrums or making absurd threats every
time someone suggests that perhaps you don't know everything, or when
you don't get the level of help that you want, and then coming right
back and asking for more help.  You can't have it both ways.


Somehow I think YOU are the one who are acting childish and emotional.

I'd appreciate it if you'd refrain from your attempts to further ridicule me.

In return, I'll think twice before posting another e-mail.



Kris



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


Re: ASCII files becoming double lined

2006-03-30 Thread Vaaf

At 19:49 30.03.2006, [EMAIL PROTECTED] wrote:

well i am sure that you would have saved everybody ( including
yourself ) a hell of a lot of time if you had called these guys:
www.bsdconsulting.no

or is that a risk you can't take either? ( or is bsdconsulting.no
you?, then all bets are off )


Are you trying to advertise for a friend of yours here?



i don't know why i am doing this. i have a very hard time
understanding your brutality towards people who obviously have tried
very hard to help you.


What thread are you referring to here?

I love those who helped me.
As long as the last word they say isn't:

Ok you're an idiot, you didn't do what I say even though
you claim to do what I told you to do. Things still don't work?
Obviously you didn't do what I told you to do.



and then you go on and ask stooopid (dvd) questions on the list, which
aren't even remotely connected to freebsd. questions which show you
obviously don't know what you are talking about.


The reason I asked it on the FreeBSD questions list was because
I tried the exact same approach on a Linux machine and it worked just
fine there.



i respect those who continue to support, disregarding history or
person. respect.


Are you a much respected person?

Otherwise there's no point in following your advice.



could some fellow norwegian talk some sense into this guy? you guys
must be ashamed, right?


What are they suppose to say?

I'm guessing something along the line of ignoring people like you.



On 3/30/06, Vaaf [EMAIL PROTECTED] wrote:
 At 17:58 30.03.2006, Donald J. O'Neill wrote:
 On Thursday 30 March 2006 09:04, Kris Kennaway wrote:
   On Thu, Mar 30, 2006 at 04:59:36PM +0200, Vaaf wrote:
Hello!
   
Sometimes I notice ASCII files becoming double lined.
As in there somehow appearing an empty line in between every line.
   
Why is this? And:
   
01 How can I detect files with double lines?
02 And then eliminate this double lining?
  
   Haha, what makes you think you can troll the mailing list one day and
   then ask for help the next?  Go away, silly person.
  
   Kris
 
 I'm not sure, but I think his most useful purpose is providing comic
 relief for the list.
 
 On the face of it Kris, you're comment to him isn't much, but I keep
 laughing about it. Just think, all this comedy comes from one person.
 One person who can't successfully do a buildworld sequence, even with
 all the advice he's received on this list.
 
 What can I say
 
 Don

 Whatever. You guys asked for root password, that's a risk I can't take.

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




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


Re: terrible performance in 6.1beta4

2006-03-30 Thread usleepless
Miguel,

 
 Yes, it is a dump of a single table. i want to tranfer the data from one 
 server to another, and this is one of the biggest table.

ok, but gentoo performs the same task ok, so it is not a postgresql problem. 
you have not confirmed wether the gentoo-box is running with the same 
postgresql.conf. is it? if not, which are the differences?

 attached is my config file, shared_buffers are 25% of total RAM

i my experience, you should go much higher. if the server is not in production 
yet, you might go as high as 75%  ( assuming no other processes need these kind 
of resources ). i am not familiar with the work_mem flag,  it was not there 
last time i tuned a postgresql. you might consider upping your wal-buffers, but 
i am not sure if they are used by copyin.

 im guessing that this is a disk controlled bug or something, when i 
 execute any query involving many rows, the server response is very low, 
 ssh, su, even copy or rename a file, cpu usage remains ~87% idle though

ofcourse it might be hardware related: have you checked your diskperformance? 
what is your throughput? how does this throughput compare with the gentoo box?

regards,

usleep

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


Re: terrible performance in 6.1beta4

2006-03-30 Thread usleepless
Kris,

 Yes, this is my impression of the problem too.  Any time your process
 is waiting on disk I/O it is going to perform terribly (on any OS -
 disks are slow), and the way to fix this is to make sure it does as
 little I/O as possible (by allowing everything to be cached in RAM).

just for my curiosity, do you share my opinion on the fsync issue?

regards,

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


reciept of damaged jewel cases.

2006-03-30 Thread Gmyers
Hello
I ordered 5.3, 5.4, and now 6.0. ALL the jewel cases I have received are 
damaged.
They can't store or hold the media. And the disks are scratched from the 
movement inside the box during shipping.
This is quite frustrating.
It would be embarrassing to display this media with the scratched disks and the 
worn disk labels.
The products packaging quality control is non existent.
The shipping boxes are not damaged in anyway, and the product is so over packed 
inside the undamaged box it seems unlikely the damages happened during shipping.
 so I believe the damage occurs prior to shipment.
I'm sure you won't do anything to help me with these issues. 
What do you care..you got the check. :)
I think you have some disgruntled employee sabotaging you.
I hope this brings to light something you can identify and prevent.
I would be pretty pissed off if I was trying to bring a quality product online 
in the real world.
And the product wasn't perceived as professional enough by the people who 
wanted it to be.
Geoff






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


Re: reciept of damaged jewel cases.

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 12:53:13PM -0800, Gmyers wrote:
 Hello
 I ordered 5.3, 5.4, and now 6.0.

Not from this mailing list - you'll need to contact the company you
bought it from.

Kris

pgpKXb7jBQgOW.pgp
Description: PGP signature


Re: terrible performance in 6.1beta4

2006-03-30 Thread usleepless
Miguel

 attached is my config file, shared_buffers are 25% of total RAM
 im guessing that this is a disk controlled bug or something, when i
 execute any query involving many rows, the server response is very low,
 ssh, su, even copy or rename a file, cpu usage remains ~87% idle though

you are not inserting into an indexed table, are you?

regards,

usleep

 ---
 Miguel
 miguel


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


Re: terrible performance in 6.1beta4

2006-03-30 Thread Kris Kennaway
On Thu, Mar 30, 2006 at 10:49:01PM +0200, [EMAIL PROTECTED] wrote:
 Kris,
 
  Yes, this is my impression of the problem too.  Any time your process
  is waiting on disk I/O it is going to perform terribly (on any OS -
  disks are slow), and the way to fix this is to make sure it does as
  little I/O as possible (by allowing everything to be cached in RAM).
 
 just for my curiosity, do you share my opinion on the fsync issue?

Actually I seem to recall that on Linux with default settings fsync()
lies and does not actually sync data before returning, so maybe it's
worth turning off on FreeBSD too if you're comfortable with the
implications of this.

Kris


pgpfP4otKvRhD.pgp
Description: PGP signature


Re: ASCII files becoming double lined

2006-03-30 Thread Jerry McAllister
 
 At 19:38 30.03.2006, Kris Kennaway wrote:
 On Thu, Mar 30, 2006 at 05:45:11PM +0200, Vaaf wrote:
 
   As for Mr. Kennaway, if you had a big bugger up your nose the minute
   you're about
   to go on a date, wouldn't you like an honest opinion?
 
 Are you asking me out?  If so I have to tell you I don't date
 creatures with green scaly skin who live under bridges.
 
 I pointed out a flaw in FreeBSD's methodology.
 The fact that it doesn't have one.
 
 Pointing out a bugger in your nose, at a moment where
 you'd least want one, was a way to perhaps explain things
 with the same level of sarcasm you've given me.

Thing got surprisingly out of hand.   Unless there were some private
messages passed back and forth that did not make it on the list, I
don't think anything in earlier posts from any side of this noise
warranted the flames that seemed to leap out.Everyone around gets 
boogers now and then.   I save mine for when I really need them.

But, I still don't understand your comments on methodology and fundamentals.
They don't seem to relate to anything.FreeBSD is UNIX and does things
in a UNIX way.   I guess that is a methodology.   It is created and supported
by volunteers who use it themselves and make it freely available to others.
There is a very well managed system for development and modification with 
regular and fairly efficient procedure to submit and approve fixes and new 
features.  Changes to the system are vetted much better than most others, 
including other OS systems as well as unnamed commercial systems.  There is 
pretty good, maybe not perfect, management of versions.

These are FreeBSD fundamentals.

So, maybe would a change to advertising supported reality entertainment 
instead of producing a reliable operating system meet your requirement
for a change in fundamentals?It is certainly hard to tell from what
was posted.   Anyway, I prefer sticking to the fundamentals already
in place.

jerry


 
 
 In case I'm not clear:
 
 Your behaviour on this list suggests that you are either an abnormally
 high-functioning 3-year-old, or you have some other equivalent
 personality disorder.  If you want to be treated with respect, start
 acting in a manner that is deserving of it.
 
 Show me some proof and I'll gladly give you an explanation why things
 turned out that way. This is just plain harassment; what if I have a
 personality disorder, is this your way of trying to hit me where it hurts?
 
 If I want respect, I certainly won't look for it in here.
 
 
 That means not throwing temper tantrums or making absurd threats every
 time someone suggests that perhaps you don't know everything, or when
 you don't get the level of help that you want, and then coming right
 back and asking for more help.  You can't have it both ways.
 
 Somehow I think YOU are the one who are acting childish and emotional.
 
 I'd appreciate it if you'd refrain from your attempts to further ridicule me.
 
 In return, I'll think twice before posting another e-mail.
 
 
 Kris
 
 
 

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


Re: reciept of damaged jewel cases.

2006-03-30 Thread Lars Cleary

Gmyers wrote:

Hello
I ordered 5.3, 5.4, and now 6.0. ALL the jewel cases I have received are 
damaged.
They can't store or hold the media. And the disks are scratched from the 
movement inside the box during shipping.
This is quite frustrating.
It would be embarrassing to display this media with the scratched disks and the 
worn disk labels.
The products packaging quality control is non existent.
The shipping boxes are not damaged in anyway, and the product is so over packed 
inside the undamaged box it seems unlikely the damages happened during shipping.
 so I believe the damage occurs prior to shipment.
I'm sure you won't do anything to help me with these issues. 
What do you care..you got the check. :)

I think you have some disgruntled employee sabotaging you.
I hope this brings to light something you can identify and prevent.
I would be pretty pissed off if I was trying to bring a quality product online 
in the real world.
And the product wasn't perceived as professional enough by the people who 
wanted it to be.
Geoff

Hello

Contact the shop where you bought the software from.

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


Re: ASCII files becoming double lined

2006-03-30 Thread Lars Cleary

Vaaf wrote:

I pointed out a flaw in FreeBSD's methodology.
The fact that it doesn't have one.

I thought you were using DragonFlyBSD now.

Why are you complaining on this list then?

As to CRLF, check google, it helps:
http://galaxy.ps.uci.edu/users/esirko/howto/crlf.html

And I also find you amusing, a bit like a jester :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reciept of damaged jewel cases.

2006-03-30 Thread usleepless
Hi Geoff,

On 3/30/06, Gmyers [EMAIL PROTECTED] wrote:
 Hello
 I ordered 5.3, 5.4, and now 6.0. ALL the jewel cases I have received are
 damaged.
 They can't store or hold the media. And the disks are scratched from the
 movement inside the box during shipping.
 This is quite frustrating.
 It would be embarrassing to display this media with the scratched disks and
 the worn disk labels.
 The products packaging quality control is non existent.
 The shipping boxes are not damaged in anyway, and the product is so over
 packed inside the undamaged box it seems unlikely the damages happened
 during shipping.
  so I believe the damage occurs prior to shipment.
 I'm sure you won't do anything to help me with these issues.
 What do you care..you got the check. :)
 I think you have some disgruntled employee sabotaging you.
 I hope this brings to light something you can identify and prevent.
 I would be pretty pissed off if I was trying to bring a quality product
 online in the real world.
 And the product wasn't perceived as professional enough by the people who
 wanted it to be.
 Geoff

is this bsdmall? because i seem to remember another issue on this list recently.

where are you located? if i can help to send you a CD, please let me know.

even if this is not this lists responsibility, we might want to do
something about it.

regards,

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


Re: Teclas Mayor que y Menor que

2006-03-30 Thread Jose Luis Alarcon Sanchez
On Thu, 2006-03-30 at 18:46 +0200, [EMAIL PROTECTED] wrote:
 El día Thursday, March 30, 2006 a las 06:10:22PM +0200, Jose Luis Alarcon 
 Sanchez escribió:
 
  Hola.
  
  Tengo un problema con el teclado español de FreeBSD 6.1 beta, y es que
  la tecla donde estan los simbolos mayor que y menor que no funciona
  en el KDE 3.5.1 (en consola si que funciona)...
  
  ¿Algun tip de alguien que ya haya solucionado esto, por favor?.
 
 Pues, lanza la herramienta 'xev', dale el focus y comprueba si
 la teclas al macar y al saltar producen eventos.
 
 You may launch 'xev' and check if the key on stroke and release
 are producing X-events.
 
  Muchísimas gracias.
 
 Da nada, ero mejor que preguntes acá en inglés.
 Better you ask here in english
 
   matthias


Sorry for the wrong send. It was for the spanish list. A kind user in
that list help me and the problem is solved:

xmodmap -e keycode 94=less greater

Thanks very much to you, Matthias, guru.

Best regards.

Jose.


-- 
http://www.lordofunix.org/

Usuario GNU/Hurd no registrado.
Usuario BSD registrado 51101.
Usuario Linux registrado #213309.
Una vez más cabalgaré con mis caballeros,
para defender lo que fue.
y el sueño de lo que pudo ser.

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


Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah


I just updated my ports collection this morning and upgraded all out of 
date ports, including thunderbird and firefox.  Now typing thunderbird 
or firefox on the command line does absolutely nothing.  firefox or 
thunderbird do not show up in ps (checked using ps -auwx | grep 
firefox).  No error messages are displayed.  The only clue is that the 
return code is 1.


Sample session:
trisha% firefox
trisha% echo $?
1
trisha%

The only thing in /usr/ports/UPDATING on firefox is from 2004.

I upgraded my ports by using the script generated by portversion -c, 
which uses portupgrade and just lists the names of the ports on the line 
(eg portupgrade firefox thunderbird otherstuff).  This is on a 
6.0-RELEASE-p6 system.


uname -a
FreeBSD trisha.eidolonworld 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: 
Thu Mar 23 19:38:49 PST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Any clues on what's wrong?

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


Re: ASCII files becoming double lined

2006-03-30 Thread usleepless
 www.bsdconsulting.no
 
 or is that a risk you can't take either? ( or is bsdconsulting.no
 you?, then all bets are off )

no, i was trying to save you time and money.

but after some googling i just discovered you are just a kid. i am a
funny guy, i just might find your professor/teacher involved in your
thesis and point him to your resource wasting/brutal activities
here.

 Are you trying to advertise for a friend of yours here?

no sorry, i have no Norwegian friends :-) i chose this company from
the FreeBSD website.

 i don't know why i am doing this. i have a very hard time
 understanding your brutality towards people who obviously have tried
 very hard to help you.

 What thread are you referring to here?

buildworld baby

 I love those who helped me.
 As long as the last word they say isn't:

 Ok you're an idiot, you didn't do what I say even though
 you claim to do what I told you to do. Things still don't work?
 Obviously you didn't do what I told you to do.

it takes a man take accept the truth.

 and then you go on and ask stooopid (dvd) questions on the list, which
 aren't even remotely connected to freebsd. questions which show you
 obviously don't know what you are talking about.

 The reason I asked it on the FreeBSD questions list was because
 I tried the exact same approach on a Linux machine and it worked just
 fine there.

ahhh, there it is:

you are not here with an open mind, just with preoccupations.

 i respect those who continue to support, disregarding history or
 person. respect.

 Are you a much respected person?

i wouldn't dare to say.

 Otherwise there's no point in following your advice.

h. i will need to think about this.

 could some fellow norwegian talk some sense into this guy? you guys
 must be ashamed, right?

 What are they suppose to say?

if a dutch person was harassing the list like this, i would send him a
personal email in dutch stating he is wasting resources, not
contributing, and should treat the internet as the real world. if he
persisted i would probably pay him a visit.

regards,

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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Lars Cleary

Micah wrote:


I just updated my ports collection this morning and upgraded all out of 
date ports, including thunderbird and firefox.  Now typing thunderbird 
or firefox on the command line does absolutely nothing.  firefox or 
thunderbird do not show up in ps (checked using ps -auwx | grep 
firefox).  No error messages are displayed.  The only clue is that the 
return code is 1.


Sample session:
trisha% firefox
trisha% echo $?
1
trisha%

The only thing in /usr/ports/UPDATING on firefox is from 2004.

I upgraded my ports by using the script generated by portversion -c, 
which uses portupgrade and just lists the names of the ports on the line 
(eg portupgrade firefox thunderbird otherstuff).  This is on a 
6.0-RELEASE-p6 system.


uname -a
FreeBSD trisha.eidolonworld 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: 
Thu Mar 23 19:38:49 PST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Any clues on what's wrong?

Thanks,
Micah

Recently someone solved a problem with the same symptom by
changing the ownership of the profiles of Firefox and Thunderbird,
the were b0rked and couldnt' be read.

Maybe that helps.

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


Re: terrible performance in 6.1beta4

2006-03-30 Thread Michal Mertl
Miguel wrote:

.. postgresql is slow for me

and others wrote:

... you may have to dedicate more memory to it

Sorry for the above, but I haven't seen the beginning of the thread.

I don't know PostgreSQL much but I also has been recently running quite
simple program on one quite large table (2 milions of rows) and was
trying to tune it.

I haven't benchmarked anything (only that it was several orders of
magnitude faster to run it on much bigger machine (2x2.8G Xeon, 2GB RAM,
10/15kRPM SCSI disks vs. 1xP4 Celeron 2.4G, 256MB RAM and an IDE disk)).

I did the tuning after reading a little on the Net but the
_POSSIBLY_IMPORTANT_ message I found was that PostgreSQL is a little
different to other DB engines that it normally doesn't eat comparatively
much memory even on loaded system because the developers believe that
when a data set is much bigger than available memory (usual for big
databases) it doesn't make sense to cache much in the DB engine because
the OS can do it too and you can save memory...

Above is the core of what I wanted to say - PostgreSQL process size was
quite small (~100MB) on the bigger machine yet I think I tuned it
according to the recommendations and that it is probably expected and
correct with PostgreSQL.

After comparing my config file to yours I see some differences:

I have set some limits lower than you (shared_buffers 65536 vs. 1,
work_mem 83886 vs. 1) and one higher (max_fsm_pages 2 vs.
10).

I suspect that the main difference in our configs is fsync setting
though. I have fsync = off and you the default (on). This may be very
important difference, maybe similar to MySQL's
innodb_flush_log_at_trx_commit (which, when set to 2, raises the
performance of MySQL with InnoDB on FreeBSD significantly).

I seem to remember that I read somewhere that fsync is pretty expensive
on FreeBSD in comparison to Linux (because they cheat, as usual :-)) so
maybe you can give it a try on your PostgreSQL too. It probably is a
little dangerous though.


HTH

Michal

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


SiI3112 Controller Question

2006-03-30 Thread Richard P. Koett
Hello All:

I'm setting up a small fileserver at home running 5.4-RELEASE. I'm booting from 
a small IDE hard drive and have installed a SiI3112 controller and a pair of 
SATA drives for data storage. Before starting I flashed the controller with 
latest firmware (4.2.77) and performed a low-level format and burn-in test on 
both SATA drives (Maxtor 7L300S0's) using Maxtor's PowerMAX 4.22 diagnostic 
utilities. The burn-in tests ran two full passes (approx. 8 hours) on each 
drive without errors so I am reasonably sure the drives are working correctly.

I then did the following:

   atacontrol create RAID1 ad4 ad6
   bsdlabel -w /dev/ar0
   newfs -O2 -U -b32768 -f4096 -g8388608 -h16 -ospace /dev/ar0a

So far so good, but when I do this:

   mount /dev/ar0a /data

I get this:

   ad4: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=24016

Some quick questions:

1) Are these SiI3112 controllers any good? I have the option of using a 
HighPoint HPT372 instead but was planning to use that elsewhere.

2) Would upgrading to something newer than 5.4-RELEASE help with this issue?

DMESG below...

TIA,
RPK.

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x634  Stepping = 4
  
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX
real memory  = 268423168 (255 MB)
avail memory = 253018112 (241 MB)
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBM CDTPWSNZ on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xfd08-0xfd0b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 0xe000-0xefff at 
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0xfff0-0x,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller at device 7.2 on pci0
uhci0: 0x20 bytes of rid 0x20 res 4 failed.
uhci0: Could not map ports
device_attach: uhci0 attach returned 6
pci0: bridge at device 7.3 (no driver attached)
atapci1: SiI 3112 SATA150 controller port 
0x74f0-0x74ff,0x74c4-0x74c7,0x74d8-0x74df,0x74c0-0x74c3,0x74d0-0x74d7 mem 
0xf5effe00-0xf5ef irq 15 at device 16.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x7c00-0x7c7f mem 
0xf5effd80-0xf5effdff irq 11 at device 18.0 on pci0
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:03:c4:4e:56
atapci2: HighPoint HPT372 UDMA133 controller port 
0x7800-0x78ff,0x74cc-0x74cf,0x74e8-0x74ef,0x74c8-0x74cb,0x74e0-0x74e7 irq 9 at 
device 20.0 on pci0
ata4: channel #0 on atapci2
ata5: channel #1 on atapci2
fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: ECP parallel printer port port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on 
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0: ISA Option ROMs at iomem 
0xcc800-0xccfff,0xc8000-0xcc7ff,0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 266615387 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 6149MB Maxtor 86480D6/NAVXAA21 [13328/15/63] at ata0-master UDMA33
ad4: 286188MB Maxtor 7L300S0/BACE1G20 [581463/16/63] at ata2-master SATA150
ad6: 286188MB Maxtor 7L300S0/BACE1G20 [581463/16/63] at ata3-master SATA150
ar0: 286186MB ATA RAID1 array [36483/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 

Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah

Lars Cleary wrote:

Micah wrote:


I just updated my ports collection this morning and upgraded all out 
of date ports, including thunderbird and firefox.  Now typing 
thunderbird or firefox on the command line does absolutely nothing.  
firefox or thunderbird do not show up in ps (checked using ps -auwx | 
grep firefox).  No error messages are displayed.  The only clue is 
that the return code is 1.


Sample session:
trisha% firefox
trisha% echo $?
1
trisha%

The only thing in /usr/ports/UPDATING on firefox is from 2004.

I upgraded my ports by using the script generated by portversion -c, 
which uses portupgrade and just lists the names of the ports on the 
line (eg portupgrade firefox thunderbird otherstuff).  This is on a 
6.0-RELEASE-p6 system.


uname -a
FreeBSD trisha.eidolonworld 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: 
Thu Mar 23 19:38:49 PST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRISHA  i386


Any clues on what's wrong?

Thanks,
Micah

Recently someone solved a problem with the same symptom by
changing the ownership of the profiles of Firefox and Thunderbird,
the were b0rked and couldnt' be read.

Maybe that helps.

Lars


Checking... All files in ~/.mozilla and its subs are owned by my user 
and my user's group and have rw (x for dirs) as a minimum for user (some 
have r and rw for group).  Likewise for ~/.thunderbird.  Using firefox 
-P test will bring up the profile manager and allow me to create a new 
profile, but the new profile is just as broken as the regular profile. 
Might be an extension  I thought there was a way to bring up 
firefox/thunderbird in a safemode that disables all extensions, but a 
firefox --help shows no such flag.


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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Robert Huff

Micah writes:

I confirm the problem.  (The thunderbird compile finished ~10
minutes ago.)

  Checking... All files in ~/.mozilla and its subs are owned by my
  user and my user's group and have rw (x for dirs) as a minimum
  for user (some have r and rw for group).  Likewise for
  ~/.thunderbird.

Check.

  Using firefox -P test will bring up the profile manager and allow
  me to create a new profile, but the new profile is just as broken
  as the regular profile.

Check.

System:

FreeBSD 7.0-CURRENT #0: Mon Mar 13 09:23:39 EST 2006 


Robert Huff



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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread [EMAIL PROTECTED]
On 3/30/06, Micah [EMAIL PROTECTED] wrote:
 Lars Cleary wrote:
  Micah wrote:
 
  I just updated my ports collection this morning and upgraded all out
  of date ports, including thunderbird and firefox.  Now typing
  thunderbird or firefox on the command line does absolutely nothing.

  Recently someone solved a problem with the same symptom by
  changing the ownership of the profiles of Firefox and Thunderbird,
  the were b0rked and couldnt' be read.

 Checking... All files in ~/.mozilla and its subs are owned by my user
 and my user's group and have rw (x for dirs) as a minimum for user (some
 have r and rw for group).  Likewise for ~/.thunderbird.

might try mv .mozilla .moz-backup
and then try starting it again.

The slightly more painful operation might be to upgrade
the whole dependancy tree under firefox/t-b.

I think this would be:
portupgrade -ufR firefox* or summat (I'm fairly certain
from the original post that you've portupgrade installed).

Note that 1.5.0.1 works as advertised here, and I don't
use dunndarbrydde.

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


Re: SiI3112 Controller Question

2006-03-30 Thread Alex Zbyslaw

Richard P. Koett wrote:


1) Are these SiI3112 controllers any good? I have the option of using a 
HighPoint HPT372 instead but was planning to use that elsewhere.
 

A simple google for sil3112 freebsd will return you plenty of 
responses which will provide an answer to your question - which is, no 
they are not any good.   I'll leave you with google to fill in the details.


Based on nothing more than reading mailing lists, highpoint controllers 
have a much better reputation.  No doubt google could be your friend on 
that issue as well.


Sorry for the bad news,

--Alex

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


Re: Interface Weirdness

2006-03-30 Thread Karol Kwiatkowski
On 03/29/06 20:44, Steve Douville wrote:
 I have two interfaces, em0 and em1. Whenever I try to put
 assign an IP address to em1, the kernel crashes. I've tried
 different ip's and subnets, all with the same result.
 How can I find the error that caused it to crash? It isn't
 in the messages log and I'm not sure where else to look.

It can happen when kernel and world are out of sync.
Did you by any chance recompile kernel or world with new sources?
Just a thought.

Regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Micah

[EMAIL PROTECTED] wrote:

On 3/30/06, Micah [EMAIL PROTECTED] wrote:

Lars Cleary wrote:

Micah wrote:

I just updated my ports collection this morning and upgraded all out
of date ports, including thunderbird and firefox.  Now typing
thunderbird or firefox on the command line does absolutely nothing.



Recently someone solved a problem with the same symptom by
changing the ownership of the profiles of Firefox and Thunderbird,
the were b0rked and couldnt' be read.



Checking... All files in ~/.mozilla and its subs are owned by my user
and my user's group and have rw (x for dirs) as a minimum for user (some
have r and rw for group).  Likewise for ~/.thunderbird.


might try mv .mozilla .moz-backup
and then try starting it again.


Tried that.


The slightly more painful operation might be to upgrade
the whole dependancy tree under firefox/t-b.

I think this would be:
portupgrade -ufR firefox* or summat (I'm fairly certain
from the original post that you've portupgrade installed).


Was about to try that (see below)


Note that 1.5.0.1 works as advertised here, and I don't
use dunndarbrydde.


1.5.0.1_2 was commited last night, so it's probably a recent breakage. 
I just found a bug report on it at 
http://www.freebsd.org/cgi/query-pr.cgi?pr=95100

So we have four confirmed cases of firefox not working.

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


something better then rsync for duplicating systems ... ?

2006-03-30 Thread Marc G. Fournier


I have two servers, one of them a backup of the other ... right now, I'm 
using rsync to do it, but since rsync has to traverse both servers file 
systems to do its comparison, it puts a good load on the system, and takes 
awhile to run ...


So, are there any better tools I could be using, instead of rsync?

Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No shared library support for realplayer?

2006-03-30 Thread Oliver Iberien
Thanks for your response! It turns out that it is perfectly easy to start 
RealPlayer from within, say Firefox. Starting it from a console with KDE 
going doesn't work, just as you say. 

I have found that a lot of the errors I have, such as this one, are really 
just mistaken assumptions that I have not yet realized I have made. 

Oliver


On Saturday 18 March 2006 14:49, Kevin Kinsey wrote:
 Oliver Iberien wrote:
 On Saturday 18 March 2006 11:22 am, Kris Kennaway wrote:
 On Sat, Mar 18, 2006 at 10:44:56AM -0800, Oliver Iberien wrote:
 I installed Realplayer by running make clean install in its port
 directory. It all seemed to go fine, but it won't run, and no amount of
 Googling has yielded anything. Here is the debugging output. Has anyone
 got any ideas?
 
 Oliver
 
 (gdb) run
 Starting program: /usr/X11R6/lib/RealPlayer/realplay.bin
 warning: no shared library support for this OS / ABI
 
 ** ERROR **: Unable to open display
 aborting...
 
 Doesn't this just mean you forgot to set DISPLAY?
 
 Kris
 
  Thanks very much for your reply. It's possible, especially as I don't
  know how! Could you tell me where I would do that and what it should be
  set to?

 I guess a question that is obvious to many of us is, are you attempting
 to run realplayer from the console?

 It is a GUI app, so you would need to start it after or along with an
 X session.  For example, start X, run a xterm, and then run realplay...
 If you are trying to run realplay from console, then the unable to
 open display error would be, well, expected.

 Pardon my forwardness, I just thought it might be worth mentioning.

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


Re: Cheap FreeBSD hosting?

2006-03-30 Thread Thomas
Hi

Solnet (Switzerland ISP) offers dedicated server with FreeBSD for about
38$ a month.

http://www.solnet.ch/produkte/server/dedicated/linux.html
(the support speaks/writes english)

Regards,
Thomas

Scott I. Remick schrieb:
 Well it seems my perfect FreeBSD webhost, which had great service, great
 features, and a great support community has been sold-out to a large
 webhost consolidation company with a reputation for ruining every company
 they buy. They'll also be switching from FreeBSD to Linux.
 
 Since I desire to eat my own dogfood and continue to have my sites and
 pages Powered by FreeBSD I am back in the market looking for a new
 webhost.
 
 Currently I pay about $8/month for 12GB of storage, 300GB of
 bandwidth/month, and 5 MySQL databases. I need at least 4 databases
 (preferably more), and currently average 200-300MB/month transfer
 (although I peaked last year one month at 6GB for the month, but that's
 rare). I currently use 2.5GB but my space needs will gradually increase.
 
 I'd like to find a comparable plan at a webhost that uses FreeBSD servers.
 Pair is out of my league. I've had bad previous experience with iPowerWeb.
 Any others?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


formating a disk

2006-03-30 Thread Albert Shih
Hi all

I've strange problem with a external disk (firewire). I don't know how I
can format it.

I've already format this disk (on my FreeBSD box with newfs), after that I
re­format this disk with Windows XP (maybe bad idea ;-) ) and now I cannot
format the disk with anything

When I try fdisk 

[EMAIL PROTECTED] rc.d]# fdisk -BI da0
*** Working on device /dev/da0 ***
fdisk: invalid fdisk partition table found
fdisk: Geom not found
[EMAIL PROTECTED] rc.d]# 

If I try to use sysinstall I can make a slice, but when I want to format
the disk I go a error.

If I try to format directly (without slice) it's working but I cannot mount
the disk.

Anyone can help me ?

NB: The disk work..because I reformat it under windows XP.
--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Mar 31 01:28:14 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: terrible performance in 6.1beta4

2006-03-30 Thread Miguel

[EMAIL PROTECTED] wrote:


Miguel

 


attached is my config file, shared_buffers are 25% of total RAM
im guessing that this is a disk controlled bug or something, when i
execute any query involving many rows, the server response is very low,
ssh, su, even copy or rename a file, cpu usage remains ~87% idle though
   



you are not inserting into an indexed table, are you?

 



yes, i am...
is that a problem?

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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Albert Shih
 Le 30/03/2006 à 14:42:10-0800, Micah a écrit
 [EMAIL PROTECTED] wrote:
 
 1.5.0.1_2 was commited last night, so it's probably a recent breakage. 
 I just found a bug report on it at 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=95100
 So we have four confirmed cases of firefox not working.
 
five...but not for firefox...for thunderbird (well I don't use it at
all...;-) )

Same problem when I try to laucnh thunderbird, nothing append, no error..

Regards.

using : FreeBSD 6.1-PRERELEASE 

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Mar 31 01:51:25 CEST 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Logitech MX700 Moiuse Prblems

2006-03-30 Thread Joe Kelsey
I have read many messages on the various lists concerning the Logitech
MX700 mouse and button problems, especially with the scrolling wheel.
The message that provided me the real clue to what is going on was the
one to hardware@ by Joe Schmoe that went through a very complex setup
involving xorg.conf, xmodmap and imwheel.  This is just too much work!

Since I always have to modify moused to make my mice operate
left-handed, I know how to use moused to accomplish the same operation
with absolutely no change to xorg.conf, xmodmap or imwheel.  Here is the
entry for my mouse in usbd.conf:

device Mouse
devname ums[0-9]+
attach /usr/sbin/moused -m 3=1 -m 1=3 -m 4=6 -m 6=4 -m 5=7 -m
7=5 -p /dev/${DEVNAME}
-I /var/run/moused.${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on

What I do there is exchange the operation of buttons 1 and 3 to provide
left-handed operation, then switch buttons 4 and 6 and buttons 5 and 7.
I do not change anything else in the standard xorg.conf file.

Now, my mouse wheel works all the time.  That whole mess with xmodmap
and imwheel just confused me since I have never used or heard of imwheel
and I also haven't used xmodmap in years, although I used to use it
regularly.

I hope this helps someone else.

/Joe

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


  1   2   >