Re: have i been hacked?

2004-04-13 Thread Kris Kennaway
On Wed, Apr 14, 2004 at 12:51:06AM -0400, dave wrote:
> Hello,
> Wondering if a system on my network has been hacked? At approx 12:30
> this evening the hard disk went crazy, i have been out of town lately and
> have not checked any of the machines, when i did the CPU usage was at 15%
> which on this machine it never gets above 1 maybe 1.5. So i looked, and i
> had nearly 150 processes on the box, 9 running. When i got the daily run
> output i noticed the setuid files have changed. Wondering if this box got
> hacked and if so where to look to confirm this? And if so, what to do?
> Thanks.
> Dave.

This is what you'd expect if someone did a 'make world' on that box -
are you sure there were no other admins online who might have rebuilt
or updated it?  If so, then something stranger is going on.

Kris


pgp0.pgp
Description: PGP signature


Re: Will FreeBSD work on my hardware?

2004-04-13 Thread Vulpes Velox
On Tue, 13 Apr 2004 22:16:08 -0600
[EMAIL PROTECTED] wrote:

> I'd like to try FreeBSD, but I have some problem hardware that I'm
> having trouble getting Linux on.  It's an AMD64 with an NForce
> ethernet, and an external Iomega Zip Drive plugged into the USB
> port.  Also, I want to dual-boot with Window XP, and I want read
> access to the NTFS partition.  Is it doable? 

Read up on what hardware is supported on freebsd.org and the handbook.

Yeah, dualbooting that is perfectly ok.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PCI Graphic card install

2004-04-13 Thread Vulpes Velox
On Wed, 14 Apr 2004 12:36:21 +0930
"Jeffrey P. Toth" <[EMAIL PROTECTED]> wrote:

> Where can I find some information about how to install a graphics
> card on FreeBSD? I had no problem finding the information and
> installing the sound card but cannot find anything about how to
> install the graphics card.

Look under the handbook about X. It contians a nice intro to it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: jumping mouse in X

2004-04-13 Thread Vulpes Velox
On Tue, 13 Apr 2004 20:55:08 -0400 (EDT)
[EMAIL PROTECTED] wrote:

> ...
> something I found in XFree86log file:
> (**) Option "Protocol" "auto"
> (**) Mouse0: Protocol: "auto"
> (**) Option "CorePointer"
> (**) Mouse0: Core Pointer
> (**) Option "Device" "/dev/psm0"
> (**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
> (==) Mouse0: Buttons: 3
> (II) Keyboard "Keyboard0" handled by legacy driver
> (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
> (II) Mouse0: SetupAuto: hw.iftype is 3, hw.model is 0
> (II) Mouse0: SetupAuto: protocol is SysMouse
> (WW) fcntl(6, O_ASYNC): Inappropriate ioctl for device
> 
> is this causing the trouble?
> ---
> 
> Hi freebsd-er, I recently upgraded my m/board and finally get
> x-window to work again but my mouse is all very jumpy, I seem to
> lose control over it and very hard to make it stay on one position.
> I have been trying to see what people have to say on the internet.
> Something I came across is that the driver for vedio card might
> affect it. My cedio chip is ProSavageDDR K4M266, I can't run x-win
> when using original FBSD driver, but after installing a 3-rd party
> driver, I was able to get it up, and everything looked the way I
> wanted it! But just this mouse, it went crazy. It's a 2-button ps/2
> mouse, I tried "auto" or "ps/2" protocol in X config, nothing
> changed, I tried to put some moused related stuff in /etc/rc.conf,
> then I get a nice working mouse in my console, but my x-win won't
> start up because the mouse device is "busy". Any help! thanks!


No clue if that would cuase it. Try asking around on the X mailing
list.

The only time I've had this problem has been a crappy mouse, but given
it works works on console now, I think that can be ruled out. Try
setting the device as /dev/sysmouse. That iirc is the device that
moused kicks stuff out to or something like that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: have i been hacked?

2004-04-13 Thread Luke Kearney

On Wed, 14 Apr 2004 00:51:06 -0400
"dave" <[EMAIL PROTECTED]> granted us these pearls of wisdom:

> Hello,
> Wondering if a system on my network has been hacked? At approx 12:30
> this evening the hard disk went crazy, i have been out of town lately and
> have not checked any of the machines, when i did the CPU usage was at 15%
> which on this machine it never gets above 1 maybe 1.5. So i looked, and i
> had nearly 150 processes on the box, 9 running. When i got the daily run
> output i noticed the setuid files have changed. Wondering if this box got
> hacked and if so where to look to confirm this? And if so, what to do?
> Thanks.
> Dave.
> 
> 
> Checking setuid files and devices:
> ls: Terminated
> : No such file or directory
> 
> guardian.davemehler.net setuid diffs:
> 1,52d0
> < 94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
> < 117807 -r-sr-x---  1 root  operator  421832 Jun  4 21:55:39 2003
> /sbin/mksnap_ffs
> < 117826 -r-sr-xr-x  1 root  wheel 451668 Jun  4 21:55:43 2003
> /sbin/ping
> < 117827 -r-sr-xr-x  1 root  wheel 463444 Jun  4 21:55:43 2003
> /sbin/ping6
> < 117839 -r-sr-x---  1 root  operator  431052 Jun  4 21:55:46 2003
> /sbin/shutdown
> < 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
> /usr/bin/at
> < 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
> /usr/bin/atq
> < 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
> /usr/bin/atrm
> < 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
> /usr/bin/batch
> < 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
> /usr/bin/chfn
> < 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
> /usr/bin/chpass
> < 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
> /usr/bin/chsh
> < 94553 -r-sr-xr-x  1 root  wheel27072 Jun  4 21:56:56 2003
> /usr/bin/crontab
> < 94384 -r-xr-sr-x  1 root  kmem   15416 Jun  4 21:56:35 2003
> /usr/bin/fstat
> < 94419 -r-sr-xr-x  1 root  wheel   7804 Jun  4 21:56:39 2003
> /usr/bin/lock
> < 94422 -r-sr-xr-x  1 root  wheel  18944 Jun  4 21:56:39 2003
> /usr/bin/login
> < 94560 -r-sr-sr-x  1 root  daemon   25344 Jun  4 21:57:13 2003
> /usr/bin/lpq.bak
> < 94561 -r-sr-sr-x  1 root  daemon   29216 Jun  4 21:57:14 2003
> /usr/bin/lpr.bak
> < 94562 -r-sr-sr-x  1 root  daemon   24108 Jun  4 21:57:14 2003
> /usr/bin/lprm.bak
> < 94441 -r-xr-sr-x  1 root  kmem  100776 Jun  4 21:56:41 2003
> /usr/bin/netstat
> < 94448 -r-sr-xr-x  1 root  wheel   4452 Jun  4 21:56:41 2003
> /usr/bin/opieinfo
> < 94450 -r-sr-xr-x  1 root  wheel11612 Jun  4 21:56:42 2003
> /usr/bin/opiepasswd
> < 94452 -r-sr-xr-x  2 root  wheel 5920 Jun  4 21:56:42 2003
> /usr/bin/passwd
> < 94458 -r-sr-xr-x  1 root  wheel11584 Jun  4 21:56:42 2003
> /usr/bin/quota
> < 94461 -r-sr-xr-x  1 root  wheel11008 Jun  4 21:56:42 2003
> /usr/bin/rlogin
> < 94465 -r-sr-xr-x  1 root  wheel 8564 Jun  4 21:56:43 2003 /usr/bin/rsh
> < 94478 -r-sr-xr-x  1 root  wheel12308 Jun  4 21:56:44 2003 /usr/bin/su
> < 94517 -r-xr-sr-x  1 root  kmem 15532 Jun  4 21:56:48 2003
> /usr/bin/vmstat
> < 94519 -r-xr-sr-x  1 root  tty  10516 Jun  4 21:56:48 2003
> /usr/bin/wall
> < 94527 -r-xr-sr-x  1 root  tty   8100 Jun  4 21:56:49 2003
> /usr/bin/write
> < 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
> /usr/bin/ypchfn
> < 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
> /usr/bin/ypchpass
> < 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
> /usr/bin/ypchsh
> < 94452 -r-sr-xr-x  2 root  wheel 5920 Jun  4 21:56:42 2003
> /usr/bin/yppasswd
> < 96169 -r-sr-xr-x  1 root  wheel 3540 Jun  4 21:55:29 2003
> /usr/libexec/pt_chown
> < 96150 -r-xr-sr-x  1 root  smmsp   629176 Jun  4 21:57:15 2003
> /usr/libexec/sendmail/sendmail
> < 108075 -rwsr-xr-x  1 root  daemon8624 Dec 21 18:00:36 2003
> /usr/local/bin/lppasswd
> < 73521 -rwsr-xr-x  1 root  wheel   285508 May 23 09:27:21 2003
> /usr/local/bin/screen
> < 72487 -rws--x--x  1 root  wheel   741976 May 23 11:00:24 2003
> /usr/local/bin/sperl5.6.1
> < 78399 ---s--x--x  1 root  wheel86484 May 23 11:56:11 2003
> /usr/local/bin/sudo
> < 77227 -rwxr-sr-x  1 root  maildrop  108333 Aug 25 02:17:22 2003
> /usr/local/sbin/postdrop
> < 77253 -rwxr-sr-x  1 root  maildrop   97362 Aug 25 02:17:23 2003
> /usr/local/sbin/postqueue
> < 96371 -r-xr-sr-x  1 root  daemon 45704 Jun  4 21:57:13 2003
> /usr/sbin/lpc
> < 96274 -r-sr-xr-x  1 root  wheel  22448 Jun  4 21:57:00 2003
> /usr/sbin/mrinfo
> < 96276 -r-sr-xr-x  1 root  wheel  31956 Jun  4 21:57:00 2003
> /usr/sbin/mtrace
> < 96418 -r-sr-xr--  1 root  network   367336 Jun  4 21:57:04 2003
> /usr/sbin/ppp
> < 96419 -r-sr-x---  1 root  dialer106692 Jun  4 21:57:05 2003
> /usr/sbin/pppd
> < 96328 -r-sr-x---  1 root  network14516 Jun  4 21:57:07 2003
> /usr/sbin/sliplogin
> < 96337 -r-sr-xr-x  1 root  wheel  16288 Jun  4 21:57:09 2003
> /usr/sb

Re: vmware trouble

2004-04-13 Thread Yuriy Gerasimov
dick hoogendijk wrote:
On 09 Apr Yuriy Gerasimov wrote:

I have FreeBSD 5.2-RELEASE and installed vmware
vmware3-3.2.1.2242_6,1.
I cannot Power it On. I have just error

Cannot attach shared memory segment: Invalid argument.
Failed to initialize SVGA device.
I tryed to set up different OS there (DOS and Win98) but always I had 
this error.


You have to read the documentation on this. You need to make sure some
kernel settings are in order and you also have to recompile your kernel
probably. It's all in the vmware3 port directory (the info that is..)
Could you send me a link on documents about this?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: have i been hacked?

2004-04-13 Thread Micheal Patterson

- Original Message - 
From: "dave" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 11:51 PM
Subject: have i been hacked?


> Hello,
> Wondering if a system on my network has been hacked? At approx 12:30
> this evening the hard disk went crazy, i have been out of town lately and
> have not checked any of the machines, when i did the CPU usage was at 15%
> which on this machine it never gets above 1 maybe 1.5. So i looked, and i
> had nearly 150 processes on the box, 9 running. When i got the daily run
> output i noticed the setuid files have changed. Wondering if this box got
> hacked and if so where to look to confirm this? And if so, what to do?
> Thanks.
> Dave.
>
>
> Checking setuid files and devices:
> ls: Terminated
> : No such file or directory
>
> guardian.davemehler.net setuid diffs:
> 1,52d0
> < 94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
> < 117807 -r-sr-x---  1 root  operator  421832 Jun  4 21:55:39 2003

Compared to my 4.9 systems, your rcp is nearly twice the size as it should
be.

-r-sr-xr-x  1 root  wheel  251444 Apr  9 12:05 rcp

You didn't say which version you were running but if it's a 4.x, then I'd
say you've got a serious issue here. If you're running 5.x then I can't say.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


have i been hacked?

2004-04-13 Thread dave
Hello,
Wondering if a system on my network has been hacked? At approx 12:30
this evening the hard disk went crazy, i have been out of town lately and
have not checked any of the machines, when i did the CPU usage was at 15%
which on this machine it never gets above 1 maybe 1.5. So i looked, and i
had nearly 150 processes on the box, 9 running. When i got the daily run
output i noticed the setuid files have changed. Wondering if this box got
hacked and if so where to look to confirm this? And if so, what to do?
Thanks.
Dave.


Checking setuid files and devices:
ls: Terminated
: No such file or directory

guardian.davemehler.net setuid diffs:
1,52d0
< 94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
< 117807 -r-sr-x---  1 root  operator  421832 Jun  4 21:55:39 2003
/sbin/mksnap_ffs
< 117826 -r-sr-xr-x  1 root  wheel 451668 Jun  4 21:55:43 2003
/sbin/ping
< 117827 -r-sr-xr-x  1 root  wheel 463444 Jun  4 21:55:43 2003
/sbin/ping6
< 117839 -r-sr-x---  1 root  operator  431052 Jun  4 21:55:46 2003
/sbin/shutdown
< 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
/usr/bin/at
< 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
/usr/bin/atq
< 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
/usr/bin/atrm
< 94338 -r-sr-xr-x  4 root  wheel  21608 Jun  4 21:56:31 2003
/usr/bin/batch
< 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
/usr/bin/chfn
< 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
/usr/bin/chpass
< 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
/usr/bin/chsh
< 94553 -r-sr-xr-x  1 root  wheel27072 Jun  4 21:56:56 2003
/usr/bin/crontab
< 94384 -r-xr-sr-x  1 root  kmem   15416 Jun  4 21:56:35 2003
/usr/bin/fstat
< 94419 -r-sr-xr-x  1 root  wheel   7804 Jun  4 21:56:39 2003
/usr/bin/lock
< 94422 -r-sr-xr-x  1 root  wheel  18944 Jun  4 21:56:39 2003
/usr/bin/login
< 94560 -r-sr-sr-x  1 root  daemon   25344 Jun  4 21:57:13 2003
/usr/bin/lpq.bak
< 94561 -r-sr-sr-x  1 root  daemon   29216 Jun  4 21:57:14 2003
/usr/bin/lpr.bak
< 94562 -r-sr-sr-x  1 root  daemon   24108 Jun  4 21:57:14 2003
/usr/bin/lprm.bak
< 94441 -r-xr-sr-x  1 root  kmem  100776 Jun  4 21:56:41 2003
/usr/bin/netstat
< 94448 -r-sr-xr-x  1 root  wheel   4452 Jun  4 21:56:41 2003
/usr/bin/opieinfo
< 94450 -r-sr-xr-x  1 root  wheel11612 Jun  4 21:56:42 2003
/usr/bin/opiepasswd
< 94452 -r-sr-xr-x  2 root  wheel 5920 Jun  4 21:56:42 2003
/usr/bin/passwd
< 94458 -r-sr-xr-x  1 root  wheel11584 Jun  4 21:56:42 2003
/usr/bin/quota
< 94461 -r-sr-xr-x  1 root  wheel11008 Jun  4 21:56:42 2003
/usr/bin/rlogin
< 94465 -r-sr-xr-x  1 root  wheel 8564 Jun  4 21:56:43 2003 /usr/bin/rsh
< 94478 -r-sr-xr-x  1 root  wheel12308 Jun  4 21:56:44 2003 /usr/bin/su
< 94517 -r-xr-sr-x  1 root  kmem 15532 Jun  4 21:56:48 2003
/usr/bin/vmstat
< 94519 -r-xr-sr-x  1 root  tty  10516 Jun  4 21:56:48 2003
/usr/bin/wall
< 94527 -r-xr-sr-x  1 root  tty   8100 Jun  4 21:56:49 2003
/usr/bin/write
< 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
/usr/bin/ypchfn
< 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
/usr/bin/ypchpass
< 94353 -r-sr-xr-x  6 root  wheel  17892 Jun  4 21:56:32 2003
/usr/bin/ypchsh
< 94452 -r-sr-xr-x  2 root  wheel 5920 Jun  4 21:56:42 2003
/usr/bin/yppasswd
< 96169 -r-sr-xr-x  1 root  wheel 3540 Jun  4 21:55:29 2003
/usr/libexec/pt_chown
< 96150 -r-xr-sr-x  1 root  smmsp   629176 Jun  4 21:57:15 2003
/usr/libexec/sendmail/sendmail
< 108075 -rwsr-xr-x  1 root  daemon8624 Dec 21 18:00:36 2003
/usr/local/bin/lppasswd
< 73521 -rwsr-xr-x  1 root  wheel   285508 May 23 09:27:21 2003
/usr/local/bin/screen
< 72487 -rws--x--x  1 root  wheel   741976 May 23 11:00:24 2003
/usr/local/bin/sperl5.6.1
< 78399 ---s--x--x  1 root  wheel86484 May 23 11:56:11 2003
/usr/local/bin/sudo
< 77227 -rwxr-sr-x  1 root  maildrop  108333 Aug 25 02:17:22 2003
/usr/local/sbin/postdrop
< 77253 -rwxr-sr-x  1 root  maildrop   97362 Aug 25 02:17:23 2003
/usr/local/sbin/postqueue
< 96371 -r-xr-sr-x  1 root  daemon 45704 Jun  4 21:57:13 2003
/usr/sbin/lpc
< 96274 -r-sr-xr-x  1 root  wheel  22448 Jun  4 21:57:00 2003
/usr/sbin/mrinfo
< 96276 -r-sr-xr-x  1 root  wheel  31956 Jun  4 21:57:00 2003
/usr/sbin/mtrace
< 96418 -r-sr-xr--  1 root  network   367336 Jun  4 21:57:04 2003
/usr/sbin/ppp
< 96419 -r-sr-x---  1 root  dialer106692 Jun  4 21:57:05 2003
/usr/sbin/pppd
< 96328 -r-sr-x---  1 root  network14516 Jun  4 21:57:07 2003
/usr/sbin/sliplogin
< 96337 -r-sr-xr-x  1 root  wheel  16288 Jun  4 21:57:09 2003
/usr/sbin/timedc
< 96338 -r-sr-xr-x  1 root  wheel  23392 Jun  4 21:57:09 2003
/usr/sbin/traceroute
< 96339 -r-sr-xr-x  1 root  wheel  16788 Jun  4 21:57:09 2003
/usr/sbin/traceroute6
< 96340 -r-xr-sr-x  1 root  kmem8512 Jun  4 21:57:09 2003
/usr/sbin/trpt
mv: rename /var/log/setuid.today to /var/log/setuid.yesterd

Re: Unusual login requirement

2004-04-13 Thread Micheal Patterson

- Original Message - 
From: "Doug Hardie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 11:12 PM
Subject: Unusual login requirement


> I am trying to figure out how to implement an unusual login requirement
> and haven't found a good approach yet.  What I need is to have a
> specific user id that when it is logged in it executes a specific
> script and then immediately logs out.  Basically what it needs to do is
> run a make that builds a CD from a bunch of files and then burns the
> CD.  Obviously a blank CD would need to be in the burner first.  I
> don't want a general login as this would be used by a person who should
> not have access to the system.  I just need him to be able to burn a CD
> frequently.
>
> My first throught was to create a script and set it as the shell in the
> passwd file and add it to /etc/shells.  Is that the best approach?  I
> am not concerned about the user breaking out of the script as he is
> trusted.  I just don't want to create a regular user account for him.
> The server is running FreeBSD 4.6.  Thanks,
>
> -- Doug
>


If you use bash, you can create your script, start it in the .profile and
have exit directly below it. That way, when the script finishes, it will
exit out. Also, even though this is not a concern for you, this is a
safeguard should they break out of the script, it kills the session too.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: Will FreeBSD work on my hardware?

2004-04-13 Thread Joshua Lokken
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2004-04-13 21:23]:
> I'd like to try FreeBSD, but I have some problem hardware that I'm having 
> trouble getting Linux on.  It's an AMD64 with an NForce ethernet, and an 
> external Iomega Zip Drive plugged into the USB port.  Also, I want to 
> dual-boot with Window XP, and I want read access to the NTFS partition.  Is 
> it doable? 

Well, the chip and NIC are supported by FreeBSD 5.x; I'm not sure
about the Zip drive, but USB support is there.  You can certainly
dual-boot FreeBSD and Windows XP, and read access to the NTFS
partition.  It sounds definitely doable;)  Good luck, and welcome to
FreeBSD.

