Re: /proc

2004-04-13 Thread Andy Miller

On Tue, Apr 13, 2004 at 01:56:24AM -0400, Shaun T. Erickson wrote:
 One of the things I really miss from my Linux system, is the /proc 
 directory structure, where I could easily find out so much about my 
 system and, in some cases, modify it.
 
 Is there are way I can get such a thing under FreeBSD 5.2.1-RELEASE-p4?


Read the man for procfs.  It should help you figure out how to do it.


Andy Miller

pgp0.pgp
Description: PGP signature


Re: /proc

2004-04-13 Thread Dan Nelson
In the last episode (Apr 13), Andy Miller said:
 On Tue, Apr 13, 2004 at 01:56:24AM -0400, Shaun T. Erickson wrote:
  One of the things I really miss from my Linux system, is the /proc
  directory structure, where I could easily find out so much about my
  system and, in some cases, modify it.
  
  Is there are way I can get such a thing under FreeBSD 5.2.1-RELEASE-p4?
 
 
 Read the man for procfs.  It should help you figure out how to do it.

Since you mentioned modifying things, you might want to look at the
sysctl command instead.  Linux's procfs is overloaded to do more than a
/proc should.

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


Trouble with pccard! Need hint...

2004-04-13 Thread Dmitry Zadvornykh
Hello freebsd-questions,

  I'm trying to setup pc card support on my laptop... But something
  goes wrong!
  I have FreeBSD-5.2.1-RELEASE
  in rc.conf:
 pccard_enable=YES
  dmesg:
 [skipped]
 cbb0: TI1520 PCI-CardBus Bridge irq 11 at device 9.0 on
 pci0
 cardbus0: CardBus bus on cbb0
 pccard0: 16-bit PCCard bus on cbb0
 cbb0: [MPSAFE]
 cbb1: TI1520 PCI-CardBus Bridge irq 11 at device 9.1 on
 pci0
 cardbus1: CardBus bus on cbb1
 pccard1: 16-bit PCCard bus on cbb1
 cbb1: [MPSAFE]
 [skipped]

  but in /dev no one devices named card0 or pccard0
  im trying to include devfs in fstab, but still the same look...
  and
  binmobile# pccardd
  binmobile# Apr 13 10:28:22 binmobile pccardd[550]: fatal error: no PC-CARD slots

  what i do wrong?

-- 
Best regards,
 Dmitry  mailto:[EMAIL PROTECTED]

pgp0.pgp
Description: PGP signature


Warning: baranow@irm.ru - User unknown!

2004-04-13 Thread Mailserver
[EMAIL PROTECTED] - no such user here.

There is no user by that name at this server.
: Message contains [1] file attachments
---BeginMessage---

*** ÂÍÈÌÀÍÈÅ **
Ñîîáùåíèå áûëî ïðîâåðåíî ïî÷òîâûì àíòèâèðóñîì è â íåì áûëè îáíàðóæåíû
çàðàæåííûå âëîæåíèÿ. 

Âëîæåíèån ÂèðóñÄåéñòâèå
--
msg.rtf.scr   I-Worm.NetSky.b  Removed


**


you are a bad writer
---End Message---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ppp problems : Modem connection issues on FreeBSD 5.2.1

2004-04-13 Thread Niraj Kumar
 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.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


exec format error

2004-04-13 Thread Alper Yurdakul
Hi,
I am a newbie FreeBSD installer. I installed 5.2.1 without any problems.
But commands like gzip do not work, i.e. terminate with:
/usr/bin/gzip: Exec format error. Binary file not executable.
Also when I try to install new packages via CD, I always get error:
ELF interpreter /libexec/ld-elf.so.1*** not found.
(note that the 3 '*' stand for three weird characters.)
I checked that /libexec/ld-elf.so.1 already exists...
Any idea ?

Cheers,
Alper
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: exec format error

2004-04-13 Thread Kris Kennaway
On Tue, Apr 13, 2004 at 08:19:47AM +, Alper Yurdakul wrote:
 Hi,
 I am a newbie FreeBSD installer. I installed 5.2.1 without any problems.
 But commands like gzip do not work, i.e. terminate with:
 /usr/bin/gzip: Exec format error. Binary file not executable.
 
 Also when I try to install new packages via CD, I always get error:
 ELF interpreter /libexec/ld-elf.so.1*** not found.
 (note that the 3 '*' stand for three weird characters.)
 I checked that /libexec/ld-elf.so.1 already exists...
 
 Any idea ?

Sounds like 5.2.1 did not, in fact, install without any problems :-)

Those errors are very weird and indicate something is quite wrong on
your system.  Try reinstalling it (if you install from CD then make
sure you verify the checksum first so you don't install from an image
that was corrupted during download).

