System time suddenly changed after reboot.

2006-01-10 Thread Scott Ballantyne
Running 5.3-RELEASE.

After many years of using FreeBSD, and as many reboots or more, I had
occasion to reboot today, and a few hours later discovered to my
horror that the system time had suddenly been moved ahead to the year
2020!

I did the best I could with the resulting mess, but I am curious if
anyone else has seen this, or what would cause it.  This is the same
hardware I have been running for a couple of years now, and I haven't
changed anything in the bios or system.

Thanks,
Scott
-- 
[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: Compaq ProLiant 1600 server freezes when detecting keyboard

2006-01-10 Thread Ertan Küçükoğlu
I'll appreciate if anyone directly sends me, or gives me a working link to 
download 4.11 release boot images.

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/

is not working. At least, connection is established, but no login info asked.

Btw, this box is 5.4-release setup box. I cvsuped 6.0-stable sources. I may 
try to disable USB in GENERIC kernel. Re-compile and try with this kernel if 
this is the test that should be done. I'll give this a try while waiting for a 
working link for FreeBSD 4.11.

--Ertan

On Mon, 9 Jan 2006 22:17:18 -0800, Ted Mittelstaedt wrote
 Please try booting with FreeBSD 4.11 and let us know if it works
 or not.  (just download a boot floppy and use that)  Also, it is
 probably hanging at whatever would probe up AFTER keyboard detection,
 not the keyboard detection.
 
 Be aware also that the Compaq 1600's are a bit odd in that they have
 a partial USB chipset on the motherboard.  It is detected as a USB
 device - but althought the chip exists, a USB buss is not, in fact,
 connected to it.  There is a setting in many Linux distros to disable
 USB probing at the installation boot to get around this, that is
 documented somewhere.
 
 Ted
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ertan Küçükoglu
 Sent: Monday, January 09, 2006 3:52 AM
 To: [EMAIL PROTECTED]
 Subject: Compaq ProLiant 1600 server freezes when detecting keyboard
 
 
 Hello,
 
 I wanted to replace slackware 10.1 with freebsd 6.0-release.
 Reason is the
 improvements on filesystem handling in 6.0 release. My system
 is serving as a
 file server with samba.
 
 I downloaded CDs and boot to install. During device probing,
 system hangs at
 keyboard detection. Below is the output written manually:
 -
 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 stray irq13
 atkbd0: [GIANT-LOCKED]
 === here cursor locks, keyboard locks. ctrl+alt+del does not work ===
 -
 
 I searched the archives. It is suggested to change BIOS setting
 for the OS to
 Other for single CPU systems and to UnixWare 2.1 for SMP
 systems. Mine is
 a SMP system. I tried several other OS settings in BIOS,
 unfortunately nothing
 helped. System bios update date is 11/8/2000.
 
 I tried to install 5.4-release and cvsup and upgrade to
 6.0-stable. Same
 problem with GENERIC kernel of yesterday sources.
 
 This system is a production machine and I have to fix it until
 end of this
 week. There is a temporary backup system running at the moment.
 
 If there is anything that I can provide, please ask for it and
 I'll do my best
 to provide.
 
 Regards,
 --
 Ertan Küçükoğlu
 [EMAIL PROTECTED]
 Özler Plastik San. ve Tic. A.S.
 Tel: +90.212.676.6767
 Fax: +90.212.676.8012
 (webmail)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
 Date: 1/6/2006
 


--
Ertan Küçükoğlu
[EMAIL PROTECTED]
Özler Plastik San. ve Tic. A.S.
Tel: +90.212.676.6767
Fax: +90.212.676.8012
Mob: +90.533.226.0051
(webmail)

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


Re: System time suddenly changed after reboot.

2006-01-10 Thread Andreas Rudisch
On Tue, 2006-01-10 at 09:01 +, Scott Ballantyne wrote:
 Running 5.3-RELEASE.
 
 After many years of using FreeBSD, and as many reboots or more, I had
 occasion to reboot today, and a few hours later discovered to my
 horror that the system time had suddenly been moved ahead to the year
 2020!
 
 I did the best I could with the resulting mess, but I am curious if
 anyone else has seen this, or what would cause it.  This is the same
 hardware I have been running for a couple of years now, and I haven't
 changed anything in the bios or system.
 
 Thanks,
 Scott

Just an idea, but maybe the BIOS battery ran out of power and needs to
be replaced.

Andreas

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


signature.asc
Description: This is a digitally signed message part


Re: Xorg - how to disable some video modes?

2006-01-10 Thread ivan . roth

Quoting Martin Möller [EMAIL PROTECTED]:


* User Gandalf [EMAIL PROTECTED] [07-01-2006 23:21:08 +0100]:


section. But I was not able to disable 1920x1440, 1600x1200 and
1280x1024. What I do know is that I go to the control panel of xfce each
time and switch back to 1024x768 manually.


Take a look in which SubSection you make the changes... If you prefer
24 bit colour, set the mode like this, and don't forget to add the line
with DefaultDepth, so X knows in which colour mode you want to start.

Section Screen
   Identifier Screen0
   DefaultDepth 24
   Device Card0
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes   1024x768
   EndSubSection
EndSection

Regards,
Martin

--
Martin Moeller andvari at gmx.de

___


Referring to http://www.linuxquestions.org/questions/showthread.php?t=381412
(for example), you should be able to add a DefaultDepth 24 line in your
screen section, with your Modes listed as Martin said. Of course, this is
useful only if you have more than one mode listed in your xorg.conf.

Regards, Ivan.


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


Re: Xorg - how to disable some video modes?

2006-01-10 Thread gandalf




Referring to 
http://www.linuxquestions.org/questions/showthread.php?t=381412

(for example), you should be able to add a DefaultDepth 24 line in your
screen section, with your Modes listed as Martin said. Of course, this is
useful only if you have more than one mode listed in your xorg.conf.


I only have one mode listed, and I have DefaultDepth. But when I start 
the X server, it starts in 1900x1440.

I can attach my xorg.conf file, if it helps.
Thank you

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


Re: Xorg - how to disable some video modes?

2006-01-10 Thread Martin Möller
* gandalf [EMAIL PROTECTED] [08-01-2006 10:29:18 +0100]:

 I can attach my xorg.conf file, if it helps.

Yes, that would help indeed.

-- 
Martin Moeller andvari at gmx.de

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


RE: Compaq ProLiant 1600 server freezes when detecting keyboard

2006-01-10 Thread Ted Mittelstaedt

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.11-
RELEASE/floppies/

works here with Microsoft Internet Exploder 6.0

Try setting your FTP client to passive mode.

Ted

-Original Message-
From: Ertan Küçükoglu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 12:15 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]
Subject: RE: Compaq ProLiant 1600 server freezes when detecting keyboard


I'll appreciate if anyone directly sends me, or gives me a
working link to
download 4.11 release boot images.

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/

is not working. At least, connection is established, but no
login info asked.

Btw, this box is 5.4-release setup box. I cvsuped 6.0-stable
sources. I may
try to disable USB in GENERIC kernel. Re-compile and try with
this kernel if
this is the test that should be done. I'll give this a try
while waiting for a
working link for FreeBSD 4.11.

--Ertan

On Mon, 9 Jan 2006 22:17:18 -0800, Ted Mittelstaedt wrote
 Please try booting with FreeBSD 4.11 and let us know if it works
 or not.  (just download a boot floppy and use that)  Also, it is
 probably hanging at whatever would probe up AFTER keyboard detection,
 not the keyboard detection.

 Be aware also that the Compaq 1600's are a bit odd in that they have
 a partial USB chipset on the motherboard.  It is detected as a USB
 device - but althought the chip exists, a USB buss is not, in fact,
 connected to it.  There is a setting in many Linux distros to disable
 USB probing at the installation boot to get around this, that is
 documented somewhere.

 Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
Ertan Küçükoglu
 Sent: Monday, January 09, 2006 3:52 AM
 To: [EMAIL PROTECTED]
 Subject: Compaq ProLiant 1600 server freezes when detecting keyboard
 
 
 Hello,
 
 I wanted to replace slackware 10.1 with freebsd 6.0-release.
 Reason is the
 improvements on filesystem handling in 6.0 release. My system
 is serving as a
 file server with samba.
 
 I downloaded CDs and boot to install. During device probing,
 system hangs at
 keyboard detection. Below is the output written manually:
 -
 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 stray irq13
 atkbd0: [GIANT-LOCKED]
 === here cursor locks, keyboard locks. ctrl+alt+del does
not work ===
 -
 
 I searched the archives. It is suggested to change BIOS setting
 for the OS to
 Other for single CPU systems and to UnixWare 2.1 for SMP
 systems. Mine is
 a SMP system. I tried several other OS settings in BIOS,
 unfortunately nothing
 helped. System bios update date is 11/8/2000.
 
 I tried to install 5.4-release and cvsup and upgrade to
 6.0-stable. Same
 problem with GENERIC kernel of yesterday sources.
 
 This system is a production machine and I have to fix it until
 end of this
 week. There is a temporary backup system running at the moment.
 
 If there is anything that I can provide, please ask for it and
 I'll do my best
 to provide.
 
 Regards,
 --
 Ertan Küçükoðlu
 [EMAIL PROTECTED]
 Özler Plastik San. ve Tic. A.S.
 Tel: +90.212.676.6767
 Fax: +90.212.676.8012
 (webmail)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
 Date: 1/6/2006
 


--
Ertan Küçükoðlu
[EMAIL PROTECTED]
Özler Plastik San. ve Tic. A.S.
Tel: +90.212.676.6767
Fax: +90.212.676.8012
Mob: +90.533.226.0051
(webmail)


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
Date: 1/6/2006


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


freebsd technology + mail + php.ini

2006-01-10 Thread c-boulard
Hi,
I'm a disabled noob and have an obsessing problem about the freebsd 
technology  this is why I allow myself to address this message to you. I don't 
find any resource about this topic on the web, may be too particular...If you 
want to help me about the following problem :
What shall i modify in my php.ini to send a message through a windows server 
exchange from an hosting freebsd server ? (i guess your comments but these are 
the pre-necessaries of my customer)
HELP ! (Thanks in all the cases)
Sincerely,
CB
Ps : Happy New Year ^^

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)


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


Re: Spamcop listed - need help to diagnose why

2006-01-10 Thread jdow

From: Ted Mittelstaedt [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]

Spam I sort through. With SpamAssassin scoring it's easy to find
the low scores and concentrate on them. But somebody arrogant enough
to spam me with a challenge for a message to a mailing list ends
up on my procmail /dev/null rules. (I use fetchmail to grab mail
and procmail to feed it to /var/spool/mail/name with stops along
the way for SpamAssassin, ClamAv, and some random cleverness.)



Unfortunately, jdow, since your using this setup, the spammer has
already successfully delivered the mail to you.  The fact that you
delete the spam before reading makes no difference - the spammer
doesen't know that and thinks they have successfully delivered it.


No they have not. They've managed to get it onto my machine, transiently.
It never got delivered to ME, the organic unit here at this email
address. I do vet spam. The items redirected to /dev/null are items
I do not want to bother with while vetting real spam.


Denying the spam before it's even accepted into the server is a
much better way.  Unfortunately, a content filter means you have to


If you can make fetchmail do that you're pretty clever, kemo sabe.

{^_^}

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


Re: Shellscript syntax question

2006-01-10 Thread Jan Grant
On Mon, 9 Jan 2006, Frank Staals wrote:

 About the asteriks : No they weren't but for some reason Thunderbird had
 problems with the color remaining from the KATE Syntax-hilighting. Anyway:
 thanks for the solusion, but what would be the expressions for  less or
 equal and greater or equal ?