-- 
Joshua

Intuition, however illogical, is recognized as a command prerogative.
-- Kirk, "Obsession", stardate 3620.7

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


Re: Will FreeBSD work on my hardware?

2004-04-13 Thread Benjamin Meade
[EMAIL PROTECTED] wrote:
I'd like to try FreeBSD, but I have some problem hardware that I'm 
having trouble getting Linux on.  It's an AMD64 with an NForce ethernet, 
and an external Iomega Zip Drive plugged into the USB port.  Also, I 
want to dual-boot with Window XP, and I want read access to the NTFS 
partition.  Is it doable?
Everything is doable.

Firstly, decide on which release you want - 5.x or 4.x. 4.x is the stable 
version, but I don't know if it supports the amd64 chipset. According to the 
website (http://www.freebsd.org/platforms/amd64.html) it is a fully supported 
chipset, but I don't see mention of it under the 4.x release notes. Maybe 
somebody more familar with the 4.x series could fill in this blank.

For compatable hardware, see
http://www.freebsd.org/releases/5.2.1R/hardware.html
or
http://www.freebsd.org/releases/4.9R/hardware.html
Dual booting with windows should present no major problems as long as you read 
the manual before experimenting. And backup your data beforehand. Searching 
through the archives of this list seems to indicate that GAG is the way to go 
(http://gag.sourceforge.net/). I've never acutally used it, so do a bit of 
research before jumping in.

Readonly access to NTFS partitions should work fine. Writing is even supported 
to a limited extent. See 
http://www.freebsd.org/cgi/man.cgi?query=mount_ntfs&sektion=8
for more info.

Also, google can solve a lot of time. (Searching for, say, "howto dual boot 
freebsd windows xp"), and the freebsd website has a LOT of info.

Hope this helps.

--
Benjamin Meade
System Administrator
LanWest Pty Ltd
Ph:  +61 (8) 9440 3033
Fax: +61 (8) 9440 3370
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ppp problems : Modem connection issues on FreeBSD 5.2.1

2004-04-13 Thread Niraj Kumar
JJB wrote:

First of all you are using an development version of Freebsd which
has major kernel differences such as addition of kernel threading
and an completely new file system, besides a bunch of known bugs.
Second that web page you reference only says it has been tested on
openbsd and that it's an beta version with big warning message. You
are making an very big and unsupported foolish assumption that it
will work on FreeBSD at all, more less on an development version of
Freebsd.
I recommend that you try it on Freebsd 4.9 the stable production
version. It more closely resembles openbsd than the development 5.x
Thanks a lot for your suggestion . But I intent to run FreeBSD 5.2.1 
only and not 4.9 because
I need ufs2 for my other work (eg. I am porting ufs2 to linux ) .
I did a bit of tweaking to compile this program (which was for openbsd) .
on freebsd and had to do a lot of configuration changes for running
eci-load1 and eci-load2 successfully .

versions do. I would say this  message 'Child failed (errdead)' is
the problem that caused the "Too many LCP NAKs sent - abandoning
negotiation" log message.  You should have posted the ppp.conf file.
I will post ppp.conf in next mail .(I  am  currently away from that 
machine) .
For me ,the problem appears to be in ppp  program and not in eciadsl .

Try adding this to your ppp.conf
disable pred1 deflate lqr# compression features
denypred1 deflate lqr# line quality reporting
disable ipv6 # turn off ipv6 challenge
Will try this and let you know the results.

As an guide, I would plug an ms/windows box into your DSL modem and
see what it says to verify you really need PPPoA.
I know this for sure because as I said in my first mail , I am using the 
same
program on Linux  (on the same box with same modem ) to successfully 
connect
to the provider.

FreeBSD 'user ppp' also has pppoa and pppoe options. Most DSL modems
work with pppoe. Read man ppp and the official handbook at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Niraj Kumar
Sent: Tuesday, April 13, 2004 2:57 AM
To: [EMAIL PROTECTED]
Subject: ppp problems : Modem connection issues on FreeBSD 5.2.1
 Hi,

I have a DSL modem with Globespan chipset.
I am trying to use eciadsl usemode program
 ( http://eciadsl.flashtux.org/download.php?lang=en )
on FreeBSD 5.2.1 (AMD Athlon 2600 , A7N8X-VM  motherboard).
However , I am getting the following error and
ppp connect failed . See the copy/paste from the terminal below :
# ppp -background adsl
Working in background mode
Using interface: tun0
Child failed (errdead)
After  some more digging , I was able to enable logging . (See log
below)
From whatever I see in the log , I guess the culprit is the line
which
says :
"Too many LCP NAKs sent - abandoning negotiation" .  But I don't
know
how to address this problem .
Could anybody please help me on this .
NOTE  that I am able to connect to my provider using the 0.8 version
of
usermode eciadsl program on Linux , on the same machine .
Also , is there any other program which can be used on FreeBSD for
this
purpose ? FYI , I have to use *ppp over ATM ( PPPoA* == RFC2364 )
for this connection .
If you need any more info , please let me know.
thanks
Niraj
-ppp.log ---

Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: Connected!
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: opening -> dial
Apr  8 20:00:53  ppp[638]: tun0: Chat: deflink: Dial attempt 1 of
1
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: dial -> carrier
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: carrier -> login
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: login -> lcp
Apr  8 20:00:58  ppp[638]: tun0: Phase: deflink: Too many LCP NAKs
sent
- abandoning negotiation
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: Disconnected!
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: lcp -> logout
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: logout -> hangup
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: Disconnected!
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: Connect time: 6
secs:
1106 octets in, 558 octets out
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: 56 packets in, 32
packets out
Apr  8 20:00:59  ppp[638]: tun0: Phase:  total 277 bytes/sec, peak
35
bytes/sec on Thu Apr  8 20:00:58 2004
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: HUPing 640
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: hangup -> closed
Apr  8 20:00:59  ppp[638]: tun0: Phase: bundle: Dead
Apr  8 20:00:59  ppp[638]: tun0: Phase: PPP Terminated (normal).
Apr  8 20:00:59  ppp[637]: tun0: Phase: Parent: Child failed
(errdead)
Apr  8 20:00:59  ppp[638]: tun0: Chat: Parent notified of failure
---
---




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.

problems with .bashrc

2004-04-13 Thread fudo
Tue Apr 13 19:24:27 PDT 2004, Parv at pair.com wrote:

>> There are several uncommented alias lines in the .shrc file, but
>> none of them work.  From what I've read, bash should read .profile
>> and .shrc, but just
> There is no mention of '.shrc' in bash(1) (2.05b.007 version here).

I noticed that. "From what I've read" refers to what's in FreeBSD 
Unleashed, 2nd ed. I wonder if the authors just got it wrong; their 
example for changing PS1 to show the working directory at the prompt is 
wrong. Anyone familiar with the book care to comment?

> So you tried putting debugging statements in the four files so far
> mentioned, and got the output from them but aliasing consistently
> failed?
Ah, no. I've just been editing the files, and then logging out and back 
in to see if things work.

> 0. Create .bash{_profile,rc} properly.  Read bash(1); search the
>Internet, comp.unix.{shell,misc,questions} newsgroups in
>particular, for examples, solutions/hints.
Kinda looks like I've been barking up the wrong tree, given your 
examples. More research in order, thanks for the help (Viktor too).

[EMAIL PROTECTED]

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


Will FreeBSD work on my hardware?

2004-04-13 Thread apeak
I'd like to try FreeBSD, but I have some problem hardware that I'm having 
trouble getting Linux on.  It's an AMD64 with an NForce ethernet, and an 
external Iomega Zip Drive plugged into the USB port.  Also, I want to 
dual-boot with Window XP, and I want read access to the NTFS partition.  Is 
it doable? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Unusual login requirement

2004-04-13 Thread Doug Hardie
I am trying to figure out how to implement an unusual login requirement 
and haven't found a good approach yet.  What I need is to have a 
specific user id that when it is logged in it executes a specific 
script and then immediately logs out.  Basically what it needs to do is 
run a make that builds a CD from a bunch of files and then burns the 
CD.  Obviously a blank CD would need to be in the burner first.  I 
don't want a general login as this would be used by a person who should 
not have access to the system.  I just need him to be able to burn a CD 
frequently.

My first throught was to create a script and set it as the shell in the 
passwd file and add it to /etc/shells.  Is that the best approach?  I 
am not concerned about the user breaking out of the script as he is 
trusted.  I just don't want to create a regular user account for him.  
The server is running FreeBSD 4.6.  Thanks,

-- Doug

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


Re: Now where should I post. :>

2004-04-13 Thread Ion-Mihai Tetcu

[ 72 chars / line, please ]


On Tue, 13 Apr 2004 01:29:34 +
thib <[EMAIL PROTECTED]> wrote:

> Good day/night list.
> 
> I just made a patch for cat(1) wich simply aborts if you try to cat a
> directory. Now that I have the patch file and everything I stumbled on
> where I should post it and ask for it to be reviewd and perhaps
> commited. I thougt of -hackers ( Unlikely but I have seen a few posts
> there but since cat is a contributed software I don't know ) and then
> I thougt of -ports but since this not a port of cat(1) so I don't
> really think so. Then I thougt I should report this to the cat (gnu)
> project it self but since I'm using the FreeBSD API for this I did not
> think so. And then I thougt about obrien@ since this:
> "# $FreeBSD: src/bin/cat/Makefile,v 1.7 2001/12/04 01:57:37 obrien Exp
> $" is in the Makefile for cat(1) but I really don't want to bother him
> if I'm wrong.
> 
> Anyways I thank you for your time and any pointers whould be welcome.

Yous should make a PR with you work.

See:
http://www.freebsd.org/cgi/man.cgi?query=send-pr&sektion=1
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html

But this has been discussed a about year ago (on current I think) and
from what I remember it remained the way it is because "it's use job to
use cat on non.directories" or something. Note that I'm writing from memory ;)



-- 
IOnut
Unregistered ;) FreeBSD "user"

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


Re: portaudit

2004-04-13 Thread Ion-Mihai Tetcu
On Tue, 13 Apr 2004 14:04:04 -0600 (MDT)
RJ45 <[EMAIL PROTECTED]> wrote:

> 
> Hello,
> I installed portaudit.
> Since I installed it I noticed there are always ESTABLISHED connections to
> some ftp servers:
> 
> tcp4   0 20  venus.51739freebsd.utcluj.r.ftp
> ESTABLISHED
> tcp4   0 20  venus.49718gort.ludd.ltu.se.ftp
> ESTABLISHED
> tcp4   0  6  venus.49706www.freebsd.cz.ftp
> ESTABLISHED
> tcp4   0  6  venus.49688gort.ludd.ltu.se.ftp
> ESTABLISHED
> tcp4   0 20  venus.49682ftp.jpix.ad.jp.ftp
> ESTABLISHED
> 
> and I noticed I have a constant traffic rate on my ADSL link of about
> 20 Kb/sec inbound and 20 Kb/sec outbound, always day and night.
> is it normal?

No. Edit /usr/local/etc/portaudit.conf and add something like:
FETCH_BEFORE_ARGS=-vvv

after that do a ps and kill -9 the fetchaudit (or portaudit) process.

Watch your daily mail and send the output and the content of
portaudit.conf.

But I doubt the the output traffic is portaudit fault.

-- 
IOnut
Unregistered ;) FreeBSD "user"

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


mirroring: cvsup vs. rsync

2004-04-13 Thread David Fleck
Sorry, only tangentially a *BSD question, as it involves CVSup

I'm trying to set up a mirror of a CVS repository at a remote site.  The
repository has 1000's of fairly small files, and is about 75MB in total
size.

This seemed like an obvious job for CVSup, so I got a recent version
(16.1h) of the sources, built and installed on 2 Red Hat machines, one
local and one remote, set up the server directories and files, and wrote a
supfile for the client.  It seems to work ok.

The thing that surprises me is that I also tried mirroring the same
repository with rsync (using the -az options), and rsync is *much* faster,
so far the speed increases for rsync are on the order of 5X.

This makes me wonder if I'm using CVSup right.  I'm not using anything but
default settings for cvsupd (except for -b); is there some common set of
options that would give me a noticable speed increase?

Any suggestions welcomed, thanks.


--
David Fleck
[EMAIL PROTECTED]

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


Re: PCI Graphic card install

2004-04-13 Thread jason
Jeffrey P. Toth wrote:

Where can I find some information about how to install a graphics card 
on FreeBSD? I had no problem finding the information and installing 
the sound card but cannot find anything about how to install the 
graphics card.

Thank you.

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

The most difference between a sound and video installation is the slot 
it goes in.  If you have done a sound card, you will be fine.  You must 
have either loaded or compiled in the driver for the sound card, no 
difference between the two there.  Should be a snap.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Debuggin a FreeBSD 5.2.1 kernel crash

2004-04-13 Thread Jorge Mario G.
Hi there
I patched my 5.2.1 system with ALTQ
now the systems is very unstable
the kernel dies each 2, 3 hours
I've been diggin the logs I dont see anything special

How can I track the problem and report it??


Thanks

=


_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4.4BSD-Lite source code

2004-04-13 Thread Tim McMillen
On Tue, 2004-04-13 at 12:56, Hanno wrote:
> Hi, Im currently using the book by Gary R. Wright and W Richard Stevens
> TCP/IP Illustrated Volume 2, which uses the 4.4BSD-Lite source code as
> example. My question : Up to which version of FreeBSD is the 4.4BSD-Lite
> code used ? 

4.4BSD-lite was the BSD source code after it was "sanitized" as a result
of the AT&T lawsuit.  It was incorporated into FreeBSD 2.0 if history
memory serves me right.

> Has it changed much

Yes tons.  Very little of the original BSD lite code remains in current
versions from what I have read.

>  and if so is the source code for older
> version of FreeBSD and/or the code for 4.4BSD-Lite still available for
> download somewhere ?

Many FreeBSD mirrors still carry code to FreeBSD 2.0, but that is not
what you want if you just want 4.4BSD-lite.  I think the BSD-lite code
is still available as a tarball to download from various places.  40MB
or so if I recall.  I couldn't find it from a very quick search, but I'm
sure you could find it.  It may even be on ftp.FreeBSD.org if you know
where to look.

hth
Tim



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


PCI Graphic card install

2004-04-13 Thread Jeffrey P. Toth
Where can I find some information about how to install a graphics card 
on FreeBSD? I had no problem finding the information and installing the 
sound card but cannot find anything about how to install the graphics card.

Thank you.

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


Re: problems with .bashrc

2004-04-13 Thread Viktor Lazlo
On Tue, 13 Apr 2004, fudo wrote:

> I'm new to FreeBSD, and to bash. I'm running FreeBSD 5.0, and added
> bash from the cd during install. There are .profile and .shrc files in
> my home directory; .profile references .shrc with ENV=$HOME/.shrc;
> export ENV. There are several uncommented alias lines in the .shrc
> file, but none of them work. From what I've read, bash should read
> .profile and .shrc, but just in case, I tried copying them to
> .bash_profile and .bashrc, changing ENV to =$HOME/.bashrc, and renaming
> the original files, but the aliases still don't work. Aliases are
> formatted: alias ll='ls -laFo'; entering that at the prompt and it
> works fine. Seems like bash isn't reading the rc file. Obviously, I'm
> missing something; any suggestions appreciated. Thanks.

I think what is happening is the aliases in .shrc are not read directly by
bash unless invoked as sh, and the .shrc assigned to ENV is only read for
non-login shells; I'm not sure why they wouldn't work when entered in
.bash_profile, but the fact that they don't suggests a conflict between
the files the commands are entered in and the order in which they are
read.

When invoked as bash (not sh) the start-up files that bash reads for a
login shell are, in order:

  i) /etc/profile

and then the first of any of the following that exists:

 ii) ~/.bash_profile OR
iii) ~/.bash_login OR
 iv) ~/.profile