Kris

pgp0.pgp
Description: PGP signature


Re: Now where should I post. :

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 01:29:34AM +, thib wrote:

 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.

Submit a PR with your patch -- make it a 'change-request'.  See
send-pr(1) for instructions.

However, I wouldn't hold out too much hope that your proposal will be
adopted.  cat(1) has been able to read directories since the epoch and
suddenly changing that behaviour would probably result in howls of
outrage from various places that depend on being able to do that.

What you should do is add a command line option which switches on the
behaviour you want -- say '-D' -- so that the default remains as it
always was, but so that people wanting the new behaviour can alias cat
as 'cat -D'

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: new administrator: please help me choose news server

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 10:02:39AM +0800, Zhang Weiwu wrote:
 Hello. I never did this before, but now I'll setup a mail server in the 
 coming weeks. Here is the requirement:
 
 1) the mail server should run both smtp and imap, sending and accepting 
 emails
 2) mail server should be able to ask for confirm before it deliever 
 executables. Or it should be able to reject all emails with Windows 
 executable file attached
 3) should be albe to extend to handle multi-domains in the future
 
 I don't really understand what part of email server is handled by what 
 program. I thought I need a sendmail plus a imap server (cyrus comes out 
 in my mind, but I don't know if it should be my choice), is that all?
 
 I'm the kind of lazy guy not to RTFM, but I need direction guide, 
 suggestion from you so that I know what the f**k manual to read:)

Hmmm... I judge that you need four components:

   i) An MTA -- this is the daemon that handles transmission of e-mail
  between sites.  It's the bit that speaks SMTP.  There are 4
  major implementations available of various degrees of
  popularity, with various pros and cons:

sendmail
exim
qmail
postfix

  There are others, including various 'all-in-one' mail solutions
  based on one or other of those packages.  You should also consider
  whether you need to provide 'SMTP AUTH' -- so your users have to
  authenticate themselves before they can inject a new message into the
  system via your server.  (All of those MTAs can provide that, but
  usually require some extra software libraries to be linked in with
  them).

  ii) An IMAP server.  Again, there are several choices available, but
  which one you choose depends in part on:

 iii) A delivery agent.  This actually defines the format in which
  e-mail mailboxes are stored.

  The choice of formatis is basically:

mbox -- the traditional format provided under Unix: almost all
delivery agents (and IMAP daemons) will deal with this
format, but of note are mail.local(1) and procmail(1)

Maildir -- As used by the courier system.  Also handled by
procmail(1)

Cyrus -- essentially requires you to use the rest of the Cyrus
system for your mail server.

   Thus if you choose mbox format you can use dovecot, UW imapd or
   dkimap4.  For Maildir, you can use dovecot, UW imapd, bincimap
   or courier-imap.  (Personally, I prefer to use dovecot for the
   security features).

   iv) An anti-virus/anti-spam solution, which will let you filter out
   MS executables.  Having the server *ask* for confirmation on
   sending questionable content is probably not the right thing to
   do.  If user interaction is required, it should be provided by
   the users' mail program running on their desktop.  The server
   should implement your policy as a simple accept/reject of the
   message (although you could choose to accept, but mark the
   message as probably infected or spam).  Look at:

 Spam Assassin (the port is called p5-Mail-SpamAssassin)
 clamav anti-virus
 Amavisd -- lets you integrate all sorts of AV and anti-spam solutions
into various Unix mail systems.

Another consideration you will want to bear in mind: do you want to
give all of your e-mail users full blown accounts on your mail server,
or do you want to provide and 'e-mail only' service?  If the latter,
you will need to look at the more 'professional' solutions, which are
designed to work generally on a larger scale and which tend to be a
bit more complicated to set up.  The Cyrus stuff is the extreme
expression of that.

I hope that gives you sufficient ammunition for you to be able to
better target your searches for more information.

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: How to update binary-files?

2004-04-13 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 07:40:10AM +0200, Oliver Fuchs wrote:

 I would like to know how to upgrade binary-files on my FreeBSD system.
 
 I get them from a vendor on 4 CDs.
 I have read how to upgrade the kernel, the port and the base system but I
 cannot find a documentation how to upgrade these installed binary-packages
 from my new cdroms?

Upgrading ports/pkgs is handled separately to dealing with the base
system.  However a 'pkg' is just the compiled form of a 'port' and the
two are essentially interchangeable.  You can use the usual
portupgrade(1) tools to upgrade compiled packages -- see the entry for
the '-P' flag in portupgrade(1).

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: new administrator: please help me choose news server