As others have pointed out: [ is a synonym for test(1), which uses -gt, 
-ge, -eq, -ne, -lt, -le for numeric comparisons. For string comparisons, 
it uses , !=, =, and .

Your original expression didn't work because  is also a shell 
meta-character used to indicate file redirection. To get something like 
that to work, you'd need to quote it somehow:

if [ $a \ $b ]; then ... ; fi

or

if [ $a '' $b ]; then ... ; fi


-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
I'm the dandy information superhighwayman.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Advanced IPFW2 Forward rule problem / bug / misunderstanding

2006-01-10 Thread Andrew Fremantle

Hello,

I have searched the lists for information pertaining to this problem, 
but I haven't been able to find anything relevant to my attempted usage 
of IPFWs forward action. If there are any preexisting threads that 
address my concern, please direct me to them.


I have also sent this message to the freebsd-ipfw list, as this seems 
consistent with some other threads I see in their archive.


Here's the situation :

I have two ISPs, each providing two IPs. One of these ISPs is providing 
IPs on totally different subnets, and is MAC sensitive. I have two 
internal servers (Actually, just one listening on two addresses), and I 
want this server to be available externally to both ISPs. (We're 
migrating ISPs, and we don't want any interruption in service). I am 
using port forwarding in NATd to allow the necessary ports through to 
the server. My problem comes with the replies - FreeBSD has only one 
default gateway, and all traffic going out, regardless of which external 
IP address it is from, goes to that gateway. Since ISP2 doesen't care 
much for routing traffic from ISP1, and vice-versa, I have a problem.


I should note here that I am not trying to load balance - I am perfectly 
happy with all outbound LAN connections being NATted over one link, I 
just need the ability to service inbound connections on all four IPs.


I am using forward rules in my firewall to match packets belonging to 
these other interfaces, to forward them to the appropriate gateway. 
According to the manpage for ipfw, If /ipaddr/ is not a local address, 
then the port number (if specified) is ignored, and the packet will be 
forwarded to the remote address, using the route as found in the local 
routing table for that IP. I interpret that as The packet's next hop 
will be compared to the routing table, and routed out the appropriate 
interface to reach that next hop. The problem is that doesen't seem to 
be happening. I have tried fiddling a few knobs to no effect - 
specifically net.inet.ip.fastforwarding, net.inet.ip.sourceroute and 
net.inet.ip.accept_sourceroute.


Telus is the legacy ISP, so when I'm trying these rules all the 
inbound server requests are from the two Telus interfaces. I have 
numbered a rule here 42000. This rule will catch all kinds of packets 
outbound from ${ext1_ip}:80 and ${ext1_ip}:443 to clients on the internet.


This tells me my inbound NAT translation is working, the packets are 
getting to the server, replies are coming back, they're matching my 
forward rules, but still going out the wrong interface anyways!


As attached as I am to the idea of doing this via ipfw, if anyone has 
any suggestions on alternate methods to achieve the same results, I'd 
love to hear them!!!


On to the technical details - I have obscured IP addresses here, but the 
networks and subnet masks remain the same


---

bsdbox# uname -a
FreeBSD bsdbox 6.0-RELEASE-p1 FreeBSD 6.0-RELEASE-p1 #1: Mon Jan  9 
08:15:08 PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BSDBOX  i386


---

bsdbox# cat /usr/src/sys/i386/conf/BSDBOX
.
.
.
### FIREWALLING
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED ( I just did this to test - 
it made no difference)

options IPDIVERT

---

bsdbox# cat /etc/rc.conf
.
.
.
##
## Networking
##

gateway_enable=YES

## Ensure interface configuration and Firewall script remain consistent!!

defaultrouter=24.85.92.1

ifconfig_rl0=192.168.1.1
ifconfig_vr0=142.179.109.xxx netmask 255.255.248.0
ifconfig_vr1=216.232.85.xxx netmask 255.255.254.0

ifconfig_rue0=24.85.9x.xxx netmask 255.255.252.0
ifconfig_rue0_alias0=24.85.9x.xxx netmask 255.255.255.255

natd_enable=NO
firewall_enable=YES
firewall_script=/usr/local/etc/firewall.telus+shaw-test

-

bsdbox# cat /usr/local/etc/firewall.telus+shaw-test
# firewall.telus+shaw   0.9.8

# Aquire variables from /etc/rc.conf
if [ -r /etc/rc.conf ]; then
   . /etc/rc.conf
fi

fwcmd=/sbin/ipfw -q

##
## THIS SCRIPT REQUIRES THE FOLLOWING VARIABLES
## TO BE CORRECTLY DEFINED!
##

##
# PRIMARY external interface (Telus)
ext1=vr0  # Device name
ext1_ip=142.179.109.xxx  # IP Address
ext1_gw=142.179.104.254  # IP Gateway
ext1_bc=142.179.111.255  # Broadcast Address
ext1_srv=192.168.1.10  # Server IP Address
##

##
# SECONDARY external interface (Telus)
ext2=vr1  # Device name
ext2_ip=216.232.85.xxx  # IP Address
ext2_nm=255.255.254.0  # Network Mask
ext2_bc=216.232.85.255  # Broadcast Address
ext2_gw=216.232.84.254  # IP Gateway
ext2_srv=192.168.1.11  # IP Address of internal server
##

##
# Shaw Cable Interface(s)
# PRIMARY IP
shaw=rue0  # Device Name
shaw_ip=24.85.93.xxx  # IP Address
shaw_nm=255.255.252.0  # Network Mask
shaw_bc=24.85.95.255  # Broadcast 

Re: Which is the best open source C/C++ IDE out there?

2006-01-10 Thread Giorgos Keramidas
On 2006-01-09 15:30, Chuck Robey [EMAIL PROTECTED] wrote:
JD Arnold wrote:
 That's why you should graduate to Emacs - with the makefile syntax
 highlighting, you'll at least see the differences between tabs and
 spaces before getting into trouble due to bad whitespacing!-)

 you're certainly giving a viewpoint that has a great deal of
 truth to it, but I guess what scares folks is the horrible,
 horrible emacs learning curve,.  At one point in my career (in
 school, lisp programming) I learned/used emacs.  I admit, it's
 got so much power, there isn't even a close competitor.  BUT at
 that time, I had a genius girl programmer at my side, and she
 helped me with emacs syntax so heavily it was funny, and so I
 could make use of emacs without really having to scale the
 learning curve.

 If I'd actually had to scale that learning curve, do you think
 I would have, even COULD have used emacs?  One of the worst
 things I had happen, I needed, one year later, to go back to vi
 for a job, and just forgot enough emacs usages, and never went
 back.  I'd love to, but I'd have to find another genius Lisp
 girlfriend, before I could do that.

 Likely?  That's why emacs isn't the world's most popular editor/IDE.

If you remove the artificial requirement of the help person being
your girlfriend at the same time too, I'm sure a lot of the
current Emacs users will be glad to help

/me grins

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


RE: Compaq ProLiant 1600 server freezes when detecting keyboard

2006-01-10 Thread Ertan Küçükoğlu
Good news,

System boots flawlessly after removing USB and Firewire in GENERIC kernel.

Well, maybe FreeBSD should implement an option to disable certain device 
detection during install time, too.

Thanks for the USB hint. You saved a lot of time for me to find the problem.

--Ertan

On Tue, 10 Jan 2006 01:40:05 -0800, Ted Mittelstaedt wrote
 ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-
 releases/i386/4.11- RELEASE/floppies/
 
 works here with Microsoft Internet Exploder 6.0
 
 Try setting your FTP client to passive mode.
 
 Ted
 
 -Original Message-
 From: Ertan Küçükoglu [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 10, 2006 12:15 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]
 Subject: RE: Compaq ProLiant 1600 server freezes when detecting keyboard
 
 
 I'll appreciate if anyone directly sends me, or gives me a
 working link to
 download 4.11 release boot images.
 
 ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
 
 is not working. At least, connection is established, but no
 login info asked.
 
 Btw, this box is 5.4-release setup box. I cvsuped 6.0-stable
 sources. I may
 try to disable USB in GENERIC kernel. Re-compile and try with
 this kernel if
 this is the test that should be done. I'll give this a try
 while waiting for a
 working link for FreeBSD 4.11.
 
 --Ertan
 
 On Mon, 9 Jan 2006 22:17:18 -0800, Ted Mittelstaedt wrote
  Please try booting with FreeBSD 4.11 and let us know if it works
  or not.  (just download a boot floppy and use that)  Also, it is
  probably hanging at whatever would probe up AFTER keyboard detection,
  not the keyboard detection.
 
  Be aware also that the Compaq 1600's are a bit odd in that they have
  a partial USB chipset on the motherboard.  It is detected as a USB
  device - but althought the chip exists, a USB buss is not, in fact,
  connected to it.  There is a setting in many Linux distros to disable
  USB probing at the installation boot to get around this, that is
  documented somewhere.
 
  Ted
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
 Ertan Küçükoglu
  Sent: Monday, January 09, 2006 3:52 AM
  To: [EMAIL PROTECTED]
  Subject: Compaq ProLiant 1600 server freezes when detecting keyboard
  
  
  Hello,
  
  I wanted to replace slackware 10.1 with freebsd 6.0-release.
  Reason is the
  improvements on filesystem handling in 6.0 release. My system
  is serving as a
  file server with samba.
  
  I downloaded CDs and boot to install. During device probing,
  system hangs at
  keyboard detection. Below is the output written manually:
  -
  atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
  atkbd0: AT Keyboard irq 1 on atkbdc0
  kbd0 at atkbd0
  stray irq13
  atkbd0: [GIANT-LOCKED]
  === here cursor locks, keyboard locks. ctrl+alt+del does
 not work ===
  -
  
  I searched the archives. It is suggested to change BIOS setting
  for the OS to
  Other for single CPU systems and to UnixWare 2.1 for SMP
  systems. Mine is
  a SMP system. I tried several other OS settings in BIOS,
  unfortunately nothing
  helped. System bios update date is 11/8/2000.
  
  I tried to install 5.4-release and cvsup and upgrade to
  6.0-stable. Same
  problem with GENERIC kernel of yesterday sources.
  
  This system is a production machine and I have to fix it until
  end of this
  week. There is a temporary backup system running at the moment.
  
  If there is anything that I can provide, please ask for it and
  I'll do my best
  to provide.
  
  Regards,
  --
  Ertan Küçükoğlu
  [EMAIL PROTECTED]
  Özler Plastik San. ve Tic. A.S.
  Tel: +90.212.676.6767
  Fax: +90.212.676.8012
  (webmail)
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  --
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
  Date: 1/6/2006
  
 
 
 --
 Ertan Küçükoğlu
 [EMAIL PROTECTED]
 Özler Plastik San. ve Tic. A.S.
 Tel: +90.212.676.6767
 Fax: +90.212.676.8012
 Mob: +90.533.226.0051
 (webmail)
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
 Date: 1/6/2006
 


--
Ertan Küçükoğlu
[EMAIL PROTECTED]
Özler Plastik San. ve Tic. A.S.
Tel: +90.212.676.6767
Fax: +90.212.676.8012
Mob: +90.533.226.0051
(webmail)

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


Re: System time suddenly changed after reboot.

2006-01-10 Thread Mark Ovens

Scott Ballantyne wrote:

Running 5.3-RELEASE.

After many years of using FreeBSD, and as many reboots or more, I had
occasion to reboot today, and a few hours later discovered to my
horror that the system time had suddenly been moved ahead to the year
2020!

I did the best I could with the resulting mess, but I am curious if
anyone else has seen this, or what would cause it.  This is the same
hardware I have been running for a couple of years now, and I haven't
changed anything in the bios or system.



I had that problem back with early versions of 5.x - up to 5.3 IIRC - 
except that it happened with 9 out of 10 reboots for me.


After weeks of trying to solve the problem it turned out to be the 
keyboard!!1 Yes, the fscking keyboard. It's a Compaq USB and I'm 
guessing that there is something non-standard about it (it won't work 
when connected to a PS/2 port via an adaptor for instance).


Don't know whether this helps you.

Regards,

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


Re: Xorg - how to disable some video modes?

2006-01-10 Thread User Gandalf

Martin Möller wrote:


* gandalf [EMAIL PROTECTED] [08-01-2006 10:29:18 +0100]:

 


I can attach my xorg.conf file, if it helps.
   



Yes, that would help indeed.
 

Here is the config. I made a mistake. You were right. I forgot to use 
DefaultDepth. But I do not understand why I need it, since 24 is the 
only depth specified in my screen section,


Without DefaultDepth 24 it starts with 1900x1440. With DefaultDepth 
24 is starts in 1024x768 but it does not allow me to switch to 
1280x1024 with Ctrl-Alt-Plus.


Thanks,

  Les





Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  CoreKeyboard
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout hu
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5
EndSection

Section Monitor
#DisplaySize  360   270 # mm
Identifier   Monitor0
VendorName   SAM
ModelNameSyncMaster

 ### Uncomment if you don't want to default to DDC:
#   HorizSync30.0 - 96.0
#   VertRefresh  50.0 - 160.0
HorizSync30.0 - 95.0
VertRefresh  55.0 - 100.0

UseModes SamSung957   

Option  DPMS
EndSection

Section Modes
  Identifier SamSung957
  # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
  Modeline 1024x768_100.00  113.31  1024 1096 1208 1392  768 769 772 814  
-HSync +Vsync

  # 1280x1024 @ 85.00 Hz (GTF) hsync: 91.38 kHz; pclk: 159.36 MHz
  Modeline 1280x1024_85.00  159.36  1280 1376 1512 1744  1024 1025 1028 1075  
-HSync +Vsync
EndSection  


Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corp.
BoardName   82845G/GL [Brookdale-G] Chipset Integrated Graphics Device
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Virtual1024 768
Depth  24
Modes  1024x768_100.00 1280x1024_85.00
EndSubSection
EndSection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Compaq ProLiant 1600 server freezes when detecting keyboard

2006-01-10 Thread Ted Mittelstaedt

Thanks, that saves me a lot of time too.  I have a rack of 1600R's
that need updating.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ertan Küçükoglu
Sent: Tuesday, January 10, 2006 2:36 AM
To: Ted Mittelstaedt; [EMAIL PROTECTED]
Subject: RE: Compaq ProLiant 1600 server freezes when detecting keyboard


Good news,

System boots flawlessly after removing USB and Firewire in
GENERIC kernel.

Well, maybe FreeBSD should implement an option to disable
certain device
detection during install time, too.

Thanks for the USB hint. You saved a lot of time for me to find
the problem.

--Ertan

On Tue, 10 Jan 2006 01:40:05 -0800, Ted Mittelstaedt wrote
 ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-
 releases/i386/4.11- RELEASE/floppies/

 works here with Microsoft Internet Exploder 6.0

 Try setting your FTP client to passive mode.

 Ted

 -Original Message-
 From: Ertan Küçükoglu [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 10, 2006 12:15 AM
 To: Ted Mittelstaedt; [EMAIL PROTECTED]
 Subject: RE: Compaq ProLiant 1600 server freezes when
detecting keyboard
 
 
 I'll appreciate if anyone directly sends me, or gives me a
 working link to
 download 4.11 release boot images.
 
 ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
 
 is not working. At least, connection is established, but no
 login info asked.
 
 Btw, this box is 5.4-release setup box. I cvsuped 6.0-stable
 sources. I may
 try to disable USB in GENERIC kernel. Re-compile and try with
 this kernel if
 this is the test that should be done. I'll give this a try
 while waiting for a
 working link for FreeBSD 4.11.
 
 --Ertan
 
 On Mon, 9 Jan 2006 22:17:18 -0800, Ted Mittelstaedt wrote
  Please try booting with FreeBSD 4.11 and let us know if it works
  or not.  (just download a boot floppy and use that)  Also, it is
  probably hanging at whatever would probe up AFTER keyboard
detection,
  not the keyboard detection.
 
  Be aware also that the Compaq 1600's are a bit odd in that
they have
  a partial USB chipset on the motherboard.  It is detected as a USB
  device - but althought the chip exists, a USB buss is not, in fact,
  connected to it.  There is a setting in many Linux distros
to disable
  USB probing at the installation boot to get around this, that is
  documented somewhere.
 
  Ted
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
 Ertan Küçükoglu
  Sent: Monday, January 09, 2006 3:52 AM
  To: [EMAIL PROTECTED]
  Subject: Compaq ProLiant 1600 server freezes when
detecting keyboard
  
  
  Hello,
  
  I wanted to replace slackware 10.1 with freebsd 6.0-release.
  Reason is the
  improvements on filesystem handling in 6.0 release. My system
  is serving as a
  file server with samba.
  
  I downloaded CDs and boot to install. During device probing,
  system hangs at
  keyboard detection. Below is the output written manually:
  -
  atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
  atkbd0: AT Keyboard irq 1 on atkbdc0
  kbd0 at atkbd0
  stray irq13
  atkbd0: [GIANT-LOCKED]
  === here cursor locks, keyboard locks. ctrl+alt+del does
 not work ===
  -
  
  I searched the archives. It is suggested to change BIOS setting
  for the OS to
  Other for single CPU systems and to UnixWare 2.1 for SMP
  systems. Mine is
  a SMP system. I tried several other OS settings in BIOS,
  unfortunately nothing
  helped. System bios update date is 11/8/2000.
  
  I tried to install 5.4-release and cvsup and upgrade to
  6.0-stable. Same
  problem with GENERIC kernel of yesterday sources.
  
  This system is a production machine and I have to fix it until
  end of this
  week. There is a temporary backup system running at the moment.
  
  If there is anything that I can provide, please ask for it and
  I'll do my best
  to provide.
  
  Regards,
  --
  Ertan Küçükoðlu
  [EMAIL PROTECTED]
  Özler Plastik San. ve Tic. A.S.
  Tel: +90.212.676.6767
  Fax: +90.212.676.8012
  (webmail)
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  --
  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
  Date: 1/6/2006
  
 
 
 --
 Ertan Küçükoðlu
 [EMAIL PROTECTED]
 Özler Plastik San. ve Tic. A.S.
 Tel: +90.212.676.6767
 Fax: +90.212.676.8012
 Mob: +90.533.226.0051
 (webmail)
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.15/223 - Release
 Date: 1/6/2006
 


--
Ertan Küçükoðlu
[EMAIL PROTECTED]
Özler Plastik San. ve Tic. A.S.
Tel: +90.212.676.6767
Fax: +90.212.676.8012
Mob: +90.533.226.0051
(webmail)

___
freebsd-questions@freebsd.org mailing list

ip_icmp.h strange problem

2006-01-10 Thread SPYRIDON PAPADOPOULOS
Hi,

I am include ip_icmp.h to a program. The icmp struct in there is exactly the 
same with the one on:
http://fxr.watson.org/fxr/source/netinet/ip_icmp.h?v=TRUSTEDBSD-AUDIT3 
(this is just the first exactly the same struct i found online)
I am using FreeBSD 5.4-RELEASE #1

I have already included header files like tcp.h, ip.h, udp.h etc in my program.

Now when i am trying to compile my program with the command:
#gcc -o capTool capTool0.1 -lpcap

it gives me syntax errors, where n_short values appear: lines: 60, 61, 67, 68 
and 89 (in my ip_icmp.h).
   71, 72, 78, 79 and 100 (on the online one).

After changing the first four to u_short ... it compiles properly...
This also happened with some value in ip.h. However i am not sure which one 
now, because i changed it and it worked immediately (so i didn't even note what 
exactly i changed..and since it worked to be honest i didn't mind)
the problem is with the value in line 89:
n_time its_otime;/* Originate */

even if i change that to:
 u_time its_otime; /* Originate */
it still gives me syntax error before n_time or u_time

Can anyone help and explain briefly - if possible - how is this happening? I 
cannot believe that the n_* values are wrong, but are working when changing 
them to u_*.
I like getting involved with the system header files...but it doesn't really 
look appropriate to me ;o), or it is?

This message is written quickly in case the problem is known. I can provide 
with any required information if needed.

Please advice
thank you in advance
Spiros Papadopoulos


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


RE: Spamcop listed - need help to diagnose why

2006-01-10 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of jdow
Sent: Tuesday, January 10, 2006 2:12 AM
To: freebsd-questions@freebsd.org
Subject: Re: Spamcop listed - need help to diagnose why

 
 Unfortunately, jdow, since your using this setup, the spammer has
 already successfully delivered the mail to you.  The fact that you
 delete the spam before reading makes no difference - the spammer
 doesen't know that and thinks they have successfully delivered it.

No they have not. They've managed to get it onto my machine, 
transiently.
It never got delivered to ME, the organic unit here at this email
address.

I know that and your arguing out of your hat - simply pulling statements
out of context.  You know perfectly well that the to you in the
sentence was to your machine, the paragraph context told you that.

Unfortunately in the spam game, it only matters if the spammer
thinks they didn't successfully deliver it to you.  And that only
happens if the machine delivering the spam gets an error when
trying to deliver it, since the spammer isn't using legitimate
senders addresses and cannot get feedback any other way.

I've never been a fan of post-filters for this reason.  For some
kinds of filtering - like content filtering for example - that
is the only way you can do it.  But I think it the height of
strangeness when SA checks blacklists and such to assign scores.
If they really cared about spamfiltering, they would use the
IP blacklists in the way they are intended - to block access
completely to the spammer, not even let them connect to the
server at all.  The mail that SA is assigning scores on based on
an IP blacklist shouldn't even be in the SA filter to begin with.

 Denying the spam before it's even accepted into the server is a
 much better way.  Unfortunately, a content filter means you have to

If you can make fetchmail do that you're pretty clever, kemo sabe.


No, but I can replace the Rube Goldberg fetchmail arraingement your
using with a real mailserver that is on the Internet all the time
and can make use of blacklist servers and such.

And yes, I'm just as good at making smart-alecky comments as you
are.  Probably better at it, actually.  Do you want to knock it
off and go back to the technical merits discussion now? ;-)

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


RE: Spamcop listed - need help to diagnose why

2006-01-10 Thread Danial Thom


--- Ted Mittelstaedt [EMAIL PROTECTED]
wrote:

 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Behalf Of jdow
 Sent: Tuesday, January 10, 2006 2:12 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Spamcop listed - need help to
 diagnose why
 
  
  Unfortunately, jdow, since your using this
 setup, the spammer has
  already successfully delivered the mail to
 you.  The fact that you
  delete the spam before reading makes no
 difference - the spammer
  doesen't know that and thinks they have
 successfully delivered it.
 
 No they have not. They've managed to get it
 onto my machine, 
 transiently.
 It never got delivered to ME, the organic unit
 here at this email
 address.
 
 I know that and your arguing out of your hat -
 simply pulling statements
 out of context.  You know perfectly well that
 the to you in the
 sentence was to your machine, the paragraph
 context told you that.
 
 Unfortunately in the spam game, it only matters
 if the spammer
 thinks they didn't successfully deliver it to
 you.  And that only
 happens if the machine delivering the spam gets
 an error when
 trying to deliver it, since the spammer isn't
 using legitimate
 senders addresses and cannot get feedback any
 other way.
 
 I've never been a fan of post-filters for this
 reason.  For some
 kinds of filtering - like content filtering for
 example - that
 is the only way you can do it.  But I think it
 the height of
 strangeness when SA checks blacklists and such
 to assign scores.
 If they really cared about spamfiltering, they
 would use the
 IP blacklists in the way they are intended - to
 block access
 completely to the spammer, not even let them
 connect to the
 server at all.  The mail that SA is assigning
 scores on based on
 an IP blacklist shouldn't even be in the SA
 filter to begin with.
 
  Denying the spam before it's even accepted
 into the server is a
  much better way.  Unfortunately, a content
 filter means you have to
 
 If you can make fetchmail do that you're
 pretty clever, kemo sabe.
 
 
 No, but I can replace the Rube Goldberg
 fetchmail arraingement your
 using with a real mailserver that is on the
 Internet all the time
 and can make use of blacklist servers and such.
 
 And yes, I'm just as good at making
 smart-alecky comments as you
 are.  Probably better at it, actually.  Do you
 want to knock it
 off and go back to the technical merits
 discussion now? ;-)