Non-login interactive bash shells (when changing or starting new shells
during a session) read only ~/.bashrc.

Non-login non-interactive bash shells (ie-when launched from inside a
script) check the startup file in $BASH_ENV, or $ENV if that doesn't
exist.

An easy way to make sure all three invocations of bash reference the same
start-up file is:

 i) use .bashrc as your customized startup file

ii) create a .bash_profile containing only:

export BASH_ENV=~/.bashrc
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi

This way, after reading /etc/profile a login shell will read the first
file found, ~/.bash_profile, which in turn reads ~/.bashrc

Non-login interactive shells will read ~/.bashrc as usual

Non-login non-interactive shells will read the ~/.bashrc assigned in
$BASH_ENV.

Cheers,

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


Re: problems with .bashrc

2004-04-13 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Parv thusly...
>
> In my ~/.bashrc, file w/ alias listing is (eventually) sourced.  if
> interested in my settings (skip to "Modern Bourne Shell and
> Compatibles") ...
> 
>   http://parv.holy.cow/parv/comp/unix/cf/

That URL would work if you had access to my computer.  Try this
instead...

  http://www103.pair.com/parv/comp/unix/cf/


  - Parv

-- 

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


Re: problems with .bashrc

2004-04-13 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote fudo thusly...
>
> There are .profile and .shrc files in my home directory; .profile
> references .shrc with ENV=$HOME/.shrc; export ENV.

See below regarding $ENV.


> There are several uncommented alias lines in the .shrc file, but
> none of them work.  From what I've read, bash should read .profile
> and .shrc, but just

There is no mention of '.shrc' in bash(1) (2.05b.007 version here).


> in case, I tried copying them to .bash_profile and .bashrc, changing
> ENV to =$HOME/.bashrc, and renaming the original files, but the
> aliases still don't work.

Aliases /should/ work, w/o futzing w/ $ENV, as expected if listed in
.bashrc, all other things being sane.


> Aliases are formatted: alias ll='ls -laFo'; entering that at the
> prompt and it works fine. Seems like bash isn't reading the rc file.

So you tried putting debugging statements in the four files so far
mentioned, and got the output from them but aliasing consistently
failed?


> Obviously, I'm missing something; any suggestions appreciated.
> Thanks.

You have at least three options

 2. Invoke bash as sh or w/ --posix option (from bash(1)) ...

When invoked as an interactive shell with the name sh, bash looks
for the variable ENV, expands its value  if  it  is defined,  and
uses the expanded value as the name of a file to read and execute.
Since a shell invoked as sh does not attempt to read and execute
commands from any other startup files, the --rcfile option has no
effect.  A non-interactive shell invoked with  the name  sh  does
not attempt  to  read  any  other  startup files.  When invoked as
sh, bash enters posix mode after the startup files are read.

When bash is started in posix mode, as with the  --posix command
line option, it follows the POSIX standard for startup files.  In
this mode, interactive shells expand the ENV variable and commands
are  read  and executed  from  the  file whose  name is the
expanded value.  No other startup files are read.

 1. Source the damn .shrc file w/in .profile

 0. Create .bash{_profile,rc} properly.  Read bash(1); search the
Internet, comp.unix.{shell,misc,questions} newsgroups in
particular, for examples, solutions/hints.


In my ~/.bashrc, file w/ alias listing is (eventually) sourced.  if
interested in my settings (skip to "Modern Bourne Shell and
Compatibles") ...

  http://parv.holy.cow/parv/comp/unix/cf/


  - Parv

-- 

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


jumping mouse in X

2004-04-13 Thread tscheng
...
something I found in XFree86log file:
(**) Option "Protocol" "auto"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/psm0"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 3, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
(WW) fcntl(6, O_ASYNC): Inappropriate ioctl for device

is this causing the trouble?
---

Hi freebsd-er, I recently upgraded my m/board and finally get x-window to
work again but my mouse is all very jumpy, I seem to lose control over it
and very hard to make it stay on one position. I have been trying to see
what people have to say on the internet. Something I came across is that
the driver for vedio card might affect it. My cedio chip is ProSavageDDR
K4M266, I can't run x-win when using original FBSD driver, but after
installing a 3-rd party driver, I was able to get it up, and everything
looked the way I wanted it! But just this mouse, it went crazy. It's a
2-button ps/2 mouse, I tried "auto" or "ps/2" protocol in X config,
nothing changed, I tried to put some moused related stuff in /etc/rc.conf,
then I get a nice working mouse in my console, but my x-win won't start up
because the mouse device is "busy". Any help! thanks!

Eureka!

Best regards

Tsu-Fan Cheng
Department of Pathology
SUNY Stony Brook
Stony Brook, NY 11794
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


jumping mouse in X

2004-04-13 Thread tscheng
Hi freebsd-er, I recently upgraded my m/board and finally get x-window to
work again but my mouse is all very jumpy, I seem to lose control over it
and very hard to make it stay on one position. I have been trying to see
what people have to say on the internet. Something I came across is that
the driver for vedio card might affect it. My cedio chip is ProSavageDDR
K4M266, I can't run x-win when using original FBSD driver, but after
installing a 3-rd party driver, I was able to get it up, and everything
looked the way I wanted it! But just this mouse, it went crazy. It's a
2-button ps/2 mouse, I tried "auto" or "ps/2" protocol in X config,
nothing changed, I tried to put some moused related stuff in /etc/rc.conf,
then I get a nice working mouse in my console, but my x-win won't start up
because the mouse device is "busy". Any help! thanks!

Eureka!

Best regards

Tsu-Fan Cheng
Department of Pathology
SUNY Stony Brook
Stony Brook, NY 11794
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trying to compile Kismet...failing - help?

2004-04-13 Thread R. M. Los
'lo all...trying to get Kismet compiled on this laptop, and when I try
to build from source I get this...  I've got libpcap installed,
etc.but it still fails:


21:15:10 [EMAIL PROTECTED]/download/kismet-2004-04-R1 $ gmake
g++ -Ilibpcap-0.7.2 -O2 -Wall -DVERSION_MAJOR=\"2004\"
-DVERSION_MINOR=\"04\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat
TIMESTAMP`\" -g -O2 -g -O2 -c pcapsource.cc -o pcapsource.o
pcapsource.cc: In member function `virtual int
   PcapSource::FetchPacket(kis_packet*, uint8_t*, uint8_t*)':
pcapsource.cc:224: warning: unused variable `int ret'
pcapsource.cc: In member function `virtual int
PcapSourceRadiotap::OpenSource()
   ':
pcapsource.cc:918: error: `pcap_set_datalink' undeclared (first use this
   function)
pcapsource.cc:918: error: (Each undeclared identifier is reported only
once for
   each function it appears in.)
pcapsource.cc: In member function `bool
PcapSourceRadiotap::CheckForDLT(int)':
pcapsource.cc:929: error: `pcap_list_datalinks' undeclared (first use
this
   function)
gmake: *** [pcapsource.o] Error 1


To my non-guru mind it looks as if it's a code error internal to the
application I'm trying to make.  Could someone confirm for me, if I'm
right or wrong?

Thanks.

-- 
Mr. R M Los - Information Security Consultant
Ralph (at) boundariez (dot) com

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


updating ports and pkgdb

2004-04-13 Thread
I am nearing the end of a tortuous path to upgrade my system so that the
/usr/ports/ is in the correct format and the pkg db reflects the truth about
what I have installed.

Unfortunately, pkgdb -u does NOT rebuild from scratch, but simply refreshes
itself from the directories in /var/pkg/db.
Is there a way I could delete all those directories and make pkgdb go look and
rebuild the db/directories from what it finds?

Similarly, will cvsup ports-all delete directories which are now not used as
well as (of course) update entries and create "missing" directories? 
Otherwise, how would I find and remove the now-unused directories?

Thanks in advance :-)

--
Brian 



---
This message sent through Adam Internet Webmail
  http://www.adam.com.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


port redirection with pf

2004-04-13 Thread UBM

Hiho! :-)

I'm trying to get port rediretion with pf(4) to work, but i won't work.

I've googled and looked at the FAQ at www.openbsd.org/faq/pf, but
there's nothing there that helps me.

Problem is, I create a pf.conf with 

rdr on tun0 inet proto tcp from any to any port 21 -> 
192.168.0.200 port 21

(this is one single line in the config file )

When I try to enable the ruleset via pfctl -e -f ./pf.conf, pfctl says 

pf.conf:2: syntax error
pfctl: Syntax error in config file: pf rules not loaded

This does not only happen with my custom redirection rule, but also if I
take example redirection rules from the pf.conf(5) man page.

This is FreeBSD 5.2.1-p4 with pf 2.03 installed from ports, PFIL_HOOKS
is in the kernel and the pf kernel modules are loaded.

I'm sure I'm missing something obvious, but I'm unable to find it :-/

Thanks in advance ;-)

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


error compiling kdegraphics3 (openmotif-2.2.2/clients) port

2004-04-13 Thread Paul Hamilton
Hi,

I am trying to compile the latest KDE-3.2.1 I grabed via cvsup for FreeBSD
4.9

I have had a few problems portupgrading from KDE 3.1 to the current KDE.  I
magaged to get around the other problems, using 'pkgdb -F' etc.

This one has me though, as it seems to be a syntax error.  Here is the last
few lines, whilst doing a 'make install clean' in 'kdegraphics3':


gmake[3]: Entering directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm/WmWsmLi
b'
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/X11R6/include -I./../..
/../lib  -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI  -O -pipe  -Wall
 -Wno-unused -Wno-comment -c send.c
In file included from /usr/X11R6/include/Xm/DragC.h:29,
 from /usr/X11R6/include/Xm/DragDrop.h:29,
 from /usr/X11R6/include/Xm/Transfer.h:29,
 from send.c:42:
/usr/X11R6/include/Xm/Xm.h:1655: syntax error before
`XmConvertCallbackStruct'
send.c: In function `WSMSendMessage':
send.c:92: warning: implicit declaration of function `GetTimestamp'
gmake[3]: *** [send.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm/WmWsmLi
b'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/x11-toolkits/open-motif.
*** Error code 1

Stop in /usr/ports/graphics/xpdf.
*** Error code 1

Stop in /usr/ports/graphics/kdegraphics3.


Hmmm, so lets have a look at line 1655 in: '/usr/X11R6/include/Xm/Xm.h'



/ Direction.c */

Boolean XmDirectionMatch(XmDirection dir1, XmDirection dir2);
Boolean XmDirectionMatchPartial(XmDirection dir1, XmDirection dir2,
XmDirection dir_mask);
XmStringDirection XmDirectionToStringDirection(XmDirection dir);
XmDirection XmStringDirectionToDirection(XmStringDirection sdir);

/*** Xme.c /

void XmeConvertMerge(XtPointer data, Atom type,
 int format, unsigned long length,
 XmConvertCallbackStruct *call_data);<- Line 1655.
Syntax error on this line?

#ifdef __cplusplus
}
#endif


Or is the real error in send.c,  any clues on how to fix this?

Cheers,

Paul Hamilton


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


Re: ssh root denied

2004-04-13 Thread Sam C. Nicholson !!
Date: Tue, 13 Apr 2004 17:36:56 -0300 (EST)
From: <[EMAIL PROTECTED]>

>On Mon, 12 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote:
>
>|Root logins are disallowed by default on FreeBSD
>|for security reasons.  The recommended approach
>|is to log on an account that is a member of the
>|"wheel" group, and su(1) to root when necessary
>|for administrative purposes while doing your routine
>|work under a less-privileged UID...
>
>   But, what should be te correct approach when you want to copy
>root's files and/or remote execute programs as root with scripts using
>scp/ssh and key authentication?
>Like:
>
>   scp master.passwd host2:/etc/
>   or
>   ssh host2 'pwd_mkdb -p /etc/master.passwd'
>
>
>- Marcelo

To allow user fred to execute an arbitrary program, say ndc on a remote system:

1) allow fred to ssh with (and only with) [rd]sa keys, so that this works.

[EMAIL PROTECTED]> ssh remotesys echo foo
foo
[EMAIL PROTECTED]> 

2) on remotesys add the following to /whatever/etc/sudoers with "sudo visudo"

fred  ALL = NOPASSWD:/usr/sbin/ndc

3) verify with

[EMAIL PROTECTED]> ssh remotesys sudo /usr/sbin/ndc restart

Options:
You can, if you feel the need, set fred's local ssh key to require a password.
Sudoers can be set to allow only a particular set of options to command.
For that, I create pseudo users for particular classes of tasks.

I haven't used su since I found sudo.  I've not logged in as root, save in a 
grave emergency in 7-8 years.  I've a CD which contains all the .ssh/auth_keys,
etc, and use it after installing a machine, and before plugging it in the net.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Firewall Automated abuse reporter

2004-04-13 Thread JJB
Over the last couple of months my ipfilter firewall has had an ever
increasing number of unsolicited inbound packet traffic.
Use to be about 10 a month and now I get about 280 per day.
I have to pay for this junk traffic in bandwidth charges.

Looking for an Automated abuse reporter that will read the firewall
log,
Lookup the inbound IP address to find the abuse email
address and automatically create and send email to report abuse.

Found something for apache junk traffic,
but that was all the archives gave up.

Any body know of anything like this?



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


Re: ssh root denied

2004-04-13 Thread Remko Lodder
Use my example above, supose you need to sync passwd between two
hosts, using an script via cron. Even if you tar/chown it and copy with
low level user, you will need to regenerate the passwd.
Then i should use different methods (ldap?) and then i would build 
scripts, tar as root, transfer as (low_level_user), rebuild as root.

Just cronts, no transfers etc done as root, only the local things as 
root. Just to prevent anything scary :-)

cheers

- Marcelo


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD and copyright issues

2004-04-13 Thread Jerry McAllister
> 
> Hi, I expect this is a question you get asked a lot these days, but in 
> the light of SCO claims to ownership of Unix copyright and their legal 
> action against IBM etc. What is the copyright/legal position with 
> respect to FreeBSD?

DO a little searching.  This has been commented on ad nauseum in the not
too distant past and it would be a shame to bulk up the archives more
unnecessarily.

The basic answer is no relationship.

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

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


Re: ssh root denied

2004-04-13 Thread Joshua Lokken
* thib <[EMAIL PROTECTED]> [2004-04-13 14:16]:
> >On Tue, 13 Apr 2004 17:36:56 -0300 (EST)
> ><[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > On Mon, 12 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote:
> > 
> > |Root logins are disallowed by default on FreeBSD
> > |for security reasons.  The recommended approach
> > |is to log on an account that is a member of the
> > |"wheel" group, and su(1) to root when necessary
> > 
> > 
> You could  chmod them (for a _trusted_ user) and scp them inside a tunnel.
> But I on the other hand would move them with something physical ( usbkey,
> floppy or something or other )
> Check out GBDE for that case.

Isn't this situation exactly why 'sudo' (/usr/ports/security/sudo) was
developed?  I use sudo regularly for admin tasks like this.  There are
very few times when I 'need' to be root.

-- 
Joshua

Women are more easily and more deeply terrified ... generating more
sheer horror than the male of the species.
-- Spock, "Wolf in the Fold", stardate 3615.4

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


Re: BSD and copyright issues

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 09:37:46PM +0100, davjos wrote:
> Hi, I expect this is a question you get asked a lot these days, but in 
> the light of SCO claims to ownership of Unix copyright and their legal 
> action against IBM etc. What is the copyright/legal position with 
> respect to FreeBSD?

http://people.lemis.com/grog/sco.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: BSD and copyright issues

2004-04-13 Thread Remko Lodder
davjos wrote:
Hi, I expect this is a question you get asked a lot these days, but in 
the light of SCO claims to ownership of Unix copyright and their legal 
action against IBM etc. What is the copyright/legal position with 
respect to FreeBSD?

regards, Mags.
Oh and perhaps you should ask this at advocacy@
instead of questions@ :-)
Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD and copyright issues

2004-04-13 Thread Remko Lodder
davjos wrote:
Hi, I expect this is a question you get asked a lot these days, but in 
the light of SCO claims to ownership of Unix copyright and their legal 
action against IBM etc. What is the copyright/legal position with 
respect to FreeBSD?
Hey Mags,

For what i know (and i really did not look into copyright's etc)
is that BSD has a "Free License" you can do anything with it. It's more 
free than GPL. and even OpenBSD like's it (and they are really into free 
 software nowayadays)

hope this shed a little light..

Cheers
regards, Mags.
--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD and copyright issues

2004-04-13 Thread Kent Stewart
On Tuesday 13 April 2004 01:37 pm, davjos wrote:
> Hi, I expect this is a question you get asked a lot these days, but
> in the light of SCO claims to ownership of Unix copyright and their
> legal action against IBM etc. What is the copyright/legal position
> with respect to FreeBSD?
>

I would like to see them start to deal with FreeBSD. The original 
agreement, as I recall, had the BSD group removing Bell Labs 
enhancements from BSD's version of Unix and let BL keep the BSD 
enhancements in BL Unix. My experient is that BL Unix made Unix 
functional but it was the BSD enhancements that made is usable. Let SCO 
remove the BSD enhancements and see what they have left :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh root denied

2004-04-13 Thread Marcelo Souza
Hi,

On Tue, 13 Apr 2004, Remko Lodder wrote:

|>
|>  But, what should be te correct approach when you want to copy
|> root's files and/or remote execute programs as root with scripts using
|> scp/ssh and key authentication?
|>  Like:
|>
|>  scp master.passwd host2:/etc/
|>  or
|>  ssh host2 'pwd_mkdb -p /etc/master.passwd'
|
|"remote execute programs" why? cant you locally run them and fetch them
|with a dedicated lowerlevel account?

Use my example above, supose you need to sync passwd between two
hosts, using an script via cron. Even if you tar/chown it and copy with
low level user, you will need to regenerate the passwd.

- Marcelo


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


How do you increase the size of lost+found?

2004-04-13 Thread Brad Waite
While trying to recover from a HD crash, 'fsck -y /dev/rad1s1a' reports 
the following error a number of times at the end of it's run:

UNREF FILE  I=3537799  OWNER=500 MODE=100644
SIZE=6611 MTIME=Oct 25 21:12 2003
RECONNECT? yes
SORRY. NO SPACE IN lost+found DIRECTORY

This tells me that it's not saving some of the files on the drive.  Is 
that correct?

Is there anything I can do to make more space in lost+found, either 
system-wide or while the fsck is running?

Some possibly pertinent info:

# ls -lad lost+found
drwxrwxrwt  1379 root  wheel  182272 Apr 12 16:55 lost+found
# ls lost+found | wc -l
8899
This fs was copied from a drive reporting "hard errors reading fsbn..." 
using dd.

Thanks,

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


problems with .bashrc

2004-04-13 Thread fudo
I'm new to FreeBSD, and to bash. I'm running FreeBSD 5.0, and added 
bash from the cd during install. There are .profile and .shrc files in 
my home directory; .profile references .shrc with ENV=$HOME/.shrc; 
export ENV. There are several uncommented alias lines in the .shrc 
file, but none of them work. From what I've read, bash should read 
.profile and .shrc, but just in case, I tried copying them to 
.bash_profile and .bashrc, changing ENV to =$HOME/.bashrc, and renaming 
the original files, but the aliases still don't work. Aliases are 
formatted: alias ll='ls -laFo'; entering that at the prompt and it 
works fine. Seems like bash isn't reading the rc file. Obviously, I'm 
missing something; any suggestions appreciated. Thanks.

[EMAIL PROTECTED]

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


Re: ssh root denied

2004-04-13 Thread Remko Lodder
But, what should be te correct approach when you want to copy
root's files and/or remote execute programs as root with scripts using
scp/ssh and key authentication?
Like:
scp master.passwd host2:/etc/
or
ssh host2 'pwd_mkdb -p /etc/master.passwd'
Tar them, chown the user logtransfer,
use logtransfer user to transer files.
never ever use root for that it's highly insecure ( imho even with key 
auth ).

"remote execute programs" why? cant you locally run them and fetch them 
with a dedicated lowerlevel account?

Root is almighty, use it with precaution, locally , or with su -,sudo.

Use it remote, get whacked, everything breaks, too bad.

My approach in a "hard" way :-)

Cheers

- Marcelo



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh root denied

2004-04-13 Thread thib
You could  chmod them (for a _trusted_ user) and scp them inside a tunnel.
But I on the other hand would move them with something physical ( usbkey,floppy or 
something or other )
Check out GBDE for that case.
>On Tue, 13 Apr 2004 17:36:56 -0300 (EST)
><[EMAIL PROTECTED]> wrote:

> Hi,
> 
> On Mon, 12 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote:
> 
> |Root logins are disallowed by default on FreeBSD
> |for security reasons.  The recommended approach
> |is to log on an account that is a member of the
> |"wheel" group, and su(1) to root when necessary
> |for administrative purposes while doing your routine
> |work under a less-privileged UID...
> 
>   But, what should be te correct approach when you want to copy
> root's files and/or remote execute programs as root with scripts using
> scp/ssh and key authentication?
>   Like:
> 
>   scp master.passwd host2:/etc/
>   or
>   ssh host2 'pwd_mkdb -p /etc/master.passwd'
> 
> 
> - Marcelo
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BSD and copyright issues

2004-04-13 Thread davjos
Hi, I expect this is a question you get asked a lot these days, but in 
the light of SCO claims to ownership of Unix copyright and their legal 
action against IBM etc. What is the copyright/legal position with 
respect to FreeBSD?

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


Re: ssh root denied

2004-04-13 Thread scuba
Hi,

On Mon, 12 Apr 2004, Kevin D. Kinsey, DaleCo, S.P. wrote:

|Root logins are disallowed by default on FreeBSD
|for security reasons.  The recommended approach
|is to log on an account that is a member of the
|"wheel" group, and su(1) to root when necessary
|for administrative purposes while doing your routine
|work under a less-privileged UID...

But, what should be te correct approach when you want to copy
root's files and/or remote execute programs as root with scripts using
scp/ssh and key authentication?
Like:

scp master.passwd host2:/etc/
or
ssh host2 'pwd_mkdb -p /etc/master.passwd'


- Marcelo


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


Re: src files

2004-04-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Brian Henning wrote:

Greetings,

The following files are in the /src directory on the bsd install cd. How can I
get the most recent version of these files?
or are they only updated on release?
Thanks,
Brian

-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:54 ssys.aa*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:54 ssys.ab*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ac*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ad*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ae*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.af*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ag*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ah*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ai*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.aj*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ak*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.al*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.am*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.an*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ao*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ap*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.aq*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.ar*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.as*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.at*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.au*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.av*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.aw*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.ax*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.ay*
 



These aren't the files you're looking for ...
You can go about your business ...
Move along ...


Seriously, please note that every file is the same
size, same mod time/date.  These are "chunks"
created by the "make release" command, and used
by "/stand/sysinstall" during an initial installation.
You need to learn about cvsup/buildworld and friends,
as Remko suggested.
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portaudit

2004-04-13 Thread RJ45

Hello,
I installed portaudit.
Since I installed it I noticed there are always ESTABLISHED connections to
some ftp servers:

tcp4   0 20  venus.51739freebsd.utcluj.r.ftp
ESTABLISHED
tcp4   0 20  venus.49718gort.ludd.ltu.se.ftp
ESTABLISHED
tcp4   0  6  venus.49706www.freebsd.cz.ftp
ESTABLISHED
tcp4   0  6  venus.49688gort.ludd.ltu.se.ftp
ESTABLISHED
tcp4   0 20  venus.49682ftp.jpix.ad.jp.ftp
ESTABLISHED

and I noticed I have a constant traffic rate on my ADSL link of about
20 Kb/sec inbound and 20 Kb/sec outbound, always day and night.
is it normal?

thank you

Rick


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


boot easy

2004-04-13 Thread Brian Henning
Greetings:

I am trying to rebuild the boot easy boot loader code. 
Is it located in the following dir?
/usr/src/sys/boot/i386/boot0

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


glxgear scores

2004-04-13 Thread jason
I was wondering what everyone was getting.  Specifically with a nforce 
board and an ati(8500 for me) card.  Any scores for this or other combos?

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


Re: Interpreting ping response? (the POD lives??)

2004-04-13 Thread Daniela
On Tuesday 13 April 2004 14:46, Kevin D. Kinsey, DaleCo, S.P. wrote:
> Can anyone help me interpret the following output?
> I read the ping manpage, but came to the end before
> I learned much that helps me here
>
> Other than "source" and "destination", where can I
> find an explanation for the rest of this?  And, if possible,
> can you tell me what might be happening?
>
> I've seen responses like it before, but usually only because
> I was pinging a blocked port; unfortunately for me, now I
> kinda need to know, and I really am not deep enough
> into TCP/IP to know where to look for an answer ... :-(

Ping packets an ICMP encapsulated in an IP packet, they have nothing to do 
with TCP. Also, you can't ping a port. There are no ports in these protocols, 
they are handled in TCP and UDP.

What is listed in the output are the contents of the IP header. They are 
described in the RFC 791:
http://www.ietf.org/rfc/rfc0791.txt


Daniela


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


Re: src files

2004-04-13 Thread Remko Lodder
Brian Henning wrote:
Greetings,

The following files are in the /src directory on the bsd install cd. How can I
get the most recent version of these files?
or are they only updated on release?
Thanks,
I'd suggest you read this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

In order to update your src tree and ports tree :-)

Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


src files

2004-04-13 Thread Brian Henning
Greetings,

The following files are in the /src directory on the bsd install cd. How can I
get the most recent version of these files?
or are they only updated on release?
Thanks,

Brian

-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:54 ssys.aa*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:54 ssys.ab*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ac*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ad*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ae*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.af*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ag*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ah*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ai*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.aj*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ak*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.al*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.am*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.an*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ao*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:55 ssys.ap*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.aq*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.ar*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.as*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.at*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.au*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.av*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.aw*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.ax*
-rwxr-xr-x  1 root  wheel  240640 Apr 10 04:56 ssys.ay*
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Doug Poland
On Tue, Apr 13, 2004 at 01:40:34PM -0500, Josh Paetzel wrote:
> 
> My issue is that SMP + Nvidia Drivers + GF4 ti 4200 + 5.2.1-RELEASE, 
> 4.10-RELEASE or -STABLE or CURRENT hangs the system.  I've mailed the 
> -questions mailing list once, and found someone with the exact same issue that 
> I am having, but I suspect it's arcane enough that no one is going to try to 
> fix it.  For now running the nv driver is acceptable.
> 

The only difference between one of my systems (Dell Dimension 4600) and
what you describe is SMP.  I've got a HTT CPU and it's running the
nVidia driver in dual-head.  


-- 
Regards,
Doug


Copyright (c) 1992-2004 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.2.1-RELEASE #1: Mon Mar  1 16:24:28 CST 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/DELL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0954000.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0954294.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0954340.
Preloaded elf module "/boot/modules/nvidia.ko" at 0xc09543ec.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0954498.
MPTable: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2593.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 1073152000 (1023 MB)
avail memory = 1033007104 (985 MB)
ioapic0: Changing APIC ID to 2
ioapic0: Assuming intbase of 0
ioapic0  irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00feae0
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib0: slot 29 INTA routed to irq 16
pcib0: slot 29 INTB routed to irq 19
pcib0: slot 29 INTC routed to irq 18
pcib0: slot 29 INTA routed to irq 16
pcib0: slot 29 INTD routed to irq 23
pcib0: slot 31 INTA routed to irq 18
pcib0: slot 31 INTA routed to irq 18
pcib0: slot 31 INTB routed to irq 17
pcib0: slot 31 INTB routed to irq 17
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib1: slot 0 INTA routed to irq 16
nvidia0:  mem 0xf000-0xf7ff,0xfd00-0xfdff 
irq 16 at device 0.0 on pci1
uhci0:  port 0xff80-0xff9f irq 16 at device 
29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1:  port 0xff60-0xff7f irq 19 at device 
29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f irq 18 at device 
29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xff20-0xff3f irq 16 at device 
29.3 on pci0
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0:  at device 29.7 (no driver attached)
pcib2:  at device 30.0 on pci0
pci2:  on pcib2
pcib2: slot 8 INTA routed to irq 20
fxp0:  port 0xdf40-0xdf7f mem 
0xfcfff000-0xfcff irq 20 at device 8.0 on pci2
fxp0: Ethernet address 00:0c:f1:98:50:96
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 
0xfebffc00-0xfebf irq 18 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
atapci1:  port 
0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 18 at device 
31.2 on pci0
atapci1: [MPSAFE]
ata2: at 0xfe00 on atapci1
ata2: [MPSAFE]
ata3: at 0xfe20 on atapci1
ata3: [MPSAFE]
pci0:  at device 31.3 (no driver attached)
pcm0:  port 0xedc0-0xedff,0xee00-0xeeff mem 
0xfebff900-0xfebff9ff,0xfebffa00-0xfebffbff irq 17 at device 31.5 on pci0
pcm0: 
orm0:  at iomem 0xd0800-0xd3fff,0xcf000-0xd07ff,0xc-0xcefff on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 

Re: Calling the pros .. sound troubleshooting

2004-04-13 Thread Kent Stewart
On Tuesday 13 April 2004 09:14 am, Kent Stewart wrote:
> On Tuesday 13 April 2004 11:50 am, Mazen S. Alzogbi wrote:
> > Kent Stewart wrote:
> > > On Monday 12 April 2004 01:46 pm, Mazen S. Alzogbi wrote:
> > >>Hi,
> > >>

> >
> > [EMAIL PROTECTED]:2:7: class=0x040100 card=0x42011558 chip=0x70121039
> > rev=0xa0 hdr=0x00
> >  vendor   = 'Silicon Integrated Systems (SiS)'
> >  device   = 'SiS7012 PCI Audio Accelerator'
> >  class= multimedia
> >  subclass = audio
> >
> > But what does that mean ? Doens't it mean it can see it but can't
> > probe it?
> >

I was waiting for opal to build and break on -current and found the 
following. The SIS7012 is handled by ich.c. You can find it in
/usr/src/sys/dev/sound/pci/ich.c

I had to laugh when I saw
#define SIS7012ID   0x70121039  /* SiS 7012 needs special 
handling */

Because of your problems all I could do was chuckle and agree with 
someone's comment.

The last modification header was  
 * Copyright (c) 2001 Cameron Grant <[EMAIL PROTECTED]>
There have been many modifications to "main" by other people since then. 
The last mod was 13 days ago. The last RELENG_4 mod was last August.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Josh Paetzel
On Tue, Apr 13, 2004 at 06:50:38PM +0100, Shaun Friedle wrote:
> On Tue, 2004-04-13 at 17:14, Doug Poland wrote:
> I built a custom kernel but can't tell you if that was required as I did that
> > before disabling ACPI.
> 
> Well, if I disable SMP, I seem to be going in the right direction as
> the machine no longer locks up.

Ditto here.

> 
> > Unfortunately, I cannot disable ACPI on this ASUS P4C800-E Deluxe board
> > as the kernel dumps on errors 9 every time.  

Haven't tried that yet.

> 
> Well, I'm obviously very unlucky since I have an Asus P4C800 Deluxe and get the
> same thing! The message is:
> 
> Fatal trap 9: general protection fault while in kernel mode
> instruction pointer   = 0x58: 0x2d5c
> stack pointer = 0x10: 0xf80
> frame pointer = 0x10: 0x0
> code segment  = base 0xc00f000, limit 0x, type 0x1b
>   = DPL 0, pres 1, def32 0, gran 0
> processor eflags  = interrupt enabled, resume, IOPL = 0
> current process   = 0 (swapper)
> trap number   = 0
> panic: general protection fault
> 
> 
> > So for me, ACPI was the key.  If I could just get this bloody ASUS board
> > to boot without ACPI I think I'd be in business.
> 
> I think you're right. After searching on Google for a while (as I am sure you have 
> done)
> I have found no solution. 
> 
> > Good luck to you and I'd appreciate any info you have if successful.
> 
> I don't think I'm going to be able to solve this. Hopefully it will be fixed soon, 
> apparently
> the problem is "5.x has grown a regression in its handling of BIOS32 calls somehow". 
> I found
> that in this thread: 
> http://lists.freebsd.org/pipermail/freebsd-current/2004-March/023392.html
> 
> > Shaun Friedle
> [EMAIL PROTECTED]

My issue is that SMP + Nvidia Drivers + GF4 ti 4200 + 5.2.1-RELEASE, 
4.10-RELEASE or -STABLE or CURRENT hangs the system.  I've mailed the 
-questions mailing list once, and found someone with the exact same issue that 
I am having, but I suspect it's arcane enough that no one is going to try to 
fix it.  For now running the nv driver is acceptable.

Josh Paetzel

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


RE: Interpreting ping response? (the POD lives??)

2004-04-13 Thread JJB
Check the archives, I remember seeing the question asked about what
the ping response fields mean about 2+ years ago.

http://groups.google.com/groups?q=ping+group:lucky.freebsd.questions
&hl=en&lr=lang_en&ie=UTF-8&group=lucky.freebsd.questions&sa=G


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin D.
Kinsey, DaleCo, S.P.
Sent: Tuesday, April 13, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Interpreting ping response? (the POD lives??)

Rob wrote:

> Kevin D. Kinsey, DaleCo, S.P. wrote:
>
>> can you tell me what might be happening?
>>
>> <[EMAIL PROTECTED]> [/home/kdk] [16:25]
>> #sudo ping -s 2048 app
>> PING app.southuni.com (192.168.0.80): 2048 data bytes
>> 36 bytes from app.southuni.com (192.168.0.80): Destination Host
>> Unreachable
>
> This may indicate that the computer is behind a firewall, that
blocks
> response
> to ping.


Well, yes; I am somewhat aware of that.  Can you tell
me what the hieroglyphics mean?

 >Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 >4  5  00 05dc 07bd   0   3f  01 1677 192.168.0.2  192.168.0.80

There is, AFAIK, no firewall here; the situation:
the two hosts are on the same private Class C,
and "app" is an application server running an OS that
is neither a *BSD nor M$ stuff.  The crux of the issue
is that "app" responded normally to pings of 56, 128, 256,
512, and 1024 bytes, and then when the 2048 byte packet
was sent, we got this response and the whole shop went
offline, hence the subtitle to this post (the POD lives??)
The shop has problems similar to this rather frequently,
and my next step is probably to put an old-style hub on
the wire right next to "app" with a lil' FBSD box that I
can run ethereal or tcpdump on, but it may not do me
much good until I can learn how to read this stuff a little
better.

I want to blame the OS or the app vendor, or the M$
Windows client that connects to it.  Fortunately for us,
the only FreeBSD machine in this scenario is the one doing
the attacking.  I'll probably be hunting for clues (and
harping the blues) elsewhere, as it doesn't appear to be
related to FreeBSD at all, but as I frequent this list
I thought I might gain a bit of insight by asking.

Thanks for your response :-)

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

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