2004-04-13 Thread Zhang Weiwu
Matthew Seaman wrote:

Another consideration you will want to bear in mind: do you want to
give all of your e-mail users full blown accounts on your mail server,
or do you want to provide and 'e-mail only' service?  If the latter,
you will need to look at the more 'professional' solutions, which are
designed to work generally on a larger scale and which tend to be a
bit more complicated to set up.  The Cyrus stuff is the extreme
expression of that.
 

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


Re: installed freebsd on ibm thinkpad a21e

2004-04-13 Thread anubis
On Mon, 12 Apr 2004 2:51 pm, Joe Shmoe wrote:
 After i installed freebsd on my machine it would no longer boot. I
 found out after about the critical error and all the posts about
 freebsd not working on a2 thinkpads. If i hit f1 or f12 it gives me
 the loading screen and nothing happens and boot diskettes i put in
 my floppy drive dont load prolly cause the os wont boot. How can i
 get rid of freebsd if the os wont boot and the screen doesnt get
 past the big ibm with the f1 and f12 at the bottom.Ive already
 tried putting in the cd for the fix cd-cvs and boot loader
 downloads you have on the site they didnt get recognized or prolly
 couldnt run cause the machine wouldnt boot. Im stumped on this one
 and havent gotten much help from forums so figured id directly
 email u. Id appreciate(and desperately need) your help.

If you pull out the hdd can you then boot from floppy?  If you can you 
can probably flash the bios and make it recoverable.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2004-04-13 Thread Peter Risdon
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.

PWR.

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


NIC suggestion (BC or INTEL)

2004-04-13 Thread J.D. Bronson
I have the opportunity to use one of 2 NICs..

(1) Broadcom NetXtreme 5703
(1) Intel Pro/1000 MT Dual
Since they are both fully supported under 5.2.1, I was wondering
if anyone has any opinion (and why) either card would be a better choice.
The rest of all the routers/switches are all Cisco.

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


MS Excel/Word compatible ports?

2004-04-13 Thread Conrad Sabatier
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.  :-)

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.

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]


Re: fetchmail and spam assassin

2004-04-13 Thread Lowell Gilbert
dave [EMAIL PROTECTED] writes:

 Does anyone have fetchmail retrieving mail from an ISP account then sending
 it through spamassassin/an MTA junk mail filter? I've got an account that is
 being spammed and i'd like to set this up, but although i can retrieve the
 mail via fetchmail, i can not get it to go through postfix which is running
 on the same box and which has spamassassin and some other anti-uce filters
 in place.

The typical configuration of fetchmail just feeds the mail back into
the local MTA for delivery.  That should take care of your situation,
and is exactly what I do myself.

My .fetchmailrc looks like:
### Lowell'g configuration for fetchmail

## universal
# (to make it look kosher coming into port 25)
set invisible

# get mail for [EMAIL PROTECTED]
poll mail.example.com proto pop3 
   username lgilbert password example
   ssl
   antispam 451
   is [EMAIL PROTECTED] here



  Also on the subject of spamassassin a lot of junk is still getting through,
 is there a FreeBSD specific spam assassin configuration tutorial or howto?

I don't think so.  I can't imagine what would be FreeBSD-specific
about any such configuration.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to update binary-files?

2004-04-13 Thread Oliver Fuchs
On Tue, 13 Apr 2004, [EMAIL PROTECTED] wrote:

 Hello Oliver,
 
 Try:
  # cd /cdrom/base; ./install.sh
  # cd /cdrom/ports; ./install.sh
 and so on.
 
 Read INSTALL.HTM-2 Distribution Format on the CD.

Yes but I do not want to upgrade the base system but instead the
non-base-system binaries that came along on 4 CDS (and the have not been on
the first or the second - the Live-System - CD).

For example I have installed a binary from the 6th CD called
FreeBSD_for_newbies_1.0. Now I want to upgrade to a new version
FreeBSD_for_newbies_2.0 withou doing pkg_delete and pkg_add. Isn't there a
possibility like pkg_update that can do an automatic upgrade of binary
files?

Oliver
-- 
... don't touch the bang bang fruit
___
[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 Jorn Argelo

OpenOffice.org

It has some flaws though, but you'll manage.

On 4/13/2004, Conrad Sabatier [EMAIL PROTECTED] wrote:

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.  :-)

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.

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: How to update binary-files? (solved)