YIKES. This is what happens when you put
pimply-faced kids in charge of important things
like mail. The carpet bomb MECCA in order to
kill a few terrorists approach to computing. Its
frightening.


DT



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.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: ip_icmp.h strange problem

2006-01-10 Thread Giorgos Keramidas
Format recovered.  Please read http://www.lemis.com/email.html to see
why the original format of the message was in dire need of recovery.

On 2006-01-10 12:03, SPYRIDON PAPADOPOULOS [EMAIL PROTECTED] wrote:
 Hi,

 I am include ip_icmp.h to a program. The icmp struct in there is
 exactly the same with the one on:
 http://fxr.watson.org/fxr/source/netinet/ip_icmp.h?v=TRUSTEDBSD-AUDIT3
 (this is just the first exactly the same struct i found online)
 I am using FreeBSD 5.4-RELEASE #1

 I have already included header files like tcp.h, ip.h, udp.h etc in my
 program.

 Now when i am trying to compile my program with the command:
 #gcc -o capTool capTool0.1 -lpcap

 it gives me syntax errors, where n_short values appear: lines: 60, 61,
 67, 68 and 89 (in my ip_icmp.h).
 71, 72, 78, 79 and 100 (on the online one).

 After changing the first four to u_short ... it compiles properly...

NO!  When you are an application's programmer YOU DON'T EDIT THE SYSTEM
HEADERS.  Ever!

What you missed in this particular case was to include in_systm.h before
icmp.h, as you can see below:

% [EMAIL PROTECTED]:/home/keramida$ grep n_short /usr/include/*/*
% /usr/include/netinet/in_systm.h:typedef u_int16_t n_short; \
% /* short as received from the net */
% /usr/include/netinet/ip_icmp.h: n_short icd_id;
% /usr/include/netinet/ip_icmp.h: n_short icd_seq;
% /usr/include/netinet/ip_icmp.h: n_short ipm_void;
% /usr/include/netinet/ip_icmp.h: n_short ipm_nextmtu;
% [EMAIL PROTECTED]:/home/keramida$

 This also happened with some value in ip.h. However i am not sure
 which one now, because i changed it and it worked immediately (so i
 didn't even note what exactly i changed..and since it worked to be
 honest i didn't mind)
 the problem is with the value in line 89:
 n_time its_otime;/* Originate */

 even if i change that to:
 u_time its_otime; /* Originate */
 it still gives me syntax error before n_time or u_time

 Can anyone help and explain briefly - if possible - how is this
 happening? I cannot believe that the n_* values are wrong, but are
 working when changing them to u_*.

Changing them where?  Not in the system headers I hope.

 I like getting involved with the system header files...but it doesn't
 really look appropriate to me ;o), or it is?

You are headed down the wrong path.  You are not supposed to 'get
involved' with the /usr/include files by manually making changes to
them.  If you know what you are doing, the right place to make changes
is /usr/src, and then a build  install cycle.

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


Re: Spamcop listed - need help to diagnose why

2006-01-10 Thread jdow

From: Ted Mittelstaedt [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]


Unfortunately, jdow, since your using this setup, the spammer has
already successfully delivered the mail to you.  The fact that you
delete the spam before reading makes no difference - the spammer
doesen't know that and thinks they have successfully delivered it.


No they have not. They've managed to get it onto my machine, 
transiently.

It never got delivered to ME, the organic unit here at this email
address.


I know that and your arguing out of your hat - simply pulling statements
out of context.  You know perfectly well that the to you in the
sentence was to your machine, the paragraph context told you that.

Unfortunately in the spam game, it only matters if the spammer
thinks they didn't successfully deliver it to you.  And that only
happens if the machine delivering the spam gets an error when
trying to deliver it, since the spammer isn't using legitimate
senders addresses and cannot get feedback any other way.


Sonny, you define it your way and I'll define it mine. The object
is to not bug the user with spam. The secondary object is to keep
the machine load for spam as low as possible. You have a priority
inversion there.


I've never been a fan of post-filters for this reason.  For some
kinds of filtering - like content filtering for example - that
is the only way you can do it.  But I think it the height of
strangeness when SA checks blacklists and such to assign scores.
If they really cared about spamfiltering, they would use the
IP blacklists in the way they are intended - to block access
completely to the spammer, not even let them connect to the
server at all.  The mail that SA is assigning scores on based on
an IP blacklist shouldn't even be in the SA filter to begin with.


People do that and discover they have blocked paying customers and
the like. If you are going to raw block on black lists at least
setup a scoring system that has some wide testing behind it.


Denying the spam before it's even accepted into the server is a
much better way.  Unfortunately, a content filter means you have to


If you can make fetchmail do that you're pretty clever, kemo sabe.



No, but I can replace the Rube Goldberg fetchmail arraingement your
using with a real mailserver that is on the Internet all the time
and can make use of blacklist servers and such.

And yes, I'm just as good at making smart-alecky comments as you
are.  Probably better at it, actually.  Do you want to knock it
off and go back to the technical merits discussion now? ;-)


I happen to put a priority on other things. Good enough is good enough.
If I were to get into serious tinkering it would be with software defined
radios rather than the mail system when it's working perfectly well for
the needs here at this site. Of course, YMMV.

{^_^}

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


Re: Spamcop listed - need help to diagnose why

2006-01-10 Thread jdow

From: Danial Thom [EMAIL PROTECTED]


--- Ted Mittelstaedt [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]

 
 Unfortunately, jdow, since your using this

setup, the spammer has
 already successfully delivered the mail to
you.  The fact that you
 delete the spam before reading makes no
difference - the spammer
 doesen't know that and thinks they have
successfully delivered it.

No they have not. They've managed to get it
onto my machine, 
transiently.

It never got delivered to ME, the organic unit
here at this email
address.

I know that and your arguing out of your hat -
simply pulling statements
out of context.  You know perfectly well that
the to you in the
sentence was to your machine, the paragraph
context told you that.

Unfortunately in the spam game, it only matters
if the spammer
thinks they didn't successfully deliver it to
you.  And that only
happens if the machine delivering the spam gets
an error when
trying to deliver it, since the spammer isn't
using legitimate
senders addresses and cannot get feedback any
other way.

I've never been a fan of post-filters for this
reason.  For some
kinds of filtering - like content filtering for
example - that
is the only way you can do it.  But I think it
the height of
strangeness when SA checks blacklists and such
to assign scores.
If they really cared about spamfiltering, they
would use the
IP blacklists in the way they are intended - to
block access
completely to the spammer, not even let them
connect to the
server at all.  The mail that SA is assigning
scores on based on
an IP blacklist shouldn't even be in the SA
filter to begin with.

 Denying the spam before it's even accepted
into the server is a
 much better way.  Unfortunately, a content
filter means you have to

If you can make fetchmail do that you're
pretty clever, kemo sabe.


No, but I can replace the Rube Goldberg
fetchmail arraingement your
using with a real mailserver that is on the
Internet all the time
and can make use of blacklist servers and such.

And yes, I'm just as good at making
smart-alecky comments as you
are.  Probably better at it, actually.  Do you
want to knock it
off and go back to the technical merits
discussion now? ;-)


YIKES. This is what happens when you put
pimply-faced kids in charge of important things
like mail. The carpet bomb MECCA in order to
kill a few terrorists approach to computing. Its
frightening.


Yeah, maybe he'll manage to survive long enough to acquire some wisdom
such as sometimes comes with age. (And without that gained wisdom getting
old must be unbearable.)

{^_-}


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


Re: Xorg - how to disable some video modes?

2006-01-10 Thread ivan . roth

Quoting User Gandalf [EMAIL PROTECTED]:


Martin Möller wrote:


* gandalf [EMAIL PROTECTED] [08-01-2006 10:29:18 +0100]:



I can attach my xorg.conf file, if it helps.



Yes, that would help indeed.


Here is the config. I made a mistake. You were right. I forgot to use
DefaultDepth. But I do not understand why I need it, since 24 is the
only depth specified in my screen section,

Without DefaultDepth 24 it starts with 1900x1440. With
DefaultDepth 24 is starts in 1024x768 but it does not allow me to
switch to 1280x1024 with Ctrl-Alt-Plus.

Thanks,

  Les



Hi user gandalf :)

You seem to know more than me the xorg.conf file. What happened if you
separate
your Modes like this:

Modes   1024x768_100.00 1280x1024_85.00

Mine are separated and all works fine. If you can't find answer before 7 p.m.
(GMT) I will test some changes on my config.

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


RE: Sparc vs i386 architecture

2006-01-10 Thread Danial Thom


--- Ted Mittelstaedt [EMAIL PROTECTED]
wrote:

 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Behalf Of Gerard Seibert
 Sent: Sunday, January 08, 2006 7:02 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Sparc vs i386 architecture
 
 
 Danial Thom [EMAIL PROTECTED]
 
  Frankly, people who spend $9000. worth of
 time
  dicking around with some old piece of junk
 to
  avoid buying a $400. computer crack me up.
 :)
 
 Yes, it is amassing. I have a friend who has
 spent thousands of dollars
 keeping his old car running. He could have
 purchased a new one with a
 new warranty, etc. and have saved all that
 money, but he refused. For
 some individuals, the challenge is the real
 thrill that they crave.
 
 
 That is an interesting, if very inaccurate,
 analogy, and as a car guy
 that does my own wrenching, let me tell you
 why.
 
 Computer gear every year gets cheaper and
 faster and better.  Cars
 by contrast, have not improved much over the
 last 20 years - unless you
 count larger cupholders as an improvement - and
 espically they haven't
 changed at all over the last 10.  Ever since
 EFI and airbags became
 standard on vehicles there just haven't been
 any compelling or significant
 improvements.  In fact for many models, the
 engine designs themselves
 are the same as 20 years ago.  For example the
 2.4 Turbo used in 
 the 2006 Chrysler PT Cruiser went into
 production in 1994, the 4 speed
 computer-controlled transmission used in that
 car went into production
 in 1989.  Many parts for that transmission in
 fact are the same - how
 many computers do you know that you can use a
 17 year old part in?

you need to get out more, Ted, if you think cars
haven't improved much in 20 years. I know you
can't afford a BMW or Mercedes, but you can test
drive them for free if you put on a nice suit.
Drive a '95 BMW and a 2005 and you'll see there
are huge differences in power, handling, brakes
and a whole lot of stuff you can't see, not to
mention safety. Anti-skid brakes were a joke when
they first came out; now I can stop on a dime.
Traction control actually works now.

But computers are not comparable to cars. It
might make sense to keep an old car going as a
new car depreciates much more than your time is
worth in the first year, and they aren't cheap.

DT



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.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: Which is the best open source C/C++ IDE out there?

2006-01-10 Thread Danial Thom


--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2006-01-09 15:30, Chuck Robey
 [EMAIL PROTECTED] wrote:
 JD Arnold wrote:
  That's why you should graduate to Emacs -
 with the makefile syntax
  highlighting, you'll at least see the
 differences between tabs and
  spaces before getting into trouble due to
 bad whitespacing!-)
 
  you're certainly giving a viewpoint that has
 a great deal of
  truth to it, but I guess what scares folks is
 the horrible,
  horrible emacs learning curve,.  At one point
 in my career (in
  school, lisp programming) I learned/used
 emacs.  I admit, it's
  got so much power, there isn't even a close
 competitor.  BUT at
  that time, I had a genius girl programmer at
 my side, and she
  helped me with emacs syntax so heavily it was
 funny, and so I
  could make use of emacs without really having
 to scale the
  learning curve.
 
  If I'd actually had to scale that learning
 curve, do you think
  I would have, even COULD have used emacs? 
 One of the worst
  things I had happen, I needed, one year
 later, to go back to vi
  for a job, and just forgot enough emacs
 usages, and never went
  back.  I'd love to, but I'd have to find
 another genius Lisp
  girlfriend, before I could do that.
 
  Likely?  That's why emacs isn't the world's
 most popular editor/IDE.

I had a girlfriend with a Lisp. But what a body!


DT



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.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: kernel debugging question

2006-01-10 Thread Tofik Suleymanov

Giorgos Keramidas wrote:


On 2006-01-07 17:17, Tofik Suleymanov [EMAIL PROTECTED] wrote:
 


Reading through http://www.netbsd.org i've met this:

  Forcing code to enter DDB

Ensure your kernel config file contains '|options DDB|', the file has
'|#include opt_ddb.h|', then use '|Debugger()|'.

...

Does this work on FreeBSD also ?
   



This is slightly different in FreeBSD.  You have to call:

#include sys/kdb.h

   kdb_enter(NULL); /* Enter without a message */

or

#include sys/kdb.h

kdb_enter(Forced into debugger by Giorgos);

 


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


Re: portsnap vs cvsup

2006-01-10 Thread Lowell Gilbert
 What's the advantage of portsnap vs old-fashion cvsup ?
 
The package description covers that.

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/sysutils/portsnap/pkg-descr?rev=1.2content-type=text/plain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk mapping

