Re: Sendmail Five Second Greeting Delay

2010-04-02 Thread Norbert Papke
On April 2, 2010, Jon Radel wrote:
 On 4/2/10 8:33 AM, David Allen wrote:
  Secondly, it seems the cause of the OP's problem was a delay associated
  with an IDENT query.  Specificially
 
 confTO_IDENT Timeout.ident   [5s] The timeout waiting for a
  response to an IDENT query.
 
  If he had local DNS configured, there would be no query, and therefore no
  issue, but setting the timeout to 0 seconds using
 
 define(`confTO_IDENT', 0s)
 
  does remove the delay, but not the underlying problem.
 
 You sure?  IDENT has nothing to do with DNS, and I don't know of any
 program that does an IDENT query solely if DNS data is not available.  I
 can't see why that would make any sense.
 
 What is most likely the OP's root problem is that he's sending e-mail
 from a machine that's on the other side of a firewall that blocks IDENT
 traffic but doesn't actively reject it.  So sendmail has to sit around
 and wait for the query to time out.

Allow me to clarify the scenario.  The intent is for a local Windows box to 
relay outgoing SMTP through the FreeBSD box.  Both machines are on the same 
LAN segment.  No intervening Firewalls (except software firewalls on the boxes).

Without the IDENT timeout, this is the traffic.  
FreeBSD box on 172.16.0.3, Windows box on 172.16.0.11.

No. TimeSourceDestination   Protocol Info
  10844 18.153005   172.16.0.11   172.16.0.3TCP  55100 
 smtp [SYN] Seq=0 Win=8192 Len=0 
MSS=1460
  10845 18.153031   172.16.0.3172.16.0.11   TCP  smtp  
55100 [SYN, ACK] Seq=0 Ack=1 Win=65535 
Len=0 MSS=1460
  10846 18.153306   172.16.0.11   172.16.0.3TCP  55100 
 smtp [ACK] Seq=1 Ack=1 Win=64240 Len=0
  10847 18.153944   172.16.0.3172.16.0.254  DNS  
Standard query PTR 11.0.16.172.in-addr.arpa
  10849 18.163505   172.16.0.254  172.16.0.3DNS  
Standard query response PTR 
tiggr.lan.provenpath.ca
  10850 18.163690   172.16.0.3172.16.0.254  DNS  
Standard query PTR 3.0.16.172.in-addr.arpa
  10856 18.173804   172.16.0.254  172.16.0.3DNS  
Standard query response PTR 
proven.lan.provenpath.ca
  10857 18.173943   172.16.0.3172.16.0.254  DNS  
Standard query A tiggr.lan.provenpath.ca
  10860 18.176306   172.16.0.254  172.16.0.3DNS  
Standard query response A 172.16.0.11
  10861 18.176532   172.16.0.3172.16.0.11   TCP  57889 
 ident [SYN] Seq=0 Win=65535 Len=0 
MSS=1460 WS=3 TSV=142487140 TSER=0
  12402 21.156922   172.16.0.3172.16.0.11   TCP  57889 
 ident [SYN] Seq=0 Win=65535 Len=0 
MSS=1460 WS=3 TSV=142490140 TSER=0
  13637 23.145692   172.16.0.3172.16.0.11   SMTP S: 220 
proven.lan.provenpath.ca ESMTP Sendmail 
8.14.4/8.14.4; Fri, 2 Apr 2010 08:26:47 -0700 (PDT)
  13741 23.337234   172.16.0.11   172.16.0.3TCP  55100 
 smtp [ACK] Seq=1 Ack=98 Win=64143 
Len=0


Basically, sendmail performs and IDENT even though the DNS lookup seems to have 
succeeded.  The Windows box does not reject the IDENT.

Cheers,

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


Sendmail Five Second Greeting Delay

2010-04-01 Thread Norbert Papke
When I connect to sendmail on a local interface, sendmail responds to the 
connection with its 220 greeting immediately.  If I connect to sendmail from 
another machine on my (home) LAN, sendmail delays five seconds before sending 
the greeting.  I would like it to respond immediately.

A quick search turned up a greet_delay feature in sendmail that would cause 
this type of behavior.  To the best of my knowledge, I do not use this 
feature.  Just to be sure, I tried to explicitly enable it with both a default 
0 second timeout and an explicit 0 second access rule.  This did not the 
resolve the issue.

I am at a loss.  What could be going on?

Cheers,

-- Norbert.

sendmail mc file:

VERSIONID(`$Id: proven.lan.mc,v 1.1 2005/07/30 08:31:09 npapke Exp $')dnl
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_procmail)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(always_add_domain)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(`accept_unresolvable_domains')dnl
MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl

define( `SMART_HOST', `shawmail.vc.shawcable.net')dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')