2004-04-13 Thread Oliver Fuchs
On Tue, 13 Apr 2004, Matthew Seaman wrote:

 On Tue, Apr 13, 2004 at 07:40:10AM +0200, Oliver Fuchs wrote:
 
  I would like to know how to upgrade binary-files on my FreeBSD system.
  
  I get them from a vendor on 4 CDs.
  I have read how to upgrade the kernel, the port and the base system but I
  cannot find a documentation how to upgrade these installed binary-packages
  from my new cdroms?
 
 Upgrading ports/pkgs is handled separately to dealing with the base
 system.  However a 'pkg' is just the compiled form of a 'port' and the
 two are essentially interchangeable.  You can use the usual
 portupgrade(1) tools to upgrade compiled packages -- see the entry for
 the '-P' flag in portupgrade(1).
 

Ah thanx that was the documentation I have searched

env PKG_PATH=/mnt/cdrom/package/ALL portupgrade -anPP

Thanx for this. This should be documented in the handbook but as far as I
can see there is nothing mentioned how to upgrade the binaries.

So thanx to all who have answered.

Oliver
-- 
... don't touch the bang bang fruit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bootup stalls on Initial i386 initialization

2004-04-13 Thread David Lodeiro
On Wed, 31 Mar 2004 03:21 pm, you wrote:
  I have a server that stalls during bootup for about 5 minutes. It shows
 
  Starting sshd
 
  and then stalls, If I press Ctrl C to cancel whatever it is that is
  stalling, it shows

 Stalls during boot are often the result of DNS timeouts. Do you have a DNS
 server defined in /etc/resolve.conf and if so is it accessible?
That was exactly the problem, I added the machines hostname and the DNS server 
addresses to /etc/resolve.conf and all is good now. It also solved another 
problem which was that I could only log in through ssh whilst in the network, 
I couldnt from outside even though the router redirects port 22.


 -Don
Thanks 

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


Re: How to update binary-files? (solved)

2004-04-13 Thread Oliver Fuchs
On Tue, 13 Apr 2004, Matthew Seaman wrote:

 On Tue, Apr 13, 2004 at 07:40:10AM +0200, Oliver Fuchs wrote:
 
  I would like to know how to upgrade binary-files on my FreeBSD system.
  
  I get them from a vendor on 4 CDs.
  I have read how to upgrade the kernel, the port and the base system but I
  cannot find a documentation how to upgrade these installed binary-packages
  from my new cdroms?
 
 Upgrading ports/pkgs is handled separately to dealing with the base
 system.  However a 'pkg' is just the compiled form of a 'port' and the
 two are essentially interchangeable.  You can use the usual
 portupgrade(1) tools to upgrade compiled packages -- see the entry for
 the '-P' flag in portupgrade(1).
 

Ah thanx that was the documentation I have searched

env PKG_PATH=/mnt/cdrom/package/ALL portupgrade -anPP

Thanx for this. This should be documented in the handbook but as far as I
can see there is nothing mentioned how to upgrade the binaries.

So thanx to all who have answered.

Oliver
-- 
... don't touch the bang bang fruit
___
[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: 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]


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


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


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]


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 format:bdb1_btree 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]


Re: mailman - partition virtual domain name?

2004-04-13 Thread Noah

 
 For example:
 
 /etc/mail/aliases:
 
 employees:  |/usr/local/mailman/mail/mailman post employees
 rest of your mailman aliases
 
 In virtusertable:
 
 [EMAIL PROTECTED]employees
 rest of your mailman entry maps
 
 [EMAIL PROTECTED]unused
 snip


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]


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


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 rev 04 class 04,01,00
hdr 80
(II) PCI: 

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]


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]


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

snip

here are samples of netstat -anf inet outputs :

 

snip

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]


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]


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]


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) :
 
 
 
 snip

 here are samples of netstat -anf inet outputs :
 
 
 
 snip

 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]


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: SiS 7012 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: SiS 7012 port 0xc400-0xc43f,0xc800-0xc8ff irq 10 at device 2.7 
on pci0
pcm0: C-Media Electronics CMI9738 AC97 Codec

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: SiS 5571 USB controller 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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]


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


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: SiS 7012 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: SiS 7012 port 0xc400-0xc43f,0xc800-0xc8ff irq 10 at device
  2.7 on pci0
  pcm0: C-Media Electronics CMI9738 AC97 Codec
 
  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: SiS 5571 USB controller 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]


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: 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 KR C, before the ANSI standard that said function prototypes
should contain argument type declarations.  If you examine the
sys/cdefs.h 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


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


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]


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


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=enlr=lang_enie=UTF-8group=lucky.freebsd.questionssa=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: 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: 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,
  
snip
 
  [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]


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


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]


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]


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]


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]


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*
 

waves hand mystically

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

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]


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]


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


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]


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]


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]


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]


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


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]


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


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


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]


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]


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]


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:

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

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]


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]


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]


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]


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


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: 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 ATT 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]


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]


  1   2   >