Re: MS Excel/Word compatible ports?

2004-04-13 Thread Bart Silverstrim
On Apr 13, 2004, at 11:52 AM, Joshua Lokken wrote:

* Conrad Sabatier <[EMAIL PROTECTED]> [2004-04-13 06:41]:
I know, I know, I could probably find the answer to this question 
myself, but I
thought I'd save myself the time and trouble.  :-)
Looks like someone already pointed out the flaw in that logic ;)

One could argue that it saves time if someone else can name off the top 
of their head the solution they have found best, rather then spending 
time sifting through possible solutions and possibly choosing one that 
does NOT work best...

Just playing devil's advocate :-)


Does anyone know of any ports in the ports collection that can 
read/write/edit
MS Excel/Word files?  I need this for a project I've been assigned at 
work.

I didn't see it mentioned yet, but AbiWord2 handles .docs.  It is
considerably smaller (everything's considerably smaller) than OO, but
doesn't include the full suite, just Word.
/usr/ports/editors/AbiWord2

Abiword, openoffice, Koffice?  Is koffice usable in ports?

Are you just trying to manipulate the documents or edit them with open 
source packages?  The best answer would be open office, in my 
experience...plus open office (OO.o) is cross-platform.  Linux, 
Windows, OS X (although I think they need a new version released for OS 
X soon...I hope they will, anyway), freeBSD...

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


etherchannel on 5.2.1

2004-04-13 Thread J.D. Bronson
Does anyone have this working with either
intel or broadcom nics?
Anyone have any good site that talks about what is needed to make this work 
as well? - I do have a Cisco switch and it fully supports this.

Thanks in advance!

 -JBD

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


Re: GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Shaun Friedle
On Tue, 2004-04-13 at 17:14, Doug Poland wrote:
I built a custom kernel but can't tell you if that was required as I did that
> before disabling ACPI.

Well, if I disable SMP, I seem to be going in the right direction as
the machine no longer locks up.

> Unfortunately, I cannot disable ACPI on this ASUS P4C800-E Deluxe board
> as the kernel dumps on errors 9 every time.  

Well, I'm obviously very unlucky since I have an Asus P4C800 Deluxe and get the
same thing! The message is:

Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0x58: 0x2d5c
stack pointer   = 0x10: 0xf80
frame pointer   = 0x10: 0x0
code segment= base 0xc00f000, limit 0x, type 0x1b
= DPL 0, pres 1, def32 0, gran 0
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 0
panic: general protection fault


> So for me, ACPI was the key.  If I could just get this bloody ASUS board
> to boot without ACPI I think I'd be in business.

I think you're right. After searching on Google for a while (as I am sure you have 
done)
I have found no solution. 