DAEMON_OPTIONS(`Name=IPv4, Family=inet')
define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
# Virtual hosts
FEATURE(virtusertable)dnl
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtdomains')dnl
FEATURE(`virtuser_entire_domain')dnl

MAILER(procmail)dnl
MAILER(smtp)dnl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sendmail Five Second Greeting Delay

2010-04-01 Thread Norbert Papke
On April 1, 2010, Bruce Ferrell wrote:
 A delay of that long can be cause by the system attempting to do name
 resolution on your IP.  Try entering the IP of the testing system into
 /etc/hosts and see if the delay goes away.  If it does, then you know.

Thanks for the suggestion, unfortunately it does not make a difference.

Cheers,

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


Re: Sendmail Five Second Greeting Delay

2010-04-01 Thread Norbert Papke
On April 1, 2010, Mike Tancsa wrote:
 At 08:51 PM 4/1/2010, Norbert Papke wrote:
 When I connect to sendmail on a local interface, sendmail responds to the
 connection with its 220 greeting immediately.  If I connect to
 sendmail from
 another machine on my (home) LAN, sendmail delays five seconds before
  sending the greeting.  I would like it to respond immediately.
 
 What if you add
 define(`confTO_IDENT', 0s)
 
 to your mc file and remake your .cf file with that set

Thanks, that did it.

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


Re: Lost audio after new Video card installation

2010-03-02 Thread Norbert Papke
On March 1, 2010, Carmel wrote:
 I was attempting to upgrade a Gateway GT5220 PC. The machine was
 running FreeBSD-7.2 successfully. The sound system was functioning
 correctly and gMplayer and Mplayer worked fine. The machine was using a
 nVidia GeForce 6150 LE on-board card. I installed a nVidia GeForce GT
 220 card. The old on-board card did not support DVI.
 
 Now, the video is fine; however, there is no audio. Mplayer and
 gMplayer both freeze when attempting to play or view anything.
 
 I have no idea how to debug this. Since I did not touch the audio, I
 cannot figure it out.
 
 I did have a script that ran upon boot-up:
 
 /sbin/sysctl hw.snd.pcm0.vchans=4
 /sbin/sysctl dev.pcm.0.play.vchans=4
 /sbin/sysctl dev.pcm.0.rec.vchans=4
 /sbin/sysctl hw.snd.maxautovchans=16
 mixer vol 100:100 pcm 100:100 speaker 100:100 line 100:100 mic 0:0 cd
  100:100  =rec mic
 
 Previously, it ran without incident. Now, it produces this output:
 
 sysctl: unknown oid 'hw.snd.pcm0.vchans'
 dev.pcm.0.play.vchans: 4 - 4
 sysctl: dev.pcm.0.rec.vchans: Operation not supported by device
 hw.snd.maxautovchans: 16 - 16
 mixer: unknown device: vol
 usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ...
mixer [-f device] [-s | -S] recsrc ...
mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ...
 
 This is from 'dmesg'
 
 dmesg -a|grep -i -A8 -B2 220
 pci3: ACPI PCI bus on pcib3
 vgapci0: VGA-compatible display port 0xbc00-0xbc7f mem
  0xfb00-0xfbff,0xd000-0xdfff,0xee00-0xefff irq 16
  at device 0.0 on pci3 nvidia0: GeForce GT 220 on vgapci0
 vgapci0: child nvidia0 requested pci_enable_busmaster
 vgapci0: child nvidia0 requested pci_enable_io
 vgapci0: child nvidia0 requested pci_enable_io
 nvidia0: [GIANT-LOCKED]
 nvidia0: [ITHREAD]
 hdac0: NVidia (Unknown) High Definition Audio Controller mem
  0xfcffc000-0xfcff irq 16 at device 0.1 on pci3 hdac0: HDA Driver
  Revision: 20090624_0136
 hdac0: [ITHREAD]
 
 I would really appreciate any assistance I could get. I really would
 like the audio to work on this machine again.

Try setting the folllowing sysctl knob:

hw.snd.default_unit=1

You will also have to change the dev.pcm.0 to dev.pcm.1 in your script.  
If 1 doesn't work, try 2.

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox: No network connectivity. Weird vboxnetflt.ko/vboxnetadp.ko behaviour

2009-11-27 Thread Norbert Papke
On November 27, 2009, O. Hartmann wrote:
 Befor going deeper into my config I will report some strange behaviour
 of needed kernel modules
 
 vboxnetflt.ko
 vboxnetadp.ko
 
 Both are needed for networking on VirtualBox and they get loaded at
 startup vi /boot/loader.conf. But to have a working network, I have to
 unload and then reload them, since if they get loaded at startup,
 networking is broken in virtual box!

The vboxnetadp.ko is needed for the host-only adapter mode, I tend not to 
load it. For bridged mode, you need vboxnetflt.ko.

I have been having good luck by always loading vboxnetadp.ko manually rather 
than from loader.conf.

 My FreeBSD-based config is simple. I have a bridged NIC (msk0), a tap0
 device which is member of the bridge.

I do not use a tap device. It should not be needed.  I bridge the physical 
device directly.

 Has anybody similar trouble?

The modules are a somewhat temperamental.  When I follow the above, it works 
great.  When I deviate, I sometimes have trouble.

Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ELF library not found error

2009-11-18 Thread Norbert Papke
On November 18, 2009, Peter Steele wrote:
 I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the
  error for Python 2.5 and 3.1, as well as several other applications that
  were giving that error. I'm still getting the error for a few other
  packages though, e.g. wireshark:
 
 # pkg_add /mnt/ports/wireshark-1.2.2.tbz
 pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but
  'tiff-3.9.1' is installed pkg_add: warning: package 'wireshark-1.2.2'
  requires 'pcre-8.00', but 'pcre-7.9' is installed pkg_add: warning:
  package 'wireshark-1.2.2' requires 'xcb-util-0.3.6_1', but
  'xcb-util-0.3.6' is installed pkg_add: warning: package 'wireshark-1.2.2'
  requires 'libxml2-2.7.6', but 'libxml2-2.7.5' is installed root@:~
 # wireshark
 ELF interpreter /libexec/ld-elf.so.1 not found
 
 If both the 6.x and 7.x compatibility packages are installed and this error
  still occurs, what's the culprit?

Presumably (and I am speculating), the 8.0 packages are not yet finalized and 
therefore inconsistent.  Perhaps you will have better luck after the official 
8.0 Release?

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ELF library not found error

2009-11-17 Thread Norbert Papke
On November 17, 2009, Peter Steele wrote:
  I've installed an 8.0 RC3 system and
  included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine.
  However, for both 2.5 and 3.1 I get the error:
 
 ELF interpreter /libexec/ld-elf.so.1 not found
 
 What might cause this error?

If you upgraded from 7.x, you need to install the misc/compat7x port. 

Even better, rebuild all your ports.  It will save you a lot of grief in the 
long run.

Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD-8.0-RC2 problems

2009-11-09 Thread Norbert Papke
On November 6, 2009, Masoom Shaikh wrote:

 problem # 1
 The problem is KDE4 is not able to display anti aliased fonts. I have made
 the required changes to make it work, of course, in System Settings -
 Appearance - Fonts
 Hinting - Full, and there is is one more option, the name i cannot recall
 ATM, I have set it to RGB. DPI to 96..this is has worked for all
 combination of installs I have used so far, viz KDE3 on FreeBSD-6.x to
 KDE4.1.x on FreeBSD-7.x and KDE4.2 on FreeBSD-8.0RC1

My guess is that print/freetype2 is not built with anti-aliasing support.  
Rebuild it specifying WITH_LCD_FILTERING .

See also http://www.freebsd.org/cgi/query-pr.cgi?pr=139603

Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Remounting a drive as read/write crashes the system and no dmesg.boot

2009-08-21 Thread Norbert Papke
On August 20, 2009, Scott Schappell wrote:
 I cannot get the system to generate a dump, even though dumpon verified
 it's set to the swap drive but /var/crash stays empty. I have
 dumpdev=AUTO in rc.conf and dumpdir=/var/crash as well.

If you don't have it already, you may also need 

ddb_enable=YES
savecore_enable=YES

Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: K3b-DVD

2009-07-24 Thread Norbert Papke
On July 20, 2009, ajtiM wrote:
 My system: FreeBSD 7.2, KDE 3.5.10

Same here.

 I did try to burn data DVD with my NEC DVD ND-1300A but I got an error:
 :-( Media is not formatted or unsupported

When I run cdrecord with an invalid option, I get the following output.  I 
draw attention to the line stating that there is no support for DVD-R/DVD-RW.  
I speculate that this may be related to the problem you are seeing.  I have 
not explored cdrecord-ProDVD.

# cdrecord xxx
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (amd64-unknown-freebsd7.1) Copyright (C) 1995-2004 J�rg 
Schilling
scsidev: '5,0,0'
scsibus: 5 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'HL-DT-ST'
Identifikation : 'DVD-RAM GH22NS30'
Revision   : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for 
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: No such file or directory. Cannot open 'xxx'.


Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: slowloris, accf_http and POST requests

2009-06-22 Thread Norbert Papke
On June 22, 2009, Ruben de Groot wrote:
 Can enybody explain why the http accept filter only works on GET/HEAD
 requests?

 The reason I ask is I was checking up on the slowloris DOS tool
 (http://ha.ckers.org/slowloris/slowloris.pl) and, like others before me,
 found that the -httpready switch (which uses POST instead of GET) renders
 the accf_http module useless as a protection against this kind of attack.

With the POST request, the client sends additional data after the header.  
This additonal data is the form data (the x-www-form-urlencoded encoded 
name-value pairs).  The filter will allow the request to proceed to the 
application after the header as been received but before the form data has 
been received.

A slowloris attack could exploit this fact by sending a complete header but 
then slowing doling out the form data.

To protect against this scenario, the filter would need to be modified to 
collect the form data as well.  Of course, it doesn't stop there.  The filter 
would also have to deal with multi-part forms.

Disclaimer: This is based on cursory reading of the code.

Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Reproduce previous stdout output without running previous command

2009-06-09 Thread Norbert Papke
On June 8, 2009, Daniel Underwood wrote:
 Further suppose that after running the command, I decide I want to
 save the output to a text file, so I can analyze the results outside
 of the terminal.  What can I do? Well, I can do a traditional
 copy-and-paste, or I could re-enter the previous command and send it
 to a text file (which I ought to have done in the first place).

 But is there another option?  Is there some variable (such as,
 hypothetically, $output[n], where n=some integer index) that I could
 use to store the results in a text file?  Such an option might look
 like the following:

You could use sysutils/screen from ports.  Screen lets you capture your 
session in a log file.  If you decide you need the output from a previous 
command, it would be trivial to extract from the log.

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [Off Topic] question for UML users

2009-04-29 Thread Norbert Papke
On April 29, 2009, Andrew Gould wrote:
 I need to create flow charts for analytical and reporting processes at
 work.  I had played with the UML editor that came with PC-BSD and noticed
 you could store notes with the objects (very cool).

 Can/should UML be used for something like this?

UML is a notation that facilitates communications (amongst other things).  If 
UML helps get the message across, there is no reason not to use it.  If you 
need to express concepts that traditionally had been captured using flow 
charts, UML activity diagrams and/or state charts will likely allow you to do 
the same.

Cheers,

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


Re: Multiple instances of MySQL

2009-04-06 Thread Norbert Papke
On April 6, 2009, DAve wrote:
 Has anyone setup two instances of MySQL on the same server? One running
 just a client's DBs? Any advice would be helpful.

It's just a matter of making sure that the two instances don't share any ports 
or files.  It works well.  You'll have to create a custom my.cnf file and 
start-up script for your second instance.  

More info:

http://dev.mysql.com/doc/refman/5.1/en/multiple-servers.html

Remember to specify the alternate port when using programs such as 'mysql' 
command line client.

Cheers,

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


Re: USB key with 7.5 GByte but no space left on device after 4 GByte written

2009-03-05 Thread Norbert Papke
On March 5, 2009, Matthias Apitz wrote:
 El día Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar  to 
end this threat, I did:

 # dd if=/dev/zero of=/dev/da0 bs=64k count=1
 # newfs_msdos /dev/da0
 # mount -t msdosfs /dev/da0 /mnt
 # time cat file file file  /mnt/big
 cat: stdout: File too large
 0.276u 19.421s 14:36.63 2.2%11+1180k 33887+65536io 0pf+0w

 # df -kh /mnt
 FilesystemSizeUsed   Avail Capacity  Mounted on
 /dev/da0  7.5G4.0G3.5G53%/mnt

 i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as
 free;

Seems to work as it should.  The maximum allowed file size on a FAT32 file 
system is 4GB (-1 byte).  See

http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32

Cheers,

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


Re: Updating FBSD 7.1 to the latest ZFS

2009-02-20 Thread Norbert Papke
On February 19, 2009, Bryant Eadon wrote:
 I've scoured the web but haven't found the proper way to upgrade from using
 ZFS v6 to the latest ZFS supported on FreeBSD (v13?).  My zpool is shot and
 I'd like to create a fresh one starting with the latest and greatest.

 Can anyone point me in the right direction on how to properly perform this
 upgrade ?

To get the latest version of ZFS, you need to run -current.  As I understand 
it, 7.1 will likely remain on v6 for a while.

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


Re: Is FreeBSD subject to the EAR ?

2008-12-19 Thread Norbert Papke
On December 17, 2008, kosuke.okis...@toshiba.co.jp wrote:
 Is Free BSD 6.3-release subject to the U.S. Export Administration
 Regulation ?

 If the FreeBSD 6.3-release includes encryption software, it may be subject
 to the EAR.

 Following is extract part of the EAR.

 Part 734.3  :  Items subject to the EAR

 (b) The following items are not subject to the EAR:
・
・
   (3) Publicly available technology and software, except software
 controlled for
EI reasons under ECCN 5D002 on the Commerce Control List and
   mass market encryption software with symmetric key length exceeding
  64-bits controlled under ECCN 5D992, that:

I am not a lawyer, but I would stipulate that FreeBSD falls into the publicly 
available category and would therefore be exempt.

-- Norbert Papke.

Grand Master Turing once dreamed that he was a machine. When he awoke he 
exclaimed:
I don't know whether I am Turing dreaming that I am a machine, 
or a machine dreaming that I am Turing!  (The Tao Of Programming)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Limewire 4.18 problem

2008-12-16 Thread Norbert Papke
On December 16, 2008, Andreas Rudisch wrote:
 A Vuze developer told me, that transfers via UDP and TCP are using
 different sets of native java APIs. TCP is non-blocking IO, so there
 could be a problem in the FreeBSD Java code.

This is a stab in the dark (I am not a Vuze) user but I have had similar 
problems with other Java apps (e.g., Netbeans, Tomcat).  The VM's TCP stack, 
for some reason, wants to use IPv6.  To force it to use IPv4, invoke Java 
with -Djava.net.preferIPv4Stack=true.  You can do this either on the 
command line or by setting the JAVA_OPTS environment variable.

Cheers,

-- Norbert Papke.

Grand Master Turing once dreamed that he was a machine. When he awoke he 
exclaimed:
I don't know whether I am Turing dreaming that I am a machine, 
or a machine dreaming that I am Turing!  (The Tao Of Programming)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Norbert Papke
On May 19, 2008, Andrew Moran wrote:
 I recently upgraded my php5 ports to latest ports tree versions
 (5.2.6), and now I'm in a situation where any HUP signal sent to
 apache is causing the entire process to dump core.  I get this in the
 apache error log:

 [Mon May 19 16:08:48 2008] [notice] SIGHUP received.  Attempting to
 restart
 [Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error
 detected in the parent process

 and this in the messages log:

 May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on
 signal 11 (core dumped)

I ran into a similar problem.  In my case, the problem was caused by PHP5 
using the putenv(3) function incorrectly.  Removing 
files/patch-ext_standard_basic_functions.c from the port and rebuilding fixed 
the issue for me.  I have reported this to the maintainer but have not raised 
a PR.

For more information, see

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=875448+0+archive/2008/freebsd-stable/20080518.freebsd-stable

Cheers.

-- Norbert.

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


Re: Core file output directory, writeable directories and procfs

2008-05-18 Thread Norbert Papke
On May 18, 2008, [EMAIL PROTECTED] wrote:
 What are the rules dictating where core files are output? Is there a way to
 setup an output directory? 

The sysctl(8) MIB controls core file generation.  See core(5) for more 
information.

To specify a particular location for your core files, you might want to put 
something like

kern.corefile=/tmp/%N.%P.core

into /etc/sysctl.conf.

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


Re: [SSHd] Increasing wait time?

2008-05-08 Thread Norbert Papke
On May 8, 2008, Mel wrote:
 because:
 for FILE in */*.[ch]; do scp ${FILE} host:/backup; done
 is quicker to write then setup tunnels.

How about scp */*.[ch] host:/backup?


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


Re: [SSHd] Increasing wait time?

2008-05-08 Thread Norbert Papke
On May 8, 2008, Norbert Papke wrote:
 On May 8, 2008, Mel wrote:
  because:
  for FILE in */*.[ch]; do scp ${FILE} host:/backup; done
  is quicker to write then setup tunnels.

 How about scp */*.[ch] host:/backup?

To answer my own silly question, the above doesn't preserve paths.  Anyway, as 
always, there is more than one solution.  Not every solution fits 
universally.

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


Re: [SSHd] Increasing wait time?

2008-05-07 Thread Norbert Papke
On May 7, 2008, Mel wrote:
 On Wednesday 07 May 2008 06:16:19 Norbert Papke wrote:
  On May 6, 2008, Gilles wrote:
   Is there a way to configure SSHd, so that the wait time between login
   attempts increases after X failed tries?
 
  I run sshd via inetd rather than as a stand-alone daemon.  inetd provides
  optional rate limiting functionality.  For instance. putting
 
 ssh stream  tcp  nowait/20/4/10  root  /usr/sbin/sshd  sshd -i
 
  into /etc/inetd.conf set a limit of
 
  * 20 overall ssh connections
  * 4 connection attempts per minute
  * at most 10 connections from a single IP
 
  This works very well on a personal server, not sure how it scales up.

 So if I copy over some files via scp, I can lock myself out. Fun stuff ;)

Absolutely.  But the same can happen with any rate limiting solution.

However, in practice this has never been an issue for me.  First, I tend to 
copy large sets of files using a single connection.  Either 'scp -r' or by 
running tar/rsync through an ssh tunnel.  Second, this kind of limit is 
enough to discourage script kiddies, but caps my downside risk to an 
acceptable (to me) one minute lock out.

Anyway, it works for me.

Cheers,

-- Norbert.


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


Re: [SSHd] Increasing wait time?

2008-05-06 Thread Norbert Papke
On May 6, 2008, Gilles wrote:
 Is there a way to configure SSHd, so that the wait time between login
 attempts increases after X failed tries?

I run sshd via inetd rather than as a stand-alone daemon.  inetd provides 
optional rate limiting functionality.  For instance. putting

   ssh stream  tcp  nowait/20/4/10  root  /usr/sbin/sshd  sshd -i

into /etc/inetd.conf set a limit of

* 20 overall ssh connections
* 4 connection attempts per minute
* at most 10 connections from a single IP

This works very well on a personal server, not sure how it scales up.

Cheers,

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


Re: Is Marvell 88E1116 network adapter supported in 7.0?

2008-04-19 Thread Norbert Papke
On April 18, 2008, Mike Clarke wrote:
 I gather, from some discussion in this list last January concerning Rev
 6, that it uses the nve driver but I'm a little uncertain since the
 Rev.7 hardware compatibility list doesn't mention the 88E1116.

You probably want the nfe driver.  See notes regarding 7.0:

http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html

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


Whatever happend to the MySQL Administrator port?

2007-11-24 Thread Norbert Papke
MySQL has a handy graphical front-end called mysql-administrator.  There used 
to be a port for it (databases/mysql-administrator).  The port was marked 
broken in February and deleted in April.

The last CVS entry reads:
Remove databases/mysql-administrator.
It's a part of MySQL Tools now and don't supported separately.

Are the MySQL Tools part of another port?  How do I get them?

Cheers,

-- Norbert.

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


Re: Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps

2007-07-10 Thread Norbert Papke
On July 10, 2007, Kyrre Nygård wrote:
 Hello.

 My friend is switching to Linux because FreeBSD is failing on him.

 When downloading a file from a FreeBSD box and a Linux box on the same
 network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95
 Kbps. I have no idea what's wrong, but my man isn't really into good
 information design (e.g. taking something complex and making it easy),
 so his system is a mess. Maybe some of you can help me locate where the
 problem's at?

Are we comparing apples to oranges?

88.78 KBps  (kilo bytes per second) = 710.24 Kbps (kilo bits per second)

If this is true, then the FreeBSD box is faster :)

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


Re: X11 forwarding problems in FreeBSD 6.2

2007-07-08 Thread Norbert Papke
On July 8, 2007, Pollywog wrote:
 I am having some problems with X11 forwarding. I can do X11 forwarding via
 ssh between two machines running Linux, but if I try to do this from
 FreeBSD (KDE) to either of the Linux machines, it only works if I use
 startx to start KDE on the fbsd machine (a laptop). If I start KDE from
 kdm, I get errors that go like this when I start the KDE app on the remote
 host running Linux: [EMAIL PROTECTED]:~$ kate
  Xlib: connection to localhost:11.0 refused by server
  Xlib: Invalid MIT-MAGIC-COOKIE-1 key
  kate: cannot connect to X server localhost:11.0

On your FreeBSD machine, try issuing

   % xhost +local:

before you ssh to the Linux machines.

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


Re: Lost SSH X1 Forwarding with Xorg 7.2

2007-07-07 Thread Norbert Papke
On July 5, 2007, Olivier Nicole wrote:
 A nice *feature* that I just noticed, I apologize if it has been
 mentionned earlier.

 xorg 7.2 tends to install all the components in /usr/loca insteal of
 the traditional /usr/X11R6.

 But sshd is still expecting xauth to be in /usr/X11R6/bin/xauth; so
 sshd_config has to be modified to reflect the fact that xauth new path
 is /usr/local/bin/xauth.

 So the default /etc/ssh/sshd_config should be adapted to reflect this
 change...

The default location in /usr/X11R6/bin/xauth should still work with the 
symlink in place.

However, I had a similar problem to yours.  Having tracked 7.2 for some time, 
I had X11BASE=${LOCALBASE} in /etc/make.conf.  When building sshd, 
LOCALBASE is not defined and X11BASE ends up being the empty string.  This 
then caused XAUTH_PATH to be set to /bin/xauth which, of course, does not 
exist.  Removing the statement from /etc/make.conf fixed this -- it isn't 
required anymore.

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


Re: dynamic dns question

2007-06-26 Thread Norbert Papke
On June 25, 2007, gahn wrote:
 hi all:

 could anyone here recommend a software package for
 dynamic dns?

 thanks

I've used http://www.no-ip.com/ for a few years with good success.  There is a 
free version if you're not picky about your domain name.  There is a client 
in the ports (dns/noip).  DD-WRT routers (and possibly others) support it 
directly.

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


Re: nve driver clarifications with 6.2-RELEASE

2007-06-22 Thread Norbert Papke
On June 22, 2007, Matthew Bloch wrote:
 So in order to use this on our bootstrap system, I will need to rebuild
 the kernel, taking nve out and compiling nfe (with the relevant PHY
 patch) in.  Is that about the quickest way to fix this?  I'd be very
 interested to know if anyone could suggest a solution that didn't
 involve rebuilding the kernel.

The binary kernel modules that can be found at

http://www.f.csce.kyushu-u.ac.jp/~shigeaki//software/freebsd-nfe.html

work for me.

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


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 On Fri, May 18, 2007 at 11:14:50AM +0300, Simon Phoenix wrote:
  I have the same error message since version 1.42.2.3 of the atapi-cam.c.
  Hangs while writing media was fixed in 1.42.2.4, but this error message
  not disappear.
 
  acd0: DMA limited to UDMA33, controller found non-ATA66 cable
  acd0: DVDR ASUS DRW-1604P/1.09 at ata1-master UDMA33
  acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00
  0x01

 What I cannot figure out is why only two people are reporting the
 existence of this problem.

The reason I have not commented on this is that, other than the error message 
on boot, I have not had any problems.

~ %camcontrol devlist
LITE-ON LTR-32123S XS0U  at scbus2 target 0 lun 0 (cd0,pass0)

~ %dmesg | grep acd0
acd0: CDRW LITE-ON LTR-32123S/XS0U at ata1-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

~ %grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03 09:38:54 
thomas Exp $);

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


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 [NB: I'm using the archive for -questions to reply to Norbert Papke]

 Norbert, you do not have the same file that I have.

 You have:

 grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03
 09:38:54 thomas Exp $);

 I have:

 grep -i FBSDID /usr/src/sys/dev/ata/atapi-cam.c
 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15
 16:19:42 thomas Exp $);

Apologies.  I joined the thread late and didn't pick on the specific version 
you were having problems with.

 If you don't wish to have the issue I have, I think it might be wise
 to refrain from updating your source tree.

Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other than 
the ILLEGAL REQUEST error on boot, I am not experiencing any problems.  I 
have successfully copied a data CD using K3B.  But then, I may not be testing 
the right thing.  Is there a specific operation that you are having problems 
with?

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


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Norbert Papke wrote:
 On May 19, 2007, Joe Altman wrote:
  [NB: I'm using the archive for -questions to reply to Norbert Papke]
 
  Norbert, you do not have the same file that I have.
 
  You have:
 
  grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
  __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03
  09:38:54 thomas Exp $);
 
  I have:
 
  grep -i FBSDID /usr/src/sys/dev/ata/atapi-cam.c
  __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15
  16:19:42 thomas Exp $);

 Apologies.  I joined the thread late and didn't pick on the specific
 version you were having problems with.

  If you don't wish to have the issue I have, I think it might be wise
  to refrain from updating your source tree.

 Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other
 than the ILLEGAL REQUEST error on boot, I am not experiencing any
 problems.  I have successfully copied a data CD using K3B.  But then, I may
 not be testing the right thing.  Is there a specific operation that you are
 having problems with?

 Cheers.

I didn't notice this while I was copying the CD, but checking the logs I see 
additional errors:

acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00

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


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
  Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other
  than the ILLEGAL REQUEST error on boot, I am not experiencing any
  problems.  I have successfully copied a data CD using K3B.  But then, I
  may not be testing the right thing.  Is there a specific operation that
  you are having problems with?

 Buh...then I just don't know. Can you play a music CD?  For me, Grip
 and XMMS act as if no audio CD is in the tray.

I have just ripped a CD using Grip.  It worked fine.  Subjectively, it seemed 
faster than before (not sure if this makes any sense).  I noticed the 
following error repeated once for every track ripped:

acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00

I didn't try xmms, I don't have it installed.

 I can mount a data CD, unmount it, and then the tray will not open. I
 suspect a reboot will be required to open it.

I have had no problems with opening the tray.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
  Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other
  than the ILLEGAL REQUEST error on boot, I am not experiencing any
  problems.  I have successfully copied a data CD using K3B.  But then, I
  may not be testing the right thing.  Is there a specific operation that
  you are having problems with?

 I've pulled atapicam from my kernel file, and the problem has
 vanished.

I am glad you have a work-around.

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


Re: Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Norbert Papke
On Thursday 15 March 2007 10:37, Jim Stapleton wrote:
  Also a couple of OpenGL applications are running slower
 than one would expect given my card (especially in the screen savers
 area, where the same apps would run /too fast/ with my old Ti4200.
 These in conjunction lead me to suspect my graphics setup.

 /etc/X11/xorg.conf:
[...]
 Section Extensions
 Option Composite Enable
 EndSection

Even though the nvidia drivers claim to support OpenGL with the composite 
extension enabled, my experience has been that it leads to performance 
similar to what you are describing.  Try disabling composite.

Cheers,

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


Re: Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Norbert Papke
On Thursday 15 March 2007 20:50, Garrett Cooper wrote:
 Composite still isn't the greatest under the 6.9 branch of Xorg
 (and it wasn't that great under Xorg 7.0 either). It might have improved
 since then though in 7.1/7.2.

I am running 7,2 and still cannot get the nvidia drivers to work with 
composite + OpenGL.

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-14 Thread Norbert Papke
On Tuesday 13 March 2007 21:41, Sean Bryant wrote:
 It seems the driver is attached:
 [EMAIL PROTECTED]:0:0:   class=0x03 card=0x chip=0x00f910de
 rev=0xa2 hdr=0x00

 its a 6800 GT.

In an earlier post you mentioned that there were problems with /dev/nvidiactl 
and the kernel module.  Just to confirm, 

* Does /dev/nvidiactl exist at all?
* Do you have /dev/nvidia0?
* Does kldstat show nvidia.ko at all?  
* What error do you get when you manually load the nvidia kernel 
module kldload nvidia?

Cheers,

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Norbert Papke
On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
 I'm actually having the same problem, but after I took out device agp out
 of my kernel. And I still cannot start x with nvidia driver.

 It complains that /dev/nvidiactl couldn't be opened. And then it says it
 failed to load the kernel module.

It seems that the graphics card is not detected.  Does 

'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


 sysctl -a | grep nvidia
 hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
 13:20:59 PST 2006
 hw.nvidia.registry.EnableVia4x: 0
 hw.nvidia.registry.EnableALiAGP: 0
 hw.nvidia.registry.NvAGP: 1
 hw.nvidia.registry.EnableAGPSBA: 0
 hw.nvidia.registry.EnableAGPFW: 0
 hw.nvidia.registry.SoftEDIDs: 1
 hw.nvidia.registry.Mobile: 4294967295
 hw.nvidia.registry.ResmanDebugLevel: 4294967295
 hw.nvidia.registry.FlatPanelMode: 0
 hw.nvidia.registry.DevicesConnected: 0
 hw.nvidia.registry.RmLogonRC: 1
 hw.nvidia.registry.DetectPrimaryVga: 1
 hw.nvidia.registry.dwords:

For comparison, here is my output.  Note that  there are card specific 
entries.

# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0: GeForce 7600 GS port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 at 
device 0.0 on pci3
nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03
dev.nvidia.0.%parent: pci3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenSSH Problem with disconnects

2007-03-11 Thread Norbert Papke
On Sunday 11 March 2007 09:52, Alexander Schlichting wrote:
 I am having a big problem with the OpenSSH Daemon on my server. Whenever I
 am connected to the server and the connection is idle for a few seconds it
 gets disconnected. It's almost impossible to work from remote on the server
 when the connection is always getting dropped.

It is likely related to something in your network path dropping the connection 
when it is idle.  Try the following in your server's /etc/ssh/sshd_config 
file.

ClientAliveInterval 30
ClientAliveCountMax  10

Note that TCP keep-alives usually don't help in this situation because their 
interval is too large.

Cheers.

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


Re: OT: new documents notification and approval

2006-08-14 Thread Norbert Papke
On Saturday 12 August 2006 10:11, Andrea Venturoli wrote:
 Giorgos Keramidas wrote:
  Just get a full document management system,

 Like what? Any name?

I have had good success with KnowledgeTree.  Have a look at the document 
workflow.

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


Re: dhclient-exit-hooks

2006-05-02 Thread Norbert Papke
On Tuesday 02 May 2006 06:12, fbsd wrote:
 IF I execute the cat command to issue the notification email
 from the command line it works fine, but when used in the
 script I get these messages during boot process.
 I am running postfix launched by the sendmail wrappers
 on a FreeBSD 6.0 system.

 ~/.mailrc: No match.

Use sendmail(8) rather than mail(1).  mail(1) expects to be run from a user 
session and looks for the user's preferences stored in the user's ,mailrc 
file.  No user is available during the boot process.

In your script,

 #! /bin/sh

Also, try removing the space between #! and /bin/sh.  It may be causing 
some weirdness.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE 3.5 status?

2005-12-15 Thread Norbert Papke
On December 15, 2005 07:12 am, Kirk Strauser wrote:
 Does anybody know where I can find the status of porting KDE 3.5 to
 FreeBSD?

Please see

http://frontrangebsd.org/pipermail/kde-freebsd/2005-December/011800.html

Cheers.

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


Re: Loki Linux Games on FreeBSD

2005-10-11 Thread Norbert Papke
On October 10, 2005 09:33 am, Sean wrote:
 I have several of the games produced by Loki, which I would like to get
 running on FreeBSD.

 Of the several I have the ones in particular I would be most interested
 in getting to work are Sim City 3000, Railroad Tycoon II, and Civ: Call
 To Power.

 Does anyone have experience with these games getting them to run?
 Or more so, any web sites that have some detailed info. Searches come up
 with a lot of references, but nothing in detail.

Have a look at /usr/ports/games/HeroesOfMightAndMagic for an example.

Additionally, my experience with CivCTP was to ignore the CD's install script 
and instead copy the files manually.  After installation, flag the executable 
as coming from a Linux system using

% brandelf -t Linux civctp

Of course, this assumes that Linux emulation is enabled and that you have all 
the dependencies installed.  Note that I had some issues running this game as 
an unpriviledged user but haven't bothered to figure out why.

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