2006-01-10 Thread Lowell Gilbert
Albert Shih [EMAIL PROTECTED] writes:

 Hi all
 
 I've question about freebsd disk name.
 
 Actually I've a server to be change, but I don't change the disk array
 (external)
 
 On my new server I've install a FreeBSD 5.4 (without the disk array because
 it's on production). When I try to switch the old server by the new one,
 the kernel don't boot because the disk is re-map. When I've install the
 FreeBSD the / is on /dev/da0(s*) (this is without the disk array). But
 after I plug the disk array and reboot this is the disk array to have
 /dev/da0. And of course the kernel don't find the /.
 
 How can I fix this ?. I don't have the possibility to make many test or
 install with the disk array plug (because it's on production).

Figure out what SCSI bus the boot disk is on, and wire it down (see
scsi(4) for syntax) so that you can specify a fixed disk in fstab(5).

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Discovering File System Corruption

2006-01-10 Thread Bret Walker
I have a 6.0-RELEASE-p1 box with a GENERIC kerbnel that I'm having some
trouble with.

I recently reconstituted the machine from being a 5.4 box. I didn't
upgrade, I reinstalled.

When I was trying to install tripwire, kept getting this message:
./bin/i386-unknown-freebsd_r/siggen missing. Build did not complete
successfully.
*** Error code 1

I CVSupped a few times, even deleting the tripwire directory completely
and letting CVSup re-add it. I finally fixed the problem by copying the
missing file from another box.

The maintainer of the the port wrote to me:
 The missing files were missing from the distfile extraction, not the port.
The distfile failed to extract properly. That indicates that either tar
failed (unlikely) or that you have some kind of filesystem problem. You
have a problem much more serious than a mere port that failed to build.

I have run fsck in single user mode many times, each time coming back clean.
I ran fsck -f -p, to make sure I wasn't having any problems like this (
http://freebsd.rambler.ru/bsdmail/freebsd-current_2003/msg04802.html ).

How can I determine what is going on? Do I have filesystem corruption,
or is something else going on?


smime.p7s
Description: S/MIME Cryptographic Signature


[Fwd: Discovering File System Corruption]

2006-01-10 Thread Bret Walker
I have a 6.0-RELEASE-p1 box with a GENERIC kerbnel that I'm having some
trouble with.

I recently reconstituted the machine from being a 5.4 box. I didn't
upgrade, I reinstalled.

When I was trying to install tripwire, kept getting this message:
./bin/i386-unknown-freebsd_r/siggen missing. Build did not complete
successfully.
*** Error code 1

I CVSupped a few times, even deleting the tripwire directory completely
and letting CVSup re-add it. I finally fixed the problem by copying the
missing file from another box.

The maintainer of the the port wrote to me:
 The missing files were missing from the distfile extraction, not the port.
The distfile failed to extract properly. That indicates that either tar
failed (unlikely) or that you have some kind of filesystem problem. You
have a problem much more serious than a mere port that failed to build.

I have run fsck in single user mode many times, each time coming back clean.
I ran fsck -f -p, to make sure I wasn't having any problems like this (
http://freebsd.rambler.ru/bsdmail/freebsd-current_2003/msg04802.html ).

How can I determine what is going on? Do I have filesystem corruption,
or is something else going on?

Thanks,
Bret


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Compaq ProLiant 1600 server freezes when detecting keyboard

2006-01-10 Thread Tillman Hodgson
On Tue, Jan 10, 2006 at 12:35:32PM +0200, Ertan K???ko?lu wrote:
 Good news,
 
 System boots flawlessly after removing USB and Firewire in GENERIC kernel.

[My apologies for not jumping into this thread early, in spite of
 Ertan's polite email of inquiry. Vacations, yada yada etc :-).]

I can confirm this too. After my last go-around with this box I was able
to get it running by removing uhci:

[EMAIL PROTECTED] /usr/src/sys/i386/conf]# uname -a
FreeBSD thoth.seekingfire.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu
Dec 29 22:27:03 CST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/THOTH  i386

[EMAIL PROTECTED] /usr/src/sys/i386/conf]# grep '###' THOTH
###device   uhci# UHCI PCI-USB interface

(### is the symbol I use for something that's been commented out for
important reasons, so I don't later on mess with it)

However, I'm occassionally seeing the box spontanouesly reboot:

[EMAIL PROTECTED] /usr/src/sys/i386/conf]# uptime
 8:43AM  up 17:42, 2 users, load averages: 0.01, 0.01, 0.06

It's not all that often, though I can occassionally trigger it with a
buildworld/buildkernel (which is what killed it yesterday).

[EMAIL PROTECTED] /var/crash]# ls -l | grep Jan
-rw-r--r--  1 root  wheel  2 Jan  9 15:01 bounds
-rw---  1 root  wheel451 Jan  9 15:01 info.6
-rw---  1 root  wheel  268042240 Jan  9 15:02 vmcore.6

Debugging and invariants are turned off in the kernel, and I currently
lack the knowledge to do much with the vmcore in any case :-)

The crashes are very likely unrelated to the usb problem (this box also
runs pf and ipsec, either of which could be unhappy). I'm interested in
hearing about stability of other 1600Rs under load.

-T


-- 
The truth of a proposition has nothing to do with its credibility.
 And vice versa.
-- Robert Heinlein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ADIC FastStor 2

2006-01-10 Thread Christopher Umina

Hello,

   I'm currently running multiple FreeBSD 5.4 systems, but I'm  
looking to do backup services on three specific systems.  A friend  
told me to look into ADIC autochangers and I think the FastStor 2 is  
adequate.  I was wondering if this autochanger is compatible with  
FreeBSD 5.4.  I don't see it on the hardware compatibility list, but  
Google shows me lists where its in people's dmesg's.


   Secondly, I was looking into Veritas as a backup utility.  I was  
wondering thoughts on the Veritas system on FreeBSD.


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


Re: FreeBSD 6.0 AMD64 Dont Detect My PCIExpress Card...? Radeon X300.

2006-01-10 Thread Igor Robul
On Tue, Jan 03, 2006 at 10:19:15AM +0100, Bj?rn K?nig wrote:
 Buy an Nvidia card if you need 3D support necessarily, because Nvidia 
 offers drivers for FreeBSD. ATI does not; they support Linux only.
Nvidia does not provide drivers for FreeBSD on AMD64.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: replacement for Acrobat Professional?

2006-01-10 Thread Garrett Cooper

On Jan 9, 2006, at 5:30 PM, Denny White wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Jan 9 Michael W. Lucas contributed the following:


Hi folks,

I've been handed a whole bunch of PDFs and asked to make my comments
directly in them.  I'm sure there's something in ports that can do
that, but my search hasn't turned up anything.  (Of course, I really
have no idea what I'm looking for, which hampers the search. :-)

Any suggestions on a replacement for or equivalent to Acrobat Pro?

I'm on a -current box running i386.

Thanks for any pointers,

==ml


--  
Michael W. Lucas	[EMAIL PROTECTED], [EMAIL PROTECTED]

http://www.BlackHelicopters.org/~mwlucas/

The cloak of anonymity protects me from the nuisance of caring. - 
Non Sequitur


Michael,
Here are some links. Hope they help.
Denny White

http://www.accesspdf.com
http://www.freebsdsoftware.org/print/flpsed.html
http://pdfhacks.com/pdftk (don't overlook the Vim plugin part)


Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFDww5Ny0Ty5RZE55oRAplfAJ9ekbutngwMe8KZgLhJhnaIORMK0ACgza2+
2sqjq18VT5AK5Q3lqA5VG7I=
=tszC
-END PGP SIGNATURE-


	Ghostscript is a wonderful package too, and it let's you make more  
than just PDFs...

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


Re: System time suddenly changed after reboot.

2006-01-10 Thread Garrett Cooper

On Jan 10, 2006, at 12:29 AM, Andreas Rudisch wrote:


On Tue, 2006-01-10 at 09:01 +, Scott Ballantyne wrote:

Running 5.3-RELEASE.

After many years of using FreeBSD, and as many reboots or more, I had
occasion to reboot today, and a few hours later discovered to my
horror that the system time had suddenly been moved ahead to the year
2020!

I did the best I could with the resulting mess, but I am curious if
anyone else has seen this, or what would cause it.  This is the same
hardware I have been running for a couple of years now, and I haven't
changed anything in the bios or system.

Thanks,
Scott


Just an idea, but maybe the BIOS battery ran out of power and needs to
be replaced.

Andreas

--  
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc

Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


Interesting though. Usually clocks get set back to 1972, or somewhere  
around that era.

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


Re: What User Runs Startup Scripts?

2006-01-10 Thread Igor Robul
On Thu, Jan 05, 2006 at 08:02:19PM -0800, Drew Tomlinson wrote:
 1514, header 14
 Jan  5 19:51:31 blacksheep ntop[611]:   **ERROR** pcap_open_live(): 
 'BIOCSETIF: tun0: Device not configured'
 Jan  5 19:51:31 blacksheep ntop[611]:   Please correct the problem or 
 select a different interface using the -i flag
 Jan  5 19:51:31 blacksheep ntop[611]:   **FATAL_ERROR** Not root, ntop 
 shutting down...
Do you have tun0 interface on boot time? Are you activating ppp
manually?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Virtual CD drive for FreeBSD?

2006-01-10 Thread Mark Ovens
Is there such a thing as a virtual CD drive in the Ports. Something that 
allows you to treat an ISO image file - data or audio - as though it 
were a real CD in a real drive? Like Nero ImageDrive in Windows.


TIA

Regards,

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


Re: Abort signal

2006-01-10 Thread Paul Khavkine


Hi Chuck.

Ran memtest86 over night and no memory errors.


Any other ideas ?


Thanx
Paul

On Mon, 2006-01-09 at 15:22 -0500, Charles Swiger wrote:
 On Jan 9, 2006, at 2:52 PM, Paul Khavkine wrote:
  When i do that it crashes also but produces gdb.core
  The backtrace form that doesn't tell me anything about where it
  happends.
 
 If gdb itself crashes, I would suspect you've got hardware problems  
 like bad memory.  Try running memtest86.org's RAM tester overnight  
 and see whether it picks up anything...
 


signature.asc
Description: This is a digitally signed message part


Re: Virtual CD drive for FreeBSD?

2006-01-10 Thread Svein Halvor Halvorsen
On 1/10/06, Mark Ovens [EMAIL PROTECTED] wrote:
 Is there such a thing as a virtual CD drive in the Ports. Something that
 allows you to treat an ISO image file - data or audio - as though it
 were a real CD in a real drive? Like Nero ImageDrive in Windows.

Look no further than the base system. mdconfig(8) the image file, and
then mount_cd9660(8) the device node.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg - how to disable some video modes?

2006-01-10 Thread gandalf




You seem to know more than me the xorg.conf file. What happened if you 
separate

your Modes like this:

Modes   1024x768_100.00 1280x1024_85.00

Mine are separated and all works fine. If you can't find answer before 
7 p.m.

(GMT) I will test some changes on my config.



Thanks for trying. It does not work for me. I found that xfce4's control 
panel is able to switch between 1024x768, 800x600 and 640x480. (Xfce 
also resizes the virtual size.) I don't know how it can do it because 
theoretically the only valid modes are 1024x768 and 1280x1024.


If I remove DefaultDepth 24 then Ctrl-Alt-Plus works fine and I'm able 
to switch from 1900x1440 to 640x480; but then the default mode becomes 
1900x1440 again :-(


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


Re: Virtual CD drive for FreeBSD?

2006-01-10 Thread Eric Schuele

Mark Ovens wrote:
Is there such a thing as a virtual CD drive in the Ports. Something that 
allows you to treat an ISO image file - data or audio - as though it 
were a real CD in a real drive? Like Nero ImageDrive in Windows.


TIA

Regards,

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





man mdconfig

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


Re: Virtual CD drive for FreeBSD?

2006-01-10 Thread Igor Robul
On Tue, Jan 10, 2006 at 03:43:35PM +, Mark Ovens wrote:
 Is there such a thing as a virtual CD drive in the Ports. Something that 
 allows you to treat an ISO image file - data or audio - as though it 
 were a real CD in a real drive? Like Nero ImageDrive in Windows.
md(4)

mdconfig -a -t vnode -f your_iso.iso

then it prints name of device (in my case md1)

then 
mount_cd9660 /dev/md1 /mnt

and after you have finished 
umount /mnt
mdconfig -d -u 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Virtual CD drive for FreeBSD?

2006-01-10 Thread Michael McDowell

FreeBSD is very upto date :-)

Michael

On Tue, 10 Jan 2006, Eric Schuele wrote:


Mark Ovens wrote:
Is there such a thing as a virtual CD drive in the Ports. Something that 
allows you to treat an ISO image file - data or audio - as though it were a 
real CD in a real drive? Like Nero ImageDrive in Windows.


TIA

Regards,

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





man mdconfig

--
Regards,
Eric
___
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: My new DL360 G4P just arrived ... is it Dual-Core?

2006-01-10 Thread Marc G. Fournier

On Mon, 9 Jan 2006, Ted Mittelstaedt wrote:



I think it means if you want the second dual core processor you
have to order it from HP and install it.  Kind of like a car that's sold
with A/C but when you go to take delivery you find no AC and the
salesman says That's an add-on option that costs another $1000

Did you open the unit?  Is there an empty socket?


Yes ... but, what I'm more curious about is how do I know that the first 
CPU is Dual-Core?  When I boot the machine without an OS, it just reports 
one CPU, but is that to be expected until I get the OS up itself?  Or 
shoudl the POST screens be showing it as two CPUs (4 if I had a second 
Dual Core in it?) ... or, are all Xeon's now Dual-Core, period?


Thanks ...



   Ted 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marc
G. Fournier
Sent: Monday, January 09, 2006 9:36 PM
To: freebsd-questions@freebsd.org
Subject: My new DL360 G4P just arrived ... is it Dual-Core?



'k, I'm a bit confused, since I didn't quite get what I was
looking for, but it
was what I ordered *sigh*  And, in fact, might actually be what
I want without
realizing it ...

basically, I wanted a Dual Xeon server ... got a Single one ...
looking at the
HP web site, though, I see:

Powerful HP ProLiant DL360 G4p is now available Dual-core
2.8GHz Intel Xeon
processors that offer 22MB L2 cache and 64-bit support.

Does this mean that my CPUs *are* Dual-Core, or just that I can
order them that
way?  Will Dual-Core show two processors in POST, or is it not
until I get
to the OS itself that I see both?





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]

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 1/6/2006

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





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]


Native voip software for FreeBSD

2006-01-10 Thread User Gandalf


 Hello,

Do you know any native voip software for FreeBSD?
I hate to install Linux compatibility mode just to have skype working.
Thanks,

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


RE: My new DL360 G4P just arrived ... is it Dual-Core?

2006-01-10 Thread Graham Lewis
Run systat if it shows two CPUs you have dual core.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marc G.
Fournier
Sent: 10 January 2006 16:14
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: RE: My new DL360 G4P just arrived ... is it Dual-Core?


On Mon, 9 Jan 2006, Ted Mittelstaedt wrote:


 I think it means if you want the second dual core processor you
 have to order it from HP and install it.  Kind of like a car that's sold
 with A/C but when you go to take delivery you find no AC and the
 salesman says That's an add-on option that costs another $1000

 Did you open the unit?  Is there an empty socket?

Yes ... but, what I'm more curious about is how do I know that the first 
CPU is Dual-Core?  When I boot the machine without an OS, it just reports 
one CPU, but is that to be expected until I get the OS up itself?  Or 
shoudl the POST screens be showing it as two CPUs (4 if I had a second 
Dual Core in it?) ... or, are all Xeon's now Dual-Core, period?

Thanks ...



Ted 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Marc
 G. Fournier
 Sent: Monday, January 09, 2006 9:36 PM
 To: freebsd-questions@freebsd.org
 Subject: My new DL360 G4P just arrived ... is it Dual-Core?



 'k, I'm a bit confused, since I didn't quite get what I was
 looking for, but it
 was what I ordered *sigh*  And, in fact, might actually be what
 I want without
 realizing it ...

 basically, I wanted a Dual Xeon server ... got a Single one ...
 looking at the
 HP web site, though, I see:

 Powerful HP ProLiant DL360 G4p is now available Dual-core
 2.8GHz Intel Xeon
 processors that offer 22MB L2 cache and 64-bit support.

 Does this mean that my CPUs *are* Dual-Core, or just that I can
 order them that
 way?  Will Dual-Core show two processors in POST, or is it not
 until I get
 to the OS itself that I see both?




 
 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]

 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 1/6/2006

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




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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dual Core vs HyperThreading vs Dual CPU

2006-01-10 Thread Marc G. Fournier


I'm going to assume that Dual Core is better (can't believe that they took 
a step back) ... but, is how does it rate?  I know that HyperThreading is 
definitely != Dual CPU ... but how close does Dual Core get?



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: Advanced IPFW2 Forward rule problem / bug / misunderstanding

2006-01-10 Thread Dennis Olvany
This should get you most of the way there or at least give you a good
idea of what's required.


 options IPFIREWALL_FORWARD_EXTENDED

I'm pretty sure this will be required.


 defaultrouter=24.85.92.1
 ifconfig_rl0=192.168.1.1
 ifconfig_vr0=142.179.109.xxx netmask 255.255.248.0
 ifconfig_vr1=216.232.85.xxx netmask 255.255.254.0
 ifconfig_rue0=24.85.9x.xxx netmask 255.255.252.0
 ifconfig_rue0_alias0=24.85.9x.xxx netmask 255.255.255.255


 Telus
 ext1_ip=142.179.109.xxx  # IP Address
 ext1_gw=142.179.104.254  # IP Gateway
 ext2_ip=216.232.85.xxx  # IP Address
 ext2_gw=216.232.84.254  # IP Gateway

 Shaw Cable
 shaw_ip=24.85.93.xxx  # IP Address
 shaw_gw=24.85.92.1  # IP Gateway
 srv2_ext=24.85.93.xxx  # External IP of server

 INTERNAL
 int_ip=192.168.1.1  # IP Address


 # And run our new NATd
 /sbin/natd -log_ipfw_denied -i ${nat_in} -o ${nat_out} -s -m -u -n
 ${shaw} -punch_fw 36000:100 -redirect_port tcp ${ext1_srv}:22
 ${ext1_ip}: -redirect_port tcp ${ext1_srv}:53 ${ext1_ip}:53
 -redirect_port tcp ${ext1_srv}:80 ${ext1_ip}:80 -redirect_port tcp
 ${ext1_srv}:443 ${ext1_ip}:443 -redirect_port udp ${ext1_srv}:53
 ${ext1_ip}:53 -redirect_port tcp ${ext2_srv}:80 ${ext2_ip}:80
 -redirect_port tcp ${ext2_srv}:443 ${ext2_ip}:443 -redirect_port tcp
 ${srv1_int}:22 ${shaw_ip}: -redirect_port tcp ${srv1_int}:53
 ${shaw_ip}:53 -redirect_port udp ${srv1_int}:53 ${shaw_ip}:53
 -redirect_port tcp ${srv1_int}:80 ${shaw_ip}:80 -redirect_port tcp
 ${srv1_int}:443 ${shaw_ip}:443 -redirect_port tcp ${srv2_int}:80
 ${srv2_ext}:80 -redirect_port tcp ${srv2_int}:443 ${srv2_ext}:443