> Good luck to you and I'd appreciate any info you have if successful.

I don't think I'm going to be able to solve this. Hopefully it will be fixed soon, 
apparently
the problem is "5.x has grown a regression in its handling of BIOS32 calls somehow". I 
found
that in this thread: 
http://lists.freebsd.org/pipermail/freebsd-current/2004-March/023392.html



-- 
Shaun Friedle
[EMAIL PROTECTED]

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


Re: Interpreting ping response? (the POD lives??)

2004-04-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Rob wrote:

Kevin D. Kinsey, DaleCo, S.P. wrote:

can you tell me what might be happening?

<[EMAIL PROTECTED]> [/home/kdk] [16:25]
#sudo ping -s 2048 app
PING app.southuni.com (192.168.0.80): 2048 data bytes
36 bytes from app.southuni.com (192.168.0.80): Destination Host 
Unreachable
This may indicate that the computer is behind a firewall, that blocks 
response
to ping.


Well, yes; I am somewhat aware of that.  Can you tell
me what the hieroglyphics mean?
>Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst 
>4  5  00 05dc 07bd   0   3f  01 1677 192.168.0.2  192.168.0.80

There is, AFAIK, no firewall here; the situation:
the two hosts are on the same private Class C,
and "app" is an application server running an OS that
is neither a *BSD nor M$ stuff.  The crux of the issue
is that "app" responded normally to pings of 56, 128, 256,
512, and 1024 bytes, and then when the 2048 byte packet
was sent, we got this response and the whole shop went
offline, hence the subtitle to this post (the POD lives??)
The shop has problems similar to this rather frequently,
and my next step is probably to put an old-style hub on
the wire right next to "app" with a lil' FBSD box that I
can run ethereal or tcpdump on, but it may not do me
much good until I can learn how to read this stuff a little
better.
I want to blame the OS or the app vendor, or the M$
Windows client that connects to it.  Fortunately for us,
the only FreeBSD machine in this scenario is the one doing
the attacking.  I'll probably be hunting for clues (and
harping the blues) elsewhere, as it doesn't appear to be
related to FreeBSD at all, but as I frequent this list
I thought I might gain a bit of insight by asking.
Thanks for your response :-)

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


qcad

2004-04-13 Thread Chris
I'm having a problem with qcad doing a core dump every time I zoom in, 
set 'snap to grid', and then try and draw anything.  Andrew at 
ribbonsoft said FreeBSD isn't an officially supported platform for 
qcad.  I'm using the latest qcad port and FreeBSD 5.1.   Is anyone else 
having any problems with qcad or where would be a more appropriate place 
to post this question?

Thanks!

Chris

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


Re: stdio.h

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 09:45:39AM -0500, Brian Henning wrote:
> I have a question about the stdio.h file.
> 
> In the following function signature what does the __P do? 
> 
> Why is the __P needed?
> 
> int (*_close) __P((void *));

History.  Backwards compatability.  This construct dates from the
times of K&R C, before the ANSI standard that said function prototypes
should contain argument type declarations.  If you examine the
 header file, you'll see that macro is designed to expand
to either an empty pair of brackets -- () -- which is the old-style
prototype, or the string enclosed within it -- (void *) -- which is
the "new" style prototype.  I say "new" because prototypes like that
have been standard for more than 10 years.

On any compiler you encounter nowadays that declaration will be
resolved to:

  int (*_close) (void *)

meaning _close is a pointer to a function taking an arbitrary pointer
as argument and returning an int.

Yes -- the __P() construct is pretty much obsolete nowadays, but it's
probably more trouble than it's worth to try and strip it out of
everything.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


netboot with serial?

2004-04-13 Thread Dick Davies

Hi, this is probably doable but I'm stumped.

I have a M6000 mini-itx box with a 20Gb drive and no cdrom,  monitor
or keyboard, and a NetBSD box running NFS.

What I want to do is PXEboot the 6000 off the NetBSD box into
FreeBSD (it has usb2 and firewire ports which are shaky at best
under NetBSD).

What I want really is to kick off a serial port install, and then
install over NFS.

I found 

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html

which is 90% of what I need, but doesn't do the serial bit.

The steps as I understand it would be:

6000 boots pxe,
gets a path to pxeboot and a nfs root directory via dhcp,
mounts the root,
grabs a (install) kernel
the install starts as normal.

On NetBSD you just have an serial port aware pxeboot, how do you
guys do it?
-- 
If a listener nods his head when you're explaining your program, wake
him up.
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Odd delay waiting for X after installing NFS

2004-04-13 Thread Jonathon McKitrick
On Wed, Apr 14, 2004 at 12:03:13AM +0800, Eugene Grosbein wrote:
: On Tue, Apr 13, 2004 at 02:33:38PM +0100, Jonathon McKitrick wrote:
: 
: > Now, when I start X, it delays for a while and Ctrl-T says xauthority is
: > waiting on kqueue.  I hit Ctrl-C and start again, and it is fine.  When I
: > shut down X, I don't get the prompt back until I hit Ctrl-C.
: > This can't be right.  What could be the issue?
: 
: That is resolver. Make sure that all of your interfaces are either is DNS
: reverse zone or in /etc/hosts.

But before enabling portmap and nfs it worked fine with no delay.  And the
other host IS named in /etc/hosts?


jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Calling the pros .. sound troubleshooting

2004-04-13 Thread Kent Stewart
On Tuesday 13 April 2004 11:50 am, Mazen S. Alzogbi wrote:
> Kent Stewart wrote:
> > On Monday 12 April 2004 01:46 pm, Mazen S. Alzogbi wrote:
> >>Hi,
> >>
> >>I already posted this question in this list and got some answers
> >> that was half-solutions to my case. I read a lot about this issue
> >> in every resource I could get my hands on. I am very keen to make
> >> my sound system work on my FreeBSD 4.9 system. This is a laptop
> >> with built-in sound system. It's not old, pretty new so I suppose
> >> PCM is my way to go.
> >>
> >>I recompiled the kernel aftering adding "device pcm". After reboot
> >>and dmesg | grep pcm I get the following:
> >>
> >>pcm0:  at device 2.7 on pci0
> >>pcm0: unable to map IO port space
> >>device_probe_and_attach: pcm0 attach returned 6
> >>
> >>Can someone please guide me through the process of troubleshooting
> >> in a step-by-step fashion?
> >
> > There isn't one.
> >
> > I see the following and all I did was add "option pcm" and follow
> > the steps in the Handbook. Since it isn't working for you, you may
> > have some competition for the I/O port space.
> >
> > pcm0:  port 0xc400-0xc43f,0xc800-0xc8ff irq 10 at device
> > 2.7 on pci0
> > pcm0: 
> >
> > You might get a clue by running "pciconf -l". You might also find
> > something by doing a "boot -v" instead of booting the normal way.
> >
> > They may have added a new chipset and you need the pciconf
> > information to patch the sound driver. Everytime I have received a
> > "returned 6", I have had to program something or get some one else
> > to do it. Your best bet there is the people that are maintaing pcm.
> >
> > Kent
>
> Kent,
> Thanks for your reply. I ran the pciconf -lv command I can see the
> following under multimedia?:
>
> [EMAIL PROTECTED]:2:7: class=0x040100 card=0x42011558 chip=0x70121039
> rev=0xa0 hdr=0x00
>  vendor   = 'Silicon Integrated Systems (SiS)'
>  device   = 'SiS7012 PCI Audio Accelerator'
>  class= multimedia
>  subclass = audio
>
> But what does that mean ? Doens't it mean it can see it but can't
> probe it?
>
> I believe that the pcm0 is fighting for IRQ 10 which is used by:

They can share. My line from pciconf is 
[EMAIL PROTECTED]:2:7:  class=0x040100 card=0x030013f6 chip=0x70121039 
rev=0xa0 hdr=0x00

It knows mine is pcm0 and we have a different card number. I don't know 
if that is important.

>
> ohci1:  mem 0xec001000-0xec001fff irq 10 at
> device 2.3 on pci0
> fwohci0: <1394 Open Host Controller Interface> irq 10 at device 11.0
> on pci0
>
> Is there anything I can do to resolve this, you think?
>

Probably not unless you can program. You have to go through the kernel 
modules and find which sound module handles the SiS7012. That is where 
the maintainer comes in and I don't have any idea who that is right 
now.

I have never looked at the sound stuff. It has been a sort of black 
magic that worked. I also have a -current machine that won't do the 
installworld and it has my attention right now :(.

If you do a find from /usr/src. For the lack of a better idea, I just 
used sound. You will see something like

# find . -name sound -print
./sys/compile/TOPAZ/modules/usr/src/sys/modules/sound
./sys/dev/sound
./sys/gnu/dev/sound
./sys/gnu/i386/isa/sound
./sys/i386/isa/sound
./sys/modules/sound

Your problem is buried in there somewhere. I think you can ignore 
the ../gun and ../isa. TOPAZ is the name of my kernel and the kernel 
config moved the code that handled  SiS7012 in there. TOPAZ/.../sound 
has 3 directories, driver, pcm, and snd. I assume that your 7012 
handling code that doesn't recognize your module will probably show up 
in one of them. 

You can use http://www.freebsd.org/cgi/cvsweb.cgi/ to track who did the 
last work on the module with the SiS7012 in it. They will be your best 
bet on getting sound.

I don't what sound cards run where you live but I can buy really cheap 
pci ones "that work" for under $20 USD. They are usually as good as the 
integrated ones if not better. It all depends on the import duty and 
how long you can deal with a computer and no sound :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Doug Poland
On Tue, Apr 13, 2004 at 03:04:03PM +0100, Shaun Friedle wrote:
> Hi,
> I am having trouble using my FX 5800 Ultra with the FreeBSD Nvidia
> driver, which I installed from the ports collection. If I try to use the
> Nvidia driver when I start X I get a garbled screen with a few letters
> and symbols (like the smiley face) and some blocks of flashing colour,
> but mostly just a grey pattern character. The machine does not respond
> to input at this point, I have to hard restart the machine because
> Ctrl+Alt+Backspace (or Delete) do nothing.
> 
I found this site to be useful: 

  http://www.soulwax.net/nvidia/

Especially the "Do This First" section.  I had the same problem until I
disabled ACPI.

For the record, I've got a GeForce4 Ti 4200 running dual-head under
5.2.1-RELEASE.  I boot with ACPI disabled (Option #2) and load the
driver via /boot/loader.conf (nvidia_load="YES").  I built a custom
kernel but can't tell you if that was required as I did that before
disabling ACPI.

On another box, I've got an FX 5700 Ultra that does NOT work.  On this
machine I'm running XFree86-4-Server-snap cause I read somewhere that
the nv driver for the 5700 will not work on XFree86-FontServer-4.3.0_3.
This machine is running 5.2-CURRENT with a custom kernel.
Unfortunately, I cannot disable ACPI on this ASUS P4C800-E Deluxe board
as the kernel dumps on errors 9 every time.  

So for me, ACPI was the key.  If I could just get this bloody ASUS board
to boot without ACPI I think I'd be in business.

Good luck to you and I'd appreciate any info you have if successful.

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


alternate compiler

2004-04-13 Thread Sean Ellis
Hello,

When a build that I was attempting failed the author suggested that I
use gcc; now it goes much further, but still fails.

/usr/local/bin/g++34 -c -pipe -Wall -W -O2 -fomit-frame-pointer
-D_THREAD_SAFE  -D_GNU_SOURCE -DPREFIX=\"/usr/local\"
-DTARGET=\"streamtuned\" -DSUBPATH=\"streamtuned\" -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../include
-I../../../lib/gcc/i386-portbld-freebsd4.9/3.4.0/include
-I../../../include -I../../../../X11R6/include -I../../../include
-I/usr/X11R6/include -o streamstatus.o ../libs/streamstatus.cpp
../libs/streamstatus.cpp: In member function `const QString
StreamStatus::getStreamStability()':
../libs/streamstatus.cpp:411: error: `sqrt' undeclared (first use this
function)
../libs/streamstatus.cpp:411: error: (Each undeclared identifier is
reported only once for each function it appears in.)
*** Error code 1

Stop in /usr/local/src/streamtuned/player.
*** Error code 1

Stop in /usr/local/src/streamtuned.

I've been editing the include paths in the Makefile. Am I on the right
track? What is SOP when using an alternate compiler?

The program also asks for qt-devel and fftw, if that makes a difference.
I added,

qt-3.2.3A C++ X GUI toolkit
   
fftw-2.1.5_2Fast C routines to compute the Discrete Fourier

--
thanks,

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


Re: Odd delay waiting for X after installing NFS

2004-04-13 Thread Eugene Grosbein
On Tue, Apr 13, 2004 at 02:33:38PM +0100, Jonathon McKitrick wrote:

> Now, when I start X, it delays for a while and Ctrl-T says xauthority is
> waiting on kqueue.  I hit Ctrl-C and start again, and it is fine.  When I
> shut down X, I don't get the prompt back until I hit Ctrl-C.
> This can't be right.  What could be the issue?

That is resolver. Make sure that all of your interfaces are either is DNS
reverse zone or in /etc/hosts.

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


Re: MS Excel/Word compatible ports?

2004-04-13 Thread Joshua Lokken
* Conrad Sabatier <[EMAIL PROTECTED]> [2004-04-13 06:41]:
> I know, I know, I could probably find the answer to this question myself, but I
> thought I'd save myself the time and trouble.  :-)

Looks like someone already pointed out the flaw in that logic ;)

 
> Does anyone know of any ports in the ports collection that can read/write/edit
> MS Excel/Word files?  I need this for a project I've been assigned at work.
> 