That's a hefty nat command. Let's simplfy by putting it in a file. I
leave the port forwarding to you.

/etc/rc.conf

natd_enable=yes
natd_flags=-f /etc/natd.conf

/etc/natd.conf

instance default
interface vr0
port 8668

instance telus2
interface vr1
port 8669

instance shaw1
alias_address 24.85.93.xxx
port 8670

instance shaw2
alias_address 24.85.93.xxx
port 8671

globalport 8672


I see that your firewall is based on rc.firewall. Forget rc.firewall, it
is junk. Base your firewall on this structure.

1. Public Interface NAT Diversion

2. check-state

3. Public Interface Leak Prevention
3.1 deny egress from internal hosts
3.2 deny ingress to internal hosts

4. Antispoof
4.1 allow via loopback interface
4.2 deny ingress from router
4.3 deny ingress from internal hosts via public interface

5. Router
5.1 allow egress
5.2 deny egress
5.3 allow ingress
5.4 deny ingress

6. Internal Hosts
6.1 allow egress
6.2 deny egress
6.3 allow ingress
6.4 deny ingress

7. Default Deny


/etc/rc.conf

firewall_enable=yes
firewall_type=/etc/ipfw.rules

/etc/ipfw.rules

-f flush

add divert 8668 ip from any to any in via vr0
add divert 8669 ip from any to any in via vr1
add divert 8670 ip from any to 24.85.93.xxx in via rue0
add divert 8671 ip from any to 24.85.93.xxx in via rue0
#have never known the globalport to work on inbound
add divert 8672 ip from any to any out via { vr0 or vr1 or rue0 }
#not sure if that 'or' will work... may need to split it up

check-state

add deny ip from 192.168.1.1/24 to any via { vr0 or vr1 or rue0 }

add allow ip from me to me via lo0 keep-state
add deny ip from me to any in

add allow ip from me to { me or 192.168.1.1/24 or 142.179.109.xxx/21 or
216.232.85.xxx/23 or 24.85.9x.xxx/22 } keep-state
add forward 142.179.104.254 ip from 142.179.109.xxx to any keep-state
add forward 216.232.84.254 ip from 216.232.85.xxx to any keep-state
add forward 24.85.92.1 ip from 24.85.9x.xxx to any keep-state
add forward 24.85.92.1 ip from 24.85.9x.xxx to any keep-state
add allow ip from me to any keep-state
add deny ip from me to any
add allow icmp from any to me icmptypes 3,4,8,11 keep-state
add deny ip from any to me

add allow ip from 192.168.1.1/24 to any keep-state
add deny ip from 192.168.1.1/24 to any
add allow icmp from any to 192.168.1.1/24 icmptypes 3,4,11 keep-state
add deny ip from any to 192.168.1.1/24
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Abort signal

2006-01-10 Thread Adi Pircalabu
On Tue, 10 Jan 2006 10:49:26 -0500
Paul Khavkine [EMAIL PROTECTED] wrote:

 
 
 Hi Chuck.
 
 Ran memtest86 over night and no memory errors.


 Any other ideas ?

Maybe some sysctl magic? See below:

$ ./a.out
Abort trap: 6 (core dumped)

# sysctl -w kern.coredump=0
kern.coredump: 1 - 0

$ ./a.out
Abort trap: 6
(No corefile here, see?)

# sysctl -w kern.coredump=1
kern.coredump: 0 - 1

$ ./a.out
Abort trap: 6 (core dumped)


 
 Thanx
 Paul
 
 On Mon, 2006-01-09 at 15:22 -0500, Charles Swiger wrote:
  On Jan 9, 2006, at 2:52 PM, Paul Khavkine wrote:
   When i do that it crashes also but produces gdb.core
   The backtrace form that doesn't tell me anything about where it
   happends.
  
  If gdb itself crashes, I would suspect you've got hardware
  problems like bad memory.  Try running memtest86.org's RAM tester
  overnight and see whether it picks up anything...
  


-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: Abort signal

2006-01-10 Thread Paul Khavkine


Here's what happends when i run it inside gdb:

Program crashes and crashes gdb with it:

pam_pass: using pamauth string radiusd for pam.conf lookup
gdb in realloc(): error: pointer to wrong page
Abort trap (core dumped)
#

Back trace doesn't seem to give any clues:

# gdb -core gdb.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for
details.
This GDB was configured as i386-marcel-freebsd.
Core was generated by `gdb'.
Program terminated with signal 6, Aborted.
#0  0x2832837b in ?? ()
(gdb) file /usr/bin/gdb
Reading symbols from /usr/bin/gdb...(no debugging symbols found)...done.
(gdb) bt
#0  0x2832837b in ?? ()
#1  0x2831d422 in ?? ()
#2  0x02b6 in ?? ()
#3  0x0006 in ?? ()
#4  0x in ?? ()
#5  0x in ?? ()
#6  0x0286 in ?? ()
#7  0x283a0b0c in ?? ()
#8  0xbfbfe1d8 in ?? ()
#9  0x2838fc1b in ?? ()
#10 0x0006 in ?? ()
#11 0xbfbfe1a8 in ?? ()
#12 0x in ?? ()
#13 0x2838fbe6 in ?? ()
#14 0x0001 in ?? ()
#15 0x28247500 in ?? ()
#16 0xffdf in ?? ()
#17 0x in ?? ()
#18 0x in ?? ()
#19 0x in ?? ()
#20 0x28224a09 in ?? ()
#21 0x28247500 in ?? ()
#22 0x09c8 in ?? ()
---Type return to continue, or q return to quit---
#23 0x0016 in ?? ()
#24 0x283960e5 in ?? ()
#25 0x283a0b0c in ?? ()
#26 0x283960e5 in ?? ()
#27 0x283bebbc in ?? ()
#28 0xbfbfe1f8 in ?? ()
#29 0x283335b9 in ?? ()
#30 0xbfbfed84 in ?? ()
#31 0x28396153 in ?? ()
#32 0x2839b2fb in ?? ()
#33 0x283960e5 in ?? ()
#34 0x0638 in ?? ()
#35 0x283a0b0c in ?? ()
#36 0xbfbfe218 in ?? ()
#37 0x283335fd in ?? ()
#38 0x283960e5 in ?? ()
#39 0x28247500 in ?? ()
#40 0x283284f4 in ?? ()
#41 0x283335e7 in ?? ()
#42 0x283a0b0c in ?? ()
#43 0x08925000 in ?? ()
#44 0xbfbfe248 in ?? ()
#45 0x28334090 in ?? ()
---Type return to continue, or q return to quit---
#46 0x283960e5 in ?? ()
#47 0x081b9023 in default_frame_base ()
#48 0xbfbfe248 in ?? ()
#49 0x28333eae in ?? ()
#50 0x0822a728 in sevenbit_strings ()
#51 0x in ?? ()
#52 0x in ?? ()
#53 0x283a0b0c in ?? ()
#54 0x08925000 in ?? ()
#55 0x030c in ?? ()
#56 0xbfbfe298 in ?? ()
#57 0x28334780 in ?? ()
#58 0x08925000 in ?? ()
#59 0x4ad0 in ?? ()
#60 0x08338c18 in ?? ()
#61 0x283345e6 in ?? ()
#62 0x in ?? ()
#63 0x08338800 in ?? ()
#64 0x088d2820 in ?? ()
#65 0x in ?? ()
#66 0x0890c008 in ?? ()
#67 0x in ?? ()
#68 0xbfbfe298 in ?? ()
---Type return to continue, or q return to quit---
#69 0x080b92e7 in restore_cleanups ()
Previous frame inner to this frame (corrupt stack?)
(gdb)


On Mon, 2006-01-09 at 15:22 -0500, Charles Swiger wrote:
 On Jan 9, 2006, at 2:52 PM, Paul Khavkine wrote:
  When i do that it crashes also but produces gdb.core
  The backtrace form that doesn't tell me anything about where it
  happends.
 
 If gdb itself crashes, I would suspect you've got hardware problems  
 like bad memory.  Try running memtest86.org's RAM tester overnight  
 and see whether it picks up anything...
 


signature.asc
Description: This is a digitally signed message part


Re: Problem with cvs commit failed in cvs-freebsd setup

2006-01-10 Thread Jose Liang
Thanks for your patience and explaining first!

I've created a group file inside the chroot directory, it looks just like:

wheel:*:0:root,cvs
nobody:*:65534:
cvs:*:1002:jose

but it is still unable to work.
And I exec ./commitcheck in local directory,
it complains:

Can't locate CVSROOT/cfg.pm in @INC (@INC contains:
:pserver:[EMAIL PROTECTED]:/cvsroot /usr/local/lib/perl5/5.8.7/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7 .) at
./commitcheck line 13.
BEGIN failed--compilation aborted at ./commitcheck line 13.

So should I creat above files to the chroot environment manually?
Because I'm afraid of I don't know exactly how to dig a bit deeper into Perl
stuff. :(

Maybe I should quit, but I just wanna use the feature of expanding a tag(cvs
keyword) like 'FreeBSD'.
When I modify CVSROOT/config to add my setting of KeywordExpand, cvs always
failed.
How could I get a solution to solve this?

Thanks a lot!

- Original Message - 
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Jose Liang [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, January 08, 2006 5:26 AM
Subject: Re: Problem with cvs commit failed in cvs-freebsd setup



 Try creating a minimal /etc/group file inside the chroot environment,
 and see if this fixes the problem.  If not, you may have to dig a bit
 deeper into Perl stuff and add debugging code around the execution of
 CVSROOT/commitcheck, i.e. by modifying CVSROOT/commitinfo to call a
 script of your own, which prints more information about the process that
 tries to invoke CVSROOT/commitcheck.


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


Re: Problem with cvs commit failed in cvs-freebsd setup

2006-01-10 Thread Giorgos Keramidas
On 2006-01-11 01:36, Jose Liang [EMAIL PROTECTED] wrote:
 Thanks for your patience and explaining first!

 I've created a group file inside the chroot directory, it looks just like:

 wheel:*:0:root,cvs
 nobody:*:65534:
 cvs:*:1002:jose

 but it is still unable to work.
 And I exec ./commitcheck in local directory,
 it complains:

 Can't locate CVSROOT/cfg.pm in @INC (@INC contains:
 :pserver:[EMAIL PROTECTED]:/cvsroot /usr/local/lib/perl5/5.8.7/BSDPAN
 /usr/local/lib/perl5/site_perl/5.8.7/mach
 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7 .) at
 ./commitcheck line 13.
 BEGIN failed--compilation aborted at ./commitcheck line 13.

Where is commitcheck?  Does that directory contain CFG.pm?

 So should I creat above files to the chroot environment manually?

They should be a part of your CVSROOT/ directory already.

 Because I'm afraid of I don't know exactly how to dig a bit deeper
 into Perl stuff. :(

Have you followed the instructions of the article to set up all the
CVSROOT/ files correctly?  I refer to:

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

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


Re: Dual Core vs HyperThreading vs Dual CPU

2006-01-10 Thread Andrew P.
On 1/10/06, Marc G. Fournier [EMAIL PROTECTED] wrote:

 I'm going to assume that Dual Core is better (can't believe that they took
 a step back) ... but, is how does it rate?  I know that HyperThreading is
 definitely != Dual CPU ... but how close does Dual Core get?

There is extensive evidence (google for that, please), that
HT is even slower than a single core in quite a few applications.
Moreover, the whole HT implementation has been shown to
be a security risk. In the near future intel is going to spend $1.9bn
on its new marketing campaign. If you wanna be part of it,
buy their CPU, half of the money will be in your nearest billboard.

Dual-core is a new, and a very smart concept, which is exactly
equal to a dual-cpu configuration in terms of performance per
core - plus it provides a huge cut down on power consumption,
and a theoretically hugely faster interconnection between the
cores (they are physically many times closer).

By 2010 we'll see 4-core, 8-core and maybe even 16/32 solutions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fstab - mount_nfs - -L parameter

2006-01-10 Thread Mathieu CHATEAU
Hello all,

I need to mount an nfs volume with the -L params.

It works great by hand :
mount_nfs -L server:/share

but fstab refuses the -L params...

how to get it work ?


Thanks !
Mathieu CHATEAU

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


runtime error (libm.so.3)

2006-01-10 Thread Larry


6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 03:17:27 EST 2005...i386

When I try to run a certain program that I can compile and link without any
warnings or errors I get the following error message:

/libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by 
libGL.so.1



All of my ports are up-to-date. How can I get rid of this error?

I'm compiling and linking separately like this:

g++ -I/usr/X11R6/include -c `wx-config --cxxflags` winmain.cpp
g++ -o winmain winmain.o /usr/local/lib/compat/libm.so.3 `wx-config 
--libs gl,media,std,core,base`


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


Re: Dual Core vs HyperThreading vs Dual CPU

2006-01-10 Thread Wojciech Puchar
I'm going to assume that Dual Core is better (can't believe that they took a 
step back) ... but, is how does it rate?  I know that HyperThreading is 
definitely != Dual CPU ... but how close does Dual Core get?



Dual Core = two physical CPUs, possibly sharing L2 cache.

HyperThreading = double sets of registers, machine states etc... for 
single CPU making it look like 2 CPUs. when one CPU has to wait for say 
memory access, it then executes program from other thread.


it means it can be faster than single CPU, but of course much slower than 
2 CPUs. because this strategy make cache data shared and often switched 
between two different threads, it can result slower performance.


the net effect is positive in Intel's tests, but very little positive-to 
little negative in practice like FreeBSD servers.


Many users end in running single-CPU kernel because it actually works 
faster.


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


Re: Virtual CD drive for FreeBSD?

2006-01-10 Thread Wojciech Puchar



Is there such a thing as a virtual CD drive in the Ports. Something that


well it has virtual CD, virtual DVD, virtual floppy, virtual disk and 
virtual any-block-device


man mdconfig :)

in base FreeBSD distribution.


mdconfig -a -t vnode -o readonly -f file

will show device name like md0

and /dev/md0 is your virtual CD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Native voip software for FreeBSD

2006-01-10 Thread Andrew P.
On 1/10/06, User Gandalf [EMAIL PROTECTED] wrote:

   Hello,

 Do you know any native voip software for FreeBSD?
 I hate to install Linux compatibility mode just to have skype working.
 Thanks,

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


mbone/speak_freely
net/kphone
security/cutlass
asterisk-related
...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ipf problem

2006-01-10 Thread Jacob S
On Fri, Jan 06, 2006 at 04:05:14PM +0200, Giorgos Keramidas wrote:
 On 2006-01-06 00:17, Jacob S [EMAIL PROTECTED] wrote:
  Hello list,
 
  I'm having a problem setting up ipf on a FreeBSD server and can't
  figure out where I'm going wrong. I copied my ipf.rules file from
  another server I have where ipf is working great. But after I
  customized the rules to this server it is filling /var/log/messages
  with lines like the following:
 
  Jan  4 15:15:21 pikeman ipmon[222]: 15:15:21.465822 2x em0 @0:33 b
  198.32.64.12,53 - 65.19.150.68,62097 PR udp len 20
  314 IN Jan  4 15:15:21 pikeman ipmon[222]: 15:15:21.492578 em0 @0:33 b
  216.200.145.35,25 - 65.19.150.68,57210 PR tcp len 20 60 -AS IN Jan  4
  15:15:21 pikeman ipmon[222]: 15:15:21.505821 em0 @0:33 b
  205.188.156.249,25 - 65.19.150.68,57209 PR tcp len 20 48 -AS IN

snip

 The blocked packets fall through the chain of rules and end up in rule
 0:33 (0 = incoming, 33 = block in log first quick on em0 all).
 
  The lines scroll by faster than I can read them, if I tail the logfile.
  The blocked packets in this case are coming from standard ports to
  non-standard ports. Doing a reverse lookup on the ips, it would seem
  that my server has initiated the transfer and the other servers are
  simply replying. (I deduce that from the blocked ips because they belong
  to hostnames that I would not expect to be flooding my server. Namely,
  the first ip is for l.root-servers.net.)
 
 This seems to be an issue with the timeout of rule states.  What do you
 see if you run...
 
 $ sysctl -a | fgrep ipf.
 
 it should be something like:
 
 net.inet.ipf.fr_minttl: 4
 net.inet.ipf.fr_chksrc: 0
 net.inet.ipf.fr_defaultauthage: 600
 net.inet.ipf.fr_authused: 0
 net.inet.ipf.fr_authsize: 32
 net.inet.ipf.ipf_hostmap_sz: 2047
 net.inet.ipf.ipf_rdrrules_sz: 127
 net.inet.ipf.ipf_natrules_sz: 127
 net.inet.ipf.ipf_nattable_sz: 2047
 net.inet.ipf.fr_statemax: 4013
 net.inet.ipf.fr_statesize: 5737
 net.inet.ipf.fr_running: 1
 net.inet.ipf.fr_ipfrttl: 120
 net.inet.ipf.fr_defnatage: 1200
 net.inet.ipf.fr_icmptimeout: 120
 net.inet.ipf.fr_udpacktimeout: 24
 net.inet.ipf.fr_udptimeout: 240
 net.inet.ipf.fr_tcpclosed: 120
 net.inet.ipf.fr_tcptimeout: 480
 net.inet.ipf.fr_tcplastack: 480
 net.inet.ipf.fr_tcpclosewait: 480
 net.inet.ipf.fr_tcphalfclosed: 14400
 net.inet.ipf.fr_tcpidletimeout: 864000
 net.inet.ipf.fr_active: 0
 net.inet.ipf.fr_pass: 134217730
 net.inet.ipf.fr_flags: 0

sysctl -a | fgrep ipf shows this on the problem server:

net.inet.ipf.fr_flags: 0
net.inet.ipf.fr_pass: 514
net.inet.ipf.fr_active: 0
net.inet.ipf.fr_tcpidletimeout: 864000
net.inet.ipf.fr_tcpclosewait: 480
net.inet.ipf.fr_tcplastack: 480
net.inet.ipf.fr_tcptimeout: 480
net.inet.ipf.fr_tcpclosed: 120
net.inet.ipf.fr_tcphalfclosed: 14400
net.inet.ipf.fr_udptimeout: 240
net.inet.ipf.fr_udpacktimeout: 24
net.inet.ipf.fr_icmptimeout: 120
net.inet.ipf.fr_icmpacktimeout: 12
net.inet.ipf.fr_defnatage: 1200
net.inet.ipf.fr_ipfrttl: 120
net.inet.ipf.ipl_unreach: 13
net.inet.ipf.fr_running: 1
net.inet.ipf.fr_authsize: 32
net.inet.ipf.fr_authused: 0
net.inet.ipf.fr_defaultauthage: 600
net.inet.ipf.fr_chksrc: 0
net.inet.ipf.ippr_ftp_pasvonly: 0
net.inet.ipf.fr_minttl: 3
net.inet.ipf.fr_minttllog: 1
net.link.ether.ipfw: 0

Incidentally, the server I copied my ipf.rules file from has an
identical output from sysctl -a | fgrep ipf.

Any more thoughts or tips?

Thanks,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #19:
Computers are like air conditioners -- they stop working properly if you
open Windows


signature.asc
Description: Digital signature


Re: fstab - mount_nfs - -L parameter

2006-01-10 Thread Andrew P.
On 1/10/06, Mathieu CHATEAU [EMAIL PROTECTED] wrote:
 Hello all,

 I need to mount an nfs volume with the -L params.

 It works great by hand :
 mount_nfs -L server:/share

 but fstab refuses the -L params...

really? What does it say? Do you have ro or rw present in the
options? Here's my line that works:

lan-217:/mnt/200a/mnt/200anfs-L,ro00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Advanced IPFW2 Forward rule problem / bug / misunderstanding

2006-01-10 Thread Andrew Fremantle

Dennis Olvany wrote:


This should get you most of the way there or at least give you a good
idea of what's required.


 


options IPFIREWALL_FORWARD_EXTENDED
   



I'm pretty sure this will be required.


 


defaultrouter=24.85.92.1
ifconfig_rl0=192.168.1.1
ifconfig_vr0=142.179.109.xxx netmask 255.255.248.0
ifconfig_vr1=216.232.85.xxx netmask 255.255.254.0
ifconfig_rue0=24.85.9x.xxx netmask 255.255.252.0
ifconfig_rue0_alias0=24.85.9x.xxx netmask 255.255.255.255
   




 


Telus
ext1_ip=142.179.109.xxx  # IP Address
ext1_gw=142.179.104.254  # IP Gateway
ext2_ip=216.232.85.xxx  # IP Address
ext2_gw=216.232.84.254  # IP Gateway
   



 


Shaw Cable
shaw_ip=24.85.93.xxx  # IP Address
shaw_gw=24.85.92.1  # IP Gateway
srv2_ext=24.85.93.xxx  # External IP of server
   



 


INTERNAL
int_ip=192.168.1.1  # IP Address
   




 


# And run our new NATd
/sbin/natd -log_ipfw_denied -i ${nat_in} -o ${nat_out} -s -m -u -n
${shaw} -punch_fw 36000:100 -redirect_port tcp ${ext1_srv}:22
${ext1_ip}: -redirect_port tcp ${ext1_srv}:53 ${ext1_ip}:53
-redirect_port tcp ${ext1_srv}:80 ${ext1_ip}:80 -redirect_port tcp
${ext1_srv}:443 ${ext1_ip}:443 -redirect_port udp ${ext1_srv}:53
${ext1_ip}:53 -redirect_port tcp ${ext2_srv}:80 ${ext2_ip}:80
-redirect_port tcp ${ext2_srv}:443 ${ext2_ip}:443 -redirect_port tcp
${srv1_int}:22 ${shaw_ip}: -redirect_port tcp ${srv1_int}:53
${shaw_ip}:53 -redirect_port udp ${srv1_int}:53 ${shaw_ip}:53
-redirect_port tcp ${srv1_int}:80 ${shaw_ip}:80 -redirect_port tcp
${srv1_int}:443 ${shaw_ip}:443 -redirect_port tcp ${srv2_int}:80
${srv2_ext}:80 -redirect_port tcp ${srv2_int}:443 ${srv2_ext}:443
   



That's a hefty nat command. Let's simplfy by putting it in a file. I
leave the port forwarding to you.

/etc/rc.conf

natd_enable=yes
natd_flags=-f /etc/natd.conf

/etc/natd.conf

instance default
interface vr0
port 8668

instance telus2
interface vr1
port 8669

instance shaw1
alias_address 24.85.93.xxx
port 8670

instance shaw2
alias_address 24.85.93.xxx
port 8671

globalport 8672


I see that your firewall is based on rc.firewall. Forget rc.firewall, it
is junk. Base your firewall on this structure.

1. Public Interface NAT Diversion

2. check-state

3. Public Interface Leak Prevention
3.1 deny egress from internal hosts
3.2 deny ingress to internal hosts

4. Antispoof
4.1 allow via loopback interface
4.2 deny ingress from router
4.3 deny ingress from internal hosts via public interface

5. Router
5.1 allow egress
5.2 deny egress
5.3 allow ingress
5.4 deny ingress

6. Internal Hosts
6.1 allow egress
6.2 deny egress
6.3 allow ingress
6.4 deny ingress

7. Default Deny


/etc/rc.conf

firewall_enable=yes
firewall_type=/etc/ipfw.rules

/etc/ipfw.rules

-f flush

add divert 8668 ip from any to any in via vr0
add divert 8669 ip from any to any in via vr1
add divert 8670 ip from any to 24.85.93.xxx in via rue0
add divert 8671 ip from any to 24.85.93.xxx in via rue0
#have never known the globalport to work on inbound
add divert 8672 ip from any to any out via { vr0 or vr1 or rue0 }
#not sure if that 'or' will work... may need to split it up

check-state

add deny ip from 192.168.1.1/24 to any via { vr0 or vr1 or rue0 }

add allow ip from me to me via lo0 keep-state
add deny ip from me to any in

add allow ip from me to { me or 192.168.1.1/24 or 142.179.109.xxx/21 or
216.232.85.xxx/23 or 24.85.9x.xxx/22 } keep-state
add forward 142.179.104.254 ip from 142.179.109.xxx to any keep-state
add forward 216.232.84.254 ip from 216.232.85.xxx to any keep-state
add forward 24.85.92.1 ip from 24.85.9x.xxx to any keep-state
add forward 24.85.92.1 ip from 24.85.9x.xxx to any keep-state
add allow ip from me to any keep-state
add deny ip from me to any
add allow icmp from any to me icmptypes 3,4,8,11 keep-state
add deny ip from any to me

add allow ip from 192.168.1.1/24 to any keep-state
add deny ip from 192.168.1.1/24 to any
add allow icmp from any to 192.168.1.1/24 icmptypes 3,4,11 keep-state
add deny ip from any to 192.168.1.1/24
 


Thank for the quick reply.

I just want to clarify a few things here Given that I only want 
outbound NAT on one interface, is it really necessary to run four 
instances of NATd? Can't one instance handle outbound NAT + inbound 
sessions on all interfaces, as I have it setup? Also, you're using a 
whole bunch of options and features here that are not documented on the 
natd man page. I found a writeup by the author of these features, but 
I'm not certain if that's in the -STABLE branch or not. (IE, will these 
options work with a 6.0-RELEASE natd?)


Also, I'm not certain how your forward rules would work when mine do 
not, as you're doing the same thing I did - NAT Translation, then 
forward to the appropriate gateway. My experience is that forwarding 
packets to the appropriate gateway *does* *not* *work*, as they all 
leave via the default route's interface 

Re: runtime error (libm.so.3)

2006-01-10 Thread Markus Trippelsdorf
On Tue, 10 Jan 2006 14:44:33 -0500, Larry wrote:
 
 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 03:17:27 EST 2005...i386
 
 When I try to run a certain program that I can compile and link without any
 warnings or errors I get the following error message:
 
 /libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by 
 libGL.so.1
 

It looks like your X Server was build and linked under 5.x.
Rebuilding xorg should help...
-- 
Markus

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


installing dovecot: no dovecot-openssl.conf

2006-01-10 Thread Alan Curtis
I have installed /usr/ports/dovecot.

When I try to start it, using '/usr/local/etc/rc.d dovecot start' it complains
Error: Can't use SSL certificate /etc/ssl/certs/dovecot.pem: No such
file or directory
Reading '/usr/local/share/doc/dovecot/configuration.txt' says
If you need to create new SSL certificate, edit dovecot-openssl.cnf and
run mkcert.sh.
but I cannot find a file 'dovecot-openssl.cnf' or 'mkcert.sh' and have
no 'etc/ssl/certs/' (or /usr/share/ssl or /usr/local/share/ssl)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD time travel

2006-01-10 Thread Wojciech Puchar
while running my FreeBSD/amd64 server a couple of days it once change it's 
time to midnight 1 january 2000. of course lots of services failed to work 
undil i did rdate


can it be hardware or software bug?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0 on Apple's Intel Developer Platform?

2006-01-10 Thread Dan O'Connor
I can get the 6.0 CD1 to boot ok on Apple's Intel Developers Platform 
but the usb keyboard is not recognized.  Do I have to do something 
special to use a USB keyboard? There is no PS/2 keyboard or mouse port 
on that platform.


Did you try 7. Boot FreeBSD with a USB keyboard at the boot menu?

~Dan 



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


FreeBSD and mpd

2006-01-10 Thread jhall
Recently, I upgraded from FreeBSD 4.8 to FreeBSD 6.0.  And, I upgraded mpd
from version 3.17 to 3.18.

After the upgrade, several sites began experiencing problems maintaining
their connections (especially under high traffic loads).  When I put the
4.8 server back in place, everything began working normally again.

This is really perplexing to me since I use FreeBSD 6 and mpd in several
locations without any problems.

The server is a Celeron processor with 128 MB of RAM, and two em
interfaces.  I have also added ipf support to the kernel.  I am not seeing
any errors in the logs concerning either interface.  And, I am not seeing
any error messages in the MPD log.

Does anyone know of any problems with mpd 3.18 on FreeBSD?  Or, can
someone suggest a good testing strategy to determine where the problem
lies?

Thanks,



Jay





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


RE: installing dovecot: no dovecot-openssl.conf

2006-01-10 Thread Webster, Andrew
Unless you absolutely need SSL support, edit the configuration so as not
to use SSL.
If you do want to use SSL, you will probably want to generate yourself a
self-signed certificate, and then get a real cert from a 3rd party cert
provider when you are ready to go into production.  See
http://www.openssl.org/docs/HOWTO/certificates.txt
Place the resulting files in the expected locations, and give it a go.

Andrew 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan Curtis
Sent: Tuesday, January 10, 2006 16:02
To: freebsd-questions@freebsd.org
Subject: installing dovecot: no dovecot-openssl.conf

I have installed /usr/ports/dovecot.

When I try to start it, using '/usr/local/etc/rc.d dovecot start' it
complains
Error: Can't use SSL certificate /etc/ssl/certs/dovecot.pem: No such
file or directory
Reading '/usr/local/share/doc/dovecot/configuration.txt' says
If you need to create new SSL certificate, edit dovecot-openssl.cnf and
run mkcert.sh.
but I cannot find a file 'dovecot-openssl.cnf' or 'mkcert.sh' and have
no 'etc/ssl/certs/' (or /usr/share/ssl or /usr/local/share/ssl)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
**
The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to anyone or make copies.

** eSafe scanned this email for viruses, vandals and malicious content. **
**

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


Re: Setting up a FreeBSD gateway (more detail) and IPFW

2006-01-10 Thread Dan O'Connor
Thanks to those who replied to my previous call for help. Now I think 
it's time I actually provide some relevant detail.


snip

Ideally, I'd like to be able to leave my workstation's network 
settings alone, and set up DHCP; however, a look over the ports 
suggests that's far more trouble than it's worth for a single client 
that doesn't really need such flexibility.


I don't have any servers running on my workstation, so I've no need to 
allow traffic from the 'net to get through the firewall to the 
LAN(servers on the gateway itself are another matter). However, the 
firewall is still my biggest challenge.


A DHCP server *looks* challenging to set up...but it's really a snap!
See my example at http://www.mostgraveconcern.com/freebsd/sheet.cgi?dhcp

Also, check out my firewall setup: 
http://www.mostgraveconcern.com/freebsd/sheet.cgi?ipfw


I don't use named, I just allow outbound DNS lookups through the 
firewall. Also, my DHCP server points clients at my ISP's DNS servers...


Hope this helps,

~Dan

--
FreeBSD Cheat Sheets
  http://www.mostgraveconcern.com/freebsd/ 



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


Slow 2d performance in X / opera / nvidia drivers

2006-01-10 Thread Josh Paetzel
gimpy# uname -a
FreeBSD gimpy.tcbug.org 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #9: Fri 
Jan  6 20:26:44 CST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY  i386

dmesg attached

Xorg config attached

Kernel config attached

I've been having terrible 2d performance with opera (linux-opera and 
native 8.51 and 9.0) using the nvidia drivers.  When I windowshade it 
and then restore it there is a sizeable delay while it redraws the 
window.  If I rapidly shade and restore the window my idle CPU time 
goes to 0% and mp3 playback will occassionally skip.

The problem first started when Opera 8 was released, I hoped that 
further releases would address it but so far that has not been the 
case.  Any suggestions for a fix welcome.

(Yes, I have been seeking support on opera.com but this feels like a 
FreeBSD mis-configuration of some sort on my end. :)

-- 
Thanks,

Josh Paetzel
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-p8 #9: Fri Jan  6 20:26:44 CST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY
ACPI APIC Table: A M I  OEMAPIC 
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2202.84-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x20ff2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  AMD Features=0xe050NX,AMIE,LM,DSP,3DNow!
real memory  = 1073414144 (1023 MB)
avail memory = 1036673024 (988 MB)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 0.3 irqs 0-23 on motherboard
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
nvidia0: GeForce 6600 GT mem 
0xfa00-0xfaff,0xe000-0xefff,0xfb00-0xfbff irq 16 at 
device 0.0 on pci1
pcm0: Creative EMU10K1 port 0xa400-0xa41f irq 16 at device 9.0 on pci0
pcm0: eMicro EM28028 AC97 Codec
pci0: network, ethernet at device 10.0 (no driver attached)
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xb400-0xb43f irq 19 at device 14.0 
on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:97:d8:ad:bd
atapci0: VIA 6420 SATA150 controller port 
0xb800-0xb8ff,0xc000-0xc00f,0xc400-0xc403,0xc800-0xc807,0xd000-0xd003,0xd400-0xd407
 irq 20 at device 15.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
atapci1: VIA 8237 UDMA133 controller port 
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device 16.0 on 
pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 16.1 on 
pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xe400-0xe41f irq 21 at device 16.2 on 
pci0
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 0xe800-0xe81f irq 21 at device 16.3 on 
pci0
usb3: VIA 83C572 USB controller on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: VIA VT6202 USB 2.0 controller mem 0xf9e0-0xf9e000ff irq 21 at 
device 16.4 on pci0
usb4: waiting for BIOS to give up control
usb4: timed out waiting for BIOS
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: VIA VT6202 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
umass0: Jabil Circuit Seagate External Drive, rev 2.00/2.40, addr 2
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: floppy drive controller (FDE) port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on 
acpi0
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Standard 

5.3 Kernel module with 6.0

2006-01-10 Thread Rainer Hungershausen
Hi there!

I've got a Highpoint RocketRAID 454 Controller running under FreeBSD 5.3.
It needs a binary only driver (hpt374.ko) to run.
I'd like to upgrade to 6.0 for several reasons, but the latest driver
module from highpoint is for 5.3.
So here's my question:
Is it possible to simply run the 5.3 kernel module under 6.x? In
theory this could work if the kernel interfaces haven't changed,
right?

Please also respond directly to me since I am not subscribed to this list.

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


Re: replacement for Acrobat Professional?

2006-01-10 Thread Ceri Davies


On 9 Jan 2006, at 19:53, Michael W. Lucas wrote:



Hi folks,

I've been handed a whole bunch of PDFs and asked to make my comments
directly in them.  I'm sure there's something in ports that can do
that, but my search hasn't turned up anything.  (Of course, I really
have no idea what I'm looking for, which hampers the search. :-)


A printer and a red biro out of the question?

Ceri



PGP.sig
Description: This is a digitally signed message part


Re: replacement for Acrobat Professional?

2006-01-10 Thread Michael W. Lucas
On Tue, Jan 10, 2006 at 10:18:35PM +, Ceri Davies wrote:
 
 On 9 Jan 2006, at 19:53, Michael W. Lucas wrote:
 
 
 Hi folks,
 
 I've been handed a whole bunch of PDFs and asked to make my comments
 directly in them.  I'm sure there's something in ports that can do
 that, but my search hasn't turned up anything.  (Of course, I really
 have no idea what I'm looking for, which hampers the search. :-)
 
 A printer and a red biro out of the question?

It's worked for me for twenty years now.

Emailing them back to five or six people so they can make further
comments is the hard part.  :-)

==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/

The cloak of anonymity protects me from the nuisance of caring. -Non Sequitur
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 6.0 network question and throughput

2006-01-10 Thread ann kok
Hi all

I use the ipref software (andrew P suggests) to test
the freebsd 6.0 network throughput

both the server and client are running freebsd6.0 with
intel giga em0, polling 

I did test it in switch or cross-over cable to connect
each other

it seems to have limit to 390M

Could you teach me how to max the network throught?

I use the freebsd as router

I couldn't put in the production to test it

Thank you for your help




ipref -c ipaddress
client connecting
TCP window size: 65.0 KByte (default)
[3] 0.0-10 sec390 MBytes 328
MBytes



ipref -s
Server listening on TCP port 5001
TCP window size: 64.0 KBytes (default)
[4] 0.0-10 sec390 MBytes  328
MBytes   

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Matrox G450 DVI console

2006-01-10 Thread Mark Knight
Running an up-to-date 6.0-STABLE with xorg-6.8.2.  System is a dual Dell 
PIII with a PCI Matrox G450 to a single DVI flat panel on screen one. No 
second monitor.  mga_hal port installed.


It all works a treat until I switch from X back to the console with 
SHIFT-ALT-F1.  This give me a blank screen with a monitor driven pop-up 
showing Invalid refresh rate.  If I then ALT-F7 to switch back to X 
the display returns normally.


Any idea how I can get a clean switch from X to the console please?

For logs see:

  http://www.knigma.org.uk/scratch/090105.txt

Disabling ACPI (on a hunch from Google) didn't make any difference.

Cheers,
--
Mark A. R. Knight   finger: [EMAIL PROTECTED]
Tel: +44 7973 410732http://www.knigma.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: replacement for Acrobat Professional?

2006-01-10 Thread Greg 'groggy' Lehey
On Tuesday, 10 January 2006 at 17:26:17 -0500, Michael W. Lucas wrote:
 On Tue, Jan 10, 2006 at 10:18:35PM +, Ceri Davies wrote:
 On 9 Jan 2006, at 19:53, Michael W. Lucas wrote:
 Hi folks,

 I've been handed a whole bunch of PDFs and asked to make my comments
 directly in them.  I'm sure there's something in ports that can do
 that, but my search hasn't turned up anything.  (Of course, I really
 have no idea what I'm looking for, which hampers the search. :-)

 A printer and a red biro out of the question?

 It's worked for me for twenty years now.

 Emailing them back to five or six people so they can make further
 comments is the hard part.  :-)

It looks as if people have missed the point that you want to edit
PDFs.  If you find a good solution, will you post it, please?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp7EptIAoSQJ.pgp
Description: PGP signature


Re: FTP stopped working - resend

2006-01-10 Thread Jay O'Brien
(Resent as I didn't get a copy)

Giorgos and Derek, 

Thank you for your replies. I don't know what happened, but all of 
a sudden ftp started working again. It could have been the Win XP 
machine I was using to access ftp on my server, I don't know. It 
was working fine, using WS_FTP Pro, to my other servers over the 
internet, but it wouldn't work here on its own LAN. I looked at 
xferlog, and saw that connection lines were entered, but the FTP 
LOGIN line wasn't there. Now that it is working, both lines show up 
in xferlog, as before. 

Giorgos, thanks for the example commands; All agree with your 
example returns except 'netstat -na | fgrep LISTEN | grep [:.]21', 
which returns 'grep: No match'. Am I missing something here? Thanks 
for the troubleshooting steps, I will review those commands and see 
what they do for me.

Giorgios, you say Stability is nice, isn't it? :). Yes. But the 
problem is that it works so well for so long that I forget all I ever 
knew, and now it is obvious that I should update the system. I guess 
it's time to dust off the FreeBSD hat.

Darek, It stopped working before I rebooted, and I have done literally 
nothing to this machine, except use Apache and ftp, for nearly a year.
What is frustrating is that the problem went away!

What now concerns me is that I did not receive a copy of my own post 
on this problem from the mailing list server, and I didn't get Giorgos' 
cc sent to [EMAIL PROTECTED] I used to get my posts back, 
but that was before I changed to this gmail account. If I don't receive 
this post, I'll go after that as a different problem. My ftp problem is 
gone, but now a mailing list problem?

Thanks again for the assistance.

Jay O'Brien
Rio Linda, California, USA


 Original Message 
Subject: Re: FTP stopped working
Date: Mon, 9 Jan 2006 10:06:46 +0200
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Jay O'Brien [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
References: [EMAIL PROTECTED]

On 2006-01-08 23:44, Jay O'Brien [EMAIL PROTECTED] wrote:
 I'm embarassed to say that FreeBSD was working so good for me
 that I forgot how to make it work. It was up for over 300 days
 when I rebooted today.

Oops :)

 All of a sudden I cannot access the computer via ftp. I have
 been able to do so using WS_FTP Pro on my Windows CP Pro
 computer, but now it doesn't even seem to accept the connect.
 The connect is via a local LAN, using fixed IPs.

 Guidance in a troubleshooting mode would really be appreciated.

First check that you truly have the ftpd binary:

[EMAIL PROTECTED]:/root# ls -l /usr/libexec/ftpd
-r-xr-xr-x  1 root  wheel  96360 Jan  8 13:00 /usr/libexec/ftpd

Then see if ftpd is supposed to start as 'standalone' or as a
service controlled by inetd:

[EMAIL PROTECTED]:/root# grep ftp /etc/rc.conf
[EMAIL PROTECTED]:/root# grep inetd /etc/rc.conf
inetd_enable=YES
[EMAIL PROTECTED]:/root# pgrep inet
651
[EMAIL PROTECTED]:/root# grep '^[[:space:]]*ftp' /etc/inetd.conf
ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l

If inetd is running, pgrep should report its PID as above.
Seeing no PID means that inetd failed to start.  Your system logs
at /var/log/messages will almost certainly have clues about the
reason of the failure.

Then, start checking if something *is* listening at port 21:

[EMAIL PROTECTED]:/root# netstat -na | fgrep LISTEN | grep [:.]21
tcp4   0  0  *.21   *.*LISTEN
[EMAIL PROTECTED]:/root# sockstat -4 -l -p 21
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
root inetd  651   5  tcp4   *:21  *:*
[EMAIL PROTECTED]:/root#

If you don't have any indication how ftpd was started it's possible that
you manually fired up ftpd and then promptly forgot about it, until you
had to reboot.  Stability is nice, isn't it? :)


 Original Message 
Subject:Re: FTP stopped working
Date:   Mon, 09 Jan 2006 10:29:58 -0600
From:   Derek Ragona [EMAIL PROTECTED]
To: Jay O'Brien [EMAIL PROTECTED]
References: [EMAIL PROTECTED]

Jay,

By default ftp logs in the system log so tail that log file as you try
to ftp.  That should point you to the problem.

As it was working until you rebooted, what changed before the reboot? 
Did you add tcp wrappers or other security measures?

-Derek




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


how should I (best practice) set up permissions for rsync ?

2006-01-10 Thread user

Hi,

I want to rsync /usr/home from one machine to another, for purposes of
backup.

This would be a cinch if I just rsyncd -e ssh, as user root from one
machine to another.  The cron job runs with root perms, and the
destination machine gets logged into as root and can write into the
destination /usr/home.

However, I sort of like the idea that root cannot ssh directly into a
freebsd machine, by default.  I am inclined not to change this.

I also would like to keep default /usr/home permissions as they are.

So how should I do this ?

Thanks.

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


Re: how should I (best practice) set up permissions for rsync ?

2006-01-10 Thread Wojciech Puchar

Hi,

I want to rsync /usr/home from one machine to another, for purposes of
backup.



i do:

rsync -e rsh -avzrlHpogDtS --delete --delete-excluded --force 
\ --exclude-from=../$1-exclude [EMAIL PROTECTED]:/ .


where $1 is server name

you may of course change rsh to ssh, and / to /usr/home

:)

this does EXACT copy, while it is possible it can be done better
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: runtime error (libm.so.3)

2006-01-10 Thread Matt Emmerton

 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 03:17:27 EST 2005...i386

 When I try to run a certain program that I can compile and link without
any
 warnings or errors I get the following error message:

 /libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by
 libGL.so.1

 All of my ports are up-to-date. How can I get rid of this error?

 I'm compiling and linking separately like this:

 g++ -I/usr/X11R6/include -c `wx-config --cxxflags` winmain.cpp
 g++ -o winmain winmain.o /usr/local/lib/compat/libm.so.3 `wx-config
 --libs gl,media,std,core,base`

Perhaps you need to refresh your shared library cache -- run ldconfig -R.

Is there a particular reason why you're purposely using a back-level version
of libm?  libm.so.4 is the version that is part of with 6.x.  If you don't
need a specific version, then use the -l option to link, like this:

g++ -o winmain winmain.o -lm `wx-config --libs gl,media,std,core,base`

Regards,
--
Matt Emmerton

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


vnc server problems/amd64

2006-01-10 Thread Wojciech Puchar

FreeBSD 6.0 amd64

i tried to run it but crashes on first X client started

as i386 version works i replaced Xvnc with i386 version - now works

as long as i don't run any gtk/gdk based program

then i got:

The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 294 error_code 10 request_code 129 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() 
function.)



is anyone running VNC with FreeBSD here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP's iLO ... over SSH?

2006-01-10 Thread Marc G. Fournier

On Tue, 10 Jan 2006, lars wrote:


Marc G. Fournier [EMAIL PROTECTED] wrote:


'k, I figured out to go to the IP on the web to see the iLO interface, but,
how do you do SSH into the box?  I see the configuration options through
iLO's interface, but:


ssh 192.168.1.105

ssh: connect to host 192.168.1.105 port 22: Connection refused

so, obviously I'm mis-understanding something?  Is the Remote KVM
funcationality really only available through the Java based web interface?
:(


In the web interface go to AdministrationGlobal Settings.


Ok, I'm a bit confused here ... I *had* gone there originally, and 
everything looked to be set okay ... and, in fact, the only thing I 
changed this time before Apply'ng was dissabling the Serial Command Line 
Interface ... now I can ssh in ...


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: script to monitor internet connection

2006-01-10 Thread Brian John

Rowdy wrote:


Brian John wrote:

this is dsl.  Sorry, I should have specified that in the beginning. 
Periodically my dsl modem will lose it's signal, I want to see just

how often this is happening.



If your DSL uses PPPoE then the ppp.linkup and ppp.linkdown scripts will
be triggered when the link comes up or goes down respectively.  See
ppp(8) for details and /usr/share/examples/ppp for examples.

Rowdy


Mine uses PPPoA.  Is it still possible to use these scripts?

Thanks for the help

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


RE: Dual Core vs HyperThreading vs Dual CPU

2006-01-10 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier
Sent: Tuesday, January 10, 2006 8:52 AM
To: freebsd-questions@freebsd.org
Subject: Dual Core vs HyperThreading vs Dual CPU


I'm going to assume that Dual Core is better (can't believe that they took 
a step back) ... but, is how does it rate?  I know that HyperThreading is 
definitely != Dual CPU ... but how close does Dual Core get?


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]


I think HyperThreading is more like 2 Logical CPU


Maybe some details here:
http://www.short-media.com/review.php?r=261



Best regards,


Andras Kende
http://www.kende.com





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


port installation

2006-01-10 Thread je killen
I am trying to install apache 1.3.34. I cd to the apache13 dir and 
attempt make install and am told that apache 1.3.33 doesn't exist. I 
downloaded apache 1.3.34 and put it in the /usr/ports/distfiles dir but 
since make is looking for v 1.3.33 it doesn't see version 1.3.34. So 
What now? How wouid I tell it to use 1.3.34 instead of 1.3.33? Does it 
require ports upgrade?
What if the portupgrade utility has a different version number and when 
I try make install on it it looks for a different version (which is not 
on my system as a distfile)?

I'm not complaining. I'm just trying to learn as I go.
Thanks to who ever responds.
JEK
[EMAIL PROTECTED]
PS: general info I discovered on my own re configuration of X server 
with X.org (rather than xfree86):
the configuration file used to be xf86config and is now xorgconfig. I 
got some site posted data that
called the configuration process X.org -config, which it is not. It is 
just xorgconfig, virtually the same
script as the old xf86config script. I got my X server up after, as 
usual, asking stupid questions
and wasting someone's time, probably, and figuring it out my self in 
the meantime. There is some
thing magical about asking questions, even if you don't get an 
objective response; it's almost

like telepathy.

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


Re: how should I (best practice) set up permissions for rsync ?

2006-01-10 Thread user

On Wed, 11 Jan 2006, Wojciech Puchar wrote:

  Hi,
 
  I want to rsync /usr/home from one machine to another, for purposes of
  backup.
 
 
 i do:
 
 rsync -e rsh -avzrlHpogDtS --delete --delete-excluded --force 
 \ --exclude-from=../$1-exclude [EMAIL PROTECTED]:/ .
 
 where $1 is server name


Yeah ... I know how to do that ... I wasn't asking how to rsync it, I was
asking how I could:

a) keep remote root logins _disabled_

and

b) keep default freebsd permissions on the /usr/home directory

and still do the rsync ... in your example, you are remotely logging in as
root, which I want to avoid.

Any suggestions ?

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


RE: port installation

2006-01-10 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of je killen
Sent: Tuesday, January 10, 2006 7:35 PM
To: freebsd-questions@freebsd.org
Subject: port installation

I am trying to install apache 1.3.34. I cd to the apache13 dir and 
attempt make install and am told that apache 1.3.33 doesn't exist. I 
downloaded apache 1.3.34 and put it in the /usr/ports/distfiles dir but 
since make is looking for v 1.3.33 it doesn't see version 1.3.34. So 
What now? How wouid I tell it to use 1.3.34 instead of 1.3.33? Does it 
require ports upgrade?
What if the portupgrade utility has a different version number and when 
I try make install on it it looks for a different version (which is not 
on my system as a distfile)?
I'm not complaining. I'm just trying to learn as I go.
Thanks to who ever responds.
JEK
[EMAIL PROTECTED]
PS: general info I discovered on my own re configuration of X server 
with X.org (rather than xfree86):
the configuration file used to be xf86config and is now xorgconfig. I 
got some site posted data that
called the configuration process X.org -config, which it is not. It is 
just xorgconfig, virtually the same
script as the old xf86config script. I got my X server up after, as 
usual, asking stupid questions
and wasting someone's time, probably, and figuring it out my self in 
the meantime. There is some
thing magical about asking questions, even if you don't get an 
objective response; it's almost
like telepathy.

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


Hello,

You should update the Ports tree first, which will include the latest
Apache 1.3.34:

# cd /usr/ports/net/cvsup-without-gui
# make install
# make clean

Create /etc/cvsupfile:
*default  host=cvsup2.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=none
*default  delete use-rel-suffix
*default tag=.
ports-all
doc-all  

# /usr/local/bin/cvsup -g -L2 /etc/cvsupfile

# cd /usr/ports/www/apache13
# make install clean



Best regards,

Andras Kende
http://www.kende.com





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


ciss0: *** Parity/consistency initialization ...

2006-01-10 Thread Marc G. Fournier


I'm in the process of bringing up a new HP DL360 server ... I configured 
it as a RAID1+0, and everything is looking good ... just noticed this on 
the console:


ciss0: *** Parity/consistency initialization complete, logical drive 0
ciss0: logical drive 0 () completed consistency initialisation

the way I'm reading it, this doesn't look like something to panic about, 
but just want to make sure while I still have it in the shop ...


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: Advanced IPFW2 Forward rule problem / bug / misunderstanding

2006-01-10 Thread Dennis Olvany
Andrew Fremantle wrote:
 Dennis Olvany wrote:
 
 This should get you most of the way there or at least give you a
 good idea of what's required.
 
 
 
 
 options IPFIREWALL_FORWARD_EXTENDED
 
 
 
 I'm pretty sure this will be required.
 
 
 
 
 defaultrouter=24.85.92.1 ifconfig_rl0=192.168.1.1 
 ifconfig_vr0=142.179.109.xxx netmask 255.255.248.0 
 ifconfig_vr1=216.232.85.xxx netmask 255.255.254.0 
 ifconfig_rue0=24.85.9x.xxx netmask 255.255.252.0 
 ifconfig_rue0_alias0=24.85.9x.xxx netmask 255.255.255.255
 
 
 
 
 
 
 Telus ext1_ip=142.179.109.xxx  # IP Address 
 ext1_gw=142.179.104.254  # IP Gateway ext2_ip=216.232.85.xxx
 # IP Address ext2_gw=216.232.84.254  # IP Gateway
 
 
 
 
 
 Shaw Cable shaw_ip=24.85.93.xxx  # IP Address 
 shaw_gw=24.85.92.1  # IP Gateway srv2_ext=24.85.93.xxx  #
 External IP of server
 
 
 
 
 
 INTERNAL int_ip=192.168.1.1  # IP Address
 
 
 
 
 
 
 # And run our new NATd /sbin/natd -log_ipfw_denied -i ${nat_in}
 -o ${nat_out} -s -m -u -n ${shaw} -punch_fw 36000:100
 -redirect_port tcp ${ext1_srv}:22 ${ext1_ip}: -redirect_port
 tcp ${ext1_srv}:53 ${ext1_ip}:53 -redirect_port tcp
 ${ext1_srv}:80 ${ext1_ip}:80 -redirect_port tcp ${ext1_srv}:443
 ${ext1_ip}:443 -redirect_port udp ${ext1_srv}:53 ${ext1_ip}:53
 -redirect_port tcp ${ext2_srv}:80 ${ext2_ip}:80 -redirect_port
 tcp ${ext2_srv}:443 ${ext2_ip}:443 -redirect_port tcp 
 ${srv1_int}:22 ${shaw_ip}: -redirect_port tcp ${srv1_int}:53 
 ${shaw_ip}:53 -redirect_port udp ${srv1_int}:53 ${shaw_ip}:53 
 -redirect_port tcp ${srv1_int}:80 ${shaw_ip}:80 -redirect_port
 tcp ${srv1_int}:443 ${shaw_ip}:443 -redirect_port tcp
 ${srv2_int}:80 ${srv2_ext}:80 -redirect_port tcp ${srv2_int}:443
 ${srv2_ext}:443
 
 
 
 That's a hefty nat command. Let's simplfy by putting it in a file.
 I leave the port forwarding to you.
 
 /etc/rc.conf
 
 natd_enable=yes natd_flags=-f /etc/natd.conf
 
 /etc/natd.conf
 
 instance default interface vr0 port 8668
 
 instance telus2 interface vr1 port 8669
 
 instance shaw1 alias_address 24.85.93.xxx port 8670
 
 instance shaw2 alias_address 24.85.93.xxx port 8671
 
 globalport 8672
 
 
 I see that your firewall is based on rc.firewall. Forget
 rc.firewall, it is junk. Base your firewall on this structure.
 
 1. Public Interface NAT Diversion
 
 2. check-state
 
 3. Public Interface Leak Prevention 3.1 deny egress from internal
 hosts 3.2 deny ingress to internal hosts
 
 4. Antispoof 4.1 allow via loopback interface 4.2 deny ingress from
 router 4.3 deny ingress from internal hosts via public interface
 
 5. Router 5.1 allow egress 5.2 deny egress 5.3 allow ingress 5.4
 deny ingress
 
 6. Internal Hosts 6.1 allow egress 6.2 deny egress 6.3 allow
 ingress 6.4 deny ingress
 
 7. Default Deny
 
 
 /etc/rc.conf
 
 firewall_enable=yes firewall_type=/etc/ipfw.rules
 
 /etc/ipfw.rules
 
 -f flush
 
 add divert 8668 ip from any to any in via vr0 add divert 8669 ip
 from any to any in via vr1 add divert 8670 ip from any to
 24.85.93.xxx in via rue0 add divert 8671 ip from any to
 24.85.93.xxx in via rue0 #have never known the globalport to work
 on inbound add divert 8672 ip from any to any out via { vr0 or vr1
 or rue0 } #not sure if that 'or' will work... may need to split it
 up
 
 check-state
 
 add deny ip from 192.168.1.1/24 to any via { vr0 or vr1 or rue0 }
 
 add allow ip from me to me via lo0 keep-state add deny ip from me
 to any in
 
 add allow ip from me to { me or 192.168.1.1/24 or
 142.179.109.xxx/21 or 216.232.85.xxx/23 or 24.85.9x.xxx/22 }
 keep-state add forward 142.179.104.254 ip from 142.179.109.xxx to
 any keep-state add forward 216.232.84.254 ip from 216.232.85.xxx to
 any keep-state add forward 24.85.92.1 ip from 24.85.9x.xxx to any
 keep-state add forward 24.85.92.1 ip from 24.85.9x.xxx to any
 keep-state add allow ip from me to any keep-state add deny ip from
 me to any add allow icmp from any to me icmptypes 3,4,8,11
 keep-state add deny ip from any to me
 
 add allow ip from 192.168.1.1/24 to any keep-state add deny ip from
 192.168.1.1/24 to any add allow icmp from any to 192.168.1.1/24
 icmptypes 3,4,11 keep-state add deny ip from any to 192.168.1.1/24
 
 
 Thank for the quick reply.
 
 I just want to clarify a few things here Given that I only want 
 outbound NAT on one interface, is it really necessary to run four 
 instances of NATd? Can't one instance handle outbound NAT + inbound 
 sessions on all interfaces, as I have it setup?

I'm sure you'll need one instance for each public IP from which you wish
to originate traffic.

 Also, you're using a whole bunch of options and features here that
 are not documented on the natd man page. I found a writeup by the
 author of these features, but I'm not certain if that's in the
 -STABLE branch or not. (IE, will these options work with a
 6.0-RELEASE natd?)

Yes. I use these features with 6.0-release.

 Also, I'm not certain how your forward rules would work when mine do 
 not, as you're doing the same thing I did - NAT 

Forget Root Password

2006-01-10 Thread mamaj m

Hi,

I forget the root password what can i do , so i cant log in to freebsd

Thanks
I

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


acronis question

2006-01-10 Thread cp


 hi maybe you can help!
 I have purchased an external hd which came with the acronis true image
virsion 2.00.
 I made an image of my pc drive which is installed on the ex hd .
 This is where the confusion starts!
  When reading the instructions to make the image i was reccomended to
make a disc
 which is to be used to access the data from the ex hd should my pc
crash.
  My main question is .Is the cd i used to make the image also the cd
which i need to use should
  i need to draw the image from my ex  hd?
  Sorry if my mail is that of a relative newcomer to pc use ,but that is
the case.
 thanks

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


Re: replacement for Acrobat Professional?

2006-01-10 Thread Kevin Kinsey

Greg 'groggy' Lehey wrote:


On Tuesday, 10 January 2006 at 17:26:17 -0500, Michael W. Lucas wrote:
 


On Tue, Jan 10, 2006 at 10:18:35PM +, Ceri Davies wrote:
   


On 9 Jan 2006, at 19:53, Michael W. Lucas wrote:
 


Hi folks,

I've been handed a whole bunch of PDFs and asked to make my comments
directly in them.  I'm sure there's something in ports that can do
that, but my search hasn't turned up anything.  (Of course, I really
have no idea what I'm looking for, which hampers the search. :-)
   


A printer and a red biro out of the question?
 


It's worked for me for twenty years now.

Emailing them back to five or six people so they can make further
comments is the hard part.  :-)
   



It looks as if people have missed the point that you want to edit
PDFs.  If you find a good solution, will you post it, please?

Greg
 



Well, I think Denny had it pretty well when he said:
  http://www.freebsdsoftware.org/print/flpsed.html;

#grep -i PDF /usr/ports/print/flpsed/pkg-descr
Using pdftops, which is part of xpdf one can convert PDF documents to
   * Import and export PDF.  Therefore it can be used as a PDF editor.

It's up to Michael, though, to tell us how well it works, I suppose.  No
package in packages-6-current/Latest, so I'm building from src, and
headed for bed before it gets done I imagine.

Kevin Kinsey

--
Zero Mostel: That's it baby!  When you got it, flaunt it!  Flaunt it!
-- Mel Brooks, The Producers

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


RE: Forget Root Password

2006-01-10 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mamaj m
Sent: Sunday, January 08, 2006 2:16 PM
To: freebsd-questions@freebsd.org
Subject: Forget Root Password

Hi,

I forget the root password what can i do , so i cant log in to freebsd

Thanks
I

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


Hello,


during boot up there's a prompt which says to hit enter to boot /kernel or
something like that. It times out after 10 seconds (default). Hit any other
key than enter and type boot-s to boot in single user mode. You should
then get a shell prompt where you run these commands: 


# fsck -p 
# mount -a -t ufs 
# swapon -a 
# passwd -l 
# exit



Best regards,


Andras Kende
http://www.kende.com





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


search by date

2006-01-10 Thread Chris Collins
Hello

Can somebody tell me how to search for files by the date they were created.
Maybe somebody has a script they have created and would like to share. I
have about 5000 files in different directories I would like to backup crated
prior to 2003 and then delete. Any ideas?

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


Re: search by date

2006-01-10 Thread Harley D. Eades III

Chris Collins wrote:


Hello

Can somebody tell me how to search for files by the date they were created.
Maybe somebody has a script they have created and would like to share. I
have about 5000 files in different directories I would like to backup crated
prior to 2003 and then delete. Any ideas?

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

 


I am not sure this is possible, due to the filesystem not storing
the creation date in the inode.

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


RE: Spamcop listed - need help to diagnose why

2006-01-10 Thread Ted Mittelstaedt


-Original Message-
From: jdow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 5:23 AM
To: [EMAIL PROTECTED]; Ted Mittelstaedt;
freebsd-questions@freebsd.org
Subject: Re: Spamcop listed - need help to diagnose why


From: Danial Thom [EMAIL PROTECTED]

 
 YIKES. This is what happens when you put
 pimply-faced kids in charge of important things
 like mail. The carpet bomb MECCA in order to
 kill a few terrorists approach to computing. Its
 frightening.

Yeah, maybe he'll manage to survive long enough to acquire some wisdom
such as sometimes comes with age. (And without that gained 
wisdom getting
old must be unbearable.)


Uh, he's talking about you, jdow.

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


Re: search by date

2006-01-10 Thread Foo Ji-Haw
 Can somebody tell me how to search for files by the date they were
created.
 Maybe somebody has a script they have created and would like to share. I
 have about 5000 files in different directories I would like to backup
crated
 prior to 2003 and then delete. Any ideas?
You can try stat() to pick up the creation/ last modified date.

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


RE: Spamcop listed - need help to diagnose why

2006-01-10 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of jdow
Sent: Tuesday, January 10, 2006 5:21 AM
To: freebsd-questions@freebsd.org
Subject: Re: Spamcop listed - need help to diagnose why


 Unfortunately in the spam game, it only matters if the spammer
 thinks they didn't successfully deliver it to you.  And that only
 happens if the machine delivering the spam gets an error when
 trying to deliver it, since the spammer isn't using legitimate
 senders addresses and cannot get feedback any other way.

Sonny, you define it your way and I'll define it mine.

jdow, I define it by the RFC's.  If the mailserver you are fetchmailing
from has mail in it's mailbox for you to fetch, then according to the
SMTP RFC, delivery has occurred from the spammer.

I understand that these days people seem to like to redefine words
to suit their beliefs of how something should work, but just because
you want to define it your way doesen't make it technically correct.

I'm going to continue answering your message here mainly for the
other readers who might be interested in the discussion.  You can just
quit reading now since if your going to start redefining terms for
e-mail to something other than what the standard defines them as,
discussion with you is completely pointless.  I wonder what would
happen if you went to your wife and told her that your going to
redefine marriage to mean that you can sleep with some other woman.
Hell, let's all let everyone redefine words however they like.
After all if it's good enough for the President of the USA, then
it's good enough for Joe Blow, right?!?!

I do feel sorry for you since this attitude is the same attitude of the
person with a broken down car who doggedly replaces part after part
until he stumbles over the broken part by accident, rather than
actually learning how the thing works so he can troubleshoot it
properly.

I am stating the facts of how your setup works and it's inherent flaws,
and you obviously don't want to hear them, so you can just go away.
All systems have flaws, and if the truth of the flaws in
the system your running is too much for you to bear, then you are
going to be happier ignorant.

The object
is to not bug the user with spam.

Correct.

The secondary object is to keep
the machine load for spam as low as possible.

Also correct.

You have a priority
inversion there.


No, not at all, you do.

The typical M.O. for today's spammer is to find a system that has
been compromised that they can use for relaying.  Either a end-users
system that's got a trojan in it, or a mailserver.  These are used as
a transmission device.

When these transmitters get cranked up, they go from mailserver to
mailserver, dumping hundreds to thousands of spams and spam attempts
to the server.  Once they exhaust their dictionaries and lists, they
move on to the next server.

When you do ALL spamfiltering in post-delivery mode as you do, then
nothing prevents the transmitter from delivering hundreds of spams
to your server and users.  This takes a lot of machine load to
deal with.

The more pre-delivery filtering that you can do the less the load.
If you blacklist by IP address then when the transmitter hits your
server, if it's on a blacklist then not a single one of it's spams
gets delivered, and your system spends 0 CPU time in post-processing
(ie: stuff like virus scanning, content scanning, etc.)

From the users point of view, whether you pre-filter or post-filter,
the amount of mail tagged as spam or blocked as spam doesen't change.
But the load on the server for pre-filtering is far less than for
post-filtering.  That is obvious to anyone who takes the time to
understand how mail works.

 I've never been a fan of post-filters for this reason.  For some
 kinds of filtering - like content filtering for example - that
 is the only way you can do it.  But I think it the height of
 strangeness when SA checks blacklists and such to assign scores.
 If they really cared about spamfiltering, they would use the
 IP blacklists in the way they are intended - to block access
 completely to the spammer, not even let them connect to the
 server at all.  The mail that SA is assigning scores on based on
 an IP blacklist shouldn't even be in the SA filter to begin with.

People do that and discover they have blocked paying customers and
the like. If you are going to raw block on black lists at least
setup a scoring system that has some wide testing behind it.


You are utterly full of bullcrap.  In the last 3 years that the ISP
I work at has used blacklists, we have had a grand total of ONE
customer complain.  This is on a server with tens of thousands of
mailboxes and hundreds of domains.  And our blacklists are set so that
if they reject mail, a complete error message is included as to why
they are being blacklisted.

In fact, not only have we only had 1 customer complain, we have had
DOZENS of adminstrators of OTHER domains thank us profusely for
helping