I didn't see it mentioned yet, but AbiWord2 handles .docs.  It is
considerably smaller (everything's considerably smaller) than OO, but
doesn't include the full suite, just Word.

/usr/ports/editors/AbiWord2

HTH,

-- 
Joshua

Earth -- mother of the most beautiful women in the universe.
-- Apollo, "Who Mourns for Adonais?" stardate 3468.1

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


Re: ssh Connection refused

2004-04-13 Thread RazorOnFreeBSD

- Original Message - 
From: "Joshua Lokken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 5:19 PM
Subject: Re: ssh Connection refused


> * Kevin D. Kinsey, DaleCo, S.P. <[EMAIL PROTECTED]> [2004-04-13 07:52]:
> > RazorOnFreeBSD wrote:
> >
> > >- Original Message - 
> > >From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
> > >To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
> > >Cc: <[EMAIL PROTECTED]>
> > >Sent: Tuesday, April 13, 2004 4:19 AM
> > >Subject: Re: ssh Connection refused
> > >
> >
> > I guess anything is somewhat possible.  I'm just
> > looking for the most likely stuff first ...
> >
> > Can you "ssh [EMAIL PROTECTED]" ?
> >
> > What about tcpwrappers?  What is in /etc/hosts.allow?
> >
> > Tried rebooting or HUPing the daemon?
> >
> >#/bin/kill -HUP 93
> >
> > (or whatever the current PID is for /usr/sbin/sshd)
> >
>
> In the future, to start and restop sshd (without rebooting), just do:
>
> # kill -HUP `cat /var/run/sshd.pid`
>
> HTH,
>
> -- 
> Joshua
>
> I object to intellect without discipline;  I object to power without
> constructive purpose.
> -- Spock, "The Squire of Gothos", stardate 2124.5


Thanks Joshua... so maybe you know how to do the same with the firewall... I
mean restart the firewall without rebooting ?

razor


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


Re: Interpreting ping response? (the POD lives??)

2004-04-13 Thread Joost Bekkers
On Wed, Apr 14, 2004 at 12:08:16AM +0900, Rob wrote:
> 
> Kevin D. Kinsey, DaleCo, S.P. wrote:
> >can you tell me what might be happening?
> >
> ><[EMAIL PROTECTED]> [/home/kdk] [16:25]
> >#sudo ping -s 2048 app
> >PING app.southuni.com (192.168.0.80): 2048 data bytes
> >36 bytes from app.southuni.com (192.168.0.80): Destination Host Unreachable
> 
> This may indicate that the computer is behind a firewall, that blocks 
> response
> to ping.
> 

If so, it wouldn't indicate the response is being blocked, but the
request.  If the response was being block the icmp message would
go to app.southuni.com, which originated the blocked packet.


> Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst  
>  4  5  00 05dc 07bd   0   3f  01 1677 192.168.0.2  192.168.0.80

is the ip header of the packet to which the icmp-unreachable message
is a response to. (ie your original ping request)


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


Re: new administrator: please help me choose news server

2004-04-13 Thread dick hoogendijk
On 13 Apr Zhang Weiwu wrote:

> Oh I'm a new administrator, I'm frightened:) It seems if I want it to
> extend to max ability in future I should use Cyrus. I'll search more
> on this topic.

I would search more on the total solution wich courier provides. Very
easy to set up, secure, webmail, faq, imap/pop3-ssl, human readable
mailfilter language, LDAP, etc..

http://www.courier-mta.org

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.9 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh Connection refused

2004-04-13 Thread Joshua Lokken
* Kevin D. Kinsey, DaleCo, S.P. <[EMAIL PROTECTED]> [2004-04-13 07:52]:
> RazorOnFreeBSD wrote:
> 
> >- Original Message - 
> >From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
> >To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
> >Cc: <[EMAIL PROTECTED]>
> >Sent: Tuesday, April 13, 2004 4:19 AM
> >Subject: Re: ssh Connection refused
> > 
> 
> I guess anything is somewhat possible.  I'm just
> looking for the most likely stuff first ...
> 
> Can you "ssh [EMAIL PROTECTED]" ?
> 
> What about tcpwrappers?  What is in /etc/hosts.allow?
> 
> Tried rebooting or HUPing the daemon?
> 
>#/bin/kill -HUP 93
> 
> (or whatever the current PID is for /usr/sbin/sshd)
> 

In the future, to start and restop sshd (without rebooting), just do:

# kill -HUP `cat /var/run/sshd.pid`

HTH,

-- 
Joshua

I object to intellect without discipline;  I object to power without
constructive purpose.
-- Spock, "The Squire of Gothos", stardate 2124.5

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


Re: timestamp in 4.8?

2004-04-13 Thread Richard P. Williamson
further to my ruminations and wandering about through the
man pages, I see gettimeofday(3).  gettimeofday() does use
a struct timeval...and that leads me to nanotime(9).

Any recomendations for/against use of nanotime?

moreTIA,
rip

At 15:31 13/04/2004, sed <<^
>Is there a reasonable timestamp (that uses a struct timeval
>to return data by preference) in 4.8R?
>
>TSTMP (option KERN_TIMESTAMP) writes the rdtsc clock
>value to debug.timestamps in sysctl-space.  That does
>not suit my purposes (need to timestamp the creation
>of objects which are passed about).
>
>TIA,
>rip
^; 

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


Re: timestamp in 4.8?

2004-04-13 Thread Dan Nelson
In the last episode (Apr 13), Richard P. Williamson said:
> Is there a reasonable timestamp (that uses a struct timeval
> to return data by preference) in 4.8R?
>
> TSTMP (option KERN_TIMESTAMP) writes the rdtsc clock
> value to debug.timestamps in sysctl-space.  That does
> not suit my purposes (need to timestamp the creation
> of objects which are passed about).

Why not use gettimeofday()?  If you need more precision than
microseconds, you probably can bump up HZ and use clock_gettime().

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


Re: Interpreting ping response? (the POD lives??)

2004-04-13 Thread Rob
Kevin D. Kinsey, DaleCo, S.P. wrote:
can you tell me what might be happening?

<[EMAIL PROTECTED]> [/home/kdk] [16:25]
#sudo ping -s 2048 app
PING app.southuni.com (192.168.0.80): 2048 data bytes
36 bytes from app.southuni.com (192.168.0.80): Destination Host Unreachable
This may indicate that the computer is behind a firewall, that blocks response
to ping.
R.

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


Re: mailman - partition virtual domain name?

2004-04-13 Thread Remko Lodder
okay I  understand.  thanks for the response. 

so there is no way to have two lists with the same name for different domains?

[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
am I understanding this correctly?
Hi Noah,

Yes i think you understand that correctly.
For what i know that's also being mentioned in the documentation,
but i can be mistaken (then i read it somewhere else but can't recall
it at this time)..
Cheers

- Noah



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh Connection refused

2004-04-13 Thread Remko Lodder
I guess anything is somewhat possible.  I'm just
looking for the most likely stuff first ...
Can you "ssh [EMAIL PROTECTED]" ?
Another thingy you can try:
if you logged in from console (if possible) can you telnet to
localhost 22 ? (or whatever ip the sshd is listening on).
Hope this helps as well :-)

What about tcpwrappers?  What is in /etc/hosts.allow?

Tried rebooting or HUPing the daemon?

   #/bin/kill -HUP 93

(or whatever the current PID is for /usr/sbin/sshd)

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


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB via module instead of kernel?

2004-04-13 Thread Jesse Sheidlower
On Mon, Apr 12, 2004 at 10:34:13PM -0400, Jesse Sheidlower wrote:
> 
> I'm new to this kernel-module thing, so I hope this isn't
> a silly question.
> 
> I'm using FreeBSD 5.2 on a laptop running ACPI, and like
> many others have had suspend/resume problems with the 
> USB dying on resume. I saw a suggestion somewhere that
> you could remove USB support from the kernel, and add it
> in via a .ko file at boot time; this way, you could have
> an rc.suspend and rc.resume that unloads/loads the USB
> module appropriately and perhaps avoid the problems.
> 
> I'm not entirely sure how to do this. First, I note
> that the "device usb" line in the kernel configuration
> file has a "Required" note in it, and I'm nervous about
> removing something that says "Required".
> 
> Second, while I have a usb.ko file under /boot/kernel/, if I
> type "kldload usb", I get a "can't load usb: File exists"
> message, but if I try "kldunload usb", I get "can't find file
> usb: No such file or directory". I might have expected a
> different message if usb is loaded as part of the kernel. If I
> want to enable it at boot, do I just add "usb_load="YES"" to
> /boot/loader.conf ?
> 
> So to summarize, I guess my questions are:
> 
> 1) Can I comment out "device usb" from my kernel config and
> then rebuild the kernel, without causing some big problem?

Responding to myself, the answer is "no"; removing "device
usb" from the kernel config causes errors at "make", so
I had to go back.

I still can't seem to load or unload usb as a module. Any
suggestions welcome.

Jesse Sheidlower

> 2) To load at boot, do I just add "usb_load="YES"" to
> /boot/loader.conf ?
> 
> 3) Will doing what I described help with the USB problems
> on suspend/resume?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Calling the pros .. sound troubleshooting

2004-04-13 Thread Mazen S. Alzogbi
Kent Stewart wrote:
On Monday 12 April 2004 01:46 pm, Mazen S. Alzogbi wrote:

Hi,

I already posted this question in this list and got some answers that
was half-solutions to my case. I read a lot about this issue in every
resource I could get my hands on. I am very keen to make my sound
system work on my FreeBSD 4.9 system. This is a laptop with built-in
sound system. It's not old, pretty new so I suppose PCM is my way to
go.
I recompiled the kernel aftering adding "device pcm". After reboot
and dmesg | grep pcm I get the following:
pcm0:  at device 2.7 on pci0
pcm0: unable to map IO port space
device_probe_and_attach: pcm0 attach returned 6
Can someone please guide me through the process of troubleshooting in
a step-by-step fashion?


There isn't one.

I see the following and all I did was add "option pcm" and follow the 
steps in the Handbook. Since it isn't working for you, you may have 
some competition for the I/O port space.

pcm0:  port 0xc400-0xc43f,0xc800-0xc8ff irq 10 at device 2.7 
on pci0
pcm0: 

You might get a clue by running "pciconf -l". You might also find 
something by doing a "boot -v" instead of booting the normal way.

They may have added a new chipset and you need the pciconf information 
to patch the sound driver. Everytime I have received a "returned 6", I 
have had to program something or get some one else to do it. Your best 
bet there is the people that are maintaing pcm.

Kent

Kent,
Thanks for your reply. I ran the pciconf -lv command I can see the 
following under multimedia?:

[EMAIL PROTECTED]:2:7: class=0x040100 card=0x42011558 chip=0x70121039 rev=0xa0 
hdr=0x00
vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7012 PCI Audio Accelerator'
class= multimedia
subclass = audio

But what does that mean ? Doens't it mean it can see it but can't probe it?

I believe that the pcm0 is fighting for IRQ 10 which is used by:

ohci1:  mem 0xec001000-0xec001fff irq 10 at 
device 2.3 on pci0
fwohci0: <1394 Open Host Controller Interface> irq 10 at device 11.0 on pci0

Is there anything I can do to resolve this, you think?

Thanks again,

--
Mazen S. Alzogbi
http://alzogbi.com/mazen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh Connection refused

2004-04-13 Thread RazorOnFreeBSD
Ok Kevin, I really would like to thank you for your help and your time.
I restarted the process as you told me and now it works Kind of silly
since I've rebooted my computer many times to restart the ssh daemon!
Oh well at least now I know how to restart a process !  :D

Thanks again.

razor.


- Original Message - 
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 4:38 PM
Subject: Re: ssh Connection refused


> RazorOnFreeBSD wrote:
>
> >- Original Message - 
> >From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
> >To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
> >Cc: <[EMAIL PROTECTED]>
> >Sent: Tuesday, April 13, 2004 4:19 AM
> >Subject: Re: ssh Connection refused
> >
> >
> >Thanks for the ps / grep information.
> >In my rc.conf file, I already set the firewall type on "OPEN", so the
"ipfw
> >show" outputs are (with rl0 = OIF and dc0 = IIF) :
> >
> >
> >
> 
>
> >here are samples of "netstat -anf inet" outputs :
> >
> >
> >
> 
>
> >Do you think the sshd daemon could be altered itself  I mean could
have
> >a behaviour it isn't suppose to have because of the forced shutdown ???
> >
> >Thanks
> >
> >razor.
> >
> >
>
> I guess anything is somewhat possible.  I'm just
> looking for the most likely stuff first ...
>
> Can you "ssh [EMAIL PROTECTED]" ?
>
> What about tcpwrappers?  What is in /etc/hosts.allow?
>
> Tried rebooting or HUPing the daemon?
>
> #/bin/kill -HUP 93
>
> (or whatever the current PID is for /usr/sbin/sshd)
>
> Kevin Kinsey
>


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


Interpreting ping response? (the POD lives??)

2004-04-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Can anyone help me interpret the following output?
I read the ping manpage, but came to the end before
I learned much that helps me here
Other than "source" and "destination", where can I
find an explanation for the rest of this?  And, if possible,
can you tell me what might be happening?
I've seen responses like it before, but usually only because
I was pinging a blocked port; unfortunately for me, now I
kinda need to know, and I really am not deep enough
into TCP/IP to know where to look for an answer ... :-(
Kevin Kinsey

--
<[EMAIL PROTECTED]> [/home/kdk] [16:25]
#sudo ping -s 2048 app
PING app.southuni.com (192.168.0.80): 2048 data bytes
36 bytes from app.southuni.com (192.168.0.80): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst  
4  5  00 05dc 07bd   0   3f  01 1677 192.168.0.2  192.168.0.80

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


stdio.h

2004-04-13 Thread Brian Henning
I have a question about the stdio.h file.

In the following function signature what does the __P do? 

Why is the __P needed?

int (*_close) __P((void *));

Thanks,

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


Re: ssh Connection refused

2004-04-13 Thread Kevin D. Kinsey, DaleCo, S.P.
RazorOnFreeBSD wrote:

- Original Message - 
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 4:19 AM
Subject: Re: ssh Connection refused
 

Thanks for the ps / grep information.
In my rc.conf file, I already set the firewall type on "OPEN", so the "ipfw
show" outputs are (with rl0 = OIF and dc0 = IIF) :
 



here are samples of "netstat -anf inet" outputs :

 



Do you think the sshd daemon could be altered itself  I mean could have
a behaviour it isn't suppose to have because of the forced shutdown ???
Thanks

razor.
 

I guess anything is somewhat possible.  I'm just
looking for the most likely stuff first ...
Can you "ssh [EMAIL PROTECTED]" ?

What about tcpwrappers?  What is in /etc/hosts.allow?

Tried rebooting or HUPing the daemon?

   #/bin/kill -HUP 93

(or whatever the current PID is for /usr/sbin/sshd)

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


Serial ATA questions

2004-04-13 Thread mark
Hi 

Big question, I need to set up a FreeBSD server with serial ATA hardware 
raid. 

What serial raid controller, or what motherboard with a supported serial 
raid controller is recommended? 

I was thinking of staying with 4.9-STABLE or should I rather move to 
5.2.1-RELEASE ? 

Thanks 

Mark 

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


timestamp in 4.8?

2004-04-13 Thread Richard P. Williamson
Is there a reasonable timestamp (that uses a struct timeval
to return data by preference) in 4.8R?

TSTMP (option KERN_TIMESTAMP) writes the rdtsc clock
value to debug.timestamps in sysctl-space.  That does
not suit my purposes (need to timestamp the creation
of objects which are passed about).

TIA,
rip

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


GeForce FX 5800 Ultra with Nvidia Drivers on 5.2

2004-04-13 Thread Shaun Friedle
Hi,
I am having trouble using my FX 5800 Ultra with the FreeBSD Nvidia
driver, which I installed from the ports collection. If I try to use the
Nvidia driver when I start X I get a garbled screen with a few letters
and symbols (like the smiley face) and some blocks of flashing colour,
but mostly just a grey pattern character. The machine does not respond
to input at this point, I have to hard restart the machine because
Ctrl+Alt+Backspace (or Delete) do nothing.

The card works fine with the vesa drivers, but not with the nv drivers
which makes the display show a sort of pink fuzzy pattern with scrolls
upwards (nothing to do with frequency at my monitor just blanks the
screen if it is out of range). The machine is still responsive with the
nv drivers though.

I have tried the nvidia drivers with the NvAgp setting set to all
possible settings and it is the same (don't know if that should make a
difference or not).

I have taken a photo of the screen which is at
http://www.insipidity.co.uk/nvidia.jpg

Is anyone else using the nvidia drivers with a FX 5800 Ultra, and did
you encounter any problems? I hope I can fix this because I am trying to
rid myself of Windows, but I need hardware acceleration so I can play
games.

The log looks like this:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.2 i386 [ELF] 
Build Date: 07 December 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Apr 13 13:37:40 2004
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "gb"
(**) XKB: layout: "gb"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse0"
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2578 card 1043,80f6 rev 02 class 06,00,00
hdr 00
(II) PCI: 00:01:0: chip 8086,2579 card , rev 02 class 06,04,00
hdr 01
(II) PCI: 00:1d:0: chip 8086,24d2 card 1043,80a6 rev 02 class 0c,03,00
hdr 80
(II) PCI: 00:1d:1: chip 8086,24d4 card 1043,80a6 rev 02 class 0c,03,00
hdr 00
(II) PCI: 00:1d:2: chip 8086,24d7 card 1043,80a6 rev 02 class 0c,03,00
hdr 00
(II) PCI: 00:1d:3: chip 8086,24de card 1043,80a6 rev 02 class 0c,03,00
hdr 00
(II) PCI: 00:1d:7: chip 8086,24dd card 1043,80a6 rev 02 class 0c,03,20
hdr 00
(II) PCI: 00:1e:0: chip 8086,244e card , rev c2 class 06,04,00
hdr 01
(II) PCI: 00:1f:0: chip 8086,24d0 card , rev 02 class 06,01,00
hdr 80
(II) PCI: 00:1f:1: chip 8086,24db card 1043,80a6 rev 02 class 01,01,8a
hdr 00
(II) PCI: 00:1f:2: chip 8086,24d1 card 1043,80a6 rev 02 class 01,01,8f
hdr 00
(II) PCI: 00:1f:3: chip 8086,24d3 card 1043,80a6 rev 02 class 0c,05,00
hdr 00
(II) PCI: 00:1f:5: chip 8086,24d5 card 1043,80f3 rev 02 class 04,01,00
hdr 00
(II) PCI: 01:00:0: chip 10de,0330 card , rev a1 class 03,00,00
hdr 00
(II) PCI: 02:03:0: chip 1106,3044 card 1043,808a rev 80 class 0c,00,10
hdr 00
(II) PCI: 02:04:0: chip 105a,3373 card 1043,80f5 rev 02 class 01,04,00
hdr 00
(II) PCI: 02:05:0: chip 10b7,1700 card 1043,80eb rev 12 class 02,00,00
hdr 00
(II) PCI: 02:0a:0: chip 11c1,0458 card 141d,9300 rev 02 class 07,80,00
hdr 00
(II) PCI: 02:0d:0: chip 1102,0004 card 1102,1007 

Re: dvdrip

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 08:30:23AM -0500, Brian Henning wrote:

> The port /usr/ports/multimedia/dvdrip has a dependency on the following
> port p5-GdkPixbuf.  Is there a way around this dependency so I can get
> dvdrip to compile?

> cd /usr/ports/x11-toolkits/p5-GdkPixbuf && make
> ===>  p5-GdkPixbuf-0.7009_1 is marked as broken: Does not compile.

It's a bug in the upstream code that seems to manifest itself with
current (5.8.x) versions of perl.  Absent a fix from the author --
whose website seems to have gone the way of all flesh -- your only
option is to install perl-5.6.1 and use that as your system perl.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-13 Thread Julien Gabel
 GEOM doesn't let you write to an active device, except if you set
 kern.geom.debugflags=16

>>> Ok no problem, I changed it this way:
>>>  # sysctl kern.geom.debugflags=16
>>>  kern.geom.debugflags: 1 -> 16
>>> But it seems to change *absolutly nothing*... :(

[...]

>> Mmmhh... We're doing something wrong here I guess :o Are you 100% sure
>> that ad10 is not used by any open geom modules? What does dmesg say
>> about ar*?

> Well, I see that geom tastes ad10 and creates a slice class for it...
> However, if kern.geom.debugflags=16, you should still be able to touch
> the slice.
>
> If debugflags=16 I know of no reason why you shouldn't be able to
> partition de disk; sorry, I'm stumped :(

Ok, some news here. I can't be able to access/write to ad10 using fdisk
for example... under FreeBSD-5.x (OS version installed on the server).

But I gave a try to the CD "4.9-i386-mini.iso" and... I succeed to create
a slice on ad10 and even to partition and write some files on it!

So, what I can say here:
 - The disk seems not to be dead;
 - But after I had modify it under the 4.9 CDROM, I can't access it (fdisk,
   bsdlabel, etc.) under the installed and running OS on this machine:
   FreeBSD 5.2.1. :(

It seems that 'Joan' was in the right direction arguing to play with
"kern.geom.debugflags", but it didn't work for me. If someone has an
other idea with this new point in mind...

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


Re: mailman - partition virtual domain name?

2004-04-13 Thread Noah

> 
> For example:
> 
> /etc/mail/aliases:
> 
> employees:  "|/usr/local/mailman/mail/mailman post employees"
> 
> 
> In virtusertable:
> 
> [EMAIL PROTECTED]employees
> 
> 
> [EMAIL PROTECTED]unused
> 


okay I  understand.  thanks for the response. 

so there is no way to have two lists with the same name for different domains?

[EMAIL PROTECTED]
and
[EMAIL PROTECTED]

am I understanding this correctly?

- Noah


> 
> Rebuild your table and when mail comes in for [EMAIL PROTECTED] 
> it will bounce with a user unknown unless you have an account named 
> unused. :)
> 
> --
> 
> Micheal Patterson
> Network Administration
> TSG Incorporated
> 405-917-0600
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


portupgrade-razor-agents, amavis, sa errors

2004-04-13 Thread Bart Silverstrim
Unfortunately, it rebuilt many things and the output of the compile had 
scrolled off (is there a log somewhere of what happened?), but after a 
portupgrade I was greeted with the following error:
*
[Updating the pkgdb  in /var/db/pkg ... - 118 
packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
! mail/razor-agents (razor-agents-2.36_3)   (unknown build 
error)
* mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-2.63)
* security/amavisd-new (amavisd-new-20030616.p8_1)
--->  Packages processed: 9 done, 105 ignored, 2 skipped and 1 failed
**

I'm assuming this means that amavis and spamassassin were skipped in 
updating, although I don't know why, and there was a problem with razor 
agents?  Would the problem with razor-agents have caused the other two 
to fail, since I thought that amavis requires spam assassin which may 
also rely on razor-agents?

Has anyone else run into this?  before I blindly chart a course of 
action, I'd like to hear from the more experienced admins out there who 
can tell me what I should do...it also rebuilt squid and clamav on this 
system and stopping and restarting squid, clamd, and amavis seems to 
all have succeeded...Did I do something wrong?

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


Odd delay waiting for X after installing NFS

2004-04-13 Thread Jonathon McKitrick

I finally got my wireless setup working yesterday.  The last thing I added
was setting up NFS.  I exported one directory (an archive directory) and did
NOT add it to fstab on the client.

Now, when I start X, it delays for a while and Ctrl-T says xauthority is
waiting on kqueue.  I hit Ctrl-C and start again, and it is fine.  When I
shut down X, I don't get the prompt back until I hit Ctrl-C.

This can't be right.  What could be the issue?


NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dvdrip

2004-04-13 Thread Brian Henning
Greetings:

The port /usr/ports/multimedia/dvdrip has a dependency on the following
port p5-GdkPixbuf.  Is there a way around this dependency so I can get
dvdrip to compile?

Thanks,

Brian

cd /usr/ports/x11-toolkits/p5-GdkPixbuf && make
===>  p5-GdkPixbuf-0.7009_1 is marked as broken: Does not compile.

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


Re: MS Excel/Word compatible ports?

2004-04-13 Thread Jerry McAllister
> 
> I know, I know, I could probably find the answer to this question myself, 
> but I thought I'd save myself the time and trouble.  :-)

Let someone else take the time and trouble???

> Does anyone know of any ports in the ports collection that can read/write/edit
> MS Excel/Word files?  I need this for a project I've been assigned at work.

Openoffice works just fine for Word, Excel and Powerpoint files.
But, in this one case, don't try to build it from ports.  It takes
forever and more than 4GB disk.   

They have already built packages for FreeBSD  that install just nicely.
Go to   http://projects.imp.ch/openoffice/

Pick the latest package that suits your situation
Download it to /usr/local and run pkg_add on the compressed file.

Then, to set it up, run  /usr/local/OpenOffice1.1.0/program/soffice
Note the OpenOffice1.1.0 will vary according to what version you
download and where you tell it to put the Openoffice files.

Put that directory in your path.

After that, soffice, swriter, etc will start what you want.  It works
fine as helper utilities in your browser too.

jerry

> 
> Thanks!
> 
> -- 
> Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: MIMEDefang/Sendmail problem

2004-04-13 Thread Mark Frank
* On Mon, Apr 12, 2004 at 09:50:09PM -0700 Matt Navarre wrote:
> On Monday 12 April 2004 21:32, Wayne Sierke wrote:
> >
> >  - I don't recall where I got the info about the
> > define('confINPUT_MAIL_FILTERS' not being required when
> > INPUT_MAIL_FILTER used, probably from the spamassassin docs.
> I tried dnl'ing that line earlier with no success, but fixing my speeling 
> misteak seems to have worked. 

less +/confINPUT_MAIL_FILTERS /usr/share/sendmail/cf/README

should clear it up for you.

-- 
Mark Frank
"The fix is only temporary...unless it works." - Red Green
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


4.4BSD-Lite source code

2004-04-13 Thread Hanno
Hi, I´m currently using the book by Gary R. Wright and W Richard Stevens
¨TCP/IP Illustrated Volume 2¨, which uses the 4.4BSD-Lite source code as
example. My question : Up to which version of FreeBSD is the 4.4BSD-Lite
code used ? Has it changed much and if so is the source code for older
version of FreeBSD and/or the code for 4.4BSD-Lite still available for
download somewhere ?

I am doing a MSc computer science project (Stellenbosch University,
South Africa) and want to generate the TCP protocol from a verified SPIN
model automatically.

Any help will we greatly appreciated.
Thanx.
Hanno

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


Re: Problems with filename with spaces (was Pipes and commands thatrequire two arguments)

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 11:33:29AM +0100, Peter Risdon wrote:
> Thanks very much for the previous help - I missed the example in man xargs.
> 
> The files I am trying to manipulate include spaces in the file names, 
> and I cannot seem to escape them effectively. If I try something like:
> 
> #find /usr/home -name *.rtf.exe -print0 | perl -p -e 's/\ /\\\ /g;' | 
> xargs -0 -J % mv % /usr/newplace/
> 
> Then although all spaces are preceded by backslashes I get errors every 
> time a space is encountered. So for a file at /usr/home/user/this is a 
> file.rtf.exe I get file does not exist errors from mv at:
> /usr/home/user/this\
> and at:
> is\
> and at:
> a\
> and at:
> file.rtf.exe (yes, a windows virus on a network share has been busy).
> 
> I have also tried
> 
> #find /usr/home -name *.rtf.exe -print0 | perl -p -e 's/\ /\\\ /g;' > 
> listofdodgyfiles
> 
> and the list is fine. If I paste a line into mv on the command line, it 
> works. If I use a simple script to read the file, same errors as 
> mentioned above.
> 
> I'm sure I'm missing something obvious... Any nudges in the right 
> direction would be gratefully received.

Errr... how about:

# find /usr/home -name '*.rtf.exe' -print0 | \
   xargs -0 -J % mv % /usr/newplace/

or

# find /usr/home -name '*.rtf.exe' -print0 | \
perl -n0e '($x = $_) =~ s,^.*/,/usr/newplace/,; rename $_, $x;'

Note: this puts all of those files into a single directory and doesn't
do anything to avoid overwriting one file with another.  I assume
that's what you want.

This sort of thing is the whole point of '-print0' -- it sidesteps all
of the things the shell does with significant characters when it turns
a command line into an argument list.  ie. no escaping needed.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ssh Connection refused

2004-04-13 Thread RazorOnFreeBSD

- Original Message - 
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
To: "RazorOnFreeBSD" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 4:19 AM
Subject: Re: ssh Connection refused


> RazorOnFreeBSD wrote:
>
> >I have a firewall and it's running.
> >But the outputs for the command "ps -auxv | grep sshd" are :
> >
> >root93  0.00.430082176??Is6:19PM
0:00.16
> >/usr/sbin/sshd
> >root1680.00.0336  204  v0R+  6:58PM
0:00.01
> >grep sshd
> >
> >I don't really understand why I have two processes from sshd and also why
I
> >can't connect if it is running (apparently).
> >
> >???
> >
> >
> >
>
> Two processes?  Please note that one process is the
> "grep" command.  Sshd does appear to be running,
> though.
>
> You didn't give us the output of "ipfw show", so
> we don't know if the port is being blocked; it seems
> like that it is, since you are being told "connection
> refused."  "Connection refused" means the port is
> closed, either because nothing is listening on that
> port, or because the firewall is blocking it...
>
> How about "netstat -anf inet" ?  It should show a
> LISTENING socket on port 22 for ssh
>
> Kevin Kinsey

Thanks for the ps / grep information.
In my rc.conf file, I already set the firewall type on "OPEN", so the "ipfw
show" outputs are (with rl0 = OIF and dc0 = IIF) :

0005039741855775divert 8668 ip any from any via rl0
00100100  15316allow ip from any to any via lo0
002000  0deny ip from any to 127.0.0.0/8
003000  0deny ip from 127.0.0.0/8 to any
6500074375  16354274  allow ip from any to any
655350  0deny ip from any to any

here are samples of "netstat -anf inet" outputs :

ProtoRecQSendQLocal AddressForeign Address
(state)

tcp4  0   0*.22*.*
LISTEN
tcp460   0*.22*.*
LISTEN

Do you think the sshd daemon could be altered itself  I mean could have
a behaviour it isn't suppose to have because of the forced shutdown ???

Thanks

razor.


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


  1   2   >